added declarations for the consensus api
[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  report.sh \
31  terminate.py.in \
32  gnunet_pyexpect.py.in \
33  gnunet_janitor.py.in \
34  pydiffer.py.in \
35  gnunet-gns-import.sh
36
37 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
38
39 %.py: %.py.in Makefile
40         $(do_subst) < $< > $@
41         chmod +x $@
42
43 # init_gnunet_redhat \
44 # init_gnunet_ubuntu \
45 # visualize_stats.sh \
46 # gnmessage.sh \
47 # junkinsert.sh \
48 # junklookup.sh \
49 # namespacehelper.sh 
50
51
52 check_PROGRAMS = \
53  test_gnunet_prefix
54
55 test_gnunet_prefix_SOURCES = \
56  test_gnunet_prefix.c
57
58 test_gnunet_prefix_LDADD = \
59   $(GCLIBADD) $(WINLIB) \
60   $(LTLIBICONV) \
61   $(GN_LIBINTL) \
62   -lltdl -lunistring $(XLIB) 
63
64 pkghellodir= $(pkgdatadir)/hellos
65
66 install-data-local:
67         $(mkinstalldirs) $(DESTDIR)$(pkghellodir)
68         @$(NORMAL_INSTALL)
69         for hello in $(srcdir)/hellos/*; do \
70           if test -f $$hello; then \
71             $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \
72           fi \
73         done
74
75 dist-hook:
76         if test -d $(srcdir)/hellos; then \
77           mkdir -p $(distdir)/hellos; \
78           for hello in $(srcdir)/hellos/*; do \
79             if test -f $$hello; then \
80               cp -p $$hello $(distdir)/hellos; \
81             fi \
82           done \
83         fi
84