leaks
[oweals/gnunet.git] / src / topology / Makefile.am
index 775db33e9e41b75e7bbb02adaaed7aa7755d8dce..daceb1bec164f8c109f61b8d928666b332bc89d4 100644 (file)
@@ -1,7 +1,7 @@
 INCLUDES = -I$(top_srcdir)/src/include
 
 if USE_COVERAGE
-  AM_CFLAGS = -fprofile-arcs -ftest-coverage
+  AM_CFLAGS = --coverage -O0
 endif
 
 
@@ -13,7 +13,22 @@ gnunet_daemon_topology_SOURCES = \
 gnunet_daemon_topology_LDADD = \
   $(top_builddir)/src/core/libgnunetcore.la \
   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
+  $(top_builddir)/src/transport/libgnunettransport.la \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(GN_LIBINTL)
 
 
+
+check_PROGRAMS = \
+ test_gnunet_service_topology
+
+#TESTS = $(check_PROGRAMS)
+
+test_gnunet_service_topology_SOURCES = \
+ test_gnunet_service_topology.c
+test_gnunet_service_topology_LDADD = \
+ $(top_builddir)/src/testing/libgnunettesting.la \
+ $(top_builddir)/src/util/libgnunetutil.la  
+
+EXTRA_DIST = \
+ test_gnunet_service_topology_data.conf