diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-23 20:51:41 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-23 20:51:41 +0200 |
commit | dca0afc851783403b26464bbfa2629fe1bd70a55 (patch) | |
tree | 7fe2fc39c5bbdd3757411cf5f90bbaef917b36fc /src/reclaim | |
parent | 398c154d912a622e47225986c61a5180939cf28e (diff) | |
download | gnunet-dca0afc851783403b26464bbfa2629fe1bd70a55.tar.gz gnunet-dca0afc851783403b26464bbfa2629fe1bd70a55.zip |
BUILD: More pkgconfig and installation
Diffstat (limited to 'src/reclaim')
-rw-r--r-- | src/reclaim/meson.build | 64 |
1 files changed, 34 insertions, 30 deletions
diff --git a/src/reclaim/meson.build b/src/reclaim/meson.build index 26eaa6b31..ee32137a6 100644 --- a/src/reclaim/meson.build +++ b/src/reclaim/meson.build | |||
@@ -12,37 +12,41 @@ configure_file(input : 'reclaim.conf', | |||
12 | install_dir: pkgcfgdir) | 12 | install_dir: pkgcfgdir) |
13 | 13 | ||
14 | 14 | ||
15 | if get_option('monolith') == false | 15 | if get_option('monolith') |
16 | libgnunetreclaim = library('gnunetreclaim', | ||
17 | libgnunetreclaim_src, | ||
18 | dependencies: [libgnunetutil_dep, | ||
19 | libgnunetidentity_dep], | ||
20 | include_directories: [incdir, configuration_inc], | ||
21 | install: true, | ||
22 | install_dir: get_option('libdir')) | ||
23 | libgnunetreclaim_dep = declare_dependency(link_with : libgnunetreclaim) | ||
24 | executable ('gnunet-reclaim', | ||
25 | 'gnunet-reclaim.c', | ||
26 | dependencies: [libgnunetreclaim_dep, | ||
27 | libgnunetidentity_dep, | ||
28 | libgnunetutil_dep], | ||
29 | include_directories: [incdir, configuration_inc], | ||
30 | install: true, | ||
31 | install_dir: get_option('bindir')) | ||
32 | executable ('gnunet-service-reclaim', | ||
33 | gnunetservicereclaim_src, | ||
34 | dependencies: [libgnunetreclaim_dep, | ||
35 | libgnunetutil_dep, | ||
36 | libgnunetstatistics_dep, | ||
37 | libgnunetgnsrecord_dep, | ||
38 | libgnunetgns_dep, | ||
39 | libgnunetidentity_dep, | ||
40 | libgnunetnamestore_dep], | ||
41 | include_directories: [incdir, configuration_inc], | ||
42 | install: true, | ||
43 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
44 | else | ||
45 | foreach p : libgnunetreclaim_src + gnunetservicereclaim_src | 16 | foreach p : libgnunetreclaim_src + gnunetservicereclaim_src |
46 | gnunet_src += 'reclaim/' + p | 17 | gnunet_src += 'reclaim/' + p |
47 | endforeach | 18 | endforeach |
19 | subdir_done() | ||
48 | endif | 20 | endif |
21 | libgnunetreclaim = library('gnunetreclaim', | ||
22 | libgnunetreclaim_src, | ||
23 | dependencies: [libgnunetutil_dep, | ||
24 | libgnunetidentity_dep], | ||
25 | include_directories: [incdir, configuration_inc], | ||
26 | install: true, | ||
27 | install_dir: get_option('libdir')) | ||
28 | libgnunetreclaim_dep = declare_dependency(link_with : libgnunetreclaim) | ||
29 | pkg.generate(libgnunetreclaim, url: 'https://www.gnunet.org', | ||
30 | description : 'Provides API to access reclaimID') | ||
31 | |||
32 | executable ('gnunet-reclaim', | ||
33 | 'gnunet-reclaim.c', | ||
34 | dependencies: [libgnunetreclaim_dep, | ||
35 | libgnunetidentity_dep, | ||
36 | libgnunetutil_dep], | ||
37 | include_directories: [incdir, configuration_inc], | ||
38 | install: true, | ||
39 | install_dir: get_option('bindir')) | ||
40 | executable ('gnunet-service-reclaim', | ||
41 | gnunetservicereclaim_src, | ||
42 | dependencies: [libgnunetreclaim_dep, | ||
43 | libgnunetutil_dep, | ||
44 | libgnunetstatistics_dep, | ||
45 | libgnunetgnsrecord_dep, | ||
46 | libgnunetgns_dep, | ||
47 | libgnunetidentity_dep, | ||
48 | libgnunetnamestore_dep], | ||
49 | include_directories: [incdir, configuration_inc], | ||
50 | install: true, | ||
51 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
52 | |||