installation test
[oweals/gnunet.git] / src / sysmon / Makefile.am
1 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/
2
3 pkgcfgdir= $(pkgdatadir)/config.d/
4
5 libexecdir= $(pkglibdir)/libexec/
6
7 pkgcfg_DATA = \
8   sysmon.conf
9
10 if MINGW
11  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
12 endif
13
14 if USE_COVERAGE
15   AM_CFLAGS = -fprofile-arcs -ftest-coverage
16 endif
17
18 libexec_PROGRAMS = \
19  gnunet_daemon_sysmon
20
21 check_PROGRAMS = \
22  test_glibtop \
23  test_glibtop_process \
24  test_glibtop_network
25  
26 gnunet_daemon_sysmon_SOURCES = \
27  gnunet-daemon-sysmon.c         
28 gnunet_daemon_sysmon_LDADD = \
29   $(top_builddir)/src/util/libgnunetutil.la \
30   $(top_builddir)/src/statistics/libgnunetstatistics.la \
31   $(GN_LIBINTL)
32
33 test_glibtop_SOURCES = \
34  test_glibtop.c      
35 test_glibtop_LDADD = \
36   $(top_builddir)/src/util/libgnunetutil.la \
37   $(top_builddir)/src/statistics/libgnunetstatistics.la \
38   -lgtop-2.0 \
39   $(GN_LIBINTL)
40
41 test_glibtop_process_SOURCES = \
42  test_glibtop_process.c      
43 test_glibtop_process_LDADD = \
44   $(top_builddir)/src/util/libgnunetutil.la \
45   $(top_builddir)/src/statistics/libgnunetstatistics.la \
46   -lgtop-2.0 \
47   $(GN_LIBINTL)
48
49 test_glibtop_network_SOURCES = \
50  test_glibtop_network.c      
51 test_glibtop_network_LDADD = \
52   $(top_builddir)/src/util/libgnunetutil.la \
53   $(top_builddir)/src/statistics/libgnunetstatistics.la \
54   -lgtop-2.0 \
55   $(GN_LIBINTL)
56
57
58 if ENABLE_TEST_RUN
59 TESTS = $(check_PROGRAMS)
60 endif