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 \
39 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.sys \
40 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.cat \
41 3rdparty/Windows/openvpn-tap32/tapw32/OemWin2k.inf
44 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.sys \
45 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.cat \
46 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf
50 conf/colorit/colorit.conf \
51 conf/editors/eclipse/gnunet_codingstyle.xml \
52 conf/gnunet/no_forcestart.conf \
53 conf/gnunet/no_autostart_above_core.conf \
54 conf/nss/nssswitch.conf \
55 conf/wireshark/wireshark.lua \
57 scripts/terminate.py.in \
58 scripts/gnunet_pyexpect.py.in \
59 scripts/gnunet_janitor.py.in \
60 scripts/gnunet-chk.py.in \
61 scripts/removetrailingwhitespace.py.in \
62 scripts/pydiffer.py.in \
63 packages/nix/default.nix \
64 packages/nix/gnunet-dev.nix \
65 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.sys \
66 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.cat \
67 3rdparty/Windows/openvpn-tap32/tapw32/OemWin2k.inf \
68 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.sys \
69 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.cat \
70 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf \
71 3rdparty/Windows/openvpn-tap32/INSTALL \
72 3rdparty/Windows/openvpn-tap32/tap32-signed-i386-2.1.zip \
73 3rdparty/Windows/openvpn-tap32/tap32-source-2.1.zip
78 do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
80 # Use SUFFIX Extension rules, they are more portable for every
81 # implementation of 'make'.
82 # You'll also run into the "'%' is a GNU make extension warning"
85 #%.py: %.py.in Makefile
86 # $(do_subst) < $< > $@
100 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
101 TESTS = $(check_PROGRAMS)
104 test_gnunet_prefix_SOURCES = \
107 test_gnunet_prefix_CPPFLAGS = \
108 $(LTDLINCL) $(AM_CPPFLAGS)
110 test_gnunet_prefix_LDADD = \
111 $(GCLIBADD) $(WINLIB) \
114 $(LIBLTDL) -lunistring $(XLIB)
116 pkghellodir= $(pkgdatadir)/hellos
119 $(mkinstalldirs) $(DESTDIR)$(pkghellodir)
121 for hello in $(srcdir)/hellos/*; do \
122 if test -f $$hello; then \
123 $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \
126 install scripts/gnunet-bugreport $(DESTDIR)$(bindir)/gnunet-bugreport
129 if test -d $(srcdir)/hellos; then \
130 mkdir -p $(distdir)/hellos; \
131 for hello in $(srcdir)/hellos/*; do \
132 if test -f $$hello; then \
133 cp -p $$hello $(distdir)/hellos; \