diff options
Diffstat (limited to 'src/service/setu/Makefile.am')
-rw-r--r-- | src/service/setu/Makefile.am | 92 |
1 files changed, 92 insertions, 0 deletions
diff --git a/src/service/setu/Makefile.am b/src/service/setu/Makefile.am new file mode 100644 index 000000000..f0cf9fdbc --- /dev/null +++ b/src/service/setu/Makefile.am | |||
@@ -0,0 +1,92 @@ | |||
1 | # This Makefile.am is in the public domain | ||
2 | AM_CPPFLAGS = -I$(top_srcdir)/src/include | ||
3 | |||
4 | pkgcfgdir= $(pkgdatadir)/config.d/ | ||
5 | |||
6 | libexecdir= $(pkglibdir)/libexec/ | ||
7 | |||
8 | plugindir = $(libdir)/gnunet | ||
9 | |||
10 | pkgcfg_DATA = \ | ||
11 | setu.conf | ||
12 | |||
13 | if USE_COVERAGE | ||
14 | AM_CFLAGS = -fprofile-arcs -ftest-coverage | ||
15 | endif | ||
16 | |||
17 | noinst_PROGRAMS = \ | ||
18 | gnunet-setu-ibf-profiler \ | ||
19 | gnunet-setu-profiler | ||
20 | |||
21 | libexec_PROGRAMS = \ | ||
22 | gnunet-service-setu | ||
23 | |||
24 | lib_LTLIBRARIES = \ | ||
25 | libgnunetsetu.la | ||
26 | |||
27 | gnunet_setu_profiler_SOURCES = \ | ||
28 | gnunet-setu-profiler.c | ||
29 | gnunet_setu_profiler_LDADD = \ | ||
30 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
31 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ | ||
32 | libgnunetsetu.la \ | ||
33 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | ||
34 | $(GN_LIBINTL) | ||
35 | |||
36 | |||
37 | gnunet_setu_ibf_profiler_SOURCES = \ | ||
38 | gnunet-setu-ibf-profiler.c \ | ||
39 | ibf.c | ||
40 | gnunet_setu_ibf_profiler_LDADD = \ | ||
41 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
42 | $(GN_LIBINTL) | ||
43 | |||
44 | gnunet_service_setu_SOURCES = \ | ||
45 | gnunet-service-setu.c gnunet-service-setu_protocol.h \ | ||
46 | ibf.c ibf.h \ | ||
47 | gnunet-service-setu_strata_estimator.c gnunet-service-setu_strata_estimator.h \ | ||
48 | gnunet-service-setu_protocol.h | ||
49 | gnunet_service_setu_LDADD = \ | ||
50 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
51 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ | ||
52 | $(top_builddir)/src/service/core/libgnunetcore.la \ | ||
53 | $(top_builddir)/src/service/cadet/libgnunetcadet.la \ | ||
54 | $(top_builddir)/src/lib/block/libgnunetblock.la \ | ||
55 | libgnunetsetu.la \ | ||
56 | $(GN_LIBINTL) | ||
57 | |||
58 | libgnunetsetu_la_SOURCES = \ | ||
59 | setu_api.c setu.h | ||
60 | libgnunetsetu_la_LIBADD = \ | ||
61 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
62 | $(LTLIBINTL) | ||
63 | libgnunetsetu_la_LDFLAGS = \ | ||
64 | $(GN_LIB_LDFLAGS) | ||
65 | |||
66 | check_PROGRAMS = \ | ||
67 | # test_setu_api \ | ||
68 | # perf_setu_api | ||
69 | |||
70 | if ENABLE_TEST_RUN | ||
71 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
72 | TESTS = $(check_PROGRAMS) | ||
73 | endif | ||
74 | |||
75 | test_setu_api_SOURCES = \ | ||
76 | test_setu_api.c | ||
77 | test_setu_api_LDADD = \ | ||
78 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
79 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | ||
80 | libgnunetsetu.la | ||
81 | |||
82 | |||
83 | perf_setu_api_SOURCES = \ | ||
84 | perf_setu_api.c | ||
85 | perf_setu_api_LDADD = \ | ||
86 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
87 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | ||
88 | libgnunetsetu.la | ||
89 | |||
90 | |||
91 | EXTRA_DIST = \ | ||
92 | test_setu.conf | ||