Removed IPv6 linklocal check
[oweals/gnunet.git] / src / topology / Makefile.am
index fad32ed790f7ade0caff8947ca0a320e71694958..00038a23677e7fa09a31651dbdba98d990db032e 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,8 +13,25 @@ gnunet_daemon_topology_SOURCES = \
 gnunet_daemon_topology_LDADD = \
   $(top_builddir)/src/core/libgnunetcore.la \
   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
+  $(top_builddir)/src/statistics/libgnunetstatistics.la \
   $(top_builddir)/src/transport/libgnunettransport.la \
   $(top_builddir)/src/util/libgnunetutil.la \
   $(GN_LIBINTL)
 
 
+
+check_PROGRAMS = \
+ test_gnunet_daemon_topology
+
+if !DISABLE_TEST_RUN
+TESTS = $(check_PROGRAMS)
+endif
+
+test_gnunet_daemon_topology_SOURCES = \
+ test_gnunet_daemon_topology.c
+test_gnunet_daemon_topology_LDADD = \
+ $(top_builddir)/src/testing/libgnunettesting.la \
+ $(top_builddir)/src/util/libgnunetutil.la  
+
+EXTRA_DIST = \
+ test_gnunet_daemon_topology_data.conf