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
22 gnunet_nse_LDFLAGS = \
24 $(top_builddir)/src/util/libgnunetutil.la \
26 gnunet_nse_DEPENDENCIES = \
27 $(top_builddir)/src/util/libgnunetutil.la
29 lib_LTLIBRARIES = libgnunetnse.la
31 libgnunetnse_la_SOURCES = \
33 libgnunetnse_la_LIBADD = \
34 $(top_builddir)/src/util/libgnunetutil.la \
36 libgnunetnse_la_LDFLAGS = \
37 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
49 gnunet_nse_profiler_SOURCES = \
51 gnunet_nse_profiler_LDADD = -lm \
52 $(top_builddir)/src/nse/libgnunetnse.la \
53 $(top_builddir)/src/util/libgnunetutil.la \
54 $(top_builddir)/src/statistics/libgnunetstatistics.la \
55 $(top_builddir)/src/testbed/libgnunettestbed.la \
57 gnunet_nse_profiler_DEPENDENCIES = \
60 gnunet_service_nse_SOURCES = \
62 gnunet_service_nse_LDADD = \
63 $(top_builddir)/src/nse/libgnunetnse.la \
64 $(top_builddir)/src/util/libgnunetutil.la \
65 $(top_builddir)/src/core/libgnunetcore.la \
66 $(top_builddir)/src/statistics/libgnunetstatistics.la \
70 gnunet_service_nse_DEPENDENCIES = \
72 if ENABLE_NSE_HISTOGRAM
73 gnunet_service_nse_LDADD += \
74 $(top_builddir)/src/testbed/libgnunettestbedlogger.la
75 gnunet_service_nse_DEPENDENCIES += \
76 $(top_builddir)/src/testbed/libgnunettestbedlogger.la
81 MULTIPEER_TEST = test_nse_multipeer
92 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
93 TESTS = $(check_PROGRAMS)
96 test_nse_api_SOURCES = \
98 test_nse_api_LDADD = \
99 $(top_builddir)/src/nse/libgnunetnse.la \
100 $(top_builddir)/src/testing/libgnunettesting.la \
101 $(top_builddir)/src/util/libgnunetutil.la
103 test_nse_multipeer_SOURCES = \
105 test_nse_multipeer_LDADD = \
106 $(top_builddir)/src/nse/libgnunetnse.la \
107 $(top_builddir)/src/util/libgnunetutil.la \
108 $(top_builddir)/src/testbed/libgnunettestbed.la \
114 $(top_builddir)/src/util/libgnunetutil.la \
120 nse_profiler_test.conf