-avoid 'hu', as it is unsigned short, not uint16_t
[oweals/gnunet.git] / src / template / Makefile.am
index d1f87c8d8f6bdca46e8f417719ed2450cefc7ab0..4df4eb4845b6e90d6f70d840d135c9b67a0c744d 100644 (file)
@@ -1,4 +1,4 @@
-INCLUDES = -I$(top_srcdir)/src/include
+AM_CPPFLAGS = -I$(top_srcdir)/src/include
 
 pkgcfgdir= $(pkgdatadir)/config.d/
 
@@ -38,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