contrib/scripts: use awk to modify interpreter substitution lines.
[oweals/gnunet.git] / contrib / Makefile.am
1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include
3
4 SUBDIRS = scripts hellos services
5
6 include Makefile.inc
7
8 dist_pkgdata_DATA = \
9  gns/gns-bcd.html \
10  gns/gns-bcd.tex \
11  gns/def.tex \
12  gns/gns-form-fields.xml \
13  gns/gns-form.xslt \
14  branding/logo/gnunet-logo.pdf \
15  branding/logo/gnunet-logo-color.png \
16  testing_hostkeys.ecc \
17  $(BUILDCOMMON_SHLIB_FILES)
18
19 INITD_FILES = \
20  services/openrc/gnunet.initd \
21  services/systemd/gnunet.service
22
23 PACKAGES_FILES = \
24     packages/guix/guix-env-py2.scm \
25     packages/guix/guix-env-gillmann.scm \
26     packages/guix/notest-guix-env.scm \
27     packages/homebrew/gnunet.rb \
28     packages/nix/gnunet-dev.nix \
29     packages/nix/default.nix \
30     packages/alpine/gnunet-gtk/APKBUILD \
31     packages/alpine/gnunet/APKBUILD \
32     packages/alpine/gnunet/gnunet-system-services.initd \
33     packages/alpine/gnunet/gnunet-system.conf \
34     packages/alpine/gnunet/gnunet-user-services.initd \
35     packages/alpine/gnunet/gnunet-user.conf \
36     packages/alpine/gnunet/gnunet.post-install \
37     packages/alpine/gnunet/gnunet.pre-deinstall \
38     packages/alpine/gnunet/gnunet.pre-install \
39     packages/alpine/gnunet/gnunet.xsession \
40     packages/alpine/gnurl/APKBUILD
41
42 EXTRA_DIST = \
43  conf/colorit/colorit.conf \
44  conf/.style.yapf \
45  conf/editors/eclipse/gnunet_codingstyle.xml \
46  conf/gnunet/no_forcestart.conf \
47  conf/gnunet/no_autostart_above_core.conf \
48  conf/gnunet/gnunet-system.conf \
49  conf/gnunet/gnunet-user.conf \
50  conf/nss/nssswitch.conf \
51  conf/wireshark/wireshark.lua \
52  $(PACKAGES_FILES) \
53  $(INITD_FILES) \
54  Makefile.inc \
55  $(BUILD_COMMON_FILES)
56
57 check_PROGRAMS = \
58  test_gnunet_prefix
59
60 if ENABLE_TEST_RUN
61 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
62 TESTS = $(check_PROGRAMS)
63 endif
64
65 test_gnunet_prefix_SOURCES = \
66  test_gnunet_prefix.c
67
68 test_gnunet_prefix_CPPFLAGS = \
69   $(LTDLINCL) $(AM_CPPFLAGS)
70
71 test_gnunet_prefix_LDADD = \
72   $(GCLIBADD) $(WINLIB) \
73   $(LTLIBICONV) \
74   $(GN_LIBINTL) \
75   $(LIBLTDL) -lunistring $(XLIB)