diff options
Diffstat (limited to 'src/lib/gnsrecord/meson.build')
-rw-r--r-- | src/lib/gnsrecord/meson.build | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/src/lib/gnsrecord/meson.build b/src/lib/gnsrecord/meson.build new file mode 100644 index 000000000..11b355796 --- /dev/null +++ b/src/lib/gnsrecord/meson.build | |||
@@ -0,0 +1,45 @@ | |||
1 | libgnunetgnsrecord_src = ['gnsrecord.c', | ||
2 | 'gnsrecord_serialization.c', | ||
3 | 'gnsrecord_crypto.c', | ||
4 | 'gnsrecord_misc.c'] | ||
5 | libgnunetgnsrecordjson_src = ['json_gnsrecord.c'] | ||
6 | |||
7 | if get_option('monolith') | ||
8 | foreach p : libgnunetgnsrecord_src + libgnunetgnsrecordjson_src | ||
9 | gnunet_src += 'gnsrecord/' + p | ||
10 | endforeach | ||
11 | subdir_done() | ||
12 | endif | ||
13 | |||
14 | libgnunetgnsrecord = library('gnunetgnsrecord', | ||
15 | libgnunetgnsrecord_src, | ||
16 | soversion: '0', | ||
17 | version: '0.0.0', | ||
18 | dependencies: [libgnunetutil_dep, | ||
19 | sodium_dep, | ||
20 | libgnunetidentity_dep, | ||
21 | gcrypt_dep], | ||
22 | include_directories: [incdir, configuration_inc], | ||
23 | install: true, | ||
24 | install_dir: get_option('libdir')) | ||
25 | libgnunetgnsrecord_dep = declare_dependency(link_with : libgnunetgnsrecord) | ||
26 | pkg.generate(libgnunetgnsrecord, url: 'https://www.gnunet.org', | ||
27 | description : 'Provides API for manipulating GNS records') | ||
28 | |||
29 | |||
30 | libgnunetgnsrecordjson = library('gnunetgnsrecordjson', | ||
31 | libgnunetgnsrecordjson_src, | ||
32 | soversion: '0', | ||
33 | version: '0.0.0', | ||
34 | dependencies: [libgnunetutil_dep, libgnunetgnsrecord_dep, json_dep], | ||
35 | include_directories: [incdir, configuration_inc], | ||
36 | install: true, | ||
37 | install_dir: get_option('libdir')) | ||
38 | libgnunetgnsrecordjson_dep = declare_dependency(link_with : libgnunetgnsrecordjson) | ||
39 | |||
40 | shared_module('gnunet_plugin_gnsrecord_dns', | ||
41 | ['plugin_gnsrecord_dns.c'], | ||
42 | dependencies: [libgnunetutil_dep, libgnunetgnsrecord_dep], | ||
43 | include_directories: [incdir, configuration_inc], | ||
44 | install: true, | ||
45 | install_dir: get_option('libdir')/'gnunet') | ||