doxygen, indentation
[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 noinst_PROGRAMS = \
23   gnunet-regex-profiler
24
25 gnunet_regex_profiler_SOURCES = \
26   gnunet-regex-profiler.c
27 gnunet_regex_profiler_LDADD = \
28   $(top_builddir)/src/regex/libgnunetregex.la \
29   $(top_builddir)/src/util/libgnunetutil.la \
30   $(top_builddir)/src/testbed/libgnunettestbed.la \
31   $(top_builddir)/src/mesh/libgnunetmesh.la
32 gnunet_regex_profiler_DEPENDENCIES = \
33   libgnunetregex.la
34
35 check_PROGRAMS = \
36   test_regex_eval_api \
37   test_regex_iterate_api \
38   test_regex_proofs \
39   test_regex_graph_api \
40   test_regex_iptoregex
41
42 if ENABLE_TEST_RUN
43  TESTS = $(check_PROGRAMS)
44 endif
45
46 test_regex_eval_api_SOURCES = \
47   test_regex_eval_api.c
48 test_regex_eval_api_LDADD = \
49   $(top_builddir)/src/regex/libgnunetregex.la \
50   $(top_builddir)/src/util/libgnunetutil.la
51
52 test_regex_iterate_api_SOURCES = \
53   test_regex_iterate_api.c
54 test_regex_iterate_api_LDADD = \
55   $(top_builddir)/src/regex/libgnunetregex.la \
56   $(top_builddir)/src/util/libgnunetutil.la
57
58 test_regex_proofs_SOURCES = \
59   test_regex_proofs.c
60 test_regex_proofs_LDADD = \
61   $(top_builddir)/src/regex/libgnunetregex.la \
62   $(top_builddir)/src/util/libgnunetutil.la
63
64 test_regex_graph_api_SOURCES = \
65   test_regex_graph_api.c
66 test_regex_graph_api_LDADD = \
67   $(top_builddir)/src/regex/libgnunetregex.la \
68   $(top_builddir)/src/util/libgnunetutil.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   regex_profiler_test.conf