1 # This Makefile.am is in the public domain
2 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 libexecdir= $(pkglibdir)/libexec/
6 pkgcfgdir= $(pkgdatadir)/config.d/
12 NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client
13 NATSERVER = gnunet-helper-nat-server.c
14 NATCLIENT = gnunet-helper-nat-client.c
17 NATBIN = gnunet-helper-nat-server gnunet-helper-nat-client
18 NATSERVER = gnunet-helper-nat-server.c
19 NATCLIENT = gnunet-helper-nat-client.c
33 gnunet_helper_nat_server_SOURCES = \
36 gnunet_helper_nat_client_SOURCES = \
40 gnunet_nat_SOURCES = \
44 $(top_builddir)/src/util/libgnunetutil.la
48 AM_CFLAGS = -fprofile-arcs -ftest-coverage
54 libgnunetnatnew_la_SOURCES = \
56 nat_api_stun.c nat_stun.h \
58 libgnunetnatnew_la_LIBADD = \
59 $(top_builddir)/src/util/libgnunetutil.la \
60 $(GN_LIBINTL) @EXT_LIBS@
61 libgnunetnatnew_la_LDFLAGS = \
62 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
65 gnunet_service_nat_SOURCES = \
66 gnunet-service-nat.c gnunet-service-nat.h \
67 gnunet-service-nat_externalip.c gnunet-service-nat_externalip.h \
68 gnunet-service-nat_stun.c gnunet-service-nat_stun.h \
69 gnunet-service-nat_mini.c gnunet-service-nat_mini.h \
70 gnunet-service-nat_helper.c gnunet-service-nat_helper.h
71 gnunet_service_nat_LDADD = \
72 $(top_builddir)/src/util/libgnunetutil.la \
73 $(top_builddir)/src/statistics/libgnunetstatistics.la \
85 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
86 TESTS = $(check_PROGRAMS)
93 # $(top_builddir)/src/util/libgnunetutil.la
95 #test_nat_mini_SOURCES = \
97 #test_nat_mini_LDADD = \
99 # $(top_builddir)/src/util/libgnunetutil.la
101 #test_nat_test_SOURCES = \
103 #test_nat_test_LDADD = \
105 # $(top_builddir)/src/util/libgnunetutil.la
107 #test_stun_SOURCES = \
111 # $(top_builddir)/src/util/libgnunetutil.la
115 test_nat_test_data.conf \