plugindir = $(libdir)/gnunet
+pkgcfgdir= $(pkgdatadir)/config.d/
+
+pkgcfg_DATA = \
+ dv.conf
+
lib_LTLIBRARIES = libgnunetdv.la
plugin_LTLIBRARIES = libgnunet_plugin_transport_dv.la
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
$(top_builddir)/src/util/libgnunetutil.la
libgnunet_plugin_transport_dv_la_LDFLAGS = \
$(GN_PLUGIN_LDFLAGS)
-
-
-#check_PROGRAMS = \
-# test_statistics_api
+libgnunet_plugin_transport_dv_la_DEPENDENCIES = \
+ libgnunetdv.la
-TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
-
-#test_statistics_api_SOURCES = \
-# test_statistics_api.c
-#test_statistics_api_LDADD = \
-# $(top_builddir)/src/statistics/libgnunetstatistics.la \
-# $(top_builddir)/src/util/libgnunetutil.la
+check_PROGRAMS = \
+ test_transport_api_dv
+# test_dv_topology
-#EXTRA_DIST = \
-# test_statistics_api_data.conf
+if ENABLE_TEST_RUN
+TESTS = $(check_PROGRAMS) $(check_SCRIPTS)
+endif
-#check_SCRIPTS = \
-# test_gnunet_statistics.sh
+test_transport_api_dv_SOURCES = \
+ test_transport_api_dv.c
+test_transport_api_dv_LDADD = \
+ $(top_builddir)/src/core/libgnunetcore.la \
+ $(top_builddir)/src/transport/libgnunettransport.la \
+ $(top_builddir)/src/util/libgnunetutil.la \
+ $(top_builddir)/src/testing_old/libgnunettesting_old.la
+EXTRA_DIST = \
+ test_transport_dv_data.conf