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/
12 timeout_watchdog_SOURCES = \
15 timeout_watchdog_SOURCES = \
16 timeout_watchdog_w32.c
20 scripts/terminate.py \
22 scripts/removetrailingwhitespace.py \
23 scripts/gnunet_pyexpect.py \
24 scripts/gnunet_janitor.py \
31 gns/gns-form-fields.xml \
33 branding/logo/gnunet-logo.pdf \
34 branding/logo/gnunet-logo-color.png \
40 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.sys \
41 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.cat \
42 3rdparty/Windows/openvpn-tap32/tapw32/OemWin2k.inf
45 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.sys \
46 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.cat \
47 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf
51 conf/colorit/colorit.conf \
52 conf/editors/eclipse/gnunet_codingstyle.xml \
53 conf/gnunet/no_forcestart.conf \
54 conf/gnunet/no_autostart_above_core.conf \
55 conf/nss/nssswitch.conf \
56 conf/wireshark/wireshark.lua \
58 scripts/terminate.py.in \
59 scripts/gnunet_pyexpect.py.in \
60 scripts/gnunet_janitor.py.in \
61 scripts/gnunet-chk.py.in \
62 scripts/removetrailingwhitespace.py.in \
63 scripts/pydiffer.py.in \
64 scripts/gnunet-gns-import.sh \
65 packages/nix/default.nix \
66 packages/nix/gnunet-dex.nix \
67 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.sys \
68 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.cat \
69 3rdparty/Windows/openvpn-tap32/tapw32/OemWin2k.inf \
70 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.sys \
71 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.cat \
72 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf \
73 3rdparty/Windows/openvpn-tap32/INSTALL \
74 3rdparty/Windows/openvpn-tap32/tap32-signed-i386-2.1.zip \
75 3rdparty/Windows/openvpn-tap32/tap32-source-2.1.zip
80 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
82 # Use SUFFIX Extension rules, they are more portable for every
83 # implementation of 'make'.
84 # You'll also run into the "'%' is a GNU make extension warning"
87 #%.py: %.py.in Makefile
88 # $(do_subst) < $< > $@
104 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
105 TESTS = $(check_PROGRAMS)
108 test_gnunet_prefix_SOURCES = \
111 test_gnunet_prefix_CPPFLAGS = \
112 $(LTDLINCL) $(AM_CPPFLAGS)
114 test_gnunet_prefix_LDADD = \
115 $(GCLIBADD) $(WINLIB) \
118 $(LIBLTDL) -lunistring $(XLIB)
120 pkghellodir= $(pkgdatadir)/hellos
123 $(mkinstalldirs) $(DESTDIR)$(pkghellodir)
125 for hello in $(srcdir)/hellos/*; do \
126 if test -f $$hello; then \
127 $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \
132 if test -d $(srcdir)/hellos; then \
133 mkdir -p $(distdir)/hellos; \
134 for hello in $(srcdir)/hellos/*; do \
135 if test -f $$hello; then \
136 cp -p $$hello $(distdir)/hellos; \