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 = \
60 libgnunetnat_la_LIBADD = \
61 $(top_builddir)/src/util/libgnunetutil.la \
62 $(GN_LIBINTL) @EXT_LIBS@
64 libgnunetnat_la_LDFLAGS = \
65 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
74 TESTS = $(check_PROGRAMS)
80 $(top_builddir)/src/nat/libgnunetnat.la \
81 $(top_builddir)/src/util/libgnunetutil.la
83 test_nat_mini_SOURCES = \
85 test_nat_mini_LDADD = \
86 $(top_builddir)/src/nat/libgnunetnat.la \
87 $(top_builddir)/src/util/libgnunetutil.la
90 test_nat_test_SOURCES = \
92 test_nat_test_LDADD = \
93 $(top_builddir)/src/nat/libgnunetnat.la \
94 $(top_builddir)/src/util/libgnunetutil.la
99 test_nat_test_data.conf