aboutsummaryrefslogtreecommitdiff
path: root/src/cadet
diff options
context:
space:
mode:
authorMartin Schanzenbach <schanzen@gnunet.org>2023-09-20 18:33:50 +0200
committerMartin Schanzenbach <schanzen@gnunet.org>2023-09-20 18:33:50 +0200
commit5398c17398c79cf168fd42fdb3663334caf5a22a (patch)
tree6f852bfaea8cdb50e58fd8114843b8f6792d9e15 /src/cadet
parentc97422c008441a884bf3f3b9f2cf40edf5fc4ccf (diff)
downloadgnunet-5398c17398c79cf168fd42fdb3663334caf5a22a.tar.gz
gnunet-5398c17398c79cf168fd42fdb3663334caf5a22a.zip
BUILD: Add more subsystems to meson build
Diffstat (limited to 'src/cadet')
-rw-r--r--src/cadet/meson.build56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/cadet/meson.build b/src/cadet/meson.build
new file mode 100644
index 000000000..9534fc35b
--- /dev/null
+++ b/src/cadet/meson.build
@@ -0,0 +1,56 @@
1libgnunetcadet_src = ['cadet_api.c',
2 'cadet_api_drop_message.c',
3 'cadet_api_get_channel.c',
4 'cadet_api_get_path.c',
5 'cadet_api_list_peers.c',
6 'cadet_api_list_tunnels.c',
7 'cadet_api_helper.c']
8
9gnunetcadet_src = ['gnunet-cadet.c']
10gnunetservicecadet_src = ['gnunet-service-cadet.c',
11 'gnunet-service-cadet_channel.c',
12 'gnunet-service-cadet_connection.c',
13 'gnunet-service-cadet_core.c',
14 'gnunet-service-cadet_dht.c',
15 'gnunet-service-cadet_hello.c',
16 'gnunet-service-cadet_tunnels.c',
17 'gnunet-service-cadet_paths.c',
18 'gnunet-service-cadet_peer.c']
19
20
21if gnunet_monolith == false
22 libgnunetcadet = library('gnunetcadet',
23 libgnunetcadet_src,
24 dependencies: libgnunetutil_dep,
25 include_directories: [incdir, configuration_inc])
26 libgnunetcadet_dep = declare_dependency(link_with : libgnunetcadet)
27 executable ('gnunet-cadet',
28 gnunetservicecadet_src,
29 dependencies: [libgnunetcadet_dep,
30 libgnunetutil_dep,
31 libgnunetcore_dep,
32 libgnunetdht_dep,
33 libgnunetstatistics_dep,
34 libgnunetpeerinfo_dep,
35 libgnunetats_dep,
36 libgnunettransport_dep,
37 libgnunethello_dep],
38 include_directories: [incdir, configuration_inc])
39 executable ('gnunet-service-cadet',
40 gnunetservicecadet_src,
41 dependencies: [libgnunetcadet_dep,
42 libgnunetutil_dep,
43 libgnunetats_dep,
44 libgnunetcore_dep,
45 libgnunetdht_dep,
46 libgnunetstatistics_dep,
47 libgnunettransport_dep,
48 libgnunetpeerinfo_dep,
49 libgnunethello_dep,
50 libgnunetblock_dep],
51 include_directories: [incdir, configuration_inc])
52else
53 foreach p : libgnunetcadet_src + gnunetservicecadet_src + gnunetcadet_src
54 gnunet_src += 'cadet/' + p
55 endforeach
56endif