- update default values, eliminate obsolete ones
[oweals/gnunet.git] / src / template / Makefile.am
index 35a4b433e821511a23ead0a604e9e91672123504..4df4eb4845b6e90d6f70d840d135c9b67a0c744d 100644 (file)
@@ -1,4 +1,11 @@
-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 
@@ -9,7 +16,9 @@ if USE_COVERAGE
 endif
 
 bin_PROGRAMS = \
- gnunet-template \
+ gnunet-template 
+
+libexec_PROGRAMS = \
  gnunet-service-template
 
 gnunet_template_SOURCES = \
@@ -29,6 +38,7 @@ check_PROGRAMS = \
  test_template_api
 
 if ENABLE_TEST_RUN
+AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
 TESTS = $(check_PROGRAMS)
 endif