- Added path compression parameter to DFA construction API
[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 if HAVE_MYSQL
23 noinst_PROGRAMS = \
24 gnunet-regex-simulation-profiler
25
26 gnunet_regex_simulation_profiler_SOURCES = \
27   gnunet-regex-simulation-profiler.c
28 gnunet_regex_simulation_profiler_LDADD = \
29   $(top_builddir)/src/util/libgnunetutil.la \
30   $(top_builddir)/src/regex/libgnunetregex.la \
31   $(top_builddir)/src/mysql/libgnunetmysql.la
32 gnunet_regex_simulation_profiler_DEPENDENCIES = \
33   libgnunetregex.la
34 endif
35
36 check_PROGRAMS = \
37   test_regex_eval_api \
38   test_regex_iterate_api \
39   test_regex_proofs \
40   test_regex_graph_api \
41   test_regex_iptoregex
42
43 if ENABLE_TEST_RUN
44  TESTS = $(check_PROGRAMS)
45 endif
46
47 test_regex_eval_api_SOURCES = \
48   test_regex_eval_api.c
49 test_regex_eval_api_LDADD = \
50   $(top_builddir)/src/regex/libgnunetregex.la \
51   $(top_builddir)/src/util/libgnunetutil.la
52
53 test_regex_iterate_api_SOURCES = \
54   test_regex_iterate_api.c
55 test_regex_iterate_api_LDADD = \
56   $(top_builddir)/src/regex/libgnunetregex.la \
57   $(top_builddir)/src/util/libgnunetutil.la
58
59 test_regex_proofs_SOURCES = \
60   test_regex_proofs.c
61 test_regex_proofs_LDADD = \
62   $(top_builddir)/src/regex/libgnunetregex.la \
63   $(top_builddir)/src/util/libgnunetutil.la
64
65 test_regex_graph_api_SOURCES = \
66   test_regex_graph_api.c
67 test_regex_graph_api_LDADD = \
68   $(top_builddir)/src/regex/libgnunetregex.la \
69   $(top_builddir)/src/util/libgnunetutil.la
70
71 test_regex_iptoregex_SOURCES = \
72   test_regex_iptoregex.c
73 test_regex_iptoregex_LDADD = \
74   $(top_builddir)/src/util/libgnunetutil.la \
75   $(top_builddir)/src/regex/libgnunetregex.la
76
77
78 EXTRA_DIST = \
79   regex_profiler_test.conf