diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-23 21:47:37 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-23 21:47:37 +0200 |
commit | 83a608c546f6751d0847c5b9965c9813cbd96522 (patch) | |
tree | 03231b447743f77b312c83fde73b858785eafb9b /src/setu | |
parent | 1ea50dc3c613a55ea3184b17b20b464be9a14b51 (diff) | |
download | gnunet-83a608c546f6751d0847c5b9965c9813cbd96522.tar.gz gnunet-83a608c546f6751d0847c5b9965c9813cbd96522.zip |
BUILD: Meson - install yet more files
Diffstat (limited to 'src/setu')
-rw-r--r-- | src/setu/meson.build | 42 |
1 files changed, 25 insertions, 17 deletions
diff --git a/src/setu/meson.build b/src/setu/meson.build index b36543264..ef4a75b20 100644 --- a/src/setu/meson.build +++ b/src/setu/meson.build | |||
@@ -11,24 +11,32 @@ configure_file(input : 'setu.conf.in', | |||
11 | install_dir: pkgcfgdir) | 11 | install_dir: pkgcfgdir) |
12 | 12 | ||
13 | 13 | ||
14 | if get_option('monolith') == false | 14 | if get_option('monolith') |
15 | libgnunetsetu = library('gnunetsetu', | ||
16 | libgnunetsetu_src, | ||
17 | dependencies: libgnunetutil_dep, | ||
18 | include_directories: [incdir, configuration_inc]) | ||
19 | libgnunetsetu_dep = declare_dependency(link_with : libgnunetsetu) | ||
20 | executable ('gnunet-service-setu', | ||
21 | gnunetservicesetu_src, | ||
22 | dependencies: [libgnunetsetu_dep, | ||
23 | libgnunetutil_dep, | ||
24 | m_dep, | ||
25 | libgnunetstatistics_dep, | ||
26 | libgnunetcore_dep, | ||
27 | libgnunetcadet_dep, | ||
28 | libgnunetblock_dep], | ||
29 | include_directories: [incdir, configuration_inc]) | ||
30 | else | ||
31 | foreach p : libgnunetsetu_src + gnunetservicesetu_src | 15 | foreach p : libgnunetsetu_src + gnunetservicesetu_src |
32 | gnunet_src += 'setu/' + p | 16 | gnunet_src += 'setu/' + p |
33 | endforeach | 17 | endforeach |
18 | subdir_done() | ||
34 | endif | 19 | endif |
20 | |||
21 | libgnunetsetu = library('gnunetsetu', | ||
22 | libgnunetsetu_src, | ||
23 | dependencies: libgnunetutil_dep, | ||
24 | include_directories: [incdir, configuration_inc], | ||
25 | install: true, | ||
26 | install_dir: get_option('libdir')) | ||
27 | pkg.generate(libgnunetsetu, url: 'https://www.gnunet.org', | ||
28 | description : 'Provides API for accessing the set union service') | ||
29 | libgnunetsetu_dep = declare_dependency(link_with : libgnunetsetu) | ||
30 | executable ('gnunet-service-setu', | ||
31 | gnunetservicesetu_src, | ||
32 | dependencies: [libgnunetsetu_dep, | ||
33 | libgnunetutil_dep, | ||
34 | m_dep, | ||
35 | libgnunetstatistics_dep, | ||
36 | libgnunetcore_dep, | ||
37 | libgnunetcadet_dep, | ||
38 | libgnunetblock_dep], | ||
39 | include_directories: [incdir, configuration_inc], | ||
40 | install: true, | ||
41 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
42 | |||