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/
20 lib_LTLIBRARIES = libgnunetnse.la
22 libgnunetnse_la_SOURCES = \
24 libgnunetnse_la_LIBADD = \
25 $(top_builddir)/src/util/libgnunetutil.la \
27 libgnunetnse_la_LDFLAGS = \
28 $(GN_LIB_LDFLAGS) $(WINFLAGS) \
40 gnunet_nse_profiler_SOURCES = \
42 gnunet_nse_profiler_LDADD = -lm \
43 $(top_builddir)/src/nse/libgnunetnse.la \
44 $(top_builddir)/src/util/libgnunetutil.la \
45 $(top_builddir)/src/statistics/libgnunetstatistics.la \
46 $(top_builddir)/src/testbed/libgnunettestbed.la \
48 gnunet_nse_profiler_DEPENDENCIES = \
51 gnunet_service_nse_SOURCES = \
53 gnunet_service_nse_LDADD = \
54 $(top_builddir)/src/nse/libgnunetnse.la \
55 $(top_builddir)/src/util/libgnunetutil.la \
56 $(top_builddir)/src/core/libgnunetcore.la \
57 $(top_builddir)/src/statistics/libgnunetstatistics.la \
61 gnunet_service_nse_DEPENDENCIES = \
63 if ENABLE_NSE_HISTOGRAM
64 gnunet_service_nse_LDADD += \
65 $(top_builddir)/src/testbed/libgnunettestbedlogger.la
66 gnunet_service_nse_DEPENDENCIES += \
67 $(top_builddir)/src/testbed/libgnunettestbedlogger.la
72 MULTIPEER_TEST = test_nse_multipeer
83 AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;
84 TESTS = $(check_PROGRAMS)
87 test_nse_api_SOURCES = \
89 test_nse_api_LDADD = \
90 $(top_builddir)/src/nse/libgnunetnse.la \
91 $(top_builddir)/src/testing/libgnunettesting.la \
92 $(top_builddir)/src/util/libgnunetutil.la
94 test_nse_multipeer_SOURCES = \
96 test_nse_multipeer_LDADD = \
97 $(top_builddir)/src/nse/libgnunetnse.la \
98 $(top_builddir)/src/util/libgnunetutil.la \
99 $(top_builddir)/src/testbed/libgnunettestbed.la \
105 $(top_builddir)/src/util/libgnunetutil.la \
111 nse_profiler_test.conf