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
11 NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client
12 NATSERVER = gnunet-helper-nat-server.c
13 NATCLIENT = gnunet-helper-nat-client.c
15 chown root:root $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client || true
16 chmod u+s $(bindir)/gnunet-helper-nat-server $(bindir)/gnunet-helper-nat-client || true
25 gnunet_nat_server_SOURCES = \
26 gnunet-nat-server.c nat.h
27 gnunet_nat_server_LDADD = \
28 $(top_builddir)/src/nat/libgnunetnat.la \
29 $(top_builddir)/src/util/libgnunetutil.la
31 gnunet_helper_nat_server_SOURCES = \
34 gnunet_helper_nat_client_SOURCES = \
40 AM_CFLAGS = -fprofile-arcs -ftest-coverage
43 lib_LTLIBRARIES = libgnunetnat.la
45 libgnunetnat_la_SOURCES = \
46 nat.c nat_test.c nat.h
48 libgnunetnat_la_LIBADD = \
49 $(top_builddir)/src/util/libgnunetutil.la \
50 $(GN_LIBINTL) @EXT_LIBS@
52 libgnunetnat_la_LDFLAGS = \
53 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
60 TESTS = $(check_PROGRAMS)
67 $(top_builddir)/src/nat/libgnunetnat.la \
68 $(top_builddir)/src/util/libgnunetutil.la \