1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
5 NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client
6 NATSERVER = gnunet-helper-nat-server-windows.c
7 NATCLIENT = gnunet-helper-nat-client-windows.c
10 libexecdir= $(pkglibdir)/libexec/
12 pkgcfgdir= $(pkgdatadir)/config.d/
18 NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client
19 NATSERVER = gnunet-helper-nat-server.c
20 NATCLIENT = gnunet-helper-nat-client.c
22 $(top_srcdir)/src/nat/install-nat-helper.sh $(libexecdir) $(SUDO_BINARY) || true
25 NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client
26 NATSERVER = gnunet-helper-nat-server.c
27 NATCLIENT = gnunet-helper-nat-client.c
29 $(top_srcdir)/src/nat/install-nat-helper.sh $(libexecdir) $(SUDO_BINARY) || true
41 gnunet_nat_server_SOURCES = \
42 gnunet-nat-server.c nat.h
43 gnunet_nat_server_LDADD = \
45 $(top_builddir)/src/util/libgnunetutil.la
47 gnunet_helper_nat_server_SOURCES = \
50 gnunet_helper_nat_client_SOURCES = \
56 AM_CFLAGS = -fprofile-arcs -ftest-coverage
59 lib_LTLIBRARIES = libgnunetnat.la
61 libgnunetnat_la_SOURCES = \
67 libgnunetnat_la_LIBADD = \
68 $(top_builddir)/src/util/libgnunetutil.la \
69 $(GN_LIBINTL) @EXT_LIBS@
71 libgnunetnat_la_LDFLAGS = \
72 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
81 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
82 TESTS = $(check_PROGRAMS)
89 $(top_builddir)/src/util/libgnunetutil.la
91 test_nat_mini_SOURCES = \
93 test_nat_mini_LDADD = \
95 $(top_builddir)/src/util/libgnunetutil.la
98 test_nat_test_SOURCES = \
100 test_nat_test_LDADD = \
102 $(top_builddir)/src/util/libgnunetutil.la
107 test_nat_test_data.conf