-doxygen
[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  gnunet_pyexpect.py \
17  gnunet_janitor.py
18
19 bin_SCRIPTS = \
20  gnunet-gns-import.sh
21
22 dist_pkgdata_DATA = \
23  gnunet-logo-color.png \
24  testing_hostkeys.dat
25
26 EXTRA_DIST = \
27  coverage.sh \
28  hostlist.cgi \
29  hostlist.php \
30  report.sh \
31  gnunet_pyexpect.py.in \
32  gnunet_janitor.py.in \
33  gnunet-gns-import.sh
34
35 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
36
37 %.py: %.py.in Makefile
38         $(do_subst) < $< > $@
39         chmod +x $@
40
41 # init_gnunet_redhat \
42 # init_gnunet_ubuntu \
43 # visualize_stats.sh \
44 # gnmessage.sh \
45 # junkinsert.sh \
46 # junklookup.sh \
47 # namespacehelper.sh 
48
49
50 check_PROGRAMS = \
51  test_gnunet_prefix
52
53 test_gnunet_prefix_SOURCES = \
54  test_gnunet_prefix.c
55
56 test_gnunet_prefix_LDADD = \
57   $(GCLIBADD) $(WINLIB) \
58   $(LTLIBICONV) \
59   -lltdl -lunistring $(XLIB) 
60
61 pkghellodir= $(pkgdatadir)/hellos
62
63 install-data-local:
64         $(mkinstalldirs) $(DESTDIR)$(pkghellodir)
65         @$(NORMAL_INSTALL)
66         for hello in $(srcdir)/hellos/*; do \
67           if test -f $$hello; then \
68             $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \
69           fi \
70         done
71
72 dist-hook:
73         if test -d $(srcdir)/hellos; then \
74           mkdir -p $(distdir)/hellos; \
75           for hello in $(srcdir)/hellos/*; do \
76             if test -f $$hello; then \
77               cp -p $$hello $(distdir)/hellos; \
78             fi \
79           done \
80         fi
81