X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fnat%2FMakefile.am;h=f0d5639a1627487aed94eddc1e2632a6d76e271f;hb=ccd23df541fac1192f492b0169cb87f0f23a726d;hp=d8d50e1a42e7f65a74ad66f1f46044c91a17bf8a;hpb=331e0e66df283db2d305bd6b80ac2b1896271d4f;p=oweals%2Fgnunet.git diff --git a/src/nat/Makefile.am b/src/nat/Makefile.am index d8d50e1a4..f0d5639a1 100644 --- a/src/nat/Makefile.am +++ b/src/nat/Makefile.am @@ -12,7 +12,7 @@ libexecdir= $(pkglibdir)/libexec/ pkgcfgdir= $(pkgdatadir)/config.d/ -dist_pkgcfg_DATA = \ +pkgcfg_DATA = \ nat.conf if LINUX @@ -34,7 +34,6 @@ install-exec-hook: endif bin_PROGRAMS = \ - gnunet-nat-server \ gnunet-nat libexec_PROGRAMS = \ @@ -42,12 +41,6 @@ libexec_PROGRAMS = \ gnunet-service-nat -gnunet_nat_server_SOURCES = \ - gnunet-nat-server.c nat.h -gnunet_nat_server_LDADD = \ - libgnunetnat.la \ - $(top_builddir)/src/util/libgnunetutil.la - gnunet_helper_nat_server_SOURCES = \ $(NATSERVER) @@ -58,7 +51,7 @@ gnunet_helper_nat_client_SOURCES = \ gnunet_nat_SOURCES = \ gnunet-nat.c nat.h gnunet_nat_LDADD = \ - libgnunetnat.la \ + libgnunetnatnew.la \ $(top_builddir)/src/util/libgnunetutil.la @@ -67,24 +60,12 @@ if USE_COVERAGE endif lib_LTLIBRARIES = \ - libgnunetnat.la \ libgnunetnatnew.la -libgnunetnat_la_SOURCES = \ - nat.c nat.h \ - nat_auto.c \ - nat_test.c \ - nat_mini.c \ - nat_stun.c -libgnunetnat_la_LIBADD = \ - $(top_builddir)/src/util/libgnunetutil.la \ - $(GN_LIBINTL) @EXT_LIBS@ -libgnunetnat_la_LDFLAGS = \ - $(GN_LIB_LDFLAGS) $(WINFLAGS) \ - -version-info 1:1:1 - libgnunetnatnew_la_SOURCES = \ - nat_api.c nat.h + nat_api.c \ + nat_api_stun.c nat_stun.h \ + nat.h libgnunetnatnew_la_LIBADD = \ $(top_builddir)/src/util/libgnunetutil.la \ $(GN_LIBINTL) @EXT_LIBS@ @@ -93,7 +74,11 @@ libgnunetnatnew_la_LDFLAGS = \ -version-info 2:0:0 gnunet_service_nat_SOURCES = \ - gnunet-service-nat.c + gnunet-service-nat.c gnunet-service-nat.h \ + gnunet-service-nat_externalip.c gnunet-service-nat_externalip.h \ + gnunet-service-nat_stun.c gnunet-service-nat_stun.h \ + gnunet-service-nat_mini.c gnunet-service-nat_mini.h \ + gnunet-service-nat_helper.c gnunet-service-nat_helper.h gnunet_service_nat_LDADD = \ $(top_builddir)/src/util/libgnunetutil.la \ $(top_builddir)/src/statistics/libgnunetstatistics.la \ @@ -101,40 +86,40 @@ gnunet_service_nat_LDADD = \ -lgcrypt \ $(GN_LIBINTL) -check_PROGRAMS = \ - test_nat \ - test_nat_mini \ - test_nat_test \ - test_stun +#check_PROGRAMS = \ +# test_nat \ +# test_nat_mini \ +# test_nat_test \ +# test_stun if ENABLE_TEST_RUN - AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH; + AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; TESTS = $(check_PROGRAMS) endif -test_nat_SOURCES = \ - test_nat.c -test_nat_LDADD = \ - libgnunetnat.la \ - $(top_builddir)/src/util/libgnunetutil.la - -test_nat_mini_SOURCES = \ - test_nat_mini.c -test_nat_mini_LDADD = \ - libgnunetnat.la \ - $(top_builddir)/src/util/libgnunetutil.la - -test_nat_test_SOURCES = \ - test_nat_test.c -test_nat_test_LDADD = \ - libgnunetnat.la \ - $(top_builddir)/src/util/libgnunetutil.la - -test_stun_SOURCES = \ - test_stun.c -test_stun_LDADD = \ - libgnunetnat.la \ - $(top_builddir)/src/util/libgnunetutil.la +#test_nat_SOURCES = \ +# test_nat.c +#test_nat_LDADD = \ +# libgnunetnat.la \ +# $(top_builddir)/src/util/libgnunetutil.la + +#test_nat_mini_SOURCES = \ +# test_nat_mini.c +#test_nat_mini_LDADD = \ +# libgnunetnat.la \ +# $(top_builddir)/src/util/libgnunetutil.la + +#test_nat_test_SOURCES = \ +# test_nat_test.c +#test_nat_test_LDADD = \ +# libgnunetnat.la \ +# $(top_builddir)/src/util/libgnunetutil.la + +#test_stun_SOURCES = \ +# test_stun.c +#test_stun_LDADD = \ +# libgnunetnat.la \ +# $(top_builddir)/src/util/libgnunetutil.la EXTRA_DIST = \ test_nat_data.conf \