-INCLUDES = -I$(top_srcdir)/src/include -I/usr/include/libgtop-2.0/
+INCLUDES = -I$(top_srcdir)/src/include
pkgcfgdir= $(pkgdatadir)/config.d/
libexecdir= $(pkglibdir)/libexec/
-if HAVE_GLIB2
- GN_LIBTOP = -lgtop-2.0
- GN_SYSMON = gnunet_service_sysmon
+if HAVE_LIBGTOP
+ GN_LIBTOP = -lgtop-2.0 -lglib-2.0
GN_SYSMON_TEST_INIT = test_glibtop
GN_SYSMON_TEST_PROCESS = test_glibtop_process
GN_SYSMON_TEST_NETWORK = test_glibtop_network
endif
libexec_PROGRAMS = \
- $(GN_SYSMON)
+ gnunet_service_sysmon
check_PROGRAMS = \
$(GN_SYSMON_TEST_INIT) \
$(GN_SYSMON_TEST_PROCESS) \
$(GN_SYSMON_TEST_NETWORK)
-
-if HAVE_GLIB2
gnunet_service_sysmon_SOURCES = \
gnunet-service-sysmon.c
$(GN_LIBTOP) \
$(GN_LIBINTL)
+if HAVE_GLIB2
test_glibtop_SOURCES = \
test_glibtop.c
test_glibtop_LDADD = \
if ENABLE_TEST_RUN
TESTS = $(check_PROGRAMS)
endif
+
+EXTRA_DIST = \
+sysmon-properties.conf