X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=contrib%2FMakefile.am;h=db9e6d74773be81047822d4b1be1cbec1411b36d;hb=2edb40d94fbaae988cf91e9e6d2a295515fc387d;hp=b8dae1bbf5e57db2c42f508adaa35d81fd21c3d8;hpb=0b864bf9aa08f0c21085d56c925100c4f4eb1c72;p=oweals%2Fgnunet.git diff --git a/contrib/Makefile.am b/contrib/Makefile.am index b8dae1bbf..db9e6d747 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -1,31 +1,68 @@ -if !MINGW +AM_CPPFLAGS = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include + +tap32dir = $(pkgdatadir)/openvpn-tap32/tapw32/ + +tap64dir = $(pkgdatadir)/openvpn-tap32/tapw64/ + noinst_PROGRAMS = \ timeout_watchdog +if !MINGW timeout_watchdog_SOURCES = \ timeout_watchdog.c +else +timeout_watchdog_SOURCES = \ + timeout_watchdog_w32.c endif noinst_SCRIPTS = \ - gnunet_pyexpect.py + terminate.py \ + pydiffer.py \ + gnunet_pyexpect.py \ + gnunet_janitor.py + +bin_SCRIPTS = \ + gnunet-gns-import.sh dist_pkgdata_DATA = \ gnunet-logo-color.png \ - defaults.conf + testing_hostkeys.ecc + +if MINGW +tap32_DATA = \ + openvpn-tap32/tapw32/tap0901.sys \ + openvpn-tap32/tapw32/tap0901.cat \ + openvpn-tap32/tapw32/OemWin2k.inf + +tap64_DATA = \ + openvpn-tap32/tapw64/tap0901.sys \ + openvpn-tap32/tapw64/tap0901.cat \ + openvpn-tap32/tapw64/OemWin2k.inf +endif EXTRA_DIST = \ coverage.sh \ - hostlist.cgi \ - hostlist.php \ report.sh \ - gnunet_pyexpect.py.in + terminate.py.in \ + gnunet_pyexpect.py.in \ + gnunet_janitor.py.in \ + pydiffer.py.in \ + gnunet-gns-import.sh \ + openvpn-tap32/tapw32/tap0901.sys \ + openvpn-tap32/tapw32/tap0901.cat \ + openvpn-tap32/tapw32/OemWin2k.inf \ + openvpn-tap32/tapw64/tap0901.sys \ + openvpn-tap32/tapw64/tap0901.cat \ + openvpn-tap32/tapw64/OemWin2k.inf \ + openvpn-tap32/INSTALL \ + openvpn-tap32/tap32-signed-i386-2.1.zip \ + openvpn-tap32/tap32-source-2.1.zip do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' -gnunet_pyexpect.py: gnunet_pyexpect.py.in Makefile - $(do_subst) < $(srcdir)/gnunet_pyexpect.py.in > gnunet_pyexpect.py - chmod +x gnunet_pyexpect.py - +%.py: %.py.in Makefile + $(do_subst) < $< > $@ + chmod +x $@ # init_gnunet_redhat \ # init_gnunet_ubuntu \ @@ -35,3 +72,44 @@ gnunet_pyexpect.py: gnunet_pyexpect.py.in Makefile # junklookup.sh \ # namespacehelper.sh + +check_PROGRAMS = \ + test_gnunet_prefix + +if ENABLE_TEST_RUN +TESTS = $(check_PROGRAMS) +endif + +test_gnunet_prefix_SOURCES = \ + test_gnunet_prefix.c + +test_gnunet_prefix_CPPFLAGS = \ + $(LTDLINCL) $(AM_CPPFLAGS) + +test_gnunet_prefix_LDADD = \ + $(GCLIBADD) $(WINLIB) \ + $(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 + +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 +