diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-20 18:33:50 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-20 18:33:50 +0200 |
commit | 5398c17398c79cf168fd42fdb3663334caf5a22a (patch) | |
tree | 6f852bfaea8cdb50e58fd8114843b8f6792d9e15 /src/setu | |
parent | c97422c008441a884bf3f3b9f2cf40edf5fc4ccf (diff) | |
download | gnunet-5398c17398c79cf168fd42fdb3663334caf5a22a.tar.gz gnunet-5398c17398c79cf168fd42fdb3663334caf5a22a.zip |
BUILD: Add more subsystems to meson build
Diffstat (limited to 'src/setu')
-rw-r--r-- | src/setu/meson.build | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/src/setu/meson.build b/src/setu/meson.build new file mode 100644 index 000000000..f4c3cea4e --- /dev/null +++ b/src/setu/meson.build | |||
@@ -0,0 +1,27 @@ | |||
1 | libgnunetsetu_src = ['setu_api.c'] | ||
2 | |||
3 | gnunetservicesetu_src = ['gnunet-service-setu.c', | ||
4 | 'ibf.c', | ||
5 | 'gnunet-service-setu_strata_estimator.c'] | ||
6 | |||
7 | |||
8 | if gnunet_monolith == false | ||
9 | libgnunetsetu = library('gnunetsetu', | ||
10 | libgnunetsetu_src, | ||
11 | dependencies: libgnunetutil_dep, | ||
12 | include_directories: [incdir, configuration_inc]) | ||
13 | libgnunetsetu_dep = declare_dependency(link_with : libgnunetsetu) | ||
14 | executable ('gnunet-service-setu', | ||
15 | gnunetservicesetu_src, | ||
16 | dependencies: [libgnunetsetu_dep, | ||
17 | libgnunetutil_dep, | ||
18 | libgnunetstatistics_dep, | ||
19 | libgnunetcore_dep, | ||
20 | libgnunetcadet_dep, | ||
21 | libgnunetblock_dep], | ||
22 | include_directories: [incdir, configuration_inc]) | ||
23 | else | ||
24 | foreach p : libgnunetsetu_src + gnunetservicesetu_src | ||
25 | gnunet_src += 'setu/' + p | ||
26 | endforeach | ||
27 | endif | ||