1 AM_CPPFLAGS = -I$(top_srcdir)/src/include
4 WINFLAGS = -Wl,--no-undefined -Wl,--export-all-symbols
8 AM_CFLAGS = --coverage -O0
12 pkgcfgdir= $(pkgdatadir)/config.d/
14 libexecdir= $(pkglibdir)/libexec/
19 bin_PROGRAMS = gnunet-nse
21 gnunet_nse_SOURCES = gnunet-nse.c
24 $(top_builddir)/src/util/libgnunetutil.la \
27 lib_LTLIBRARIES = libgnunetnse.la
29 libgnunetnse_la_SOURCES = \
31 libgnunetnse_la_LIBADD = \
32 $(top_builddir)/src/util/libgnunetutil.la \
34 libgnunetnse_la_LDFLAGS = \
35 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
47 gnunet_nse_profiler_SOURCES = \
49 gnunet_nse_profiler_LDADD = -lm \
51 $(top_builddir)/src/util/libgnunetutil.la \
52 $(top_builddir)/src/statistics/libgnunetstatistics.la \
53 $(top_builddir)/src/testbed/libgnunettestbed.la \
56 gnunet_service_nse_SOURCES = \
58 gnunet_service_nse_LDADD = \
60 $(top_builddir)/src/util/libgnunetutil.la \
61 $(top_builddir)/src/core/libgnunetcore.la \
62 $(top_builddir)/src/statistics/libgnunetstatistics.la \
66 if ENABLE_NSE_HISTOGRAM
67 gnunet_service_nse_LDADD += \
68 $(top_builddir)/src/testbed/libgnunettestbedlogger.la
73 MULTIPEER_TEST = test_nse_multipeer
84 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
85 TESTS = $(check_PROGRAMS)
88 test_nse_api_SOURCES = \
90 test_nse_api_LDADD = \
92 $(top_builddir)/src/testing/libgnunettesting.la \
93 $(top_builddir)/src/util/libgnunetutil.la
95 test_nse_multipeer_SOURCES = \
97 test_nse_multipeer_LDADD = \
99 $(top_builddir)/src/util/libgnunetutil.la \
100 $(top_builddir)/src/testbed/libgnunettestbed.la \
106 $(top_builddir)/src/util/libgnunetutil.la \
112 nse_profiler_test.conf