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/cadet | |
parent | c97422c008441a884bf3f3b9f2cf40edf5fc4ccf (diff) | |
download | gnunet-5398c17398c79cf168fd42fdb3663334caf5a22a.tar.gz gnunet-5398c17398c79cf168fd42fdb3663334caf5a22a.zip |
BUILD: Add more subsystems to meson build
Diffstat (limited to 'src/cadet')
-rw-r--r-- | src/cadet/meson.build | 56 |
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 @@ | |||
1 | libgnunetcadet_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 | |||
9 | gnunetcadet_src = ['gnunet-cadet.c'] | ||
10 | gnunetservicecadet_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 | |||
21 | if 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]) | ||
52 | else | ||
53 | foreach p : libgnunetcadet_src + gnunetservicecadet_src + gnunetcadet_src | ||
54 | gnunet_src += 'cadet/' + p | ||
55 | endforeach | ||
56 | endif | ||