regex: iterating over the initial states
[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_internal.h regex.c \
15   regex_graph.c regex_random.c
16 libgnunetregex_la_LIBADD = -lm \
17  $(top_builddir)/src/util/libgnunetutil.la
18 libgnunetregex_la_LDFLAGS = \
19  $(GN_LIB_LDFLAGS) \
20   -version-info 0:0:0
21
22 check_PROGRAMS = \
23  test_regex_eval_api \
24  test_regex_iterate_api \
25  test_regex_proofs      
26
27 if ENABLE_TEST_RUN
28 TESTS = $(check_PROGRAMS)
29 endif
30
31 test_regex_eval_api_SOURCES = \
32  test_regex_eval_api.c
33 test_regex_eval_api_LDADD = \
34  $(top_builddir)/src/regex/libgnunetregex.la \
35  $(top_builddir)/src/util/libgnunetutil.la
36
37 test_regex_iterate_api_SOURCES = \
38  test_regex_iterate_api.c
39 test_regex_iterate_api_LDADD = \
40  $(top_builddir)/src/regex/libgnunetregex.la \
41  $(top_builddir)/src/util/libgnunetutil.la
42
43 test_regex_proofs_SOURCES = \
44  test_regex_proofs.c
45 test_regex_proofs_LDADD = \
46  $(top_builddir)/src/regex/libgnunetregex.la \
47  $(top_builddir)/src/util/libgnunetutil.la
48
49 EXTRA_DIST = 
50 # test_regex_data.conf