diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-21 16:45:58 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-21 16:45:58 +0200 |
commit | 3a2f24fe60abaa99428914771b304190dbe70c0e (patch) | |
tree | 58724aa86b1d5b405a43bd6a61f490f91b739fbd /src/reclaim | |
parent | c987ce850656cba2b60d3100e74c61d5a7c781fd (diff) | |
download | gnunet-3a2f24fe60abaa99428914771b304190dbe70c0e.tar.gz gnunet-3a2f24fe60abaa99428914771b304190dbe70c0e.zip |
BUILD: Add more subsystems to meson build
Diffstat (limited to 'src/reclaim')
-rw-r--r-- | src/reclaim/meson.build | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/src/reclaim/meson.build b/src/reclaim/meson.build new file mode 100644 index 000000000..226e8ec7f --- /dev/null +++ b/src/reclaim/meson.build | |||
@@ -0,0 +1,42 @@ | |||
1 | libgnunetreclaim_src = ['reclaim_api.c', | ||
2 | 'reclaim_attribute.c', | ||
3 | 'reclaim_credential.c'] | ||
4 | |||
5 | gnunetservicereclaim_src = ['gnunet-service-reclaim.c', | ||
6 | 'gnunet-service-reclaim_tickets.c'] | ||
7 | |||
8 | |||
9 | if get_option('monolith') == false | ||
10 | libgnunetreclaim = library('gnunetreclaim', | ||
11 | libgnunetreclaim_src, | ||
12 | dependencies: [libgnunetutil_dep, | ||
13 | libgnunetidentity_dep], | ||
14 | include_directories: [incdir, configuration_inc], | ||
15 | install: true, | ||
16 | install_dir: get_option('libdir')) | ||
17 | libgnunetreclaim_dep = declare_dependency(link_with : libgnunetreclaim) | ||
18 | executable ('gnunet-reclaim', | ||
19 | 'gnunet-reclaim.c', | ||
20 | dependencies: [libgnunetreclaim_dep, | ||
21 | libgnunetidentity_dep, | ||
22 | libgnunetutil_dep], | ||
23 | include_directories: [incdir, configuration_inc], | ||
24 | install: true, | ||
25 | install_dir: get_option('bindir')) | ||
26 | executable ('gnunet-service-reclaim', | ||
27 | gnunetservicereclaim_src, | ||
28 | dependencies: [libgnunetreclaim_dep, | ||
29 | libgnunetutil_dep, | ||
30 | libgnunetstatistics_dep, | ||
31 | libgnunetgnsrecord_dep, | ||
32 | libgnunetgns_dep, | ||
33 | libgnunetidentity_dep, | ||
34 | libgnunetnamestore_dep], | ||
35 | include_directories: [incdir, configuration_inc], | ||
36 | install: true, | ||
37 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
38 | else | ||
39 | foreach p : libgnunetreclaim_src + gnunetservicereclaim_src | ||
40 | gnunet_src += 'reclaim/' + p | ||
41 | endforeach | ||
42 | endif | ||