X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=contrib%2FMakefile.am;h=db9e6d74773be81047822d4b1be1cbec1411b36d;hb=2edb40d94fbaae988cf91e9e6d2a295515fc387d;hp=e287696235ec72b7b451e8baa519f78c43b6cf62;hpb=477681a2f6cfab72414ca0d1d1134e6704b8bf57;p=oweals%2Fgnunet.git diff --git a/contrib/Makefile.am b/contrib/Makefile.am index e28769623..db9e6d747 100644 --- a/contrib/Makefile.am +++ b/contrib/Makefile.am @@ -1,5 +1,8 @@ -INCLUDES = -I$(top_srcdir)/src/include -I$(top_builddir)/src/include +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 @@ -23,9 +26,20 @@ bin_SCRIPTS = \ dist_pkgdata_DATA = \ gnunet-logo-color.png \ - testing_hostkeys.dat \ 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 \ report.sh \ @@ -33,7 +47,16 @@ EXTRA_DIST = \ gnunet_pyexpect.py.in \ gnunet_janitor.py.in \ pydiffer.py.in \ - gnunet-gns-import.sh + 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' @@ -53,19 +76,26 @@ do_subst = $(SED) -e 's,[@]PYTHON[@],$(PYTHON),g' 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) \ - -lltdl -lunistring $(XLIB) + $(LIBLTDL) -lunistring $(XLIB) pkghellodir= $(pkgdatadir)/hellos install-data-local: - $(mkinstalldirs) $(DESTDIR)$(pkghellodir) + $(mkinstalldirs) $(DESTDIR)$(pkghellodir) @$(NORMAL_INSTALL) for hello in $(srcdir)/hellos/*; do \ if test -f $$hello; then \