diff options
author | Bart Polot <bart@net.in.tum.de> | 2012-12-20 15:19:22 +0000 |
---|---|---|
committer | Bart Polot <bart@net.in.tum.de> | 2012-12-20 15:19:22 +0000 |
commit | 593c29a68e049643728a7cbcfb125f59526b6ce3 (patch) | |
tree | 95d25f0fa50b58896a72974793aac1caface6f09 /src/mesh | |
parent | b9a62027b5c28b9ca12df120882acadaa8deaff5 (diff) | |
download | gnunet-593c29a68e049643728a7cbcfb125f59526b6ce3.tar.gz gnunet-593c29a68e049643728a7cbcfb125f59526b6ce3.zip |
- refactor makefile
Diffstat (limited to 'src/mesh')
-rw-r--r-- | src/mesh/Makefile.am | 126 |
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 |
140 | gnunet_regex_profiler_DEPENDENCIES = \ | 140 | gnunet_regex_profiler_DEPENDENCIES = \ |
141 | libgnunetmesh.la | 141 | libgnunetmesh.la |
142 | 142 | ||
143 | gnunet_daemon_regexprofiler_SOURCES = \ | 143 | gnunet_daemon_regexprofiler_SOURCES = \ |
144 | gnunet-daemon-regexprofiler.c | 144 | gnunet-daemon-regexprofiler.c |
@@ -246,138 +246,76 @@ test_mesh_local_traffic_both_LDADD = \ | |||
246 | test_mesh_local_traffic_both_DEPENDENCIES = \ | 246 | test_mesh_local_traffic_both_DEPENDENCIES = \ |
247 | libgnunetmesh.la | 247 | libgnunetmesh.la |
248 | 248 | ||
249 | test_mesh_2dtorus_SOURCES = \ | 249 | |
250 | test_mesh_2dtorus.c | 250 | ld_mesh_test_lib = \ |
251 | test_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 |
256 | test_mesh_2dtorus_DEPENDENCIES = \ | 255 | |
256 | dep_mesh_test_lib = \ | ||
257 | libgnunetmeshtest.a \ | 257 | libgnunetmeshtest.a \ |
258 | libgnunetmesh.la | 258 | libgnunetmesh.la |
259 | 259 | ||
260 | test_mesh_2dtorus_SOURCES = \ | ||
261 | test_mesh_2dtorus.c | ||
262 | test_mesh_2dtorus_LDADD = $(ld_mesh_test_lib) | ||
263 | test_mesh_2dtorus_DEPENDENCIES = $(dep_mesh_test_lib) | ||
264 | |||
260 | test_mesh_regex_SOURCES = \ | 265 | test_mesh_regex_SOURCES = \ |
261 | test_mesh_regex.c | 266 | test_mesh_regex.c |
262 | test_mesh_regex_LDADD = \ | 267 | test_mesh_regex_LDADD = $(ld_mesh_test_lib) |
263 | $(top_builddir)/src/mesh/libgnunetmeshtest.a \ | 268 | test_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 | ||
267 | test_mesh_regex_DEPENDENCIES = \ | ||
268 | libgnunetmeshtest.a \ | ||
269 | libgnunetmesh.la | ||
270 | |||
271 | 269 | ||
272 | test_mesh_small_unicast_SOURCES = \ | 270 | test_mesh_small_unicast_SOURCES = \ |
273 | test_mesh_small.c | 271 | test_mesh_small.c |
274 | test_mesh_small_unicast_LDADD = \ | 272 | test_mesh_small_unicast_LDADD = $(ld_mesh_test_lib) |
275 | $(top_builddir)/src/mesh/libgnunetmeshtest.a \ | 273 | test_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 | ||
279 | test_mesh_small_unicast_DEPENDENCIES = \ | ||
280 | libgnunetmeshtest.a \ | ||
281 | libgnunetmesh.la | ||
282 | 274 | ||
283 | test_mesh_small_multicast_SOURCES = \ | 275 | test_mesh_small_multicast_SOURCES = \ |
284 | test_mesh_small.c | 276 | test_mesh_small.c |
285 | test_mesh_small_multicast_LDADD = \ | 277 | test_mesh_small_multicast_LDADD = $(ld_mesh_test_lib) |
286 | $(top_builddir)/src/mesh/libgnunetmeshtest.a \ | 278 | test_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 | ||
290 | test_mesh_small_multicast_DEPENDENCIES = \ | ||
291 | libgnunetmeshtest.a \ | ||
292 | libgnunetmesh.la | ||
293 | 279 | ||
294 | test_mesh_small_signal_SOURCES = \ | 280 | test_mesh_small_signal_SOURCES = \ |
295 | test_mesh_small.c | 281 | test_mesh_small.c |
296 | test_mesh_small_signal_LDADD = \ | 282 | test_mesh_small_signal_LDADD = $(ld_mesh_test_lib) |
297 | $(top_builddir)/src/mesh/libgnunetmeshtest.a \ | 283 | test_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 | ||
301 | test_mesh_small_signal_DEPENDENCIES = \ | ||
302 | libgnunetmeshtest.a \ | ||
303 | libgnunetmesh.la | ||
304 | 284 | ||
305 | test_mesh_small_speed_ack_SOURCES = \ | 285 | test_mesh_small_speed_ack_SOURCES = \ |
306 | test_mesh_small.c | 286 | test_mesh_small.c |
307 | test_mesh_small_speed_ack_LDADD = \ | 287 | test_mesh_small_speed_ack_LDADD = $(ld_mesh_test_lib) |
308 | $(top_builddir)/src/mesh/libgnunetmeshtest.a \ | 288 | test_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 | ||
312 | test_mesh_small_speed_ack_DEPENDENCIES = \ | ||
313 | libgnunetmeshtest.a \ | ||
314 | libgnunetmesh.la | ||
315 | 289 | ||
316 | test_mesh_small_speed_SOURCES = \ | 290 | test_mesh_small_speed_SOURCES = \ |
317 | test_mesh_small.c | 291 | test_mesh_small.c |
318 | test_mesh_small_speed_LDADD = \ | 292 | test_mesh_small_speed_LDADD = $(ld_mesh_test_lib) |
319 | $(top_builddir)/src/mesh/libgnunetmeshtest.a \ | 293 | test_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 | ||
323 | test_mesh_small_speed_DEPENDENCIES = \ | ||
324 | libgnunetmeshtest.a \ | ||
325 | libgnunetmesh.la | ||
326 | 294 | ||
327 | test_mesh_small_speed_min_SOURCES = \ | 295 | test_mesh_small_speed_min_SOURCES = \ |
328 | test_mesh_small.c | 296 | test_mesh_small.c |
329 | test_mesh_small_speed_min_LDADD = \ | 297 | test_mesh_small_speed_min_LDADD = $(ld_mesh_test_lib) |
330 | $(top_builddir)/src/mesh/libgnunetmeshtest.a \ | 298 | test_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 | ||
334 | test_mesh_small_speed_min_DEPENDENCIES = \ | ||
335 | libgnunetmeshtest.a \ | ||
336 | libgnunetmesh.la | ||
337 | 299 | ||
338 | test_mesh_small_speed_nobuf_SOURCES = \ | 300 | test_mesh_small_speed_nobuf_SOURCES = \ |
339 | test_mesh_small.c | 301 | test_mesh_small.c |
340 | test_mesh_small_speed_nobuf_LDADD = \ | 302 | test_mesh_small_speed_nobuf_LDADD = $(ld_mesh_test_lib) |
341 | $(top_builddir)/src/mesh/libgnunetmeshtest.a \ | 303 | test_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 | ||
345 | test_mesh_small_speed_nobuf_DEPENDENCIES = \ | ||
346 | libgnunetmeshtest.a \ | ||
347 | libgnunetmesh.la | ||
348 | 304 | ||
349 | test_mesh_small_speed_backwards_SOURCES = \ | 305 | test_mesh_small_speed_backwards_SOURCES = \ |
350 | test_mesh_small.c | 306 | test_mesh_small.c |
351 | test_mesh_small_speed_backwards_LDADD = \ | 307 | test_mesh_small_speed_backwards_LDADD = $(ld_mesh_test_lib) |
352 | $(top_builddir)/src/mesh/libgnunetmeshtest.a \ | 308 | test_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 | ||
356 | test_mesh_small_speed_backwards_DEPENDENCIES = \ | ||
357 | libgnunetmeshtest.a \ | ||
358 | libgnunetmesh.la | ||
359 | 309 | ||
360 | test_mesh_small_speed_min_backwards_SOURCES = \ | 310 | test_mesh_small_speed_min_backwards_SOURCES = \ |
361 | test_mesh_small.c | 311 | test_mesh_small.c |
362 | test_mesh_small_speed_min_backwards_LDADD = \ | 312 | test_mesh_small_speed_min_backwards_LDADD = $(ld_mesh_test_lib) |
363 | $(top_builddir)/src/mesh/libgnunetmeshtest.a \ | 313 | test_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 | ||
367 | test_mesh_small_speed_min_backwards_DEPENDENCIES = \ | ||
368 | libgnunetmeshtest.a \ | ||
369 | libgnunetmesh.la | ||
370 | 314 | ||
371 | test_mesh_small_speed_nobuf_backwards_SOURCES = \ | 315 | test_mesh_small_speed_nobuf_backwards_SOURCES = \ |
372 | test_mesh_small.c | 316 | test_mesh_small.c |
373 | test_mesh_small_speed_nobuf_backwards_LDADD = \ | 317 | test_mesh_small_speed_nobuf_backwards_LDADD = $(ld_mesh_test_lib) |
374 | $(top_builddir)/src/mesh/libgnunetmeshtest.a \ | 318 | test_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 | ||
378 | test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = \ | ||
379 | libgnunetmeshtest.a \ | ||
380 | libgnunetmesh.la | ||
381 | 319 | ||
382 | 320 | ||
383 | if ENABLE_TEST_RUN | 321 | if ENABLE_TEST_RUN |