-INCLUDES = -I$(top_srcdir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
+
+pkgcfgdir= $(pkgdatadir)/config.d/
+
+libexecdir= $(pkglibdir)/libexec/
+
+dist_pkgcfg_DATA = \
+ template.conf
if MINGW
WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
endif
bin_PROGRAMS = \
- gnunet-template \
+ gnunet-template
+
+libexec_PROGRAMS = \
gnunet-service-template
gnunet_template_SOURCES = \
check_PROGRAMS = \
test_template_api
-if !DISABLE_TEST_RUN
+if ENABLE_TEST_RUN
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
TESTS = $(check_PROGRAMS)
endif