diff options
Diffstat (limited to 'src/contrib/service/set/meson.build')
-rw-r--r-- | src/contrib/service/set/meson.build | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/contrib/service/set/meson.build b/src/contrib/service/set/meson.build new file mode 100644 index 000000000..153c16ac5 --- /dev/null +++ b/src/contrib/service/set/meson.build | |||
@@ -0,0 +1,45 @@ | |||
1 | libgnunetset_src = ['set_api.c'] | ||
2 | |||
3 | gnunetserviceset_src = ['gnunet-service-set.c', | ||
4 | 'gnunet-service-set_union.c', | ||
5 | 'gnunet-service-set_intersection.c', | ||
6 | 'gnunet-service-set_union_strata_estimator.c', | ||
7 | 'ibf.c'] | ||
8 | |||
9 | configure_file(input : 'set.conf.in', | ||
10 | output : 'set.conf', | ||
11 | configuration : cdata, | ||
12 | install: true, | ||
13 | install_dir: pkgcfgdir) | ||
14 | |||
15 | |||
16 | libgnunetset = library('gnunetset', | ||
17 | libgnunetset_src, | ||
18 | soversion: '0', | ||
19 | version: '0.0.0', | ||
20 | dependencies: libgnunetutil_dep, | ||
21 | include_directories: [incdir, configuration_inc], | ||
22 | install: true, | ||
23 | install_dir: get_option('libdir')) | ||
24 | pkg.generate(libgnunetset, url: 'https://www.gnunet.org', | ||
25 | description : 'Provides API for accessing the set service') | ||
26 | libgnunetset_dep = declare_dependency(link_with : libgnunetset) | ||
27 | shared_module('gnunet_plugin_block_set_test', | ||
28 | ['plugin_block_set_test.c'], | ||
29 | dependencies: libgnunetutil_dep, | ||
30 | include_directories: [incdir, configuration_inc], | ||
31 | install:true, | ||
32 | install_dir: get_option('libdir')/'gnunet') | ||
33 | executable ('gnunet-service-set', | ||
34 | gnunetserviceset_src, | ||
35 | dependencies: [libgnunetset_dep, | ||
36 | libgnunetutil_dep, | ||
37 | m_dep, | ||
38 | libgnunetstatistics_dep, | ||
39 | libgnunetcore_dep, | ||
40 | libgnunetcadet_dep, | ||
41 | libgnunetblock_dep], | ||
42 | include_directories: [incdir, configuration_inc], | ||
43 | install: true, | ||
44 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
45 | |||