network test
[oweals/gnunet.git] / src / sysmon / Makefile.am
index 4fed26a3e0eb14645ff387eca40345e4c3531dbd..0dc5383c34c05cb19f5d6c59e67a425510b0aaa3 100644 (file)
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_srcdir)/src/include
+INCLUDES = -I$(top_srcdir)/src/include -I/usr/include/glib-2.0 -I/usr/include -I/usr/lib/x86_64-linux-gnu/glib-2.0/include/ -I/usr/include/libgtop-2.0/
 
 pkgcfgdir= $(pkgdatadir)/config.d/
 
@@ -18,6 +18,10 @@ endif
 libexec_PROGRAMS = \
  gnunet_daemon_sysmon
 
+check_PROGRAMS = \
+ test_glibtop_process \
+ test_glibtop_network
 gnunet_daemon_sysmon_SOURCES = \
  gnunet-daemon-sysmon.c         
 gnunet_daemon_sysmon_LDADD = \
@@ -25,6 +29,23 @@ gnunet_daemon_sysmon_LDADD = \
   $(top_builddir)/src/statistics/libgnunetstatistics.la \
   $(GN_LIBINTL)
 
+test_glibtop_process_SOURCES = \
+ test_glibtop_process.c      
+test_glibtop_process_LDADD = \
+  $(top_builddir)/src/util/libgnunetutil.la \
+  $(top_builddir)/src/statistics/libgnunetstatistics.la \
+  -lgtop-2.0 \
+  $(GN_LIBINTL)
+
+test_glibtop_network_SOURCES = \
+ test_glibtop_network.c      
+test_glibtop_network_LDADD = \
+  $(top_builddir)/src/util/libgnunetutil.la \
+  $(top_builddir)/src/statistics/libgnunetstatistics.la \
+  -lgtop-2.0 \
+  $(GN_LIBINTL)
+
+
 if ENABLE_TEST_RUN
 TESTS = $(check_PROGRAMS)
 endif