# This Makefile.am is in the public domain
AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
-tap32dir = $(pkgdatadir)/openvpn-tap32/tapw32/
+SUBDIRS = scripts hellos services
-tap64dir = $(pkgdatadir)/openvpn-tap32/tapw64/
-
-noinst_SCRIPTS = \
- scripts/terminate.py \
- scripts/pydiffer.py \
- scripts/removetrailingwhitespace.py \
- scripts/gnunet_pyexpect.py \
- scripts/gnunet_janitor.py \
- scripts/gnunet-chk.py
+include Makefile.inc
dist_pkgdata_DATA = \
gns/gns-bcd.html \
gns/gns-form.xslt \
branding/logo/gnunet-logo.pdf \
branding/logo/gnunet-logo-color.png \
- testing_hostkeys.ecc
-
-if MINGW
-tap32_DATA = \
- 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.sys \
- 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.cat \
- 3rdparty/Windows/openvpn-tap32/tapw32/OemWin2k.inf
-
-tap64_DATA = \
- 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.sys \
- 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.cat \
- 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf
-endif
+ testing_hostkeys.ecc \
+ $(BUILDCOMMON_SHLIB_FILES)
+
+INITD_FILES = \
+ services/openrc/gnunet.initd \
+ services/systemd/gnunet.service
+
+PACKAGES_FILES = \
+ packages/guix/guix-env-py2.scm \
+ packages/guix/guix-env-gillmann.scm \
+ packages/guix/notest-guix-env.scm \
+ packages/homebrew/gnunet.rb \
+ packages/nix/gnunet-dev.nix \
+ packages/nix/default.nix \
+ packages/alpine/gnunet-gtk/APKBUILD \
+ packages/alpine/gnunet/APKBUILD \
+ packages/alpine/gnunet/gnunet-system-services.initd \
+ packages/alpine/gnunet/gnunet-system.conf \
+ packages/alpine/gnunet/gnunet-user-services.initd \
+ packages/alpine/gnunet/gnunet-user.conf \
+ packages/alpine/gnunet/gnunet.post-install \
+ packages/alpine/gnunet/gnunet.pre-deinstall \
+ packages/alpine/gnunet/gnunet.pre-install \
+ packages/alpine/gnunet/gnunet.xsession \
+ packages/alpine/gnurl/APKBUILD
EXTRA_DIST = \
conf/colorit/colorit.conf \
+ conf/.style.yapf \
conf/editors/eclipse/gnunet_codingstyle.xml \
conf/gnunet/no_forcestart.conf \
conf/gnunet/no_autostart_above_core.conf \
+ conf/gnunet/gnunet-system.conf \
+ conf/gnunet/gnunet-user.conf \
conf/nss/nssswitch.conf \
conf/wireshark/wireshark.lua \
- scripts/coverage.sh \
- scripts/terminate.py.in \
- scripts/gnunet_pyexpect.py.in \
- scripts/gnunet_janitor.py.in \
- scripts/gnunet-chk.py.in \
- scripts/gnunet-bugreport \
- scripts/removetrailingwhitespace.py.in \
- scripts/pydiffer.py.in \
- packages/nix/default.nix \
- packages/nix/gnunet-dev.nix \
- 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.sys \
- 3rdparty/Windows/openvpn-tap32/tapw32/tap0901.cat \
- 3rdparty/Windows/openvpn-tap32/tapw32/OemWin2k.inf \
- 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.sys \
- 3rdparty/Windows/openvpn-tap32/tapw64/tap0901.cat \
- 3rdparty/Windows/openvpn-tap32/tapw64/OemWin2k.inf \
- 3rdparty/Windows/openvpn-tap32/INSTALL \
- 3rdparty/Windows/openvpn-tap32/tap32-signed-i386-2.1.zip \
- 3rdparty/Windows/openvpn-tap32/tap32-source-2.1.zip
-
-CLEANFILES = \
- $(noinst_SCRIPTS)
-
-do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g'
-
-# Use SUFFIX Extension rules, they are more portable for every
-# implementation of 'make'.
-# You'll also run into the "'%' is a GNU make extension warning"
-# if you use this:
-#
-#%.py: %.py.in Makefile
-# $(do_subst) < $< > $@
-# chmod +x $@
-#
-# instead of this:
-SUFFIXES = .py.in .py
-
-.py.in.py:
- $(do_subst) < $< > $@
- chmod +x $@
+ $(PACKAGES_FILES) \
+ $(INITD_FILES) \
+ Makefile.inc \
+ $(BUILD_COMMON_FILES)
check_PROGRAMS = \
test_gnunet_prefix
$(LTLIBICONV) \
$(GN_LIBINTL) \
$(LIBLTDL) -lunistring $(XLIB)
-
-pkghellodir= $(pkgdatadir)/hellos
-
-install-data-local:
- $(mkinstalldirs) $(DESTDIR)$(pkghellodir)
- @$(NORMAL_INSTALL)
- for hello in $(srcdir)/hellos/*; do \
- if test -f $$hello; then \
- $(INSTALL_DATA) $$hello $(DESTDIR)$(pkghellodir)/ ; \
- fi \
- done
- install scripts/gnunet-bugreport $(DESTDIR)$(bindir)/gnunet-bugreport
-
-dist-hook:
- if test -d $(srcdir)/hellos; then \
- mkdir -p $(distdir)/hellos; \
- for hello in $(srcdir)/hellos/*; do \
- if test -f $$hello; then \
- cp -p $$hello $(distdir)/hellos; \
- fi \
- done \
- fi