-test
[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
28 if ENABLE_TEST_RUN
29 TESTS = $(check_PROGRAMS)
30 endif
31
32 test_regex_eval_api_SOURCES = \
33  test_regex_eval_api.c
34 test_regex_eval_api_LDADD = \
35  $(top_builddir)/src/regex/libgnunetregex.la \
36  $(top_builddir)/src/util/libgnunetutil.la
37
38 test_regex_iterate_api_SOURCES = \
39  test_regex_iterate_api.c
40 test_regex_iterate_api_LDADD = \
41  $(top_builddir)/src/regex/libgnunetregex.la \
42  $(top_builddir)/src/util/libgnunetutil.la
43
44 test_regex_proofs_SOURCES = \
45  test_regex_proofs.c
46 test_regex_proofs_LDADD = \
47  $(top_builddir)/src/regex/libgnunetregex.la \
48  $(top_builddir)/src/util/libgnunetutil.la
49
50 test_regex_graph_api_SOURCES = \
51 test_regex_graph_api.c
52 test_regex_graph_api_LDADD = \
53 $(top_builddir)/src/regex/libgnunetregex.la \
54 $(top_builddir)/src/util/libgnunetutil.la
55
56
57 EXTRA_DIST =
58 # test_regex_data.conf