aboutsummaryrefslogtreecommitdiff
path: root/src/gnsrecord
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-09-23 20:51:41 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-09-23 20:51:41 +0200
commitdca0afc851783403b26464bbfa2629fe1bd70a55 (patch)
tree7fe2fc39c5bbdd3757411cf5f90bbaef917b36fc /src/gnsrecord
parent398c154d912a622e47225986c61a5180939cf28e (diff)
downloadgnunet-dca0afc851783403b26464bbfa2629fe1bd70a55.tar.gz
gnunet-dca0afc851783403b26464bbfa2629fe1bd70a55.zip
BUILD: More pkgconfig and installation
Diffstat (limited to 'src/gnsrecord')
-rw-r--r--src/gnsrecord/meson.build38
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']
5libgnunetgnsrecordjson_src = ['json_gnsrecord.c'] 5libgnunetgnsrecordjson_src = ['json_gnsrecord.c']
6 6
7if get_option('monolith') == false 7if 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)
21else
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()
25endif 12endif
13
14libgnunetgnsrecord = 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])
22libgnunetgnsrecord_dep = declare_dependency(link_with : libgnunetgnsrecord)
23pkg.generate(libgnunetgnsrecord, url: 'https://www.gnunet.org',
24 description : 'Provides API for manipulating GNS records')
25
26
27libgnunetgnsrecordjson = library('gnunetgnsrecordjson',
28 libgnunetgnsrecordjson_src,
29 soversion: '0.0.0',
30 dependencies: [libgnunetutil_dep, libgnunetgnsrecord_dep, json_dep],
31 include_directories: [incdir, configuration_inc])
32libgnunetgnsrecordjson_dep = declare_dependency(link_with : libgnunetgnsrecord)
33