diff options
Diffstat (limited to 'src/revocation/meson.build')
-rw-r--r-- | src/revocation/meson.build | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/revocation/meson.build b/src/revocation/meson.build new file mode 100644 index 000000000..9a526af36 --- /dev/null +++ b/src/revocation/meson.build | |||
@@ -0,0 +1,63 @@ | |||
1 | libgnunetrevocation_src = ['revocation_api.c'] | ||
2 | |||
3 | gnunetservicerevocation_src = ['gnunet-service-revocation.c'] | ||
4 | |||
5 | configure_file(input : 'revocation.conf.in', | ||
6 | output : 'revocation.conf', | ||
7 | configuration : cdata, | ||
8 | install: true, | ||
9 | install_dir: pkgcfgdir) | ||
10 | |||
11 | |||
12 | if get_option('monolith') | ||
13 | foreach p : libgnunetrevocation_src + gnunetservicerevocation_src | ||
14 | gnunet_src += 'revocation/' + p | ||
15 | endforeach | ||
16 | subdir_done() | ||
17 | endif | ||
18 | |||
19 | libgnunetrevocation = library('gnunetrevocation', | ||
20 | libgnunetrevocation_src, | ||
21 | soversion: '0', | ||
22 | version: '0.0.0', | ||
23 | dependencies: [libgnunetutil_dep, libgnunetidentity_dep], | ||
24 | include_directories: [incdir, configuration_inc], | ||
25 | install: true, | ||
26 | install_dir: get_option('libdir')) | ||
27 | libgnunetrevocation_dep = declare_dependency(link_with : libgnunetrevocation) | ||
28 | pkg.generate(libgnunetrevocation, url: 'https://www.gnunet.org', | ||
29 | description : 'Provides API to perform key revocation in GNUnet') | ||
30 | |||
31 | shared_module('gnunet_plugin_block_revocation', | ||
32 | ['plugin_block_revocation.c'], | ||
33 | dependencies: [libgnunetutil_dep, | ||
34 | libgnunetidentity_dep, | ||
35 | libgnunetrevocation_dep, | ||
36 | libgnunetblock_dep], | ||
37 | include_directories: [incdir, configuration_inc], | ||
38 | install: true, | ||
39 | install_dir: get_option('libdir')/'gnunet') | ||
40 | |||
41 | executable ('gnunet-revocation', | ||
42 | ['gnunet-revocation.c'], | ||
43 | dependencies: [libgnunetrevocation_dep, | ||
44 | libgnunetutil_dep, | ||
45 | libgnunetstatistics_dep, | ||
46 | libgnunetcore_dep, | ||
47 | libgnunetsetu_dep, | ||
48 | libgnunetidentity_dep], | ||
49 | include_directories: [incdir, configuration_inc], | ||
50 | install: true, | ||
51 | install_dir: get_option('bindir')) | ||
52 | executable ('gnunet-service-revocation', | ||
53 | gnunetservicerevocation_src, | ||
54 | dependencies: [libgnunetrevocation_dep, | ||
55 | libgnunetutil_dep, | ||
56 | libgnunetstatistics_dep, | ||
57 | libgnunetcore_dep, | ||
58 | libgnunetsetu_dep, | ||
59 | libgnunetidentity_dep], | ||
60 | include_directories: [incdir, configuration_inc], | ||
61 | install: true, | ||
62 | install_dir: get_option('libdir')/'gnunet'/'libexec') | ||
63 | |||