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
12 nattest = $(bindir)/gnunet-nat-server
17 NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client
18 NATSERVER = gnunet-helper-nat-server.c
19 NATCLIENT = gnunet-helper-nat-client.c
21 chown root:root $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client $(nattest) || true
22 chmod u+s $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client $(nattest) || true
31 gnunet_nat_server_SOURCES = \
32 gnunet-nat-server.c nat.h
33 gnunet_nat_server_LDADD = \
34 $(top_builddir)/src/nat/libgnunetnat.la \
35 $(top_builddir)/src/util/libgnunetutil.la
36 gnunet_nat_server_DEPENDENCIES = \
39 gnunet_helper_nat_server_SOURCES = \
42 gnunet_helper_nat_client_SOURCES = \
48 AM_CFLAGS = -fprofile-arcs -ftest-coverage
51 lib_LTLIBRARIES = libgnunetnat.la
53 libgnunetnat_la_SOURCES = \
58 libgnunetnat_la_LIBADD = \
59 $(top_builddir)/src/util/libgnunetutil.la \
60 $(GN_LIBINTL) @EXT_LIBS@
62 libgnunetnat_la_LDFLAGS = \
63 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
72 TESTS = $(check_PROGRAMS)
78 $(top_builddir)/src/nat/libgnunetnat.la \
79 $(top_builddir)/src/util/libgnunetutil.la
81 test_nat_mini_SOURCES = \
83 test_nat_mini_LDADD = \
84 $(top_builddir)/src/nat/libgnunetnat.la \
85 $(top_builddir)/src/util/libgnunetutil.la
88 test_nat_test_SOURCES = \
90 test_nat_test_LDADD = \
91 $(top_builddir)/src/nat/libgnunetnat.la \
92 $(top_builddir)/src/util/libgnunetutil.la
97 test_nat_test_data.conf