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 = \
100 $(top_builddir)/src/mesh/libgnunetmesh.la
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 = \
157 test_mesh_local_traffic_fwd \
158 test_mesh_local_traffic_bck \
159 test_mesh_local_traffic_both \
162 test_mesh_small_unicast \
163 test_mesh_small_multicast \
164 test_mesh_small_speed \
165 test_mesh_small_speed_nobuf \
166 test_mesh_small_speed_min \
167 test_mesh_small_speed_backwards \
168 test_mesh_small_speed_nobuf_backwards \
169 test_mesh_small_speed_min_backwards \
170 test_mesh_small_speed_ack
172 test_mesh_api_SOURCES = \
174 test_mesh_api_LDADD = \
175 $(top_builddir)/src/util/libgnunetutil.la \
176 $(top_builddir)/src/testing/libgnunettesting.la \
177 $(top_builddir)/src/mesh/libgnunetmesh.la
178 test_mesh_api_DEPENDENCIES = \
180 $(top_builddir)/src/util/libgnunetutil.la
182 test_mesh_tree_api_SOURCES = \
184 test_mesh_tree_api_LDADD = \
185 $(top_builddir)/src/util/libgnunetutil.la \
186 $(top_builddir)/src/dht/libgnunetdht.la
187 test_mesh_tree_api_DEPENDENCIES = \
189 $(top_builddir)/src/dht/libgnunetdht.la
191 test_mesh_local_1_SOURCES = \
193 test_mesh_local_1_LDADD = \
194 $(top_builddir)/src/util/libgnunetutil.la \
195 $(top_builddir)/src/testing/libgnunettesting.la \
196 $(top_builddir)/src/mesh/libgnunetmesh.la
197 test_mesh_local_1_DEPENDENCIES = \
200 test_mesh_local_2_SOURCES = \
202 test_mesh_local_2_LDADD = \
203 $(top_builddir)/src/util/libgnunetutil.la \
204 $(top_builddir)/src/testing/libgnunettesting.la \
205 $(top_builddir)/src/mesh/libgnunetmesh.la
206 test_mesh_local_2_DEPENDENCIES = \
209 test_mesh_local_traffic_fwd_SOURCES = \
210 test_mesh_local_traffic.c
211 test_mesh_local_traffic_fwd_LDADD = \
212 $(top_builddir)/src/util/libgnunetutil.la \
213 $(top_builddir)/src/testing/libgnunettesting.la \
214 $(top_builddir)/src/mesh/libgnunetmesh.la
215 test_mesh_local_traffic_fwd_DEPENDENCIES = \
218 test_mesh_local_traffic_bck_SOURCES = \
219 test_mesh_local_traffic.c
220 test_mesh_local_traffic_bck_LDADD = \
221 $(top_builddir)/src/util/libgnunetutil.la \
222 $(top_builddir)/src/testing/libgnunettesting.la \
223 $(top_builddir)/src/mesh/libgnunetmesh.la
224 test_mesh_local_traffic_bck_DEPENDENCIES = \
227 test_mesh_local_traffic_both_SOURCES = \
228 test_mesh_local_traffic.c
229 test_mesh_local_traffic_both_LDADD = \
230 $(top_builddir)/src/util/libgnunetutil.la \
231 $(top_builddir)/src/testing/libgnunettesting.la \
232 $(top_builddir)/src/mesh/libgnunetmesh.la
233 test_mesh_local_traffic_both_DEPENDENCIES = \
237 test_mesh_2dtorus_SOURCES = \
239 test_mesh_2dtorus_LDADD = \
240 $(top_builddir)/src/util/libgnunetutil.la \
241 $(top_builddir)/src/testing_old/libgnunettesting_old.la
243 test_mesh_regex_SOURCES = \
245 test_mesh_regex_LDADD = \
246 $(top_builddir)/src/mesh/libgnunetmesh.la \
247 $(top_builddir)/src/util/libgnunetutil.la \
248 $(top_builddir)/src/testing_old/libgnunettesting_old.la
249 test_mesh_regex_DEPENDENCIES = \
253 test_mesh_small_unicast_SOURCES = \
255 test_mesh_small_unicast_LDADD = \
256 $(top_builddir)/src/mesh/libgnunetmesh.la \
257 $(top_builddir)/src/util/libgnunetutil.la \
258 $(top_builddir)/src/testing_old/libgnunettesting_old.la
259 test_mesh_small_unicast_DEPENDENCIES = \
262 test_mesh_small_multicast_SOURCES = \
264 test_mesh_small_multicast_LDADD = \
265 $(top_builddir)/src/mesh/libgnunetmesh.la \
266 $(top_builddir)/src/util/libgnunetutil.la \
267 $(top_builddir)/src/testing_old/libgnunettesting_old.la
268 test_mesh_small_multicast_DEPENDENCIES = \
271 test_mesh_small_speed_ack_SOURCES = \
273 test_mesh_small_speed_ack_LDADD = \
274 $(top_builddir)/src/mesh/libgnunetmesh.la \
275 $(top_builddir)/src/util/libgnunetutil.la \
276 $(top_builddir)/src/testing_old/libgnunettesting_old.la
277 test_mesh_small_speed_ack_DEPENDENCIES = \
280 test_mesh_small_speed_SOURCES = \
282 test_mesh_small_speed_LDADD = \
283 $(top_builddir)/src/mesh/libgnunetmesh.la \
284 $(top_builddir)/src/util/libgnunetutil.la \
285 $(top_builddir)/src/testing_old/libgnunettesting_old.la
286 test_mesh_small_speed_DEPENDENCIES = \
289 test_mesh_small_speed_min_SOURCES = \
291 test_mesh_small_speed_min_LDADD = \
292 $(top_builddir)/src/mesh/libgnunetmesh.la \
293 $(top_builddir)/src/util/libgnunetutil.la \
294 $(top_builddir)/src/testing_old/libgnunettesting_old.la
295 test_mesh_small_speed_min_DEPENDENCIES = \
298 test_mesh_small_speed_nobuf_SOURCES = \
300 test_mesh_small_speed_nobuf_LDADD = \
301 $(top_builddir)/src/mesh/libgnunetmesh.la \
302 $(top_builddir)/src/util/libgnunetutil.la \
303 $(top_builddir)/src/testing_old/libgnunettesting_old.la
304 test_mesh_small_speed_nobuf_DEPENDENCIES = \
307 test_mesh_small_speed_backwards_SOURCES = \
309 test_mesh_small_speed_backwards_LDADD = \
310 $(top_builddir)/src/mesh/libgnunetmesh.la \
311 $(top_builddir)/src/util/libgnunetutil.la \
312 $(top_builddir)/src/testing_old/libgnunettesting_old.la
313 test_mesh_small_speed_backwards_DEPENDENCIES = \
316 test_mesh_small_speed_min_backwards_SOURCES = \
318 test_mesh_small_speed_min_backwards_LDADD = \
319 $(top_builddir)/src/mesh/libgnunetmesh.la \
320 $(top_builddir)/src/util/libgnunetutil.la \
321 $(top_builddir)/src/testing_old/libgnunettesting_old.la
322 test_mesh_small_speed_min_backwards_DEPENDENCIES = \
325 test_mesh_small_speed_nobuf_backwards_SOURCES = \
327 test_mesh_small_speed_nobuf_backwards_LDADD = \
328 $(top_builddir)/src/mesh/libgnunetmesh.la \
329 $(top_builddir)/src/util/libgnunetutil.la \
330 $(top_builddir)/src/testing_old/libgnunettesting_old.la
331 test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = \
336 TESTS = test_mesh_api \
338 test_mesh_local_1 test_mesh_local_2 \
339 test_mesh_local_traffic_fwd \
340 test_mesh_local_traffic_bck \
341 test_mesh_local_traffic_both \
342 test_mesh_2dtorus test_mesh_regex \
343 test_mesh_small_unicast test_mesh_small_multicast \
344 test_mesh_small_speed \
345 test_mesh_small_speed_min \
346 test_mesh_small_speed_nobuf \
347 test_mesh_small_speed_backwards \
348 test_mesh_small_speed_min_backwards
352 mesh.h mesh_protocol.h \
354 test_mesh_2dtorus.conf \