diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-28 14:23:13 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-28 14:23:13 +0200 |
commit | d43a6c820edcf173fe4822bdf15a3ecb6ca32cf6 (patch) | |
tree | 6a327cfc4c95ff6ab7de88f943c0221030bcfe10 /src | |
parent | 2a7fbf3dd32a57fd6a8fc4516c75cbc984bfb5f2 (diff) | |
download | gnunet-d43a6c820edcf173fe4822bdf15a3ecb6ca32cf6.tar.gz gnunet-d43a6c820edcf173fe4822bdf15a3ecb6ca32cf6.zip |
BUILD: Meson add more file targets
Diffstat (limited to 'src')
-rw-r--r-- | src/gns/meson.build | 12 | ||||
-rw-r--r-- | src/gnsrecord/meson.build | 2 | ||||
-rw-r--r-- | src/identity/meson.build | 11 | ||||
-rw-r--r-- | src/namestore/meson.build | 16 | ||||
-rw-r--r-- | src/peerinfo-tool/meson.build | 14 | ||||
-rw-r--r-- | src/reclaim/meson.build | 30 | ||||
-rw-r--r-- | src/rest/meson.build | 20 |
7 files changed, 104 insertions, 1 deletions
diff --git a/src/gns/meson.build b/src/gns/meson.build index d9f1b5e9d..b55a9d883 100644 --- a/src/gns/meson.build +++ b/src/gns/meson.build | |||
@@ -63,6 +63,18 @@ shared_module('gnunet_plugin_block_gns', | |||
63 | include_directories: [incdir, configuration_inc], | 63 | include_directories: [incdir, configuration_inc], |
64 | install:true, | 64 | install:true, |
65 | install_dir: get_option('libdir')/'gnunet') | 65 | install_dir: get_option('libdir')/'gnunet') |
66 | shared_module('gnunet_plugin_rest_gns', | ||
67 | ['plugin_rest_gns.c'], | ||
68 | dependencies: [libgnunetrest_dep, | ||
69 | libgnunetgnsrecord_dep, | ||
70 | libgnunetgnsrecordjson_dep, | ||
71 | libgnunetgns_dep, | ||
72 | libgnunetutil_dep, | ||
73 | json_dep, | ||
74 | mhd_dep], | ||
75 | include_directories: [incdir, configuration_inc], | ||
76 | install: true, | ||
77 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
66 | 78 | ||
67 | 79 | ||
68 | executable ('gnunet-gns', | 80 | executable ('gnunet-gns', |
diff --git a/src/gnsrecord/meson.build b/src/gnsrecord/meson.build index 72ff6e47e..36a127bc1 100644 --- a/src/gnsrecord/meson.build +++ b/src/gnsrecord/meson.build | |||
@@ -35,5 +35,5 @@ libgnunetgnsrecordjson = library('gnunetgnsrecordjson', | |||
35 | include_directories: [incdir, configuration_inc], | 35 | include_directories: [incdir, configuration_inc], |
36 | install: true, | 36 | install: true, |
37 | install_dir: get_option('libdir')) | 37 | install_dir: get_option('libdir')) |
38 | libgnunetgnsrecordjson_dep = declare_dependency(link_with : libgnunetgnsrecord) | 38 | libgnunetgnsrecordjson_dep = declare_dependency(link_with : libgnunetgnsrecordjson) |
39 | 39 | ||
diff --git a/src/identity/meson.build b/src/identity/meson.build index 4ca6091bb..4d2af220c 100644 --- a/src/identity/meson.build +++ b/src/identity/meson.build | |||
@@ -28,6 +28,17 @@ libgnunetidentity = library('gnunetidentity', | |||
28 | libgnunetidentity_dep = declare_dependency(link_with : libgnunetidentity) | 28 | libgnunetidentity_dep = declare_dependency(link_with : libgnunetidentity) |
29 | pkg.generate(libgnunetidentity, url: 'https://www.gnunet.org', | 29 | pkg.generate(libgnunetidentity, url: 'https://www.gnunet.org', |
30 | description : 'API to access and organize private keys of the user egos') | 30 | description : 'API to access and organize private keys of the user egos') |
31 | shared_module('gnunet_plugin_rest_identity', | ||
32 | ['plugin_rest_identity.c'], | ||
33 | dependencies: [libgnunetrest_dep, | ||
34 | libgnunetidentity_dep, | ||
35 | libgnunetutil_dep, | ||
36 | json_dep, | ||
37 | mhd_dep], | ||
38 | include_directories: [incdir, configuration_inc], | ||
39 | install: true, | ||
40 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
41 | |||
31 | 42 | ||
32 | executable ('gnunet-identity', | 43 | executable ('gnunet-identity', |
33 | ['gnunet-identity.c'], | 44 | ['gnunet-identity.c'], |
diff --git a/src/namestore/meson.build b/src/namestore/meson.build index 133c98d6c..ea44779cd 100644 --- a/src/namestore/meson.build +++ b/src/namestore/meson.build | |||
@@ -32,6 +32,22 @@ libgnunetnamestore_dep = declare_dependency(link_with : libgnunetnamestore) | |||
32 | pkg.generate(libgnunetnamestore, url: 'https://www.gnunet.org', | 32 | pkg.generate(libgnunetnamestore, url: 'https://www.gnunet.org', |
33 | description : 'Provides API for storing GNS records to a database') | 33 | description : 'Provides API for storing GNS records to a database') |
34 | 34 | ||
35 | shared_module('gnunet_plugin_rest_namestore', | ||
36 | ['plugin_rest_namestore.c'], | ||
37 | dependencies: [libgnunetrest_dep, | ||
38 | libgnunetidentity_dep, | ||
39 | libgnunetgnsrecordjson_dep, | ||
40 | libgnunetgnsrecord_dep, | ||
41 | libgnunetnamestore_dep, | ||
42 | libgnunetjson_dep, | ||
43 | libgnunetutil_dep, | ||
44 | json_dep, | ||
45 | mhd_dep], | ||
46 | include_directories: [incdir, configuration_inc], | ||
47 | install: true, | ||
48 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
49 | |||
50 | |||
35 | shared_module('gnunet_plugin_namestore_sqlite', | 51 | shared_module('gnunet_plugin_namestore_sqlite', |
36 | libgnunetpluginnamestore_sqlite_src, | 52 | libgnunetpluginnamestore_sqlite_src, |
37 | dependencies: [libgnunetutil_dep, | 53 | dependencies: [libgnunetutil_dep, |
diff --git a/src/peerinfo-tool/meson.build b/src/peerinfo-tool/meson.build index f44121c29..7e63cd2ad 100644 --- a/src/peerinfo-tool/meson.build +++ b/src/peerinfo-tool/meson.build | |||
@@ -5,6 +5,20 @@ if get_option('monolith') | |||
5 | subdir_done() | 5 | subdir_done() |
6 | endif | 6 | endif |
7 | 7 | ||
8 | shared_module('gnunet_plugin_rest_peerinfo', | ||
9 | ['plugin_rest_peerinfo.c'], | ||
10 | dependencies: [libgnunetrest_dep, | ||
11 | libgnunetpeerinfo_dep, | ||
12 | libgnunettransport_dep, | ||
13 | libgnunethello_dep, | ||
14 | libgnunetutil_dep, | ||
15 | json_dep, | ||
16 | mhd_dep], | ||
17 | include_directories: [incdir, configuration_inc], | ||
18 | install: true, | ||
19 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
20 | |||
21 | |||
8 | executable ('gnunet-peerinfo', | 22 | executable ('gnunet-peerinfo', |
9 | gnunetpeerinfotool_src, | 23 | gnunetpeerinfotool_src, |
10 | dependencies: [libgnunetutil_dep, | 24 | dependencies: [libgnunetutil_dep, |
diff --git a/src/reclaim/meson.build b/src/reclaim/meson.build index 4ccda79c2..02ea2ed7d 100644 --- a/src/reclaim/meson.build +++ b/src/reclaim/meson.build | |||
@@ -51,6 +51,36 @@ libgnunetdid_dep = declare_dependency(link_with : libgnunetdid) | |||
51 | pkg.generate(libgnunetdid, url: 'https://www.gnunet.org', | 51 | pkg.generate(libgnunetdid, url: 'https://www.gnunet.org', |
52 | description : 'Provides API to manipulate DID') | 52 | description : 'Provides API to manipulate DID') |
53 | 53 | ||
54 | shared_module('gnunet_plugin_rest_reclaim', | ||
55 | ['plugin_rest_reclaim.c'], | ||
56 | dependencies: [libgnunetrest_dep, | ||
57 | libgnunetidentity_dep, | ||
58 | libgnunetreclaim_dep, | ||
59 | libgnunetjson_dep, | ||
60 | libgnunetutil_dep, | ||
61 | json_dep, | ||
62 | mhd_dep], | ||
63 | include_directories: [incdir, configuration_inc], | ||
64 | install: true, | ||
65 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
66 | |||
67 | |||
68 | shared_module('gnunet_plugin_rest_openid_connect', | ||
69 | ['plugin_rest_openid_connect.c', 'oidc_helper.c'], | ||
70 | dependencies: [libgnunetrest_dep, | ||
71 | libgnunetreclaim_dep, | ||
72 | libgnunetidentity_dep, | ||
73 | libgnunetgns_dep, | ||
74 | libgnunetutil_dep, | ||
75 | jose_dep, | ||
76 | gcrypt_dep, | ||
77 | json_dep, | ||
78 | mhd_dep], | ||
79 | include_directories: [incdir, configuration_inc], | ||
80 | install: true, | ||
81 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
82 | |||
83 | |||
54 | executable ('gnunet-reclaim', | 84 | executable ('gnunet-reclaim', |
55 | 'gnunet-reclaim.c', | 85 | 'gnunet-reclaim.c', |
56 | dependencies: [libgnunetreclaim_dep, | 86 | dependencies: [libgnunetreclaim_dep, |
diff --git a/src/rest/meson.build b/src/rest/meson.build index e9c9235cb..beb2ee2c3 100644 --- a/src/rest/meson.build +++ b/src/rest/meson.build | |||
@@ -29,6 +29,26 @@ pkg.generate(libgnunetrest, url: 'https://www.gnunet.org', | |||
29 | description : 'Provides API for accessing the REST service') | 29 | description : 'Provides API for accessing the REST service') |
30 | libgnunetrest_dep = declare_dependency(link_with : libgnunetrest) | 30 | libgnunetrest_dep = declare_dependency(link_with : libgnunetrest) |
31 | 31 | ||
32 | shared_module('gnunet_plugin_rest_config', | ||
33 | ['plugin_rest_config.c'], | ||
34 | dependencies: [libgnunetrest_dep, | ||
35 | libgnunetutil_dep, | ||
36 | json_dep, | ||
37 | mhd_dep], | ||
38 | include_directories: [incdir, configuration_inc], | ||
39 | install: true, | ||
40 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
41 | shared_module('gnunet_plugin_rest_copying', | ||
42 | ['plugin_rest_copying.c'], | ||
43 | dependencies: [libgnunetrest_dep, | ||
44 | libgnunetutil_dep, | ||
45 | json_dep, | ||
46 | mhd_dep], | ||
47 | include_directories: [incdir, configuration_inc], | ||
48 | install: true, | ||
49 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
50 | |||
51 | |||
32 | executable ('gnunet-rest-server', | 52 | executable ('gnunet-rest-server', |
33 | gnunetservicerest_src, | 53 | gnunetservicerest_src, |
34 | dependencies: [libgnunetrest_dep, libgnunetutil_dep, mhd_dep], | 54 | dependencies: [libgnunetrest_dep, libgnunetutil_dep, mhd_dep], |