1 INCLUDES = -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
33 gnunet_nat_server_SOURCES = \
34 gnunet-nat-server.c nat.h
35 gnunet_nat_server_LDADD = \
36 $(top_builddir)/src/nat/libgnunetnat.la \
37 $(top_builddir)/src/util/libgnunetutil.la
38 gnunet_nat_server_DEPENDENCIES = \
41 gnunet_helper_nat_server_SOURCES = \
44 gnunet_helper_nat_client_SOURCES = \
50 AM_CFLAGS = -fprofile-arcs -ftest-coverage
53 lib_LTLIBRARIES = libgnunetnat.la
55 libgnunetnat_la_SOURCES = \
61 libgnunetnat_la_LIBADD = \
62 $(top_builddir)/src/util/libgnunetutil.la \
63 $(GN_LIBINTL) @EXT_LIBS@
65 libgnunetnat_la_LDFLAGS = \
66 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
75 TESTS = $(check_PROGRAMS)
81 $(top_builddir)/src/nat/libgnunetnat.la \
82 $(top_builddir)/src/util/libgnunetutil.la
84 test_nat_mini_SOURCES = \
86 test_nat_mini_LDADD = \
87 $(top_builddir)/src/nat/libgnunetnat.la \
88 $(top_builddir)/src/util/libgnunetutil.la
91 test_nat_test_SOURCES = \
93 test_nat_test_LDADD = \
94 $(top_builddir)/src/nat/libgnunetnat.la \
95 $(top_builddir)/src/util/libgnunetutil.la
100 test_nat_test_data.conf