-nicer logging
[oweals/gnunet.git] / src / sensordashboard / Makefile.am
1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
3
4 pkgcfgdir= $(pkgdatadir)/config.d/
5
6 libexecdir= $(pkglibdir)/libexec/
7
8 dist_pkgcfg_DATA = \
9   sensordashboard.conf
10
11 if MINGW
12  WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols 
13 endif
14
15 if USE_COVERAGE
16   AM_CFLAGS = -fprofile-arcs -ftest-coverage
17 endif
18
19 bin_PROGRAMS = \
20  gnunet-sensordashboard 
21
22 libexec_PROGRAMS = \
23  gnunet-service-sensordashboard
24
25 gnunet_sensordashboard_SOURCES = \
26  gnunet-sensordashboard.c
27 gnunet_sensordashboard_LDADD = \
28   $(top_builddir)/src/util/libgnunetutil.la \
29   $(GN_LIBINTL)
30
31 gnunet_service_sensordashboard_SOURCES = \
32  gnunet-service-sensordashboard.c         
33 gnunet_service_sensordashboard_LDADD = \
34   $(top_builddir)/src/util/libgnunetutil.la \
35   $(top_builddir)/src/cadet/libgnunetcadet.la \
36   $(top_builddir)/src/sensor/libgnunetsensorutil.la \
37   $(top_builddir)/src/peerstore/libgnunetpeerstore.la \
38   $(GN_LIBINTL)
39
40
41 check_PROGRAMS = \
42  test_sensordashboard_api
43
44 if ENABLE_TEST_RUN
45 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
46 TESTS = $(check_PROGRAMS)
47 endif
48
49 test_sensordashboard_api_SOURCES = \
50  test_sensordashboard_api.c
51 test_sensordashboard_api_LDADD = \
52   $(top_builddir)/src/util/libgnunetutil.la  
53