diff options
Diffstat (limited to 'src/nse/Makefile.am')
-rw-r--r-- | src/nse/Makefile.am | 106 |
1 files changed, 0 insertions, 106 deletions
diff --git a/src/nse/Makefile.am b/src/nse/Makefile.am deleted file mode 100644 index 0c6182e61..000000000 --- a/src/nse/Makefile.am +++ /dev/null | |||
@@ -1,106 +0,0 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | if USE_COVERAGE | ||
5 | AM_CFLAGS = --coverage -O0 | ||
6 | XLIB = -lgcov | ||
7 | endif | ||
8 | |||
9 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
10 | |||
11 | libexecdir= $(pkglibdir)/libexec/ | ||
12 | |||
13 | pkgcfg_DATA = \ | ||
14 | nse.conf | ||
15 | |||
16 | bin_PROGRAMS = gnunet-nse | ||
17 | |||
18 | gnunet_nse_SOURCES = gnunet-nse.c | ||
19 | gnunet_nse_LDADD = \ | ||
20 | libgnunetnse.la \ | ||
21 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
22 | $(XLIB) $(GN_LIBINTL) | ||
23 | |||
24 | lib_LTLIBRARIES = libgnunetnse.la | ||
25 | |||
26 | libgnunetnse_la_SOURCES = \ | ||
27 | nse_api.c nse.h | ||
28 | libgnunetnse_la_LIBADD = \ | ||
29 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
30 | $(GN_LIBINTL) $(XLIB) | ||
31 | libgnunetnse_la_LDFLAGS = \ | ||
32 | $(GN_LIB_LDFLAGS) \ | ||
33 | -version-info 0:0:0 | ||
34 | |||
35 | |||
36 | libexec_PROGRAMS = \ | ||
37 | gnunet-service-nse | ||
38 | |||
39 | noinst_PROGRAMS = \ | ||
40 | gnunet-nse-profiler | ||
41 | |||
42 | gnunet_nse_profiler_SOURCES = \ | ||
43 | gnunet-nse-profiler.c | ||
44 | gnunet_nse_profiler_LDADD = -lm \ | ||
45 | libgnunetnse.la \ | ||
46 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
47 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
48 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
49 | $(top_builddir)/src/testbed/libgnunettestbed.la \ | ||
50 | $(GN_LIBINTL) | ||
51 | |||
52 | gnunet_service_nse_SOURCES = \ | ||
53 | gnunet-service-nse.c | ||
54 | gnunet_service_nse_LDADD = \ | ||
55 | libgnunetnse.la \ | ||
56 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
57 | $(top_builddir)/src/core/libgnunetcore.la \ | ||
58 | $(top_builddir)/src/statistics/libgnunetstatistics.la \ | ||
59 | $(LIBGCRYPT_LIBS) \ | ||
60 | -lm -lgcrypt \ | ||
61 | $(GN_LIBINTL) | ||
62 | if ENABLE_NSE_HISTOGRAM | ||
63 | gnunet_service_nse_LDADD += \ | ||
64 | $(top_builddir)/src/testbed-logger/libgnunettestbedlogger.la | ||
65 | endif | ||
66 | |||
67 | |||
68 | if HAVE_BENCHMARKS | ||
69 | MULTIPEER_TEST = test_nse_multipeer | ||
70 | endif | ||
71 | |||
72 | check_PROGRAMS = \ | ||
73 | test_nse_api \ | ||
74 | perf_kdf \ | ||
75 | $(MULTIPEER_TEST) | ||
76 | |||
77 | if ENABLE_TEST_RUN | ||
78 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
79 | TESTS = $(check_PROGRAMS) | ||
80 | endif | ||
81 | |||
82 | test_nse_api_SOURCES = \ | ||
83 | test_nse_api.c | ||
84 | test_nse_api_LDADD = \ | ||
85 | libgnunetnse.la \ | ||
86 | $(top_builddir)/src/testing/libgnunettesting.la \ | ||
87 | $(top_builddir)/src/util/libgnunetutil.la | ||
88 | |||
89 | test_nse_multipeer_SOURCES = \ | ||
90 | test_nse_multipeer.c | ||
91 | test_nse_multipeer_LDADD = \ | ||
92 | libgnunetnse.la \ | ||
93 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
94 | $(top_builddir)/src/testbed/libgnunettestbed.la \ | ||
95 | -lm | ||
96 | |||
97 | perf_kdf_SOURCES = \ | ||
98 | perf_kdf.c | ||
99 | perf_kdf_LDADD = \ | ||
100 | $(top_builddir)/src/util/libgnunetutil.la \ | ||
101 | $(LIBGCRYPT_LIBS) \ | ||
102 | -lgcrypt | ||
103 | |||
104 | EXTRA_DIST = \ | ||
105 | test_nse.conf \ | ||
106 | nse_profiler_test.conf | ||