network 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_process \
23  test_glibtop_network
24  
25 gnunet_daemon_sysmon_SOURCES = \
26  gnunet-daemon-sysmon.c         
27 gnunet_daemon_sysmon_LDADD = \
28   $(top_builddir)/src/util/libgnunetutil.la \
29   $(top_builddir)/src/statistics/libgnunetstatistics.la \
30   $(GN_LIBINTL)
31
32 test_glibtop_process_SOURCES = \
33  test_glibtop_process.c      
34 test_glibtop_process_LDADD = \
35   $(top_builddir)/src/util/libgnunetutil.la \
36   $(top_builddir)/src/statistics/libgnunetstatistics.la \
37   -lgtop-2.0 \
38   $(GN_LIBINTL)
39
40 test_glibtop_network_SOURCES = \
41  test_glibtop_network.c      
42 test_glibtop_network_LDADD = \
43   $(top_builddir)/src/util/libgnunetutil.la \
44   $(top_builddir)/src/statistics/libgnunetstatistics.la \
45   -lgtop-2.0 \
46   $(GN_LIBINTL)
47
48
49 if ENABLE_TEST_RUN
50 TESTS = $(check_PROGRAMS)
51 endif