-starting cleanup of peerinfo, crashed before by loading plugins which failed if...
[oweals/gnunet.git] / src / peerinfo-tool / Makefile.am
index 8b74efefb9d1a66341e2dbf101d7ee0b36f73dbe..77604d55f95d497880e75bf079cdf6492a4e2659 100644 (file)
@@ -13,10 +13,14 @@ bin_PROGRAMS = \
  gnunet-peerinfo 
 
 gnunet_peerinfo_SOURCES = \
- gnunet-peerinfo.c         
+ gnunet-peerinfo.c \
+ gnunet-peerinfo_plugins.c
+
 gnunet_peerinfo_LDADD = \
   $(top_builddir)/src/peerinfo/libgnunetpeerinfo.la \
   $(top_builddir)/src/transport/libgnunettransport.la \
+  $(top_builddir)/src/hello/libgnunethello.la \
+  $(top_builddir)/src/statistics/libgnunetstatistics.la \
   $(top_builddir)/src/util/libgnunetutil.la 
 
 if HAVE_PYTHON_PEXPECT
@@ -24,7 +28,9 @@ check_SCRIPTS = \
  test_gnunet_peerinfo.py 
 endif
 
+if ENABLE_TEST_RUN
 TESTS = $(check_SCRIPTS)
+endif
 
 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
 
@@ -32,7 +38,8 @@ test_gnunet_peerinfo.py: test_gnunet_peerinfo.py.in Makefile
        $(do_subst) < $(srcdir)/test_gnunet_peerinfo.py.in > test_gnunet_peerinfo.py
        chmod +x test_gnunet_peerinfo.py
 
-EXTRADIST = \
-  test_gnunet_peerinfo.py.in
+EXTRA_DIST = \
+  test_gnunet_peerinfo.py.in \
+  test_gnunet_peerinfo_data.conf
 
 CLEANFILES = $(check_SCRIPTS)