1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
8 pkgcfgdir= $(pkgdatadir)/config.d/
10 libexecdir= $(pkglibdir)/libexec/
12 plugindir = $(libdir)/gnunet
18 gnunet-service-regex \
19 gnunet-daemon-regexprofiler
22 gnunet_service_regex_SOURCES = \
23 gnunet-service-regex.c
24 gnunet_service_regex_LDADD = -lm \
25 libgnunetregex_internal.a \
26 libgnunetregexblock.la \
27 $(top_builddir)/src/dht/libgnunetdht.la \
28 $(top_builddir)/src/statistics/libgnunetstatistics.la \
29 $(top_builddir)/src/util/libgnunetutil.la \
33 libgnunetregex_internal.a \
37 libgnunetregexblock.la \
41 libgnunetregexblock_la_SOURCES = \
42 regex_block_lib.c regex_block_lib.h
43 libgnunetregexblock_la_LIBADD = \
44 $(top_builddir)/src/util/libgnunetutil.la \
47 libgnunetregexblock_la_LDFLAGS = \
52 libgnunetregex_internal_a_SOURCES = \
53 regex_internal_lib.h \
54 regex_internal.h regex_internal.c \
56 libgnunetregex_internal_a_DEPENDENCIES = \
57 libgnunetregexblock.la
60 libgnunetregex_la_SOURCES = \
61 regex_api_announce.c \
64 libgnunetregex_la_LIBADD = \
65 $(top_builddir)/src/util/libgnunetutil.la
66 libgnunetregex_la_LDFLAGS = \
72 plugin_LTLIBRARIES = \
73 libgnunet_plugin_block_regex.la
75 libgnunet_plugin_block_regex_la_SOURCES = \
77 libgnunet_plugin_block_regex_la_LIBADD = \
78 libgnunetregexblock.la \
79 $(top_builddir)/src/block/libgnunetblock.la \
80 $(top_builddir)/src/block/libgnunetblockgroup.la \
81 $(top_builddir)/src/util/libgnunetutil.la
82 libgnunet_plugin_block_regex_la_LDFLAGS = \
87 noinst_mysql_progs = \
88 gnunet-regex-simulation-profiler
90 gnunet_regex_simulation_profiler_SOURCES = \
91 gnunet-regex-simulation-profiler.c
92 gnunet_regex_simulation_profiler_LDADD = \
93 $(top_builddir)/src/util/libgnunetutil.la \
94 libgnunetregex_internal.a \
95 $(top_builddir)/src/dht/libgnunetdht.la \
96 $(top_builddir)/src/my/libgnunetmy.la \
97 $(top_builddir)/src/mysql/libgnunetmysql.la
100 libgnunetregextest_a_SOURCES = \
101 regex_test_lib.c regex_test_lib.h \
104 libgnunetregextest_a_LIBADD = \
105 $(top_builddir)/src/util/libgnunetutil.la \
106 libgnunetregex_internal.a
109 noinst_PROGRAMS = $(noinst_mysql_progs) \
111 gnunet-regex-profiler
114 perf_regex_SOURCES = \
116 perf_regex_LDADD = -lm \
117 libgnunetregex_internal.a \
118 $(top_builddir)/src/dht/libgnunetdht.la \
119 libgnunetregexblock.la \
120 libgnunetregextest.a \
121 $(top_builddir)/src/util/libgnunetutil.la
122 perf_regex_LDFLAGS = \
125 gnunet_regex_profiler_SOURCES = \
126 gnunet-regex-profiler.c
127 gnunet_regex_profiler_LDADD = -lm \
128 $(top_builddir)/src/arm/libgnunetarm.la \
129 $(top_builddir)/src/testbed/libgnunettestbed.la \
130 libgnunetregex_internal.a \
131 $(top_builddir)/src/dht/libgnunetdht.la \
132 libgnunetregexblock.la \
133 libgnunetregextest.a \
134 $(top_builddir)/src/statistics/libgnunetstatistics.la \
135 $(top_builddir)/src/util/libgnunetutil.la
136 gnunet_regex_profiler_LDFLAGS = \
139 gnunet_daemon_regexprofiler_SOURCES = \
140 gnunet-daemon-regexprofiler.c
141 gnunet_daemon_regexprofiler_LDADD = -lm \
142 libgnunetregex_internal.a \
143 $(top_builddir)/src/dht/libgnunetdht.la \
144 libgnunetregexblock.la \
145 libgnunetregextest.a \
146 $(top_builddir)/src/statistics/libgnunetstatistics.la \
147 $(top_builddir)/src/util/libgnunetutil.la
148 gnunet_daemon_regexprofiler_LDFLAGS = \
152 test_regex_integration \
153 test_regex_eval_api \
154 test_regex_iterate_api \
156 test_regex_graph_api \
160 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
161 TESTS = $(check_PROGRAMS)
164 test_regex_eval_api_SOURCES = \
165 test_regex_eval_api.c
166 test_regex_eval_api_LDADD = -lm \
167 libgnunetregex_internal.a \
168 $(top_builddir)/src/dht/libgnunetdht.la \
169 libgnunetregextest.a \
170 libgnunetregexblock.la \
171 $(top_builddir)/src/util/libgnunetutil.la
173 test_regex_integration_SOURCES = \
174 test_regex_integration.c
175 test_regex_integration_LDADD = -lm \
177 $(top_builddir)/src/testing/libgnunettesting.la \
178 $(top_builddir)/src/util/libgnunetutil.la
180 test_regex_api_SOURCES = \
182 test_regex_api_LDADD = -lm \
184 $(top_builddir)/src/testing/libgnunettesting.la \
185 $(top_builddir)/src/util/libgnunetutil.la
187 test_regex_iterate_api_SOURCES = \
188 test_regex_iterate_api.c
189 test_regex_iterate_api_LDADD = -lm \
190 libgnunetregex_internal.a \
191 libgnunetregexblock.la \
192 $(top_builddir)/src/dht/libgnunetdht.la \
193 $(top_builddir)/src/util/libgnunetutil.la
195 test_regex_proofs_SOURCES = \
197 test_regex_proofs_LDADD = -lm \
198 libgnunetregex_internal.a \
199 $(top_builddir)/src/dht/libgnunetdht.la \
200 libgnunetregextest.a \
201 libgnunetregexblock.la \
202 $(top_builddir)/src/util/libgnunetutil.la
204 test_regex_graph_api_SOURCES = \
205 test_regex_graph_api.c
206 test_regex_graph_api_LDADD = -lm \
207 libgnunetregex_internal.a \
208 $(top_builddir)/src/dht/libgnunetdht.la \
209 libgnunetregextest.a \
210 libgnunetregexblock.la \
211 $(top_builddir)/src/util/libgnunetutil.la
215 regex_simulation_profiler_test.conf \
216 test_regex_api_data.conf