diff options
-rw-r--r-- | src/datacache/meson.build | 7 | ||||
-rw-r--r-- | src/datastore/meson.build | 7 | ||||
-rw-r--r-- | src/gnsrecord/meson.build | 6 | ||||
-rw-r--r-- | src/messenger/meson.build | 7 | ||||
-rw-r--r-- | src/peerstore/meson.build | 10 | ||||
-rw-r--r-- | src/reclaim/meson.build | 31 | ||||
-rw-r--r-- | src/transport/meson.build | 121 | ||||
-rw-r--r-- | src/util/meson.build | 7 |
8 files changed, 194 insertions, 2 deletions
diff --git a/src/datacache/meson.build b/src/datacache/meson.build index e753ca6eb..ae57161cd 100644 --- a/src/datacache/meson.build +++ b/src/datacache/meson.build | |||
@@ -36,6 +36,13 @@ shared_module('gnunet_plugin_datacache_sqlite', | |||
36 | include_directories: [incdir, configuration_inc], | 36 | include_directories: [incdir, configuration_inc], |
37 | install: true, | 37 | install: true, |
38 | install_dir: get_option('libdir')/'gnunet') | 38 | install_dir: get_option('libdir')/'gnunet') |
39 | shared_module('gnunet_plugin_datacache_heap', | ||
40 | ['plugin_datacache_heap.c'], | ||
41 | dependencies: [libgnunetutil_dep, | ||
42 | libgnunetdatacache_dep], | ||
43 | include_directories: [incdir, configuration_inc], | ||
44 | install: true, | ||
45 | install_dir: get_option('libdir')/'gnunet') | ||
39 | 46 | ||
40 | 47 | ||
41 | if pq_dep.found() | 48 | if pq_dep.found() |
diff --git a/src/datastore/meson.build b/src/datastore/meson.build index 0b20a446c..2f412e183 100644 --- a/src/datastore/meson.build +++ b/src/datastore/meson.build | |||
@@ -40,6 +40,13 @@ shared_module('gnunet_plugin_datastore_sqlite', | |||
40 | include_directories: [incdir, configuration_inc], | 40 | include_directories: [incdir, configuration_inc], |
41 | install: true, | 41 | install: true, |
42 | install_dir: get_option('libdir')/'gnunet') | 42 | install_dir: get_option('libdir')/'gnunet') |
43 | shared_module('gnunet_plugin_datastore_heap', | ||
44 | ['plugin_datastore_heap.c'], | ||
45 | dependencies: [libgnunetutil_dep, | ||
46 | libgnunetdatacache_dep], | ||
47 | include_directories: [incdir, configuration_inc], | ||
48 | install: true, | ||
49 | install_dir: get_option('libdir')/'gnunet') | ||
43 | 50 | ||
44 | if pq_dep.found() | 51 | if pq_dep.found() |
45 | shared_module('gnunet_plugin_datastore_postgres', | 52 | shared_module('gnunet_plugin_datastore_postgres', |
diff --git a/src/gnsrecord/meson.build b/src/gnsrecord/meson.build index 36a127bc1..11b355796 100644 --- a/src/gnsrecord/meson.build +++ b/src/gnsrecord/meson.build | |||
@@ -37,3 +37,9 @@ libgnunetgnsrecordjson = library('gnunetgnsrecordjson', | |||
37 | install_dir: get_option('libdir')) | 37 | install_dir: get_option('libdir')) |
38 | libgnunetgnsrecordjson_dep = declare_dependency(link_with : libgnunetgnsrecordjson) | 38 | libgnunetgnsrecordjson_dep = declare_dependency(link_with : libgnunetgnsrecordjson) |
39 | 39 | ||
40 | shared_module('gnunet_plugin_gnsrecord_dns', | ||
41 | ['plugin_gnsrecord_dns.c'], | ||
42 | dependencies: [libgnunetutil_dep, libgnunetgnsrecord_dep], | ||
43 | include_directories: [incdir, configuration_inc], | ||
44 | install: true, | ||
45 | install_dir: get_option('libdir')/'gnunet') | ||
diff --git a/src/messenger/meson.build b/src/messenger/meson.build index 2a25a7531..c855b45e4 100644 --- a/src/messenger/meson.build +++ b/src/messenger/meson.build | |||
@@ -56,6 +56,13 @@ libgnunetmessenger_dep = declare_dependency(link_with : libgnunetmessenger) | |||
56 | pkg.generate(libgnunetmessenger, url: 'https://www.gnunet.org', | 56 | pkg.generate(libgnunetmessenger, url: 'https://www.gnunet.org', |
57 | description : 'Provides API to access the GNUnet Messenger subsystem') | 57 | description : 'Provides API to access the GNUnet Messenger subsystem') |
58 | 58 | ||
59 | shared_module('gnunet_plugin_gnsrecord_messenger', | ||
60 | ['plugin_gnsrecord_messenger.c'], | ||
61 | dependencies: [libgnunetutil_dep, libgnunetgnsrecord_dep, | ||
62 | libgnunetmessenger_dep], | ||
63 | include_directories: [incdir, configuration_inc], | ||
64 | install: true, | ||
65 | install_dir: get_option('libdir')/'gnunet') | ||
59 | 66 | ||
60 | executable ('gnunet-messenger', | 67 | executable ('gnunet-messenger', |
61 | 'gnunet-messenger.c', | 68 | 'gnunet-messenger.c', |
diff --git a/src/peerstore/meson.build b/src/peerstore/meson.build index 952e70ad3..7fcbf284b 100644 --- a/src/peerstore/meson.build +++ b/src/peerstore/meson.build | |||
@@ -29,6 +29,16 @@ pkg.generate(libgnunetpeerstore, url: 'https://www.gnunet.org', | |||
29 | description : 'Provides API for accessing the peerstore service') | 29 | description : 'Provides API for accessing the peerstore service') |
30 | libgnunetpeerstore_dep = declare_dependency(link_with : libgnunetpeerstore) | 30 | libgnunetpeerstore_dep = declare_dependency(link_with : libgnunetpeerstore) |
31 | 31 | ||
32 | shared_module('gnunet_plugin_peerstore_sqlite', | ||
33 | ['plugin_peerstore_sqlite.c'], | ||
34 | dependencies: [libgnunetutil_dep, | ||
35 | libgnunetpeerstore_dep, | ||
36 | libgnunetsq_dep, | ||
37 | sqlite_dep], | ||
38 | include_directories: [incdir, configuration_inc], | ||
39 | install: true, | ||
40 | install_dir: get_option('libdir')/'gnunet') | ||
41 | |||
32 | executable ('gnunet-service-peerstore', | 42 | executable ('gnunet-service-peerstore', |
33 | gnunetservicepeerstore_src, | 43 | gnunetservicepeerstore_src, |
34 | dependencies: [libgnunetpeerstore_dep, libgnunetutil_dep], | 44 | dependencies: [libgnunetpeerstore_dep, libgnunetutil_dep], |
diff --git a/src/reclaim/meson.build b/src/reclaim/meson.build index 8afd5c525..b1fdcd6fe 100644 --- a/src/reclaim/meson.build +++ b/src/reclaim/meson.build | |||
@@ -34,6 +34,13 @@ libgnunetreclaim_dep = declare_dependency(link_with : libgnunetreclaim) | |||
34 | pkg.generate(libgnunetreclaim, url: 'https://www.gnunet.org', | 34 | pkg.generate(libgnunetreclaim, url: 'https://www.gnunet.org', |
35 | description : 'Provides API to access reclaimID') | 35 | description : 'Provides API to access reclaimID') |
36 | 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 | |||
37 | libgnunetdid = library('gnunetdid', | 44 | libgnunetdid = library('gnunetdid', |
38 | libgnunetdid_src, | 45 | libgnunetdid_src, |
39 | soversion: '0', | 46 | soversion: '0', |
@@ -62,7 +69,29 @@ shared_module('gnunet_plugin_rest_reclaim', | |||
62 | mhd_dep], | 69 | mhd_dep], |
63 | include_directories: [incdir, configuration_inc], | 70 | include_directories: [incdir, configuration_inc], |
64 | install: true, | 71 | install: true, |
65 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | 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') | ||
66 | 95 | ||
67 | 96 | ||
68 | shared_module('gnunet_plugin_rest_openid_connect', | 97 | shared_module('gnunet_plugin_rest_openid_connect', |
diff --git a/src/transport/meson.build b/src/transport/meson.build index a57dc968a..3c5f980c9 100644 --- a/src/transport/meson.build +++ b/src/transport/meson.build | |||
@@ -28,6 +28,12 @@ configure_file(input : 'gnunet-transport-certificate-creation', | |||
28 | install: true, | 28 | install: true, |
29 | install_dir: get_option('bindir')) | 29 | install_dir: get_option('bindir')) |
30 | 30 | ||
31 | configure_file(input : 'communicator-unix.conf', | ||
32 | output : 'communicator-unix.conf', | ||
33 | configuration : cdata, | ||
34 | install: true, | ||
35 | install_dir: get_option('bindir')) | ||
36 | |||
31 | if get_option('monolith') | 37 | if get_option('monolith') |
32 | foreach p : libgnunettransport_src #+ libgnunettransportapplication_src + libgnunettransportcore_src + libgnunettransportcommunicator_src + libgnunettransportmonitor_src + gnunetservicetransport_src | 38 | foreach p : libgnunettransport_src #+ libgnunettransportapplication_src + libgnunettransportcore_src + libgnunettransportcommunicator_src + libgnunettransportmonitor_src + gnunetservicetransport_src |
33 | gnunet_src += 'transport/' + p | 39 | gnunet_src += 'transport/' + p |
@@ -142,7 +148,7 @@ libgnunettransporttesting2 = library('gnunettransporttesting2', | |||
142 | include_directories: [incdir, configuration_inc], | 148 | include_directories: [incdir, configuration_inc], |
143 | install: true, | 149 | install: true, |
144 | install_dir: get_option('libdir')) | 150 | install_dir: get_option('libdir')) |
145 | 151 | libgnunettransporttesting2_dep = declare_dependency(link_with : libgnunettransporttesting2) | |
146 | 152 | ||
147 | executable ('gnunet-service-transport', | 153 | executable ('gnunet-service-transport', |
148 | gnunetservicetransport_src, | 154 | gnunetservicetransport_src, |
@@ -205,3 +211,116 @@ executable ('gnunet-transport', | |||
205 | install: true, | 211 | install: true, |
206 | install_dir: get_option('bindir')) | 212 | install_dir: get_option('bindir')) |
207 | 213 | ||
214 | libgnunettesttransport_cmd_simplesend = library('gnunet_test_transport_plugin_cmd_simple_send', | ||
215 | ['test_transport_plugin_cmd_simple_send.c'], | ||
216 | dependencies: [ | ||
217 | libgnunetutil_dep, | ||
218 | libgnunettransporttesting2_dep, | ||
219 | libgnunettransportapplication_dep, | ||
220 | libgnunettransportcore_dep, | ||
221 | libgnunettesting_dep, | ||
222 | libgnunetpeerstore_dep, | ||
223 | libgnunetstatistics_dep, | ||
224 | libgnunethello_dep, | ||
225 | libgnunetats_dep, | ||
226 | libgnunetarm_dep, | ||
227 | libgnunetutil_dep | ||
228 | ], | ||
229 | include_directories: [incdir, configuration_inc], | ||
230 | install: true, | ||
231 | install_dir: get_option('libdir')/'gnunet') | ||
232 | |||
233 | libgnunettesttransport_cmd_simplesendbc = library('gnunet_test_transport_plugin_cmd_simple_send_broadcast', | ||
234 | ['test_transport_plugin_cmd_simple_send_broadcast.c'], | ||
235 | dependencies: [ | ||
236 | libgnunetutil_dep, | ||
237 | libgnunettransporttesting2_dep, | ||
238 | libgnunettransportapplication_dep, | ||
239 | libgnunettransportcore_dep, | ||
240 | libgnunettesting_dep, | ||
241 | libgnunetpeerstore_dep, | ||
242 | libgnunetstatistics_dep, | ||
243 | libgnunethello_dep, | ||
244 | libgnunetats_dep, | ||
245 | libgnunetarm_dep, | ||
246 | libgnunetutil_dep | ||
247 | ], | ||
248 | include_directories: [incdir, configuration_inc], | ||
249 | install: true, | ||
250 | install_dir: get_option('libdir')/'gnunet') | ||
251 | |||
252 | libgnunettesttransport_cmd_simplesenddv = library('gnunet_test_transport_plugin_cmd_simple_send_dv', | ||
253 | ['test_transport_plugin_cmd_simple_send_dv.c'], | ||
254 | dependencies: [ | ||
255 | libgnunetutil_dep, | ||
256 | libgnunettransporttesting2_dep, | ||
257 | libgnunettransportapplication_dep, | ||
258 | libgnunettransportcore_dep, | ||
259 | libgnunettesting_dep, | ||
260 | libgnunetpeerstore_dep, | ||
261 | libgnunetstatistics_dep, | ||
262 | libgnunethello_dep, | ||
263 | libgnunetats_dep, | ||
264 | libgnunetarm_dep, | ||
265 | libgnunetutil_dep | ||
266 | ], | ||
267 | include_directories: [incdir, configuration_inc], | ||
268 | install: true, | ||
269 | install_dir: get_option('libdir')/'gnunet') | ||
270 | |||
271 | libgnunettesttransport_cmd_simplesendperf = library('gnunet_test_transport_plugin_cmd_simple_send_performance', | ||
272 | ['test_transport_plugin_cmd_simple_send_performance.c'], | ||
273 | dependencies: [ | ||
274 | libgnunetutil_dep, | ||
275 | libgnunettransporttesting2_dep, | ||
276 | libgnunettransportapplication_dep, | ||
277 | libgnunettransportcore_dep, | ||
278 | libgnunettesting_dep, | ||
279 | libgnunetpeerstore_dep, | ||
280 | libgnunetstatistics_dep, | ||
281 | libgnunethello_dep, | ||
282 | libgnunetats_dep, | ||
283 | libgnunetarm_dep, | ||
284 | libgnunetutil_dep | ||
285 | ], | ||
286 | include_directories: [incdir, configuration_inc], | ||
287 | install: true, | ||
288 | install_dir: get_option('libdir')/'gnunet') | ||
289 | |||
290 | libgnunettesttransport_cmd_udpback = library('gnunet_test_transport_plugin_cmd_udp_backchannel', | ||
291 | ['test_transport_plugin_cmd_udp_backchannel.c'], | ||
292 | dependencies: [ | ||
293 | libgnunetutil_dep, | ||
294 | libgnunettransporttesting2_dep, | ||
295 | libgnunettransportapplication_dep, | ||
296 | libgnunettransportcore_dep, | ||
297 | libgnunettesting_dep, | ||
298 | libgnunetpeerstore_dep, | ||
299 | libgnunetstatistics_dep, | ||
300 | libgnunethello_dep, | ||
301 | libgnunetats_dep, | ||
302 | libgnunetarm_dep, | ||
303 | libgnunetutil_dep | ||
304 | ], | ||
305 | include_directories: [incdir, configuration_inc], | ||
306 | install: true, | ||
307 | install_dir: get_option('libdir')/'gnunet') | ||
308 | |||
309 | libgnunettesttransport_cmd_natupnp = library('gnunet_test_transport_plugin_cmd_nat_upnp', | ||
310 | ['test_transport_plugin_cmd_nat_upnp.c'], | ||
311 | dependencies: [ | ||
312 | libgnunetutil_dep, | ||
313 | libgnunettransporttesting2_dep, | ||
314 | libgnunettransportapplication_dep, | ||
315 | libgnunettransportcore_dep, | ||
316 | libgnunettesting_dep, | ||
317 | libgnunetpeerstore_dep, | ||
318 | libgnunetstatistics_dep, | ||
319 | libgnunethello_dep, | ||
320 | libgnunetats_dep, | ||
321 | libgnunetarm_dep, | ||
322 | libgnunetutil_dep | ||
323 | ], | ||
324 | include_directories: [incdir, configuration_inc], | ||
325 | install: true, | ||
326 | install_dir: get_option('libdir')/'gnunet') | ||
diff --git a/src/util/meson.build b/src/util/meson.build index aa9fd8e3a..7bf7867eb 100644 --- a/src/util/meson.build +++ b/src/util/meson.build | |||
@@ -102,6 +102,13 @@ libgnunetutil_dep = declare_dependency(link_with : libgnunetutil) | |||
102 | pkg.generate(libgnunetutil, url: 'https://www.gnunet.org', | 102 | pkg.generate(libgnunetutil, url: 'https://www.gnunet.org', |
103 | description : 'Provides miscellaneous utility functions and API for GNUnet') | 103 | description : 'Provides miscellaneous utility functions and API for GNUnet') |
104 | 104 | ||
105 | shared_module('gnunet_plugin_utiltest', | ||
106 | ['test_plugin_plug.c'], | ||
107 | dependencies: [libgnunetutil_dep], | ||
108 | include_directories: [incdir, configuration_inc], | ||
109 | install: true, | ||
110 | install_dir: get_option('libdir')/'gnunet') | ||
111 | |||
105 | executable ('gnunet-base32', | 112 | executable ('gnunet-base32', |
106 | ['gnunet-base32.c'], | 113 | ['gnunet-base32.c'], |
107 | dependencies: [libgnunetutil_dep, libgnunetutil_dep], | 114 | dependencies: [libgnunetutil_dep, libgnunetutil_dep], |