diff options
Diffstat (limited to 'src/reclaim/meson.build')
-rw-r--r-- | src/reclaim/meson.build | 144 |
1 files changed, 0 insertions, 144 deletions
diff --git a/src/reclaim/meson.build b/src/reclaim/meson.build deleted file mode 100644 index fafc68a92..000000000 --- a/src/reclaim/meson.build +++ /dev/null | |||
@@ -1,144 +0,0 @@ | |||
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 | subdir_done() | ||
22 | endif | ||
23 | |||
24 | libgnunetreclaim = library('gnunetreclaim', | ||
25 | libgnunetreclaim_src, | ||
26 | soversion: '0', | ||
27 | version: '0.0.0', | ||
28 | dependencies: [libgnunetutil_dep, | ||
29 | libgnunetidentity_dep], | ||
30 | include_directories: [incdir, configuration_inc], | ||
31 | install: true, | ||
32 | install_dir: get_option('libdir')) | ||
33 | libgnunetreclaim_dep = declare_dependency(link_with : libgnunetreclaim) | ||
34 | pkg.generate(libgnunetreclaim, url: 'https://www.gnunet.org', | ||
35 | description : 'Provides API to access reclaimID') | ||
36 | |||
37 | shared_module('gnunet_plugin_gnsrecord_reclaim', | ||
38 | ['plugin_gnsrecord_reclaim.c'], | ||
39 | dependencies: [libgnunetutil_dep, libgnunetgnsrecord_dep], | ||
40 | include_directories: [incdir, configuration_inc], | ||
41 | install: true, | ||
42 | install_dir: get_option('libdir')/'gnunet') | ||
43 | |||
44 | libgnunetdid = library('gnunetdid', | ||
45 | libgnunetdid_src, | ||
46 | soversion: '0', | ||
47 | version: '0.0.0', | ||
48 | dependencies: [libgnunetutil_dep, | ||
49 | libgnunetnamestore_dep, | ||
50 | libgnunetgnsrecord_dep, | ||
51 | libgnunetgns_dep, | ||
52 | json_dep, | ||
53 | libgnunetidentity_dep], | ||
54 | include_directories: [incdir, configuration_inc], | ||
55 | install: true, | ||
56 | install_dir: get_option('libdir')) | ||
57 | libgnunetdid_dep = declare_dependency(link_with : libgnunetdid) | ||
58 | pkg.generate(libgnunetdid, url: 'https://www.gnunet.org', | ||
59 | description : 'Provides API to manipulate DID') | ||
60 | |||
61 | shared_module('gnunet_plugin_rest_reclaim', | ||
62 | ['plugin_rest_reclaim.c', 'json_reclaim.c'], | ||
63 | dependencies: [libgnunetrest_dep, | ||
64 | libgnunetidentity_dep, | ||
65 | libgnunetreclaim_dep, | ||
66 | libgnunetjson_dep, | ||
67 | libgnunetutil_dep, | ||
68 | json_dep, | ||
69 | mhd_dep], | ||
70 | include_directories: [incdir, configuration_inc], | ||
71 | install: true, | ||
72 | install_dir: get_option('libdir') / 'gnunet') | ||
73 | shared_module('gnunet_plugin_reclaim_attribute_basic', | ||
74 | ['plugin_reclaim_attribute_basic.c'], | ||
75 | dependencies: [libgnunetrest_dep, | ||
76 | libgnunetidentity_dep, | ||
77 | libgnunetreclaim_dep, | ||
78 | libgnunetjson_dep, | ||
79 | libgnunetutil_dep, | ||
80 | json_dep], | ||
81 | include_directories: [incdir, configuration_inc], | ||
82 | install: true, | ||
83 | install_dir: get_option('libdir') / 'gnunet') | ||
84 | shared_module('gnunet_plugin_reclaim_credential_jwt', | ||
85 | ['plugin_reclaim_credential_jwt.c'], | ||
86 | dependencies: [libgnunetrest_dep, | ||
87 | libgnunetidentity_dep, | ||
88 | libgnunetreclaim_dep, | ||
89 | libgnunetjson_dep, | ||
90 | libgnunetutil_dep, | ||
91 | json_dep], | ||
92 | include_directories: [incdir, configuration_inc], | ||
93 | install: true, | ||
94 | install_dir: get_option('libdir') / 'gnunet') | ||
95 | |||
96 | |||
97 | shared_module('gnunet_plugin_rest_openid_connect', | ||
98 | ['plugin_rest_openid_connect.c', 'oidc_helper.c'], | ||
99 | dependencies: [libgnunetrest_dep, | ||
100 | libgnunetreclaim_dep, | ||
101 | libgnunetidentity_dep, | ||
102 | libgnunetgns_dep, | ||
103 | libgnunetutil_dep, | ||
104 | jose_dep, | ||
105 | gcrypt_dep, | ||
106 | json_dep, | ||
107 | mhd_dep], | ||
108 | include_directories: [incdir, configuration_inc], | ||
109 | install: true, | ||
110 | install_dir: get_option('libdir') / 'gnunet') | ||
111 | |||
112 | |||
113 | executable ('gnunet-reclaim', | ||
114 | 'gnunet-reclaim.c', | ||
115 | dependencies: [libgnunetreclaim_dep, | ||
116 | libgnunetidentity_dep, | ||
117 | libgnunetutil_dep], | ||
118 | include_directories: [incdir, configuration_inc], | ||
119 | install: true, | ||
120 | install_dir: get_option('bindir')) | ||
121 | executable ('gnunet-did', | ||
122 | 'gnunet-did.c', | ||
123 | dependencies: [libgnunetreclaim_dep, | ||
124 | libgnunetdid_dep, | ||
125 | libgnunetgns_dep, | ||
126 | libgnunetnamestore_dep, | ||
127 | libgnunetidentity_dep, | ||
128 | libgnunetutil_dep], | ||
129 | include_directories: [incdir, configuration_inc], | ||
130 | install: true, | ||
131 | install_dir: get_option('bindir')) | ||
132 | executable ('gnunet-service-reclaim', | ||
133 | gnunetservicereclaim_src, | ||
134 | dependencies: [libgnunetreclaim_dep, | ||
135 | libgnunetutil_dep, | ||
136 | libgnunetstatistics_dep, | ||
137 | libgnunetgnsrecord_dep, | ||
138 | libgnunetgns_dep, | ||
139 | libgnunetidentity_dep, | ||
140 | libgnunetnamestore_dep], | ||
141 | include_directories: [incdir, configuration_inc], | ||
142 | install: true, | ||
143 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
144 | |||