gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r25587 - gnunet/src/mesh


From: gnunet
Subject: [GNUnet-SVN] r25587 - gnunet/src/mesh
Date: Thu, 20 Dec 2012 16:19:22 +0100

Author: bartpolot
Date: 2012-12-20 16:19:22 +0100 (Thu, 20 Dec 2012)
New Revision: 25587

Modified:
   gnunet/src/mesh/Makefile.am
Log:
- refactor makefile

Modified: gnunet/src/mesh/Makefile.am
===================================================================
--- gnunet/src/mesh/Makefile.am 2012-12-20 15:07:40 UTC (rev 25586)
+++ gnunet/src/mesh/Makefile.am 2012-12-20 15:19:22 UTC (rev 25587)
@@ -138,7 +138,7 @@
   $(top_builddir)/src/regex/libgnunetregex.la \
   $(top_builddir)/src/statistics/libgnunetstatistics.la
 gnunet_regex_profiler_DEPENDENCIES = \
-  libgnunetmesh.la
+   libgnunetmesh.la
 
 gnunet_daemon_regexprofiler_SOURCES = \
   gnunet-daemon-regexprofiler.c
@@ -246,138 +246,76 @@
 test_mesh_local_traffic_both_DEPENDENCIES = \
   libgnunetmesh.la
 
-test_mesh_2dtorus_SOURCES = \
- test_mesh_2dtorus.c
-test_mesh_2dtorus_LDADD = \
+
+ld_mesh_test_lib = \
   $(top_builddir)/src/mesh/libgnunetmeshtest.a \
   $(top_builddir)/src/mesh/libgnunetmesh.la \
   $(top_builddir)/src/testbed/libgnunettestbed.la \
   $(top_builddir)/src/util/libgnunetutil.la 
-test_mesh_2dtorus_DEPENDENCIES = \
+
+dep_mesh_test_lib = \
   libgnunetmeshtest.a \
   libgnunetmesh.la
 
+test_mesh_2dtorus_SOURCES = \
+ test_mesh_2dtorus.c
+test_mesh_2dtorus_LDADD = $(ld_mesh_test_lib)
+test_mesh_2dtorus_DEPENDENCIES = $(dep_mesh_test_lib)
+
 test_mesh_regex_SOURCES = \
  test_mesh_regex.c
-test_mesh_regex_LDADD = \
-  $(top_builddir)/src/mesh/libgnunetmeshtest.a \
-  $(top_builddir)/src/mesh/libgnunetmesh.la \
-  $(top_builddir)/src/testbed/libgnunettestbed.la \
-  $(top_builddir)/src/util/libgnunetutil.la 
-test_mesh_regex_DEPENDENCIES = \
-  libgnunetmeshtest.a \
-  libgnunetmesh.la
+test_mesh_regex_LDADD = $(ld_mesh_test_lib)
+test_mesh_regex_DEPENDENCIES = $(dep_mesh_test_lib)
 
-
 test_mesh_small_unicast_SOURCES = \
  test_mesh_small.c
-test_mesh_small_unicast_LDADD = \
-  $(top_builddir)/src/mesh/libgnunetmeshtest.a \
-  $(top_builddir)/src/mesh/libgnunetmesh.la \
-  $(top_builddir)/src/testbed/libgnunettestbed.la \
-  $(top_builddir)/src/util/libgnunetutil.la 
-test_mesh_small_unicast_DEPENDENCIES = \
-  libgnunetmeshtest.a \
-  libgnunetmesh.la
+test_mesh_small_unicast_LDADD = $(ld_mesh_test_lib)
+test_mesh_small_unicast_DEPENDENCIES = $(dep_mesh_test_lib)
 
 test_mesh_small_multicast_SOURCES = \
  test_mesh_small.c
-test_mesh_small_multicast_LDADD = \
-  $(top_builddir)/src/mesh/libgnunetmeshtest.a \
-  $(top_builddir)/src/mesh/libgnunetmesh.la \
-  $(top_builddir)/src/testbed/libgnunettestbed.la \
-  $(top_builddir)/src/util/libgnunetutil.la 
-test_mesh_small_multicast_DEPENDENCIES = \
-  libgnunetmeshtest.a \
-  libgnunetmesh.la
+test_mesh_small_multicast_LDADD = $(ld_mesh_test_lib)
+test_mesh_small_multicast_DEPENDENCIES = $(dep_mesh_test_lib)
 
 test_mesh_small_signal_SOURCES = \
  test_mesh_small.c
-test_mesh_small_signal_LDADD = \
-  $(top_builddir)/src/mesh/libgnunetmeshtest.a \
-  $(top_builddir)/src/mesh/libgnunetmesh.la \
-  $(top_builddir)/src/testbed/libgnunettestbed.la \
-  $(top_builddir)/src/util/libgnunetutil.la 
-test_mesh_small_signal_DEPENDENCIES = \
-  libgnunetmeshtest.a \
-  libgnunetmesh.la
+test_mesh_small_signal_LDADD = $(ld_mesh_test_lib)
+test_mesh_small_signal_DEPENDENCIES = $(dep_mesh_test_lib)
 
 test_mesh_small_speed_ack_SOURCES = \
  test_mesh_small.c
