WiP
[oweals/gnunet.git] / src / dv / Makefile.am
index 9b5761f32ac3bcf6fe0652d4589185a1af60dfc9..64763af55e4f8b0a39b5ed92787c6c6f829f1c08 100644 (file)
@@ -32,9 +32,15 @@ bin_PROGRAMS = \
 gnunet_service_dv_SOURCES = \
  gnunet-service-dv.c         
 gnunet_service_dv_LDADD = \
+  $(top_builddir)/src/statistics/libgnunetstatistics.la \
   $(top_builddir)/src/dv/libgnunetdv.la \
+  $(top_builddir)/src/core/libgnunetcore.la \
+  $(top_builddir)/src/hello/libgnunethello.la \
+  $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(GN_LIBINTL)
+gnunet_service_dv_DEPENDENCIES = \
+  libgnunetdv.la                                
 
 libgnunet_plugin_transport_dv_la_SOURCES = \
   plugin_transport_dv.c
@@ -45,22 +51,23 @@ libgnunet_plugin_transport_dv_la_LIBADD = \
   $(top_builddir)/src/util/libgnunetutil.la 
 libgnunet_plugin_transport_dv_la_LDFLAGS = \
  $(GN_PLUGIN_LDFLAGS)
+libgnunet_plugin_transport_dv_la_DEPENDENCIES = \
+  libgnunetdv.la                                               
+
 check_PROGRAMS = \
  test_transport_api_dv
+# test_dv_topology
+
+if !DISABLE_TEST_RUN
 TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
+endif
 
 test_transport_api_dv_SOURCES = \
  test_transport_api_dv.c
 test_transport_api_dv_LDADD = \
  $(top_builddir)/src/transport/libgnunettransport.la \
- $(top_builddir)/src/util/libgnunetutil.la 
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(top_builddir)/src/testing/libgnunettesting.la
 
 EXTRA_DIST = \
-  test_transport_api_dv_peer1.conf \
-  test_transport_api_dv_peer2.conf \
-  test_transport_api_dv_peer3.conf
-
-
+  test_transport_dv_data.conf