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/gnsrecord | |
parent | 398c154d912a622e47225986c61a5180939cf28e (diff) | |
download | gnunet-dca0afc851783403b26464bbfa2629fe1bd70a55.tar.gz gnunet-dca0afc851783403b26464bbfa2629fe1bd70a55.zip |
BUILD: More pkgconfig and installation
Diffstat (limited to 'src/gnsrecord')
-rw-r--r-- | src/gnsrecord/meson.build | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/src/gnsrecord/meson.build b/src/gnsrecord/meson.build index f98415ce5..28e211f16 100644 --- a/src/gnsrecord/meson.build +++ b/src/gnsrecord/meson.build | |||
@@ -4,22 +4,30 @@ libgnunetgnsrecord_src = ['gnsrecord.c', | |||
4 | 'gnsrecord_misc.c'] | 4 | 'gnsrecord_misc.c'] |
5 | libgnunetgnsrecordjson_src = ['json_gnsrecord.c'] | 5 | libgnunetgnsrecordjson_src = ['json_gnsrecord.c'] |
6 | 6 | ||
7 | if get_option('monolith') == false | 7 | if get_option('monolith') |
8 | libgnunetgnsrecord = library('gnunetgnsrecord', | ||
9 | libgnunetgnsrecord_src, | ||
10 | dependencies: [libgnunetutil_dep, | ||
11 | sodium_dep, | ||
12 | libgnunetidentity_dep, | ||
13 | gcrypt_dep], | ||
14 | include_directories: [incdir, configuration_inc]) | ||
15 | libgnunetgnsrecord_dep = declare_dependency(link_with : libgnunetgnsrecord) | ||
16 | libgnunetgnsrecordjson = library('gnunetgnsrecordjson', | ||
17 | libgnunetgnsrecordjson_src, | ||
18 | dependencies: [libgnunetutil_dep, libgnunetgnsrecord_dep, json_dep], | ||
19 | include_directories: [incdir, configuration_inc]) | ||
20 | libgnunetgnsrecordjson_dep = declare_dependency(link_with : libgnunetgnsrecord) | ||
21 | else | ||
22 | foreach p : libgnunetgnsrecord_src + libgnunetgnsrecordjson_src | 8 | foreach p : libgnunetgnsrecord_src + libgnunetgnsrecordjson_src |
23 | gnunet_src += 'gnsrecord/' + p | 9 | gnunet_src += 'gnsrecord/' + p |
24 | endforeach | 10 | endforeach |
11 | subdir_done() | ||
25 | endif | 12 | endif |
13 | |||
14 | libgnunetgnsrecord = library('gnunetgnsrecord', | ||
15 | libgnunetgnsrecord_src, | ||
16 | soversion: '0.0.0', | ||
17 | dependencies: [libgnunetutil_dep, | ||
18 | sodium_dep, | ||
19 | libgnunetidentity_dep, | ||
20 | gcrypt_dep], | ||
21 | include_directories: [incdir, configuration_inc]) | ||
22 | libgnunetgnsrecord_dep = declare_dependency(link_with : libgnunetgnsrecord) | ||
23 | pkg.generate(libgnunetgnsrecord, url: 'https://www.gnunet.org', | ||
24 | description : 'Provides API for manipulating GNS records') | ||
25 | |||
26 | |||
27 | libgnunetgnsrecordjson = library('gnunetgnsrecordjson', | ||
28 | libgnunetgnsrecordjson_src, | ||
29 | soversion: '0.0.0', | ||
30 | dependencies: [libgnunetutil_dep, libgnunetgnsrecord_dep, json_dep], | ||
31 | include_directories: [incdir, configuration_inc]) | ||
32 | libgnunetgnsrecordjson_dep = declare_dependency(link_with : libgnunetgnsrecord) | ||
33 | |||