new test for regex
[oweals/gnunet.git] / src / regex / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include
2
3 if MINGW
4   WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
5 endif
6
7 if USE_COVERAGE
8   AM_CFLAGS = --coverage
9 endif
10
11 lib_LTLIBRARIES = libgnunetregex.la
12
13 libgnunetregex_la_SOURCES = \
14   regex.c
15 libgnunetregex_la_LIBADD = -lm \
16  $(top_builddir)/src/util/libgnunetutil.la
17 libgnunetregex_la_LDFLAGS = \
18  $(GN_LIB_LDFLAGS) \
19   -version-info 0:0:0
20
21 check_PROGRAMS = \
22  test_regex_eval_api \
23  test_regex_iterate_api \
24  test_regex_proofs      
25
26 if ENABLE_TEST_RUN
27 TESTS = $(check_PROGRAMS)
28 endif
29
30 test_regex_eval_api_SOURCES = \
31  test_regex_eval_api.c
32 test_regex_eval_api_LDADD = \
33  $(top_builddir)/src/regex/libgnunetregex.la \
34  $(top_builddir)/src/util/libgnunetutil.la
35
36 test_regex_iterate_api_SOURCES = \
37  test_regex_iterate_api.c
38 test_regex_iterate_api_LDADD = \
39  $(top_builddir)/src/regex/libgnunetregex.la \
40  $(top_builddir)/src/util/libgnunetutil.la
41
42 test_regex_proofs_SOURCES = \
43  test_regex_proofs.c
44 test_regex_proofs_LDADD = \
45  $(top_builddir)/src/regex/libgnunetregex.la \
46  $(top_builddir)/src/util/libgnunetutil.la
47
48 EXTRA_DIST = 
49 # test_regex_data.conf