peer create fowarding with tests
[oweals/gnunet.git] / contrib / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
2
3
4 noinst_PROGRAMS = \
5  timeout_watchdog
6
7 if !MINGW
8 timeout_watchdog_SOURCES = \
9  timeout_watchdog.c 
10 else
11 timeout_watchdog_SOURCES = \
12  timeout_watchdog_w32.c
13 endif
14
15 noinst_SCRIPTS = \
16  terminate.py \
17  pydiffer.py \
18  gnunet_pyexpect.py \
19  gnunet_janitor.py
20
21 bin_SCRIPTS = \
22  gnunet-gns-import.sh
23
24 dist_pkgdata_DATA = \
25  gnunet-logo-color.png \
26  testing_hostkeys.dat
27
28 EXTRA_DIST = \
29  coverage.sh \
30  hostlist.cgi \
31  hostlist.php \
32  report.sh \
33  terminate.py.in \
34  gnunet_pyexpect.py.in \
35  gnunet_janitor.py.in \
36  pydiffer.py.in \
37  gnunet-gns-import.sh
38
39 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
40
41 %.py: %.py.in Makefile
42         $(do_subst) < $< > $@
43         chmod +x $@
44
45 # init_gnunet_redhat \
46 # init_gnunet_ubuntu \
47 # visualize_stats.sh \
48 # gnmessage.sh \
49 # junkinsert.sh \
50 # junklookup.sh \
51 # namespacehelper.sh 
52
53
54 check_PROGRAMS = \
55  test_gnunet_prefix
56
57 test_gnunet_prefix_SOURCES = \
58  test_gnunet_prefix.c
59
60 test_gnunet_prefix_LDADD = \
61   $(GCLIBADD) $(WINLIB) \
62   $(LTLIBICONV) \
63   -lltdl -lunistring $(XLIB) 
64
65 pkghellodir= $(pkgdatadir)/hellos
66
67 install-data-local:
68         $(mkinstalldirs) $(DESTDIR)$(pkghellodir)
69         @$(NORMAL_INSTALL)
70         for hello in $(srcdir)/hellos/*; do \
71           if test -f $$hello; then \
72             $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \
73           fi \
74         done
75
76 dist-hook:
77         if test -d $(srcdir)/hellos; then \
78           mkdir -p $(distdir)/hellos; \
79           for hello in $(srcdir)/hellos/*; do \
80             if test -f $$hello; then \
81               cp -p $$hello $(distdir)/hellos; \
82             fi \
83           done \
84         fi
85