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
30 plugin_LTLIBRARIES = \
31 libgnunet_plugin_block_mesh.la
33 libgnunet_plugin_block_mesh_la_SOURCES = \
35 libgnunet_plugin_block_mesh_la_LIBADD = \
36 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
37 $(top_builddir)/src/block/libgnunetblock.la \
38 $(top_builddir)/src/util/libgnunetutil.la
39 libgnunet_plugin_block_mesh_la_LDFLAGS = \
41 libgnunet_plugin_block_mesh_la_DEPENDENCIES = \
42 libgnunetmeshblock.la \
43 $(top_builddir)/src/block/libgnunetblock.la \
44 $(top_builddir)/src/util/libgnunetutil.la
46 libgnunetmesh_la_SOURCES = \
47 mesh_api.c mesh_common.c
48 libgnunetmesh_la_LIBADD = \
49 $(top_builddir)/src/util/libgnunetutil.la \
52 libgnunetmesh_la_LDFLAGS = \
53 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
56 libgnunetmeshblock_la_SOURCES = \
58 libgnunetmeshblock_la_LIBADD = \
59 $(top_builddir)/src/util/libgnunetutil.la \
62 libgnunetmeshblock_la_LDFLAGS = \
63 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
66 gnunet_service_mesh_SOURCES = \
67 gnunet-service-mesh.c \
70 gnunet_service_mesh_CFLAGS = $(AM_CFLAGS)
71 gnunet_service_mesh_LDADD = \
72 $(top_builddir)/src/util/libgnunetutil.la \
73 $(top_builddir)/src/core/libgnunetcore.la \
74 $(top_builddir)/src/dht/libgnunetdht.la \
75 $(top_builddir)/src/statistics/libgnunetstatistics.la \
76 $(top_builddir)/src/block/libgnunetblock.la \
77 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
78 $(top_builddir)/src/regex/libgnunetregex.la
79 gnunet_service_mesh_DEPENDENCIES = \
80 $(top_builddir)/src/util/libgnunetutil.la \
81 $(top_builddir)/src/core/libgnunetcore.la \
82 $(top_builddir)/src/dht/libgnunetdht.la \
83 $(top_builddir)/src/statistics/libgnunetstatistics.la \
84 $(top_builddir)/src/block/libgnunetblock.la \
85 libgnunetmeshblock.la \
86 $(top_builddir)/src/regex/libgnunetregex.la
88 gnunet_service_mesh_LDFLAGS = -lrt
91 gnunet_service_mesh_new_SOURCES = \
92 gnunet-service-mesh-new.c \
95 gnunet_service_mesh_new_CFLAGS = $(AM_CFLAGS)
96 gnunet_service_mesh_new_LDADD = \
97 $(top_builddir)/src/util/libgnunetutil.la \
98 $(top_builddir)/src/core/libgnunetcore.la \
99 $(top_builddir)/src/dht/libgnunetdht.la \
100 $(top_builddir)/src/statistics/libgnunetstatistics.la \
101 $(top_builddir)/src/block/libgnunetblock.la \
102 $(top_builddir)/src/mesh/libgnunetmeshblock.la \
103 $(top_builddir)/src/regex/libgnunetregex.la
104 gnunet_service_mesh_new_DEPENDENCIES = \
105 $(top_builddir)/src/util/libgnunetutil.la \
106 $(top_builddir)/src/core/libgnunetcore.la \
107 $(top_builddir)/src/dht/libgnunetdht.la \
108 $(top_builddir)/src/statistics/libgnunetstatistics.la \
109 $(top_builddir)/src/block/libgnunetblock.la \
110 libgnunetmeshblock.la \
111 $(top_builddir)/src/regex/libgnunetregex.la
113 gnunet_service_mesh_new_LDFLAGS = -lrt
118 gnunet-regex-profiler \
119 gnunet-service-regexprofiler
121 gnunet_regex_profiler_SOURCES = \
122 gnunet-regex-profiler.c
123 gnunet_regex_profiler_LDADD = \
124 $(top_builddir)/src/util/libgnunetutil.la \
125 $(top_builddir)/src/testbed/libgnunettestbed.la \
126 $(top_builddir)/src/mesh/libgnunetmesh.la \
127 $(top_builddir)/src/regex/libgnunetregex.la \
128 $(top_builddir)/src/statistics/libgnunetstatistics.la
129 gnunet_regex_profiler_DEPENDENCIES = \
132 gnunet_service_regexprofiler_SOURCES = \
133 gnunet-service-regexprofiler.c
134 gnunet_service_regexprofiler_LDADD = \
135 $(top_builddir)/src/util/libgnunetutil.la \
136 $(top_builddir)/src/mesh/libgnunetmesh.la \
137 $(top_builddir)/src/statistics/libgnunetstatistics.la
138 gnunet_service_regexprofiler_DEPENDENCIES = \
146 test_mesh_local_traffic_fwd \
147 test_mesh_local_traffic_bck \
148 test_mesh_local_traffic_both \
151 test_mesh_small_unicast \
152 test_mesh_small_multicast \
153 test_mesh_small_speed \
154 test_mesh_small_speed_nobuf \
155 test_mesh_small_speed_min \
156 test_mesh_small_speed_backwards \
157 test_mesh_small_speed_nobuf_backwards \
158 test_mesh_small_speed_min_backwards \
159 test_mesh_small_speed_ack
161 test_mesh_api_SOURCES = \
163 test_mesh_api_LDADD = \
164 $(top_builddir)/src/util/libgnunetutil.la \
165 $(top_builddir)/src/testing/libgnunettesting.la \
166 $(top_builddir)/src/mesh/libgnunetmesh.la
167 test_mesh_api_DEPENDENCIES = \
169 $(top_builddir)/src/util/libgnunetutil.la
171 test_mesh_tree_api_SOURCES = \
173 test_mesh_tree_api_LDADD = \
174 $(top_builddir)/src/util/libgnunetutil.la \
175 $(top_builddir)/src/dht/libgnunetdht.la
176 test_mesh_tree_api_DEPENDENCIES = \
178 $(top_builddir)/src/dht/libgnunetdht.la
180 test_mesh_local_1_SOURCES = \
182 test_mesh_local_1_LDADD = \
183 $(top_builddir)/src/util/libgnunetutil.la \
184 $(top_builddir)/src/testing/libgnunettesting.la \
185 $(top_builddir)/src/mesh/libgnunetmesh.la
186 test_mesh_local_1_DEPENDENCIES = \
189 test_mesh_local_2_SOURCES = \
191 test_mesh_local_2_LDADD = \
192 $(top_builddir)/src/util/libgnunetutil.la \
193 $(top_builddir)/src/testing/libgnunettesting.la \
194 $(top_builddir)/src/mesh/libgnunetmesh.la
195 test_mesh_local_2_DEPENDENCIES = \
198 test_mesh_local_traffic_fwd_SOURCES = \
199 test_mesh_local_traffic.c
200 test_mesh_local_traffic_fwd_LDADD = \
201 $(top_builddir)/src/util/libgnunetutil.la \
202 $(top_builddir)/src/testing/libgnunettesting.la \
203 $(top_builddir)/src/mesh/libgnunetmesh.la
204 test_mesh_local_traffic_fwd_DEPENDENCIES = \
207 test_mesh_local_traffic_bck_SOURCES = \
208 test_mesh_local_traffic.c
209 test_mesh_local_traffic_bck_LDADD = \
210 $(top_builddir)/src/util/libgnunetutil.la \
211 $(top_builddir)/src/testing/libgnunettesting.la \
212 $(top_builddir)/src/mesh/libgnunetmesh.la
213 test_mesh_local_traffic_bck_DEPENDENCIES = \
216 test_mesh_local_traffic_both_SOURCES = \
217 test_mesh_local_traffic.c
218 test_mesh_local_traffic_both_LDADD = \
219 $(top_builddir)/src/util/libgnunetutil.la \
220 $(top_builddir)/src/testing/libgnunettesting.la \
221 $(top_builddir)/src/mesh/libgnunetmesh.la
222 test_mesh_local_traffic_both_DEPENDENCIES = \
226 test_mesh_2dtorus_SOURCES = \
228 test_mesh_2dtorus_LDADD = \
229 $(top_builddir)/src/util/libgnunetutil.la \
230 $(top_builddir)/src/testing_old/libgnunettesting_old.la
232 test_mesh_regex_SOURCES = \
234 test_mesh_regex_LDADD = \
235 $(top_builddir)/src/mesh/libgnunetmesh.la \
236 $(top_builddir)/src/util/libgnunetutil.la \
237 $(top_builddir)/src/testing_old/libgnunettesting_old.la
238 test_mesh_regex_DEPENDENCIES = \
242 test_mesh_small_unicast_SOURCES = \
244 test_mesh_small_unicast_LDADD = \
245 $(top_builddir)/src/mesh/libgnunetmesh.la \
246 $(top_builddir)/src/util/libgnunetutil.la \
247 $(top_builddir)/src/testing_old/libgnunettesting_old.la
248 test_mesh_small_unicast_DEPENDENCIES = \
251 test_mesh_small_multicast_SOURCES = \
253 test_mesh_small_multicast_LDADD = \
254 $(top_builddir)/src/mesh/libgnunetmesh.la \
255 $(top_builddir)/src/util/libgnunetutil.la \
256 $(top_builddir)/src/testing_old/libgnunettesting_old.la
257 test_mesh_small_multicast_DEPENDENCIES = \
260 test_mesh_small_speed_ack_SOURCES = \
262 test_mesh_small_speed_ack_LDADD = \
263 $(top_builddir)/src/mesh/libgnunetmesh.la \
264 $(top_builddir)/src/util/libgnunetutil.la \
265 $(top_builddir)/src/testing_old/libgnunettesting_old.la
266 test_mesh_small_speed_ack_DEPENDENCIES = \
269 test_mesh_small_speed_SOURCES = \
271 test_mesh_small_speed_LDADD = \
272 $(top_builddir)/src/mesh/libgnunetmesh.la \
273 $(top_builddir)/src/util/libgnunetutil.la \
274 $(top_builddir)/src/testing_old/libgnunettesting_old.la
275 test_mesh_small_speed_DEPENDENCIES = \
278 test_mesh_small_speed_min_SOURCES = \
280 test_mesh_small_speed_min_LDADD = \
281 $(top_builddir)/src/mesh/libgnunetmesh.la \
282 $(top_builddir)/src/util/libgnunetutil.la \
283 $(top_builddir)/src/testing_old/libgnunettesting_old.la
284 test_mesh_small_speed_min_DEPENDENCIES = \
287 test_mesh_small_speed_nobuf_SOURCES = \
289 test_mesh_small_speed_nobuf_LDADD = \
290 $(top_builddir)/src/mesh/libgnunetmesh.la \
291 $(top_builddir)/src/util/libgnunetutil.la \
292 $(top_builddir)/src/testing_old/libgnunettesting_old.la
293 test_mesh_small_speed_nobuf_DEPENDENCIES = \
296 test_mesh_small_speed_backwards_SOURCES = \
298 test_mesh_small_speed_backwards_LDADD = \
299 $(top_builddir)/src/mesh/libgnunetmesh.la \
300 $(top_builddir)/src/util/libgnunetutil.la \
301 $(top_builddir)/src/testing_old/libgnunettesting_old.la
302 test_mesh_small_speed_backwards_DEPENDENCIES = \
305 test_mesh_small_speed_min_backwards_SOURCES = \
307 test_mesh_small_speed_min_backwards_LDADD = \
308 $(top_builddir)/src/mesh/libgnunetmesh.la \
309 $(top_builddir)/src/util/libgnunetutil.la \
310 $(top_builddir)/src/testing_old/libgnunettesting_old.la
311 test_mesh_small_speed_min_backwards_DEPENDENCIES = \
314 test_mesh_small_speed_nobuf_backwards_SOURCES = \
316 test_mesh_small_speed_nobuf_backwards_LDADD = \
317 $(top_builddir)/src/mesh/libgnunetmesh.la \
318 $(top_builddir)/src/util/libgnunetutil.la \
319 $(top_builddir)/src/testing_old/libgnunettesting_old.la
320 test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = \
325 TESTS = test_mesh_api \
327 test_mesh_local_1 test_mesh_local_2 \
328 test_mesh_local_traffic_fwd \
329 test_mesh_local_traffic_bck \
330 test_mesh_local_traffic_both \
331 test_mesh_2dtorus test_mesh_regex \
332 test_mesh_small_unicast test_mesh_small_multicast \
333 test_mesh_small_speed \
334 test_mesh_small_speed_min \
335 test_mesh_small_speed_nobuf \
336 test_mesh_small_speed_backwards \
337 test_mesh_small_speed_min_backwards
342 test_mesh_2dtorus.conf \