1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
11 pkgcfgdir= $(pkgdatadir)/config.d/
13 libexecdir= $(pkglibdir)/libexec/
15 plugindir = $(libdir)/gnunet
21 gnunet-service-regex \
22 gnunet-daemon-regexprofiler
25 gnunet_service_regex_SOURCES = \
26 gnunet-service-regex.c
27 gnunet_service_regex_LDADD = -lm \
28 $(top_builddir)/src/regex/libgnunetregex_internal.a \
29 $(top_builddir)/src/regex/libgnunetregexblock.la \
30 $(top_builddir)/src/dht/libgnunetdht.la \
31 $(top_builddir)/src/statistics/libgnunetstatistics.la \
32 $(top_builddir)/src/util/libgnunetutil.la \
34 gnunet_service_regex_DEPENDENCIES = \
35 libgnunetregex_internal.a
38 libgnunetregex_internal.a \
42 libgnunetregexblock.la \
46 libgnunetregexblock_la_SOURCES = \
47 regex_block_lib.c regex_block_lib.h
48 libgnunetregexblock_la_LIBADD = \
49 $(top_builddir)/src/util/libgnunetutil.la \
52 libgnunetregexblock_la_LDFLAGS = \
53 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
57 libgnunetregex_internal_a_SOURCES = \
58 regex_internal_lib.h \
59 regex_internal.h regex_internal.c \
61 libgnunetregex_internal_a_DEPENDENCIES = \
62 libgnunetregexblock.la
65 libgnunetregex_la_SOURCES = \
66 regex_api.c regex_ipc.h
67 libgnunetregex_la_LIBADD = \
68 $(top_builddir)/src/util/libgnunetutil.la
69 libgnunetregex_la_LDFLAGS = \
74 plugin_LTLIBRARIES = \
75 libgnunet_plugin_block_regex.la
77 libgnunet_plugin_block_regex_la_SOURCES = \
79 libgnunet_plugin_block_regex_la_LIBADD = \
80 $(top_builddir)/src/regex/libgnunetregexblock.la \
81 $(top_builddir)/src/block/libgnunetblock.la \
82 $(top_builddir)/src/util/libgnunetutil.la
83 libgnunet_plugin_block_regex_la_LDFLAGS = \
85 libgnunet_plugin_block_regex_la_DEPENDENCIES = \
86 $(top_builddir)/src/regex/libgnunetregexblock.la \
87 $(top_builddir)/src/block/libgnunetblock.la \
88 $(top_builddir)/src/util/libgnunetutil.la
91 noinst_mysql_progs = \
92 gnunet-regex-simulation-profiler
94 gnunet_regex_simulation_profiler_SOURCES = \
95 gnunet-regex-simulation-profiler.c
96 gnunet_regex_simulation_profiler_LDADD = \
97 $(top_builddir)/src/util/libgnunetutil.la \
98 $(top_builddir)/src/regex/libgnunetregex_internal.a \
99 $(top_builddir)/src/dht/libgnunetdht.la \
100 $(top_builddir)/src/mysql/libgnunetmysql.la
101 gnunet_regex_simulation_profiler_DEPENDENCIES = \
102 $(top_builddir)/src/util/libgnunetutil.la \
103 $(top_builddir)/src/regex/libgnunetregex_internal.a \
104 $(top_builddir)/src/dht/libgnunetdht.la \
105 $(top_builddir)/src/mysql/libgnunetmysql.la
108 libgnunetregextest_a_SOURCES = \
109 regex_test_lib.c regex_test_lib.h \
112 libgnunetregextest_a_LIBADD = \
113 $(top_builddir)/src/util/libgnunetutil.la \
114 $(top_builddir)/src/regex/libgnunetregex_internal.a
115 libgnunetregextest_a_DEPENDENCIES = \
116 $(top_builddir)/src/util/libgnunetutil.la \
117 libgnunetregex_internal.a
120 noinst_PROGRAMS = $(noinst_mysql_progs) \
122 gnunet-regex-profiler
125 perf_regex_SOURCES = \
127 perf_regex_LDADD = -lm \
128 $(top_builddir)/src/regex/libgnunetregex_internal.a \
129 $(top_builddir)/src/dht/libgnunetdht.la \
130 $(top_builddir)/src/regex/libgnunetregexblock.la \
131 $(top_builddir)/src/regex/libgnunetregextest.a \
132 $(top_builddir)/src/util/libgnunetutil.la
133 perf_regex_DEPENDENCIES = \
134 $(top_builddir)/src/regex/libgnunetregex_internal.a \
135 $(top_builddir)/src/dht/libgnunetdht.la \
136 $(top_builddir)/src/regex/libgnunetregexblock.la \
137 $(top_builddir)/src/regex/libgnunetregextest.a \
138 $(top_builddir)/src/util/libgnunetutil.la
140 gnunet_regex_profiler_SOURCES = \
141 gnunet-regex-profiler.c
142 gnunet_regex_profiler_LDADD = -lm \
143 $(top_builddir)/src/arm/libgnunetarm.la \
144 $(top_builddir)/src/testbed/libgnunettestbed.la \
145 $(top_builddir)/src/regex/libgnunetregex_internal.a \
146 $(top_builddir)/src/dht/libgnunetdht.la \
147 $(top_builddir)/src/regex/libgnunetregexblock.la \
148 $(top_builddir)/src/regex/libgnunetregextest.a \
149 $(top_builddir)/src/statistics/libgnunetstatistics.la \
150 $(top_builddir)/src/util/libgnunetutil.la
151 gnunet_regex_profiler_DEPENDENCIES = \
152 $(top_builddir)/src/arm/libgnunetarm.la \
153 $(top_builddir)/src/testbed/libgnunettestbed.la \
154 $(top_builddir)/src/regex/libgnunetregex_internal.a \
155 $(top_builddir)/src/dht/libgnunetdht.la \
156 $(top_builddir)/src/regex/libgnunetregexblock.la \
157 $(top_builddir)/src/regex/libgnunetregextest.a \
158 $(top_builddir)/src/statistics/libgnunetstatistics.la \
159 $(top_builddir)/src/util/libgnunetutil.la
161 gnunet_daemon_regexprofiler_SOURCES = \
162 gnunet-daemon-regexprofiler.c
163 gnunet_daemon_regexprofiler_LDADD = -lm \
164 $(top_builddir)/src/regex/libgnunetregex_internal.a \
165 $(top_builddir)/src/dht/libgnunetdht.la \
166 $(top_builddir)/src/regex/libgnunetregexblock.la \
167 $(top_builddir)/src/regex/libgnunetregextest.a \
168 $(top_builddir)/src/statistics/libgnunetstatistics.la \
169 $(top_builddir)/src/util/libgnunetutil.la
170 gnunet_daemon_regexprofiler_DEPENDENCIES = \
171 $(top_builddir)/src/regex/libgnunetregex_internal.a \
172 $(top_builddir)/src/dht/libgnunetdht.la \
173 $(top_builddir)/src/regex/libgnunetregexblock.la \
174 $(top_builddir)/src/regex/libgnunetregextest.a \
175 $(top_builddir)/src/statistics/libgnunetstatistics.la \
176 $(top_builddir)/src/util/libgnunetutil.la
179 test_regex_eval_api \
180 test_regex_iterate_api \
182 test_regex_graph_api \
186 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
187 TESTS = $(check_PROGRAMS)
190 test_regex_eval_api_SOURCES = \
191 test_regex_eval_api.c
192 test_regex_eval_api_LDADD = -lm \
193 $(top_builddir)/src/regex/libgnunetregex_internal.a \
194 $(top_builddir)/src/dht/libgnunetdht.la \
195 $(top_builddir)/src/regex/libgnunetregextest.a \
196 $(top_builddir)/src/regex/libgnunetregexblock.la \
197 $(top_builddir)/src/util/libgnunetutil.la
199 test_regex_api_SOURCES = \
201 test_regex_api_LDADD = -lm \
202 $(top_builddir)/src/regex/libgnunetregex.la \
203 $(top_builddir)/src/testing/libgnunettesting.la \
204 $(top_builddir)/src/util/libgnunetutil.la
206 test_regex_iterate_api_SOURCES = \
207 test_regex_iterate_api.c
208 test_regex_iterate_api_LDADD = -lm \
209 $(top_builddir)/src/regex/libgnunetregex_internal.a \
210 $(top_builddir)/src/regex/libgnunetregexblock.la \
211 $(top_builddir)/src/dht/libgnunetdht.la \
212 $(top_builddir)/src/util/libgnunetutil.la
214 test_regex_proofs_SOURCES = \
216 test_regex_proofs_LDADD = -lm \
217 $(top_builddir)/src/regex/libgnunetregex_internal.a \
218 $(top_builddir)/src/dht/libgnunetdht.la \
219 $(top_builddir)/src/regex/libgnunetregextest.a \
220 $(top_builddir)/src/regex/libgnunetregexblock.la \
221 $(top_builddir)/src/util/libgnunetutil.la
223 test_regex_graph_api_SOURCES = \
224 test_regex_graph_api.c
225 test_regex_graph_api_LDADD = -lm \
226 $(top_builddir)/src/regex/libgnunetregex_internal.a \
227 $(top_builddir)/src/dht/libgnunetdht.la \
228 $(top_builddir)/src/regex/libgnunetregextest.a \
229 $(top_builddir)/src/regex/libgnunetregexblock.la \
230 $(top_builddir)/src/util/libgnunetutil.la
234 regex_simulation_profiler_test.conf \
235 test_regex_api_data.conf