-test_mesh_small_speed_ack_LDADD = \
-  $(top_builddir)/src/mesh/libgnunetmeshtest.a \
-  $(top_builddir)/src/mesh/libgnunetmesh.la \
-  $(top_builddir)/src/testbed/libgnunettestbed.la \
-  $(top_builddir)/src/util/libgnunetutil.la 
-test_mesh_small_speed_ack_DEPENDENCIES = \
-  libgnunetmeshtest.a \
-  libgnunetmesh.la
+test_mesh_small_speed_ack_LDADD = $(ld_mesh_test_lib)
+test_mesh_small_speed_ack_DEPENDENCIES = $(dep_mesh_test_lib)
 
 test_mesh_small_speed_SOURCES = \
  test_mesh_small.c
-test_mesh_small_speed_LDADD = \
-  $(top_builddir)/src/mesh/libgnunetmeshtest.a \
-  $(top_builddir)/src/mesh/libgnunetmesh.la \
-  $(top_builddir)/src/testbed/libgnunettestbed.la \
-  $(top_builddir)/src/util/libgnunetutil.la 
-test_mesh_small_speed_DEPENDENCIES = \
-  libgnunetmeshtest.a \
-  libgnunetmesh.la
+test_mesh_small_speed_LDADD = $(ld_mesh_test_lib)
+test_mesh_small_speed_DEPENDENCIES = $(dep_mesh_test_lib)
 
 test_mesh_small_speed_min_SOURCES = \
  test_mesh_small.c
-test_mesh_small_speed_min_LDADD = \
-  $(top_builddir)/src/mesh/libgnunetmeshtest.a \
-  $(top_builddir)/src/mesh/libgnunetmesh.la \
-  $(top_builddir)/src/testbed/libgnunettestbed.la \
-  $(top_builddir)/src/util/libgnunetutil.la 
-test_mesh_small_speed_min_DEPENDENCIES = \
-  libgnunetmeshtest.a \
-  libgnunetmesh.la
+test_mesh_small_speed_min_LDADD = $(ld_mesh_test_lib)
+test_mesh_small_speed_min_DEPENDENCIES = $(dep_mesh_test_lib)
 
 test_mesh_small_speed_nobuf_SOURCES = \
  test_mesh_small.c
-test_mesh_small_speed_nobuf_LDADD = \
-  $(top_builddir)/src/mesh/libgnunetmeshtest.a \
-  $(top_builddir)/src/mesh/libgnunetmesh.la \
-  $(top_builddir)/src/testbed/libgnunettestbed.la \
-  $(top_builddir)/src/util/libgnunetutil.la 
-test_mesh_small_speed_nobuf_DEPENDENCIES = \
-  libgnunetmeshtest.a \
-  libgnunetmesh.la
+test_mesh_small_speed_nobuf_LDADD = $(ld_mesh_test_lib)
+test_mesh_small_speed_nobuf_DEPENDENCIES = $(dep_mesh_test_lib)
 
 test_mesh_small_speed_backwards_SOURCES = \
  test_mesh_small.c
-test_mesh_small_speed_backwards_LDADD = \
-  $(top_builddir)/src/mesh/libgnunetmeshtest.a \
-  $(top_builddir)/src/mesh/libgnunetmesh.la \
-  $(top_builddir)/src/testbed/libgnunettestbed.la \
-  $(top_builddir)/src/util/libgnunetutil.la 
-test_mesh_small_speed_backwards_DEPENDENCIES = \
-  libgnunetmeshtest.a \
-  libgnunetmesh.la
+test_mesh_small_speed_backwards_LDADD = $(ld_mesh_test_lib)
+test_mesh_small_speed_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
 
 test_mesh_small_speed_min_backwards_SOURCES = \
  test_mesh_small.c
-test_mesh_small_speed_min_backwards_LDADD = \
-  $(top_builddir)/src/mesh/libgnunetmeshtest.a \
-  $(top_builddir)/src/mesh/libgnunetmesh.la \
-  $(top_builddir)/src/testbed/libgnunettestbed.la \
-  $(top_builddir)/src/util/libgnunetutil.la 
-test_mesh_small_speed_min_backwards_DEPENDENCIES = \
-  libgnunetmeshtest.a \
-  libgnunetmesh.la
+test_mesh_small_speed_min_backwards_LDADD = $(ld_mesh_test_lib)
+test_mesh_small_speed_min_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
 
 test_mesh_small_speed_nobuf_backwards_SOURCES = \
  test_mesh_small.c
-test_mesh_small_speed_nobuf_backwards_LDADD = \
-  $(top_builddir)/src/mesh/libgnunetmeshtest.a \
-  $(top_builddir)/src/mesh/libgnunetmesh.la \
-  $(top_builddir)/src/testbed/libgnunettestbed.la \
-  $(top_builddir)/src/util/libgnunetutil.la 
-test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = \
-  libgnunetmeshtest.a \
-  libgnunetmesh.la
+test_mesh_small_speed_nobuf_backwards_LDADD = $(ld_mesh_test_lib)
+test_mesh_small_speed_nobuf_backwards_DEPENDENCIES = $(dep_mesh_test_lib)
 
 
 if ENABLE_TEST_RUN




reply via email to

[Prev in Thread] Current Thread [Next in Thread]