1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
5 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
6 NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client
7 NATSERVER = gnunet-helper-nat-server-windows.c
8 NATCLIENT = gnunet-helper-nat-client-windows.c
11 libexecdir= $(pkglibdir)/libexec/
13 pkgcfgdir= $(pkgdatadir)/config.d/
19 NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client
20 NATSERVER = gnunet-helper-nat-server.c
21 NATCLIENT = gnunet-helper-nat-client.c
23 $(top_srcdir)/src/nat/install-nat-helper.sh $(DESTDIR)$(libexecdir) $(SUDO_BINARY) || true
26 NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client
27 NATSERVER = gnunet-helper-nat-server.c
28 NATCLIENT = gnunet-helper-nat-client.c
30 $(top_srcdir)/src/nat/install-nat-helper.sh $(DESTDIR)$(libexecdir) $(SUDO_BINARY) || true
45 gnunet_nat_server_SOURCES = \
46 gnunet-nat-server.c nat.h
47 gnunet_nat_server_LDADD = \
49 $(top_builddir)/src/util/libgnunetutil.la
51 gnunet_helper_nat_server_SOURCES = \
54 gnunet_helper_nat_client_SOURCES = \
58 gnunet_nat_SOURCES = \
62 $(top_builddir)/src/util/libgnunetutil.la
66 AM_CFLAGS = -fprofile-arcs -ftest-coverage
73 libgnunetnat_la_SOURCES = \
79 libgnunetnat_la_LIBADD = \
80 $(top_builddir)/src/util/libgnunetutil.la \
81 $(GN_LIBINTL) @EXT_LIBS@
82 libgnunetnat_la_LDFLAGS = \
83 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
86 libgnunetnatnew_la_SOURCES = \
88 libgnunetnatnew_la_LIBADD = \
89 $(top_builddir)/src/util/libgnunetutil.la \
90 $(GN_LIBINTL) @EXT_LIBS@
91 libgnunetnatnew_la_LDFLAGS = \
92 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
95 gnunet_service_nat_SOURCES = \
97 gnunet_service_nat_LDADD = \
98 $(top_builddir)/src/util/libgnunetutil.la \
99 $(top_builddir)/src/statistics/libgnunetstatistics.la \
111 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
112 TESTS = $(check_PROGRAMS)
119 $(top_builddir)/src/util/libgnunetutil.la
121 test_nat_mini_SOURCES = \
123 test_nat_mini_LDADD = \
125 $(top_builddir)/src/util/libgnunetutil.la
127 test_nat_test_SOURCES = \
129 test_nat_test_LDADD = \
131 $(top_builddir)/src/util/libgnunetutil.la
133 test_stun_SOURCES = \
137 $(top_builddir)/src/util/libgnunetutil.la
141 test_nat_test_data.conf \