aboutsummaryrefslogtreecommitdiff
path: root/src/revocation
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-09-23 20:51:41 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-09-23 20:51:41 +0200
commitdca0afc851783403b26464bbfa2629fe1bd70a55 (patch)
tree7fe2fc39c5bbdd3757411cf5f90bbaef917b36fc /src/revocation
parent398c154d912a622e47225986c61a5180939cf28e (diff)
downloadgnunet-dca0afc851783403b26464bbfa2629fe1bd70a55.tar.gz
gnunet-dca0afc851783403b26464bbfa2629fe1bd70a55.zip
BUILD: More pkgconfig and installation
Diffstat (limited to 'src/revocation')
-rw-r--r--src/revocation/meson.build60
1 files changed, 44 insertions, 16 deletions
diff --git a/src/revocation/meson.build b/src/revocation/meson.build
index 6a539febb..f1023b00a 100644
--- a/src/revocation/meson.build
+++ b/src/revocation/meson.build
@@ -9,23 +9,51 @@ configure_file(input : 'revocation.conf.in',
9 install_dir: pkgcfgdir) 9 install_dir: pkgcfgdir)
10 10
11 11
12if get_option('monolith') == false 12if get_option('monolith')
13 libgnunetrevocation = library('gnunetrevocation',
14 libgnunetrevocation_src,
15 dependencies: [libgnunetutil_dep, libgnunetidentity_dep],
16 include_directories: [incdir, configuration_inc])
17 libgnunetrevocation_dep = declare_dependency(link_with : libgnunetrevocation)
18 executable ('gnunet-service-revocation',
19 gnunetservicerevocation_src,
20 dependencies: [libgnunetrevocation_dep,
21 libgnunetutil_dep,
22 libgnunetstatistics_dep,
23 libgnunetcore_dep,
24 libgnunetsetu_dep,
25 libgnunetidentity_dep],
26 include_directories: [incdir, configuration_inc])
27else
28 foreach p : libgnunetrevocation_src + gnunetservicerevocation_src 13 foreach p : libgnunetrevocation_src + gnunetservicerevocation_src
29 gnunet_src += 'revocation/' + p 14 gnunet_src += 'revocation/' + p
30 endforeach 15 endforeach
16 subdir_done()
31endif 17endif
18
19libgnunetrevocation = library('gnunetrevocation',
20 libgnunetrevocation_src,
21 soversion: '0.0.0',
22 dependencies: [libgnunetutil_dep, libgnunetidentity_dep],
23 include_directories: [incdir, configuration_inc])
24libgnunetrevocation_dep = declare_dependency(link_with : libgnunetrevocation)
25pkg.generate(libgnunetrevocation, url: 'https://www.gnunet.org',
26 description : 'Provides API to perform key revocation in GNUnet')
27
28shared_module('gnunet_plugin_block_revocation',
29 ['plugin_block_revocation.c'],
30 dependencies: [libgnunetutil_dep,
31 libgnunetrevocation_dep,
32 libgnunetblock_dep],
33 include_directories: [incdir, configuration_inc],
34 install: true,
35 install_dir: get_option('libdir'))
36
37executable ('gnunet-revocation',
38 ['gnunet-revocation.c'],
39 dependencies: [libgnunetrevocation_dep,
40 libgnunetutil_dep,
41 libgnunetstatistics_dep,
42 libgnunetcore_dep,
43 libgnunetsetu_dep,
44 libgnunetidentity_dep],
45 include_directories: [incdir, configuration_inc],
46 install: true,
47 install_dir: get_option('bindir'))
48executable ('gnunet-service-revocation',
49 gnunetservicerevocation_src,
50 dependencies: [libgnunetrevocation_dep,
51 libgnunetutil_dep,
52 libgnunetstatistics_dep,
53 libgnunetcore_dep,
54 libgnunetsetu_dep,
55 libgnunetidentity_dep],
56 include_directories: [incdir, configuration_inc],
57 install: true,
58 install_dir: get_option('libdir')/'gnunet'/'libexec')
59