aboutsummaryrefslogtreecommitdiff
path: root/src/mesh
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2012-12-20 15:19:22 +0000
committerBart Polot <bart@net.in.tum.de>2012-12-20 15:19:22 +0000
commit593c29a68e049643728a7cbcfb125f59526b6ce3 (patch)
tree95d25f0fa50b58896a72974793aac1caface6f09 /src/mesh
parentb9a62027b5c28b9ca12df120882acadaa8deaff5 (diff)
downloadgnunet-593c29a68e049643728a7cbcfb125f59526b6ce3.tar.gz
gnunet-593c29a68e049643728a7cbcfb125f59526b6ce3.zip
- refactor makefile
Diffstat (limited to 'src/mesh')
-rw-r--r--src/mesh/Makefile.am126
1 files changed, 32 insertions, 94 deletions
diff --git a/src/mesh/Makefile.am b/src/mesh/Makefile.am
index f935e4d94..4949ab5d4 100644
--- a/src/mesh/Makefile.am
+++ b/src/mesh/Makefile.am
@@ -138,7 +138,7 @@ gnunet_regex_profiler_LDADD = \
138 $(top_builddir)/src/regex/libgnunetregex.la \ 138 $(top_builddir)/src/regex/libgnunetregex.la \
139 $(top_builddir)/src/statistics/libgnunetstatistics.la 139 $(top_builddir)/src/statistics/libgnunetstatistics.la
140gnunet_regex_profiler_DEPENDENCIES = \ 140gnunet_regex_profiler_DEPENDENCIES = \
141 libgnunetmesh.la 141 libgnunetmesh.la
142 142
143gnunet_daemon_regexprofiler_SOURCES = \ 143gnunet_daemon_regexprofiler_SOURCES = \
144 gnunet-daemon-regexprofiler.c 144 gnunet-daemon-regexprofiler.c
@@ -246,138 +246,76 @@ test_mesh_local_traffic_both_LDADD = \
246test_mesh_local_traffic_both_DEPENDENCIES = \ 246test_mesh_local_traffic_both_DEPENDENCIES = \
247 libgnunetmesh.la 247 libgnunetmesh.la
248 248
249test_mesh_2dtorus_SOURCES = \ 249
250 test_mesh_2dtorus.c 250ld_mesh_test_lib = \
251test_mesh_2dtorus_LDADD = \
252 $(top_builddir)/src/mesh/libgnunetmeshtest.a \ 251 $(top_builddir)/src/mesh/libgnunetmeshtest.a \
253 $(top_builddir)/src/mesh/libgnunetmesh.la \ 252 $(top_builddir)/src/mesh/libgnunetmesh.la \
254 $(top_builddir)/src/testbed/libgnunettestbed.la \ 253 $(top_builddir)/src/testbed/libgnunettestbed.la \
255 $(top_builddir)/src/util/libgnunetutil.la 254 $(top_builddir)/src/util/libgnunetutil.la
256test_mesh_2dtorus_DEPENDENCIES = \ 255
256dep_mesh_test_lib = \
257 libgnunetmeshtest.a \ 257 libgnunetmeshtest.a \
258 libgnunetmesh.la 258 libgnunetmesh.la
259 259
260test_mesh_2dtorus_SOURCES = \
261 test_mesh_2dtorus.c
262test_mesh_2dtorus_LDADD = $(ld_mesh_test_lib)
263test_mesh_2dtorus_DEPENDENCIES = $(dep_mesh_test_lib)
264
260test_mesh_regex_SOURCES = \ 265test_mesh_regex_SOURCES = \
261 test_mesh_regex.c 266 test_mesh_regex.c
262test_mesh_regex_LDADD = \ 267test_mesh_regex_LDADD = $(ld_mesh_test_lib)
263 $(top_builddir)/src/mesh/libgnunetmeshtest.a \ 268test_mesh_regex_DEPENDENCIES = $(dep_mesh_test_lib)
264 $(top_builddir)/src/mesh/libgnunetmesh.la \
265 $(top_builddir)/src/testbed/libgnunettestbed.la \
266 $(top_builddir)/src/util/libgnunetutil.la
267test_mesh_regex_DEPENDENCIES = \
268 libgnunetmeshtest.a \
269 libgnunetmesh.la
270
271 269
272test_mesh_small_unicast_SOURCES = \ 270test_mesh_small_unicast_SOURCES = \
273 test_mesh_small.c 271 test_mesh_small.c
274test_mesh_small_unicast_LDADD = \ 272test_mesh_small_unicast_LDADD = $(ld_mesh_test_lib)
275 $(top_builddir)/src/mesh/libgnunetmeshtest.a \ 273test_mesh_small_unicast_DEPENDENCIES = $(dep_mesh_test_lib)
276 $(top_builddir)/src/mesh/libgnunetmesh.la \
277 $(top_builddir)/src/testbed/libgnunettestbed.la \
278 $(top_builddir)/src/util/libgnunetutil.la
279test_mesh_small_unicast_DEPENDENCIES = \
280 libgnunetmeshtest.a \
281 libgnunetmesh.la
282 274
283test_mesh_small_multicast_SOURCES = \ 275test_mesh_small_multicast_SOURCES = \
284 test_mesh_small.c 276 test_mesh_small.c
285test_mesh_small_multicast_LDADD = \ 277test_mesh_small_multicast_LDADD = $(ld_mesh_test_lib)
286 $(top_builddir)/src/mesh/libgnunetmeshtest.a \ 278test_mesh_small_multicast_DEPENDENCIES = $(dep_mesh_test_lib)
287 $(top_builddir)/src/mesh/libgnunetmesh.la \
288 $(top_builddir)/src/testbed/libgnunettestbed.la \
289 $(top_builddir)/src/util/libgnunetutil.la
290test_mesh_small_multicast_DEPENDENCIES = \
291 libgnunetmeshtest.a \
292 libgnunetmesh.la
293 279
294test_mesh_small_signal_SOURCES = \ 280test_mesh_small_signal_SOURCES = \
295 test_mesh_small.c 281 test_mesh_small.c
296test_mesh_small_signal_LDADD = \ 282test_mesh_small_signal_LDADD = $(ld_mesh_test_lib)
297 $(top_builddir)/src/mesh/libgnunetmeshtest.a \ 283test_mesh_small_signal_DEPENDENCIES = $(dep_mesh_test_lib)
298 $(top_builddir)/src/mesh/libgnunetmesh.la \
299 $(top_builddir)/src/testbed/libgnunettestbed.la \
300 $(top_builddir)/src/util/libgnunetutil.la
301test_mesh_small_signal_DEPENDENCIES = \
302 libgnunetmeshtest.a \
303 libgnunetmesh.la
304 284
305test_mesh_small_speed_ack_SOURCES = \ 285test_mesh_small_speed_ack_SOURCES = \
306 test_mesh_small.c 286 test_mesh_small.c
307test_mesh_small_speed_ack_LDADD = \ 287test_mesh_small_speed_ack_LDADD = $(ld_mesh_test_lib)
308 $(top_builddir)/src/mesh/libgnunetmeshtest.a \ 288test_mesh_small_speed_ack_DEPENDENCIES = $(dep_mesh_test_lib)
309 $(top_builddir)/src/mesh/libgnunetmesh.la \
310 $(top_builddir)/src/testbed/libgnunettestbed.la \
311 $(top_builddir)/src/util/libgnunetutil.la
312test_mesh_small_speed_ack_DEPENDENCIES = \
313 libgnunetmeshtest.a \
314 libgnunetmesh.la
315 289
316test_mesh_small_speed_SOURCES = \ 290test_mesh_small_speed_SOURCES = \
317 test_mesh_small.c 291 test_mesh_small.c
318test_mesh_small_speed_LDADD = \ 292test_mesh_small_speed_LDADD = $(ld_mesh_test_lib)
319 $(top_builddir)/src/mesh/libgnunetmeshtest.a \ 293test_mesh_small_speed_DEPENDENCIES = $(dep_mesh_test_lib)
320 $(top_builddir)/src/mesh/libgnunetmesh.la \
321 $(top_builddir)/src/testbed/libgnunettestbed.la \
322 $(top_builddir)/src/util/libgnunetutil.la
323test_mesh_small_speed_DEPENDENCIES = \
324 libgnunetmeshtest.a \
325 libgnunetmesh.la
326 294
327test_mesh_small_speed_min_SOURCES = \ 295test_mesh_small_speed_min_SOURCES = \
328 test_mesh_small.c 296 test_mesh_small.c
329test_mesh_small_speed_min_LDADD = \ 297test_mesh_small_speed_min_LDADD = $(ld_mesh_test_lib)
330 $(top_builddir)/src/mesh/libgnunetmeshtest.a \ 298test_mesh_small_speed_min_DEPENDENCIES = $(dep_mesh_test_lib)
331 $(top_builddir)/src/mesh/libgnunetmesh.la \
332 $(top_builddir)/src/testbed/libgnunettestbed.la \
333 $(top_builddir)/src/util/libgnunetutil.la
334test_mesh_small_speed_min_DEPENDENCIES = \
335 libgnunetmeshtest.a \
336 libgnunetmesh.la
337 299
338test_mesh_small_speed_nobuf_SOURCES = \ 300test_mesh_small_speed_nobuf_SOURCES = \
339 test_mesh_small.c 301 test_mesh_small.c
340test_mesh_small_speed_nobuf_LDADD = \ 302test_mesh_small_speed_nobuf_LDADD = $(ld_mesh_test_lib)
341 $(top_builddir)/src/mesh/libgnunetmeshtest.a \ 303test_mesh_small_speed_nobuf_DEPENDENCIES = $(dep_mesh_test_lib)
342 $(top_builddir)/src/mesh/libgnunetmesh.la \
343 $(top_builddir)/src/testbed/libgnunettestbed.la \
344 $(top_builddir)/src/util/libgnunetutil.la
345test_mesh_small_speed_nobuf_DEPENDENCIES = \
346 libgnunetmeshtest.a \
347 libgnunetmesh.la
348 304
349test_mesh_small_speed_backwards_SOURCES = \ 305test_mesh_small_speed_backwards_SOURCES = \
350 test_mesh_small.c 306 test_mesh_small.c
351test_mesh_small_speed_backwards_LDADD = \ 307test_mesh_small_speed_backwards_LDADD = $(ld_mesh_test_lib)
352 $(top_builddir)/src/mesh/libgnunetmeshtest.a \ 308test_mesh_small_speed_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
353 $(top_builddir)/src/mesh/libgnunetmesh.la \
354 $(top_builddir)/src/testbed/libgnunettestbed.la \
355 $(top_builddir)/src/util/libgnunetutil.la
356test_mesh_small_speed_backwards_DEPENDENCIES = \
357 libgnunetmeshtest.a \
358 libgnunetmesh.la
359 309
360test_mesh_small_speed_min_backwards_SOURCES = \ 310test_mesh_small_speed_min_backwards_SOURCES = \
361 test_mesh_small.c 311 test_mesh_small.c
362test_mesh_small_speed_min_backwards_LDADD = \ 312test_mesh_small_speed_min_backwards_LDADD = $(ld_mesh_test_lib)
363 $(top_builddir)/src/mesh/libgnunetmeshtest.a \ 313test_mesh_small_speed_min_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
364 $(top_builddir)/src/mesh/libgnunetmesh.la \
365 $(top_builddir)/src/testbed/libgnunettestbed.la \
366 $(top_builddir)/src/util/libgnunetutil.la
367test_mesh_small_speed_min_backwards_DEPENDENCIES = \
368 libgnunetmeshtest.a \
369 libgnunetmesh.la
370 314
371test_mesh_small_speed_nobuf_backwards_SOURCES = \ 315test_mesh_small_speed_nobuf_backwards_SOURCES = \
372 test_mesh_small.c 316 test_mesh_small.c
373test_mesh_small_speed_nobuf_backwards_LDADD = \ 317test_mesh_small_speed_nobuf_backwards_LDADD = $(ld_mesh_test_lib)
374 $(top_builddir)/src/mesh/libgnunetmeshtest.a \ 318test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
375 $(top_builddir)/src/mesh/libgnunetmesh.la \
376 $(top_builddir)/src/testbed/libgnunettestbed.la \
377 $(top_builddir)/src/util/libgnunetutil.la
378test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = \
379 libgnunetmeshtest.a \
380 libgnunetmesh.la
381 319
382 320
383if ENABLE_TEST_RUN 321if ENABLE_TEST_RUN