current working infiniband hosts
[oweals/gnunet.git] / contrib / Makefile.am
1 INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
2
3 tap32dir = $(pkgdatadir)/openvpn-tap32/tapw32/
4
5 tap64dir = $(pkgdatadir)/openvpn-tap32/tapw64/
6
7 noinst_PROGRAMS = \
8  timeout_watchdog
9
10 if !MINGW
11 timeout_watchdog_SOURCES = \
12  timeout_watchdog.c 
13 else
14 timeout_watchdog_SOURCES = \
15  timeout_watchdog_w32.c
16 endif
17
18 noinst_SCRIPTS = \
19  terminate.py \
20  pydiffer.py \
21  gnunet_pyexpect.py \
22  gnunet_janitor.py
23
24 bin_SCRIPTS = \
25  gnunet-gns-import.sh
26
27 dist_pkgdata_DATA = \
28  gnunet-logo-color.png \
29  testing_hostkeys.dat \
30  testing_hostkeys.ecc
31
32 if MINGW
33 tap32_DATA = \
34  openvpn-tap32/tapw32/tap0901.sys \
35  openvpn-tap32/tapw32/tap0901.cat \
36  openvpn-tap32/tapw32/OemWin2k.inf
37
38 tap64_DATA = \
39  openvpn-tap32/tapw64/tap0901.sys \
40  openvpn-tap32/tapw64/tap0901.cat \
41  openvpn-tap32/tapw64/OemWin2k.inf
42 endif
43
44 EXTRA_DIST = \
45  coverage.sh \
46  report.sh \
47  terminate.py.in \
48  gnunet_pyexpect.py.in \
49  gnunet_janitor.py.in \
50  pydiffer.py.in \
51  gnunet-gns-import.sh \
52  openvpn-tap32/tapw32/tap0901.sys \
53  openvpn-tap32/tapw32/tap0901.cat \
54  openvpn-tap32/tapw32/OemWin2k.inf \
55  openvpn-tap32/tapw64/tap0901.sys \
56  openvpn-tap32/tapw64/tap0901.cat \
57  openvpn-tap32/tapw64/OemWin2k.inf \
58  openvpn-tap32/INSTALL \
59  openvpn-tap32/tap32-signed-i386-2.1.zip \
60  openvpn-tap32/tap32-source-2.1.zip 
61
62 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
63
64 %.py: %.py.in Makefile
65         $(do_subst) < $< > $@
66         chmod +x $@
67
68 # init_gnunet_redhat \
69 # init_gnunet_ubuntu \
70 # visualize_stats.sh \
71 # gnmessage.sh \
72 # junkinsert.sh \
73 # junklookup.sh \
74 # namespacehelper.sh 
75
76
77 check_PROGRAMS = \
78  test_gnunet_prefix
79
80 TESTS = $(check_PROGRAMS)
81
82 test_gnunet_prefix_SOURCES = \
83  test_gnunet_prefix.c
84
85 test_gnunet_prefix_LDADD = \
86   $(GCLIBADD) $(WINLIB) \
87   $(LTLIBICONV) \
88   $(GN_LIBINTL) \
89   -lltdl -lunistring $(XLIB) 
90
91 pkghellodir= $(pkgdatadir)/hellos
92
93 install-data-local:
94         $(mkinstalldirs) $(DESTDIR)$(pkghellodir) 
95         @$(NORMAL_INSTALL)
96         for hello in $(srcdir)/hellos/*; do \
97           if test -f $$hello; then \
98             $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \
99           fi \
100         done
101
102 dist-hook:
103         if test -d $(srcdir)/hellos; then \
104           mkdir -p $(distdir)/hellos; \
105           for hello in $(srcdir)/hellos/*; do \
106             if test -f $$hello; then \
107               cp -p $$hello $(distdir)/hellos; \
108             fi \
109           done \
110         fi
111