include plugin in gnunet-transport output
[oweals/gnunet.git] / contrib / Makefile.am
index 43348b3098d15daf2793721b3128e49365e55726..5c892ecc7a2a5f4ca2266b7f8b4b56faaa586c0d 100644 (file)
@@ -1,18 +1,35 @@
+INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
+
+
+if !MINGW
 noinst_PROGRAMS = \
  timeout_watchdog
 
 timeout_watchdog_SOURCES = \
  timeout_watchdog.c 
+endif
+
+noinst_SCRIPTS = \
+ gnunet_pyexpect.py \
+ gnunet_janitor.py
 
 dist_pkgdata_DATA = \
- gnunet-logo-color.png \
- defaults.conf
+ gnunet-logo-color.png 
 
 EXTRA_DIST = \
  coverage.sh \
  hostlist.cgi \
  hostlist.php \
- report.sh
+ report.sh \
+ testing_hostkeys.dat \
+ gnunet_pyexpect.py.in \
+ gnunet_janitor.py.in
+
+do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
+
+%.py: %.py.in Makefile
+       $(do_subst) < $(srcdir)/$< > $@
+       chmod +x $@
 
 # init_gnunet_redhat \
 # init_gnunet_ubuntu \
@@ -22,3 +39,9 @@ EXTRA_DIST = \
 # junklookup.sh \
 # namespacehelper.sh 
 
+
+check_PROGRAMS = \
+ test_gnunet_prefix
+
+test_gnunet_prefix_SOURCES = \
+ test_gnunet_prefix.c