diff options
Diffstat (limited to 'src/service/seti/meson.build')
-rw-r--r-- | src/service/seti/meson.build | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/src/service/seti/meson.build b/src/service/seti/meson.build new file mode 100644 index 000000000..1743e327d --- /dev/null +++ b/src/service/seti/meson.build | |||
@@ -0,0 +1,41 @@ | |||
1 | libgnunetseti_src = ['seti_api.c'] | ||
2 | |||
3 | gnunetserviceseti_src = ['gnunet-service-seti.c'] | ||
4 | |||
5 | configure_file(input : 'seti.conf.in', | ||
6 | output : 'seti.conf', | ||
7 | configuration : cdata, | ||
8 | install: true, | ||
9 | install_dir: pkgcfgdir) | ||
10 | |||
11 | |||
12 | if get_option('monolith') | ||
13 | foreach p : libgnunetseti_src + gnunetserviceseti_src | ||
14 | gnunet_src += 'seti/' + p | ||
15 | endforeach | ||
16 | endif | ||
17 | |||
18 | libgnunetseti = library('gnunetseti', | ||
19 | libgnunetseti_src, | ||
20 | soversion: '0', | ||
21 | version: '0.0.0', | ||
22 | dependencies: libgnunetutil_dep, | ||
23 | include_directories: [incdir, configuration_inc], | ||
24 | install: true, | ||
25 | install_dir: get_option('libdir')) | ||
26 | pkg.generate(libgnunetseti, url: 'https://www.gnunet.org', | ||
27 | description : 'Provides API for accessing the set intersection service') | ||
28 | libgnunetseti_dep = declare_dependency(link_with : libgnunetseti) | ||
29 | executable ('gnunet-service-seti', | ||
30 | gnunetserviceseti_src, | ||
31 | dependencies: [libgnunetseti_dep, | ||
32 | libgnunetutil_dep, | ||
33 | m_dep, | ||
34 | libgnunetstatistics_dep, | ||
35 | libgnunetcore_dep, | ||
36 | libgnunetcadet_dep, | ||
37 | libgnunetblock_dep], | ||
38 | include_directories: [incdir, configuration_inc], | ||
39 | install: true, | ||
40 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
41 | |||