1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
4 tap32dir = $(pkgdatadir)/openvpn-tap32/tapw32/
6 tap64dir = $(pkgdatadir)/openvpn-tap32/tapw64/
11 scripts/removetrailingwhitespace.py \
12 scripts/gnunet_pyexpect.py \
13 scripts/gnunet_janitor.py \
20 gns/gns-form-fields.xml \
22 branding/logo/gnunet-logo.pdf \
23 branding/logo/gnunet-logo-color.png \
28 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.sys \
29 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.cat \
30 3rdparty/Windows/openvpn-tap32/tapw32/OemWin2k.inf
33 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.sys \
34 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.cat \
35 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf
39 conf/colorit/colorit.conf \
40 conf/editors/eclipse/gnunet_codingstyle.xml \
41 conf/gnunet/no_forcestart.conf \
42 conf/gnunet/no_autostart_above_core.conf \
43 conf/nss/nssswitch.conf \
44 conf/wireshark/wireshark.lua \
46 scripts/terminate.py.in \
47 scripts/gnunet_pyexpect.py.in \
48 scripts/gnunet_janitor.py.in \
49 scripts/gnunet-chk.py.in \
50 scripts/gnunet-bugreport \
51 scripts/removetrailingwhitespace.py.in \
52 scripts/pydiffer.py.in \
53 packages/nix/default.nix \
54 packages/nix/gnunet-dev.nix \
55 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.sys \
56 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.cat \
57 3rdparty/Windows/openvpn-tap32/tapw32/OemWin2k.inf \
58 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.sys \
59 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.cat \
60 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf \
61 3rdparty/Windows/openvpn-tap32/INSTALL \
62 3rdparty/Windows/openvpn-tap32/tap32-signed-i386-2.1.zip \
63 3rdparty/Windows/openvpn-tap32/tap32-source-2.1.zip
68 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
70 # Use SUFFIX Extension rules, they are more portable for every
71 # implementation of 'make'.
72 # You'll also run into the "'%' is a GNU make extension warning"
75 #%.py: %.py.in Makefile
76 # $(do_subst) < $< > $@
90 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
91 TESTS = $(check_PROGRAMS)
94 test_gnunet_prefix_SOURCES = \
97 test_gnunet_prefix_CPPFLAGS = \
98 $(LTDLINCL) $(AM_CPPFLAGS)
100 test_gnunet_prefix_LDADD = \
101 $(GCLIBADD) $(WINLIB) \
104 $(LIBLTDL) -lunistring $(XLIB)
106 pkghellodir= $(pkgdatadir)/hellos
109 $(mkinstalldirs) $(DESTDIR)$(pkghellodir)
111 for hello in $(srcdir)/hellos/*; do \
112 if test -f $$hello; then \
113 $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \
116 install scripts/gnunet-bugreport $(DESTDIR)$(bindir)/gnunet-bugreport
119 if test -d $(srcdir)/hellos; then \
120 mkdir -p $(distdir)/hellos; \
121 for hello in $(srcdir)/hellos/*; do \
122 if test -f $$hello; then \
123 cp -p $$hello $(distdir)/hellos; \