diff options
Diffstat (limited to 'src/service/reclaim/meson.build')
-rw-r--r-- | src/service/reclaim/meson.build | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/src/service/reclaim/meson.build b/src/service/reclaim/meson.build new file mode 100644 index 000000000..17f83f204 --- /dev/null +++ b/src/service/reclaim/meson.build | |||
@@ -0,0 +1,65 @@ | |||
1 | libgnunetreclaim_src = ['reclaim_api.c', | ||
2 | 'reclaim_attribute.c', | ||
3 | 'reclaim_credential.c'] | ||
4 | libgnunetdid_src = ['did_helper.c', | ||
5 | 'did_core.c'] | ||
6 | |||
7 | gnunetservicereclaim_src = ['gnunet-service-reclaim.c', | ||
8 | 'gnunet-service-reclaim_tickets.c'] | ||
9 | |||
10 | configure_file(input : 'reclaim.conf', | ||
11 | output : 'reclaim.conf', | ||
12 | configuration : cdata, | ||
13 | install: true, | ||
14 | install_dir: pkgcfgdir) | ||
15 | |||
16 | |||
17 | if get_option('monolith') | ||
18 | foreach p : libgnunetreclaim_src + gnunetservicereclaim_src | ||
19 | gnunet_src += 'reclaim/' + p | ||
20 | endforeach | ||
21 | endif | ||
22 | |||
23 | libgnunetreclaim = library('gnunetreclaim', | ||
24 | libgnunetreclaim_src, | ||
25 | soversion: '0', | ||
26 | version: '0.0.0', | ||
27 | dependencies: [libgnunetutil_dep, | ||
28 | libgnunetidentity_dep], | ||
29 | include_directories: [incdir, configuration_inc], | ||
30 | install: true, | ||
31 | install_dir: get_option('libdir')) | ||
32 | libgnunetreclaim_dep = declare_dependency(link_with : libgnunetreclaim) | ||
33 | pkg.generate(libgnunetreclaim, url: 'https://www.gnunet.org', | ||
34 | description : 'Provides API to access reclaimID') | ||
35 | |||
36 | libgnunetdid = library('gnunetdid', | ||
37 | libgnunetdid_src, | ||
38 | soversion: '0', | ||
39 | version: '0.0.0', | ||
40 | dependencies: [libgnunetutil_dep, | ||
41 | libgnunetnamestore_dep, | ||
42 | libgnunetgnsrecord_dep, | ||
43 | libgnunetgns_dep, | ||
44 | json_dep, | ||
45 | libgnunetidentity_dep], | ||
46 | include_directories: [incdir, configuration_inc], | ||
47 | install: true, | ||
48 | install_dir: get_option('libdir')) | ||
49 | libgnunetdid_dep = declare_dependency(link_with : libgnunetdid) | ||
50 | pkg.generate(libgnunetdid, url: 'https://www.gnunet.org', | ||
51 | description : 'Provides API to manipulate DID') | ||
52 | |||
53 | executable ('gnunet-service-reclaim', | ||
54 | gnunetservicereclaim_src, | ||
55 | dependencies: [libgnunetreclaim_dep, | ||
56 | libgnunetutil_dep, | ||
57 | libgnunetstatistics_dep, | ||
58 | libgnunetgnsrecord_dep, | ||
59 | libgnunetgns_dep, | ||
60 | libgnunetidentity_dep, | ||
61 | libgnunetnamestore_dep], | ||
62 | include_directories: [incdir, configuration_inc], | ||
63 | install: true, | ||
64 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
65 | |||