diff options
Diffstat (limited to 'src/service/meson.build')
-rw-r--r-- | src/service/meson.build | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/src/service/meson.build b/src/service/meson.build new file mode 100644 index 000000000..ff874a1ec --- /dev/null +++ b/src/service/meson.build | |||
@@ -0,0 +1,76 @@ | |||
1 | # We collect all sources for the 'big' libgnunet when traversing | ||
2 | # the subdirectories. | ||
3 | if get_option('monolith') | ||
4 | gnunet_src = [] | ||
5 | endif | ||
6 | |||
7 | subdir('util') | ||
8 | subdir('statistics') | ||
9 | subdir('arm') | ||
10 | subdir('testing') | ||
11 | subdir('peerstore') | ||
12 | subdir('nat') | ||
13 | subdir('nat-auto') | ||
14 | subdir('transport') | ||
15 | subdir('core') | ||
16 | subdir('nse') | ||
17 | subdir('hostlist') | ||
18 | subdir('topology') | ||
19 | subdir('dns') | ||
20 | subdir('identity') | ||
21 | subdir('namecache') | ||
22 | subdir('namestore') | ||
23 | subdir('datacache') | ||
24 | subdir('datastore') | ||
25 | subdir('dht') | ||
26 | subdir('cadet') | ||
27 | subdir('seti') | ||
28 | subdir('setu') | ||
29 | subdir('regex') | ||
30 | subdir('revocation') | ||
31 | subdir('vpn') | ||
32 | subdir('gns') | ||
33 | subdir('zonemaster') | ||
34 | subdir('fs') | ||
35 | subdir('exit') | ||
36 | subdir('pt') | ||
37 | subdir('reclaim') | ||
38 | subdir('messenger') | ||
39 | subdir('rest') | ||
40 | |||
41 | if not get_option('monolith') | ||
42 | subdir_done() | ||
43 | endif | ||
44 | |||
45 | # Compile the 'big' libgnunet shared library. | ||
46 | # It must be compiled with HAVE_GNUNET_MONOLITH to enable | ||
47 | # the correct service macros that do not inject main() functions | ||
48 | # to services. | ||
49 | libgnunet = library('gnunet', | ||
50 | gnunet_src, | ||
51 | dependencies: [ | ||
52 | mhd_dep, | ||
53 | sodium_dep, | ||
54 | gcrypt_dep, | ||
55 | curl_dep, | ||
56 | json_dep, | ||
57 | zlib_dep, | ||
58 | sqlite_dep, | ||
59 | unistr_dep, | ||
60 | ltdl_dep, | ||
61 | idn_dep, | ||
62 | libgnunetutil_dep, | ||
63 | libgnunethello_dep, | ||
64 | libgnunetjson_dep, | ||
65 | libgnunetblock_dep, | ||
66 | libgnunetblockgroup_dep, | ||
67 | libgnunetregexblock_dep, | ||
68 | libgnunetgnsrecord_dep, | ||
69 | libgnunetgnsrecordjson_dep, | ||
70 | jose_dep, | ||
71 | m_dep, | ||
72 | pthread_dep, | ||
73 | libgnunetcurl_dep], | ||
74 | c_args: ['-DHAVE_GNUNET_MONOLITH=1'], | ||
75 | include_directories: [incdir, configuration_inc, exitdir]) | ||
76 | libgnunet_dep = declare_dependency(link_with : libgnunet) | ||