do not print two messages, one is enough
[oweals/gnunet.git] / src / sensordashboard / Makefile.am
1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
2
3 pkgcfgdir= $(pkgdatadir)/config.d/
4
5 libexecdir= $(pkglibdir)/libexec/
6
7 dist_pkgcfg_DATA = \
8   sensordashboard.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 bin_PROGRAMS = \
19  gnunet-sensordashboard 
20
21 libexec_PROGRAMS = \
22  gnunet-service-sensordashboard
23
24 gnunet_sensordashboard_SOURCES = \
25  gnunet-sensordashboard.c
26 gnunet_sensordashboard_LDADD = \
27   $(top_builddir)/src/util/libgnunetutil.la \
28   $(GN_LIBINTL)
29
30 gnunet_service_sensordashboard_SOURCES = \
31  gnunet-service-sensordashboard.c         
32 gnunet_service_sensordashboard_LDADD = \
33   $(top_builddir)/src/util/libgnunetutil.la \
34   $(top_builddir)/src/cadet/libgnunetcadet.la \
35   $(top_builddir)/src/sensor/libgnunetsensorutil.la \
36   $(top_builddir)/src/peerstore/libgnunetpeerstore.la \
37   $(GN_LIBINTL)
38
39
40 check_PROGRAMS = \
41  test_sensordashboard_api
42
43 if ENABLE_TEST_RUN
44 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
45 TESTS = $(check_PROGRAMS)
46 endif
47
48 test_sensordashboard_api_SOURCES = \
49  test_sensordashboard_api.c
50 test_sensordashboard_api_LDADD = \
51   $(top_builddir)/src/util/libgnunetutil.la  
52