X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fnat%2FMakefile.am;h=72ac0a1f0e25f0d8776b73b8d82ea8b3dd30eb54;hb=1b4ccddc7946888fc0b66c58b1434e1814a43822;hp=a7424b8dc2ef156583bca115942fc24765394f85;hpb=8a741e7ef0f3eefbcb8eb990b47df699132b3873;p=oweals%2Fgnunet.git diff --git a/src/nat/Makefile.am b/src/nat/Makefile.am index a7424b8dc..72ac0a1f0 100644 --- a/src/nat/Makefile.am +++ b/src/nat/Makefile.am @@ -1,3 +1,4 @@ +# This Makefile.am is in the public domain AM_CPPFLAGS = -I$(top_srcdir)/src/include if MINGW @@ -41,10 +42,8 @@ libexec_PROGRAMS = \ gnunet_nat_server_SOURCES = \ gnunet-nat-server.c nat.h gnunet_nat_server_LDADD = \ - $(top_builddir)/src/nat/libgnunetnat.la \ + libgnunetnat.la \ $(top_builddir)/src/util/libgnunetutil.la -gnunet_nat_server_DEPENDENCIES = \ - libgnunetnat.la gnunet_helper_nat_server_SOURCES = \ $(NATSERVER) @@ -72,7 +71,7 @@ libgnunetnat_la_LIBADD = \ libgnunetnat_la_LDFLAGS = \ $(GN_LIB_LDFLAGS) $(WINFLAGS) \ - -version-info 1:0:1 + -version-info 1:1:1 check_PROGRAMS = \ test_nat \ @@ -80,27 +79,27 @@ check_PROGRAMS = \ test_nat_test if ENABLE_TEST_RUN - TESTS_ENVIRONMENT=export GNUNET_PREFIX=@prefix@;export PATH=@prefix@/bin:$$PATH; + AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; TESTS = $(check_PROGRAMS) endif test_nat_SOURCES = \ test_nat.c test_nat_LDADD = \ - $(top_builddir)/src/nat/libgnunetnat.la \ + libgnunetnat.la \ $(top_builddir)/src/util/libgnunetutil.la test_nat_mini_SOURCES = \ test_nat_mini.c test_nat_mini_LDADD = \ - $(top_builddir)/src/nat/libgnunetnat.la \ + libgnunetnat.la \ $(top_builddir)/src/util/libgnunetutil.la test_nat_test_SOURCES = \ test_nat_test.c test_nat_test_LDADD = \ - $(top_builddir)/src/nat/libgnunetnat.la \ + libgnunetnat.la \ $(top_builddir)/src/util/libgnunetutil.la