diff options
Diffstat (limited to 'src/contrib/service/set/Makefile.am')
-rw-r--r-- | src/contrib/service/set/Makefile.am | 111 |
1 files changed, 111 insertions, 0 deletions
diff --git a/src/contrib/service/set/Makefile.am b/src/contrib/service/set/Makefile.am new file mode 100644 index 000000000..d8e19e6d4 --- /dev/null +++ b/src/contrib/service/set/Makefile.am | |||
@@ -0,0 +1,111 @@ | |||
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 | set.conf | ||
12 | |||
13 | if USE_COVERAGE | ||
14 | AM_CFLAGS = -fprofile-arcs -ftest-coverage | ||
15 | endif | ||
16 | |||
17 | noinst_PROGRAMS = \ | ||
18 | gnunet-set-ibf-profiler | ||
19 | |||
20 | libexec_PROGRAMS = \ | ||
21 | gnunet-service-set | ||
22 | |||
23 | lib_LTLIBRARIES = \ | ||
24 | libgnunetset.la | ||
25 | |||
26 | gnunet_set_ibf_profiler_SOURCES = \ | ||
27 | gnunet-set-ibf-profiler.c \ | ||
28 | ibf.c | ||
29 | gnunet_set_ibf_profiler_LDADD = \ | ||
30 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
31 | $(GN_LIBINTL) | ||
32 | |||
33 | gnunet_service_set_SOURCES = \ | ||
34 | gnunet-service-set.c gnunet-service-set.h \ | ||
35 | gnunet-service-set_union.c gnunet-service-set_union.h \ | ||
36 | gnunet-service-set_intersection.c gnunet-service-set_intersection.h \ | ||
37 | ibf.c ibf.h \ | ||
38 | gnunet-service-set_union_strata_estimator.c gnunet-service-set_union_strata_estimator.h \ | ||
39 | gnunet-service-set_protocol.h | ||
40 | gnunet_service_set_LDADD = \ | ||
41 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
42 | $(top_builddir)/src/service/statistics/libgnunetstatistics.la \ | ||
43 | $(top_builddir)/src/service/core/libgnunetcore.la \ | ||
44 | $(top_builddir)/src/service/cadet/libgnunetcadet.la \ | ||
45 | $(top_builddir)/src/lib/block/libgnunetblock.la \ | ||
46 | libgnunetset.la \ | ||
47 | $(GN_LIBINTL) | ||
48 | |||
49 | libgnunetset_la_SOURCES = \ | ||
50 | set_api.c set.h | ||
51 | libgnunetset_la_LIBADD = \ | ||
52 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
53 | $(LTLIBINTL) | ||
54 | libgnunetset_la_LDFLAGS = \ | ||
55 | $(GN_LIB_LDFLAGS) | ||
56 | |||
57 | check_PROGRAMS = \ | ||
58 | # test_set_api \ | ||
59 | # test_set_union_result_symmetric \ | ||
60 | # test_set_intersection_result_full \ | ||
61 | test_set_union_copy | ||
62 | |||
63 | if ENABLE_TEST_RUN | ||
64 | AM_TESTS_ENVIRONMENT=export GNUNET_PREFIX=$${GNUNET_PREFIX:-@libdir@};export PATH=$${GNUNET_PREFIX:-@prefix@}/bin:$$PATH;unset XDG_DATA_HOME;unset XDG_CONFIG_HOME; | ||
65 | TESTS = $(check_PROGRAMS) | ||
66 | endif | ||
67 | |||
68 | test_set_api_SOURCES = \ | ||
69 | test_set_api.c | ||
70 | test_set_api_LDADD = \ | ||
71 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
72 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | ||
73 | libgnunetset.la | ||
74 | |||
75 | test_set_union_result_symmetric_SOURCES = \ | ||
76 | test_set_union_result_symmetric.c | ||
77 | test_set_union_result_symmetric_LDADD = \ | ||
78 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
79 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | ||
80 | libgnunetset.la | ||
81 | |||
82 | test_set_intersection_result_full_SOURCES = \ | ||
83 | test_set_intersection_result_full.c | ||
84 | test_set_intersection_result_full_LDADD = \ | ||
85 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
86 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | ||
87 | libgnunetset.la | ||
88 | |||
89 | test_set_union_copy_SOURCES = \ | ||
90 | test_set_union_copy.c | ||
91 | test_set_union_copy_LDADD = \ | ||
92 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
93 | $(top_builddir)/src/service/testing/libgnunettesting.la \ | ||
94 | libgnunetset.la | ||
95 | |||
96 | plugin_LTLIBRARIES = \ | ||
97 | libgnunet_plugin_block_set_test.la | ||
98 | |||
99 | libgnunet_plugin_block_set_test_la_SOURCES = \ | ||
100 | plugin_block_set_test.c | ||
101 | libgnunet_plugin_block_set_test_la_LIBADD = \ | ||
102 | $(top_builddir)/src/lib/block/libgnunetblock.la \ | ||
103 | $(top_builddir)/src/lib/block/libgnunetblockgroup.la \ | ||
104 | $(top_builddir)/src/lib/util/libgnunetutil.la \ | ||
105 | $(LTLIBINTL) | ||
106 | libgnunet_plugin_block_set_test_la_LDFLAGS = \ | ||
107 | $(GN_PLUGIN_LDFLAGS) | ||
108 | |||
109 | |||
110 | EXTRA_DIST = \ | ||
111 | test_set.conf | ||