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
45 gnunet_nat_LDFLAGS = \
50 AM_CFLAGS = -fprofile-arcs -ftest-coverage
56 libgnunetnatnew_la_SOURCES = \
58 nat_api_stun.c nat_stun.h \
60 libgnunetnatnew_la_LIBADD = \
61 $(top_builddir)/src/util/libgnunetutil.la \
62 $(GN_LIBINTL) @EXT_LIBS@
63 libgnunetnatnew_la_LDFLAGS = \
67 gnunet_service_nat_SOURCES = \
68 gnunet-service-nat.c gnunet-service-nat.h \
69 gnunet-service-nat_externalip.c gnunet-service-nat_externalip.h \
70 gnunet-service-nat_stun.c gnunet-service-nat_stun.h \
71 gnunet-service-nat_mini.c gnunet-service-nat_mini.h \
72 gnunet-service-nat_helper.c gnunet-service-nat_helper.h
73 gnunet_service_nat_LDADD = \
74 $(top_builddir)/src/util/libgnunetutil.la \
75 $(top_builddir)/src/statistics/libgnunetstatistics.la \
87 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME;
88 TESTS = $(check_PROGRAMS)
95 # $(top_builddir)/src/util/libgnunetutil.la
97 #test_nat_mini_SOURCES = \
99 #test_nat_mini_LDADD = \
101 # $(top_builddir)/src/util/libgnunetutil.la
103 #test_nat_test_SOURCES = \
105 #test_nat_test_LDADD = \
107 # $(top_builddir)/src/util/libgnunetutil.la
109 #test_stun_SOURCES = \
113 # $(top_builddir)/src/util/libgnunetutil.la
117 test_nat_test_data.conf \