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/removetrailingwhitespace.py.in \
51 scripts/pydiffer.py.in \
52 packages/nix/default.nix \
53 packages/nix/gnunet-dev.nix \
54 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.sys \
55 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.cat \
56 3rdparty/Windows/openvpn-tap32/tapw32/OemWin2k.inf \
57 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.sys \
58 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.cat \
59 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf \
60 3rdparty/Windows/openvpn-tap32/INSTALL \
61 3rdparty/Windows/openvpn-tap32/tap32-signed-i386-2.1.zip \
62 3rdparty/Windows/openvpn-tap32/tap32-source-2.1.zip
67 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
69 # Use SUFFIX Extension rules, they are more portable for every
70 # implementation of 'make'.
71 # You'll also run into the "'%' is a GNU make extension warning"
74 #%.py: %.py.in Makefile
75 # $(do_subst) < $< > $@
89 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
90 TESTS = $(check_PROGRAMS)
93 test_gnunet_prefix_SOURCES = \
96 test_gnunet_prefix_CPPFLAGS = \
97 $(LTDLINCL) $(AM_CPPFLAGS)
99 test_gnunet_prefix_LDADD = \
100 $(GCLIBADD) $(WINLIB) \
103 $(LIBLTDL) -lunistring $(XLIB)
105 pkghellodir= $(pkgdatadir)/hellos
108 $(mkinstalldirs) $(DESTDIR)$(pkghellodir)
110 for hello in $(srcdir)/hellos/*; do \
111 if test -f $$hello; then \
112 $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \
115 install scripts/gnunet-bugreport $(DESTDIR)$(bindir)/gnunet-bugreport
118 if test -d $(srcdir)/hellos; then \
119 mkdir -p $(distdir)/hellos; \
120 for hello in $(srcdir)/hellos/*; do \
121 if test -f $$hello; then \
122 cp -p $$hello $(distdir)/hellos; \