1 INCLUDES = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
8 AM_CFLAGS = --coverage -O0
12 pkgcfgdir= $(pkgdatadir)/config.d/
14 libexecdir= $(pkglibdir)/libexec/
19 plugindir = $(libdir)/gnunet
24 gnunet-service-mesh gnunet-service-mesh-new
33 plugin_LTLIBRARIES = \
34 libgnunet_plugin_block_mesh.la
36 libgnunet_plugin_block_mesh_la_SOURCES = \
38 libgnunet_plugin_block_mesh_la_LIBADD = \
39 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
40 $(top_builddir)/src/block/libgnunetblock.la \
41 $(top_builddir)/src/util/libgnunetutil.la
42 libgnunet_plugin_block_mesh_la_LDFLAGS = \
44 libgnunet_plugin_block_mesh_la_DEPENDENCIES = \
45 libgnunetmeshblock.la \
46 $(top_builddir)/src/block/libgnunetblock.la \
47 $(top_builddir)/src/util/libgnunetutil.la
49 libgnunetmesh_la_SOURCES = \
50 mesh_api.c mesh_common.c
51 libgnunetmesh_la_LIBADD = \
52 $(top_builddir)/src/util/libgnunetutil.la \
55 libgnunetmesh_la_LDFLAGS = \
56 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
59 libgnunetmeshblock_la_SOURCES = \
60 mesh_block_lib.c mesh_block_lib.h
61 libgnunetmeshblock_la_LIBADD = \
62 $(top_builddir)/src/util/libgnunetutil.la \
65 libgnunetmeshblock_la_LDFLAGS = \
66 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
69 gnunet_service_mesh_SOURCES = \
70 gnunet-service-mesh.c \
71 mesh_tunnel_tree.c mesh_tunnel_tree.h \
73 gnunet_service_mesh_CFLAGS = $(AM_CFLAGS)
74 gnunet_service_mesh_LDADD = \
75 $(top_builddir)/src/util/libgnunetutil.la \
76 $(top_builddir)/src/core/libgnunetcore.la \
77 $(top_builddir)/src/dht/libgnunetdht.la \
78 $(top_builddir)/src/statistics/libgnunetstatistics.la \
79 $(top_builddir)/src/block/libgnunetblock.la \
80 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
81 $(top_builddir)/src/regex/libgnunetregex.la
82 gnunet_service_mesh_DEPENDENCIES = \
83 $(top_builddir)/src/util/libgnunetutil.la \
84 $(top_builddir)/src/core/libgnunetcore.la \
85 $(top_builddir)/src/dht/libgnunetdht.la \
86 $(top_builddir)/src/statistics/libgnunetstatistics.la \
87 $(top_builddir)/src/block/libgnunetblock.la \
88 libgnunetmeshblock.la \
89 $(top_builddir)/src/regex/libgnunetregex.la
91 gnunet_service_mesh_LDFLAGS = -lrt
94 gnunet_mesh_SOURCES = \
97 $(top_builddir)/src/mesh/libgnunetmesh.la \
98 $(top_builddir)/src/util/libgnunetutil.la
99 gnunet_mesh_DEPENDENCIES = \
102 gnunet_service_mesh_new_SOURCES = \
103 gnunet-service-mesh-new.c \
106 gnunet_service_mesh_new_CFLAGS = $(AM_CFLAGS)
107 gnunet_service_mesh_new_LDADD = \
108 $(top_builddir)/src/util/libgnunetutil.la \
109 $(top_builddir)/src/core/libgnunetcore.la \
110 $(top_builddir)/src/dht/libgnunetdht.la \
111 $(top_builddir)/src/statistics/libgnunetstatistics.la \
112 $(top_builddir)/src/block/libgnunetblock.la \
113 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
114 $(top_builddir)/src/regex/libgnunetregex.la
115 gnunet_service_mesh_new_DEPENDENCIES = \
116 $(top_builddir)/src/util/libgnunetutil.la \
117 $(top_builddir)/src/core/libgnunetcore.la \
118 $(top_builddir)/src/dht/libgnunetdht.la \
119 $(top_builddir)/src/statistics/libgnunetstatistics.la \
120 $(top_builddir)/src/block/libgnunetblock.la \
121 libgnunetmeshblock.la \
122 $(top_builddir)/src/regex/libgnunetregex.la
124 gnunet_service_mesh_new_LDFLAGS = -lrt
129 gnunet-regex-profiler \
130 gnunet-daemon-regexprofiler
132 gnunet_regex_profiler_SOURCES = \
133 gnunet-regex-profiler.c
134 gnunet_regex_profiler_LDADD = \
135 $(top_builddir)/src/util/libgnunetutil.la \
136 $(top_builddir)/src/testbed/libgnunettestbed.la \
137 $(top_builddir)/src/mesh/libgnunetmesh.la \
138 $(top_builddir)/src/regex/libgnunetregex.la \
139 $(top_builddir)/src/statistics/libgnunetstatistics.la
140 gnunet_regex_profiler_DEPENDENCIES = \
143 gnunet_daemon_regexprofiler_SOURCES = \
144 gnunet-daemon-regexprofiler.c
145 gnunet_daemon_regexprofiler_LDADD = \
146 $(top_builddir)/src/util/libgnunetutil.la \
147 $(top_builddir)/src/mesh/libgnunetmesh.la \
148 $(top_builddir)/src/statistics/libgnunetstatistics.la
149 gnunet_daemon_regexprofiler_DEPENDENCIES = \
152 noinst_LIBRARIES = libgnunetmeshtest.a
154 libgnunetmeshtest_a_SOURCES = \
155 mesh_test_lib.c mesh_test_lib.h
156 libgnunetmeshtest_a_LIBADD = \
157 $(top_builddir)/src/util/libgnunetutil.la \
158 $(top_builddir)/src/testbed/libgnunettestbed.la \
159 $(top_builddir)/src/mesh/libgnunetmesh.la
160 libgnunetmeshtest_a_DEPENDENCIES = \
169 test_mesh_local_traffic_fwd \
170 test_mesh_local_traffic_bck \
171 test_mesh_local_traffic_both \
174 test_mesh_small_unicast \
175 test_mesh_small_multicast \
176 test_mesh_small_signal \
177 test_mesh_small_speed \
178 test_mesh_small_speed_nobuf \
179 test_mesh_small_speed_min \
180 test_mesh_small_speed_backwards \
181 test_mesh_small_speed_nobuf_backwards \
182 test_mesh_small_speed_min_backwards \
183 test_mesh_small_speed_ack
185 test_mesh_api_SOURCES = \
187 test_mesh_api_LDADD = \
188 $(top_builddir)/src/util/libgnunetutil.la \
189 $(top_builddir)/src/testing/libgnunettesting.la \
190 $(top_builddir)/src/mesh/libgnunetmesh.la
191 test_mesh_api_DEPENDENCIES = \
193 $(top_builddir)/src/util/libgnunetutil.la
195 test_mesh_tree_api_SOURCES = \
197 test_mesh_tree_api_LDADD = \
198 $(top_builddir)/src/util/libgnunetutil.la \
199 $(top_builddir)/src/dht/libgnunetdht.la
200 test_mesh_tree_api_DEPENDENCIES = \
202 $(top_builddir)/src/dht/libgnunetdht.la
204 test_mesh_local_1_SOURCES = \
206 test_mesh_local_1_LDADD = \
207 $(top_builddir)/src/util/libgnunetutil.la \
208 $(top_builddir)/src/testing/libgnunettesting.la \
209 $(top_builddir)/src/mesh/libgnunetmesh.la
210 test_mesh_local_1_DEPENDENCIES = \
213 test_mesh_local_2_SOURCES = \
215 test_mesh_local_2_LDADD = \
216 $(top_builddir)/src/util/libgnunetutil.la \
217 $(top_builddir)/src/testing/libgnunettesting.la \
218 $(top_builddir)/src/mesh/libgnunetmesh.la
219 test_mesh_local_2_DEPENDENCIES = \
222 test_mesh_local_traffic_fwd_SOURCES = \
223 test_mesh_local_traffic.c
224 test_mesh_local_traffic_fwd_LDADD = \
225 $(top_builddir)/src/util/libgnunetutil.la \
226 $(top_builddir)/src/testing/libgnunettesting.la \
227 $(top_builddir)/src/mesh/libgnunetmesh.la
228 test_mesh_local_traffic_fwd_DEPENDENCIES = \
231 test_mesh_local_traffic_bck_SOURCES = \
232 test_mesh_local_traffic.c
233 test_mesh_local_traffic_bck_LDADD = \
234 $(top_builddir)/src/util/libgnunetutil.la \
235 $(top_builddir)/src/testing/libgnunettesting.la \
236 $(top_builddir)/src/mesh/libgnunetmesh.la
237 test_mesh_local_traffic_bck_DEPENDENCIES = \
240 test_mesh_local_traffic_both_SOURCES = \
241 test_mesh_local_traffic.c
242 test_mesh_local_traffic_both_LDADD = \
243 $(top_builddir)/src/util/libgnunetutil.la \
244 $(top_builddir)/src/testing/libgnunettesting.la \
245 $(top_builddir)/src/mesh/libgnunetmesh.la
246 test_mesh_local_traffic_both_DEPENDENCIES = \
249 test_mesh_2dtorus_SOURCES = \
251 test_mesh_2dtorus_LDADD = \
252 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
253 $(top_builddir)/src/mesh/libgnunetmesh.la \
254 $(top_builddir)/src/testbed/libgnunettestbed.la \
255 $(top_builddir)/src/util/libgnunetutil.la
256 test_mesh_2dtorus_DEPENDENCIES = \
257 libgnunetmeshtest.a \
260 test_mesh_regex_SOURCES = \
262 test_mesh_regex_LDADD = \
263 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
264 $(top_builddir)/src/mesh/libgnunetmesh.la \
265 $(top_builddir)/src/testbed/libgnunettestbed.la \
266 $(top_builddir)/src/util/libgnunetutil.la
267 test_mesh_regex_DEPENDENCIES = \
268 libgnunetmeshtest.a \
272 test_mesh_small_unicast_SOURCES = \
274 test_mesh_small_unicast_LDADD = \
275 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
276 $(top_builddir)/src/mesh/libgnunetmesh.la \
277 $(top_builddir)/src/testbed/libgnunettestbed.la \
278 $(top_builddir)/src/util/libgnunetutil.la
279 test_mesh_small_unicast_DEPENDENCIES = \
280 libgnunetmeshtest.a \
283 test_mesh_small_multicast_SOURCES = \
285 test_mesh_small_multicast_LDADD = \
286 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
287 $(top_builddir)/src/mesh/libgnunetmesh.la \
288 $(top_builddir)/src/testbed/libgnunettestbed.la \
289 $(top_builddir)/src/util/libgnunetutil.la
290 test_mesh_small_multicast_DEPENDENCIES = \
291 libgnunetmeshtest.a \
294 test_mesh_small_signal_SOURCES = \
296 test_mesh_small_signal_LDADD = \
297 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
298 $(top_builddir)/src/mesh/libgnunetmesh.la \
299 $(top_builddir)/src/testbed/libgnunettestbed.la \
300 $(top_builddir)/src/util/libgnunetutil.la
301 test_mesh_small_signal_DEPENDENCIES = \
302 libgnunetmeshtest.a \
305 test_mesh_small_speed_ack_SOURCES = \
307 test_mesh_small_speed_ack_LDADD = \
308 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
309 $(top_builddir)/src/mesh/libgnunetmesh.la \
310 $(top_builddir)/src/testbed/libgnunettestbed.la \
311 $(top_builddir)/src/util/libgnunetutil.la
312 test_mesh_small_speed_ack_DEPENDENCIES = \
313 libgnunetmeshtest.a \
316 test_mesh_small_speed_SOURCES = \
318 test_mesh_small_speed_LDADD = \
319 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
320 $(top_builddir)/src/mesh/libgnunetmesh.la \
321 $(top_builddir)/src/testbed/libgnunettestbed.la \
322 $(top_builddir)/src/util/libgnunetutil.la
323 test_mesh_small_speed_DEPENDENCIES = \
324 libgnunetmeshtest.a \
327 test_mesh_small_speed_min_SOURCES = \
329 test_mesh_small_speed_min_LDADD = \
330 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
331 $(top_builddir)/src/mesh/libgnunetmesh.la \
332 $(top_builddir)/src/testbed/libgnunettestbed.la \
333 $(top_builddir)/src/util/libgnunetutil.la
334 test_mesh_small_speed_min_DEPENDENCIES = \
335 libgnunetmeshtest.a \
338 test_mesh_small_speed_nobuf_SOURCES = \
340 test_mesh_small_speed_nobuf_LDADD = \
341 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
342 $(top_builddir)/src/mesh/libgnunetmesh.la \
343 $(top_builddir)/src/testbed/libgnunettestbed.la \
344 $(top_builddir)/src/util/libgnunetutil.la
345 test_mesh_small_speed_nobuf_DEPENDENCIES = \
346 libgnunetmeshtest.a \
349 test_mesh_small_speed_backwards_SOURCES = \
351 test_mesh_small_speed_backwards_LDADD = \
352 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
353 $(top_builddir)/src/mesh/libgnunetmesh.la \
354 $(top_builddir)/src/testbed/libgnunettestbed.la \
355 $(top_builddir)/src/util/libgnunetutil.la
356 test_mesh_small_speed_backwards_DEPENDENCIES = \
357 libgnunetmeshtest.a \
360 test_mesh_small_speed_min_backwards_SOURCES = \
362 test_mesh_small_speed_min_backwards_LDADD = \
363 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
364 $(top_builddir)/src/mesh/libgnunetmesh.la \
365 $(top_builddir)/src/testbed/libgnunettestbed.la \
366 $(top_builddir)/src/util/libgnunetutil.la
367 test_mesh_small_speed_min_backwards_DEPENDENCIES = \
368 libgnunetmeshtest.a \
371 test_mesh_small_speed_nobuf_backwards_SOURCES = \
373 test_mesh_small_speed_nobuf_backwards_LDADD = \
374 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
375 $(top_builddir)/src/mesh/libgnunetmesh.la \
376 $(top_builddir)/src/testbed/libgnunettestbed.la \
377 $(top_builddir)/src/util/libgnunetutil.la
378 test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = \
379 libgnunetmeshtest.a \
384 TESTS = test_mesh_api \
386 test_mesh_local_1 test_mesh_local_2 \
387 test_mesh_local_traffic_fwd \
388 test_mesh_local_traffic_bck \
389 test_mesh_local_traffic_both \
390 test_mesh_2dtorus test_mesh_regex \
391 test_mesh_small_unicast test_mesh_small_multicast \
392 test_mesh_small_speed \
393 test_mesh_small_speed_min \
394 test_mesh_small_speed_nobuf \
395 test_mesh_small_speed_backwards \
396 test_mesh_small_speed_min_backwards
400 mesh.h mesh_protocol.h \
402 test_mesh_2dtorus.conf \