1## Process this file with automake to produce Makefile.in
2
3AM_CFLAGS = -DDATA_DIR=\"$(srcdir)/data\"
4INCLUDES = @INCLUDES@ -I@abs_top_srcdir@/src
5LDADD = ../src/libbtparse.la
6
7# The first three are real test programs, ie. they run non-interactively
8# and it's fairly obvious whether the tests passed or not.  The others
9# (macro_test etc.) are interactive and require a good understanding
10# of BibTeX and btparse to understand what's going on -- which is why
11# they're not listed in TESTS below.
12check_PROGRAMS = simple_test \
13                 read_test \
14                 postprocess_test \
15                 macro_test \
16                 case_test \
17                 name_test \
18                 purify_test
19
20simple_test_SOURCES = simple_test.c testlib.c
21read_test_SOURCES = read_test.c testlib.c
22postprocess_test_SOURCES = postprocess_test.c
23macro_test_SOURCES = macro_test.c
24case_test_SOURCES = case_test.c
25name_test_SOURCES = name_test.c
26purify_test_SOURCES = purify_test.c
27
28TESTS = read_test simple_test postprocess_test
29
30EXTRA_DIST = testlib.h $(wildcard data/*.bib) data/TESTS
31