1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 pkgcfgdir= $(pkgdatadir)/config.d/
6 libexecdir= $(pkglibdir)/libexec/
12 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
16 AM_CFLAGS = -fprofile-arcs -ftest-coverage
19 # Note: In a real installation,
20 # bin_PROGRAMS should be used for gnunet-template
21 # libexec_PROGRAMS should be used for gnunet-service-template
25 gnunet-service-template
28 gnunet_template_SOURCES = \
30 gnunet_template_LDADD = \
31 $(top_builddir)/src/util/libgnunetutil.la \
34 gnunet_service_template_SOURCES = \
35 gnunet-service-template.c
36 gnunet_service_template_LDADD = \
37 $(top_builddir)/src/util/libgnunetutil.la \
45 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
46 TESTS = $(check_PROGRAMS)
49 test_template_api_SOURCES = \
51 test_template_api_LDADD = \
52 $(top_builddir)/src/util/libgnunetutil.la