add .inc file to .am
[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
18 INITD_FILES = \
19  services/openrc/gnunet.initd \
20  services/systemd/gnunet.service
21
22 PACKAGES_FILES = \
23     packages/guix/guix-env-py2.scm \
24     packages/guix/guix-env-gillmann.scm \
25     packages/guix/notest-guix-env.scm \
26     packages/homebrew/gnunet.rb \
27     packages/nix/gnunet-dev.nix \
28     packages/nix/default.nix \
29     packages/alpine/gnunet-gtk/APKBUILD \
30     packages/alpine/gnunet/APKBUILD \
31     packages/alpine/gnunet/gnunet-system-services.initd \
32     packages/alpine/gnunet/gnunet-system.conf \
33     packages/alpine/gnunet/gnunet-user-services.initd \
34     packages/alpine/gnunet/gnunet-user.conf \
35     packages/alpine/gnunet/gnunet.post-install \
36     packages/alpine/gnunet/gnunet.pre-deinstall \
37     packages/alpine/gnunet/gnunet.pre-install \
38     packages/alpine/gnunet/gnunet.xsession \
39     packages/alpine/gnurl/APKBUILD
40
41 EXTRA_DIST = \
42  conf/colorit/colorit.conf \
43  conf/.style.yapf \
44  conf/editors/eclipse/gnunet_codingstyle.xml \
45  conf/gnunet/no_forcestart.conf \
46  conf/gnunet/no_autostart_above_core.conf \
47  conf/gnunet/gnunet-system.conf \
48  conf/gnunet/gnunet-user.conf \
49  conf/nss/nssswitch.conf \
50  conf/wireshark/wireshark.lua \
51  $(PACKAGES_FILES) \
52  $(INITD_FILES) \
53  Makefile.inc
54
55 check_PROGRAMS = \
56  test_gnunet_prefix
57
58 if ENABLE_TEST_RUN
59 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
60 TESTS = $(check_PROGRAMS)
61 endif
62
63 test_gnunet_prefix_SOURCES = \
64  test_gnunet_prefix.c
65
66 test_gnunet_prefix_CPPFLAGS = \
67   $(LTDLINCL) $(AM_CPPFLAGS)
68
69 test_gnunet_prefix_LDADD = \
70   $(GCLIBADD) $(WINLIB) \
71   $(LTLIBICONV) \
72   $(GN_LIBINTL) \
73   $(LIBLTDL) -lunistring $(XLIB)