aboutsummaryrefslogtreecommitdiff
path: root/src/sysmon
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-12-17 12:15:14 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-12-17 12:15:14 +0000
commit2479f4e482192d6c00ed573547bc0c472bf6c53b (patch)
treeffa7a402bfc1bfc88e285fbdbcd9ff2b8bb98a30 /src/sysmon
parentf1a2a3459ee87b77ab6a15c879c6c10f4ef9c4f8 (diff)
downloadgnunet-2479f4e482192d6c00ed573547bc0c472bf6c53b.tar.gz
gnunet-2479f4e482192d6c00ed573547bc0c472bf6c53b.zip
glib check
Diffstat (limited to 'src/sysmon')
-rw-r--r--src/sysmon/Makefile.am28
1 files changed, 20 insertions, 8 deletions
diff --git a/src/sysmon/Makefile.am b/src/sysmon/Makefile.am
index 0e87a627f..07c0800f4 100644
--- a/src/sysmon/Makefile.am
+++ b/src/sysmon/Makefile.am
@@ -1,9 +1,17 @@
1INCLUDES = -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/ 1INCLUDES = -I$(top_srcdir)/src/include -I/usr/include/libgtop-2.0/
2 2
3pkgcfgdir= $(pkgdatadir)/config.d/ 3pkgcfgdir= $(pkgdatadir)/config.d/
4 4
5libexecdir= $(pkglibdir)/libexec/ 5libexecdir= $(pkglibdir)/libexec/
6 6
7if HAVE_GLIB2
8 GN_LIBTOP = -lgtop-2.0
9 GN_SYSMON = gnunet_service_sysmon
10 GN_SYSMON_TEST_INIT = test_glibtop
11 GN_SYSMON_TEST_PROCESS = test_glibtop_process
12 GN_SYSMON_TEST_NETWORK = test_glibtop_network
13endif
14
7pkgcfg_DATA = \ 15pkgcfg_DATA = \
8 sysmon.conf 16 sysmon.conf
9 17
@@ -16,18 +24,21 @@ if USE_COVERAGE
16endif 24endif
17 25
18libexec_PROGRAMS = \ 26libexec_PROGRAMS = \
19 gnunet_service_sysmon 27 $(GN_SYSMON)
20 28
21check_PROGRAMS = \ 29check_PROGRAMS = \
22 test_glibtop \ 30 $(GN_SYSMON_TEST_INIT) \
23 test_glibtop_process \ 31 $(GN_SYSMON_TEST_PROCESS) \
24 test_glibtop_network 32 $(GN_SYSMON_TEST_NETWORK)
33
34if HAVE_GLIB2
25 35
26gnunet_service_sysmon_SOURCES = \ 36gnunet_service_sysmon_SOURCES = \
27 gnunet-service-sysmon.c 37 gnunet-service-sysmon.c
28gnunet_service_sysmon_LDADD = \ 38gnunet_service_sysmon_LDADD = \
29 $(top_builddir)/src/util/libgnunetutil.la \ 39 $(top_builddir)/src/util/libgnunetutil.la \
30 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 40 $(top_builddir)/src/statistics/libgnunetstatistics.la \
41 $(GN_LIBTOP) \
31 $(GN_LIBINTL) 42 $(GN_LIBINTL)
32 43
33test_glibtop_SOURCES = \ 44test_glibtop_SOURCES = \
@@ -35,7 +46,7 @@ test_glibtop_SOURCES = \
35test_glibtop_LDADD = \ 46test_glibtop_LDADD = \
36 $(top_builddir)/src/util/libgnunetutil.la \ 47 $(top_builddir)/src/util/libgnunetutil.la \
37 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 48 $(top_builddir)/src/statistics/libgnunetstatistics.la \
38 -lgtop-2.0 \ 49 $(GN_LIBTOP) \
39 $(GN_LIBINTL) 50 $(GN_LIBINTL)
40 51
41test_glibtop_process_SOURCES = \ 52test_glibtop_process_SOURCES = \
@@ -43,7 +54,7 @@ test_glibtop_process_SOURCES = \
43test_glibtop_process_LDADD = \ 54test_glibtop_process_LDADD = \
44 $(top_builddir)/src/util/libgnunetutil.la \ 55 $(top_builddir)/src/util/libgnunetutil.la \
45 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 56 $(top_builddir)/src/statistics/libgnunetstatistics.la \
46 -lgtop-2.0 \ 57 $(GN_LIBTOP) \
47 $(GN_LIBINTL) 58 $(GN_LIBINTL)
48 59
49test_glibtop_network_SOURCES = \ 60test_glibtop_network_SOURCES = \
@@ -51,8 +62,9 @@ test_glibtop_network_SOURCES = \
51test_glibtop_network_LDADD = \ 62test_glibtop_network_LDADD = \
52 $(top_builddir)/src/util/libgnunetutil.la \ 63 $(top_builddir)/src/util/libgnunetutil.la \
53 $(top_builddir)/src/statistics/libgnunetstatistics.la \ 64 $(top_builddir)/src/statistics/libgnunetstatistics.la \
54 -lgtop-2.0 \ 65 $(GN_LIBTOP) \
55 $(GN_LIBINTL) 66 $(GN_LIBINTL)
67endif
56 68
57 69
58if ENABLE_TEST_RUN 70if ENABLE_TEST_RUN