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 = \
44 $(top_builddir)/src/nat/libgnunetnat.la \
45 $(top_builddir)/src/util/libgnunetutil.la
46 gnunet_nat_server_DEPENDENCIES = \
49 gnunet_helper_nat_server_SOURCES = \
52 gnunet_helper_nat_client_SOURCES = \
58 AM_CFLAGS = -fprofile-arcs -ftest-coverage
61 lib_LTLIBRARIES = libgnunetnat.la
63 libgnunetnat_la_SOURCES = \
69 libgnunetnat_la_LIBADD = \
70 $(top_builddir)/src/util/libgnunetutil.la \
71 $(GN_LIBINTL) @EXT_LIBS@
73 libgnunetnat_la_LDFLAGS = \
74 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
83 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
84 TESTS = $(check_PROGRAMS)
90 $(top_builddir)/src/nat/libgnunetnat.la \
91 $(top_builddir)/src/util/libgnunetutil.la
93 test_nat_mini_SOURCES = \
95 test_nat_mini_LDADD = \
96 $(top_builddir)/src/nat/libgnunetnat.la \
97 $(top_builddir)/src/util/libgnunetutil.la
100 test_nat_test_SOURCES = \
102 test_nat_test_LDADD = \
103 $(top_builddir)/src/nat/libgnunetnat.la \
104 $(top_builddir)/src/util/libgnunetutil.la
109 test_nat_test_data.conf