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