-enable peer API to return pointer to interned peer hash code
[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  test_regex_graph_api \
27  test_regex_iptoregex \
28  test_regex_big
29
30
31 if ENABLE_TEST_RUN
32 TESTS = \
33  test_regex_eval_api \
34  test_regex_iterate_api \
35  test_regex_proofs \
36  test_regex_graph_api
37 endif
38
39 test_regex_eval_api_SOURCES = \
40  test_regex_eval_api.c
41 test_regex_eval_api_LDADD = \
42  $(top_builddir)/src/regex/libgnunetregex.la \
43  $(top_builddir)/src/util/libgnunetutil.la
44
45 test_regex_iterate_api_SOURCES = \
46  test_regex_iterate_api.c
47 test_regex_iterate_api_LDADD = \
48  $(top_builddir)/src/regex/libgnunetregex.la \
49  $(top_builddir)/src/util/libgnunetutil.la
50
51 test_regex_proofs_SOURCES = \
52  test_regex_proofs.c
53 test_regex_proofs_LDADD = \
54  $(top_builddir)/src/regex/libgnunetregex.la \
55  $(top_builddir)/src/util/libgnunetutil.la
56
57 test_regex_graph_api_SOURCES = \
58 test_regex_graph_api.c
59 test_regex_graph_api_LDADD = \
60 $(top_builddir)/src/regex/libgnunetregex.la \
61 $(top_builddir)/src/util/libgnunetutil.la
62
63 test_regex_big_SOURCES = \
64 test_regex_big.c
65 test_regex_big_LDADD = \
66  $(top_builddir)/src/regex/libgnunetregex.la \
67  $(top_builddir)/src/util/libgnunetutil.la \
68  $(top_builddir)/src/testbed/libgnunettestbed.la
69
70 test_regex_iptoregex_SOURCES = \
71 test_regex_iptoregex.c
72 test_regex_iptoregex_LDADD = \
73  $(top_builddir)/src/util/libgnunetutil.la \
74  $(top_builddir)/src/regex/libgnunetregex.la
75
76
77 EXTRA_DIST =
78 # test_regex_data.conf