aboutsummaryrefslogtreecommitdiff
path: root/src/meson.build
blob: b52f59c894e11e0470fd9de0dcbeabf2f5fc7e5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
if get_option('monolith') == true
  gnunet_src = []
endif

subdir('include')
subdir('util')
subdir('hello')
subdir('block')
if get_option('monolith') == false
  subdir('arm')
endif
subdir('statistics')
subdir('testing')
subdir('json', if_found : json_dep)
subdir('curl', if_found : [curl_dep])
if get_option('monolith') == false
  subdir('rest')
endif
subdir('sq', if_found : [sqlite_dep])
subdir('pq', if_found : [pq_dep])
subdir('datacache')
subdir('datastore')
#subdir('template')
subdir('peerstore')
subdir('nat')
subdir('nat-auto')
subdir('transport')
subdir('core')
subdir('nse')
subdir('dhtu')
subdir('dht')
subdir('hostlist')
subdir('regex')
subdir('dns')
subdir('identity')
subdir('gnsrecord')
subdir('namecache')
subdir('namestore')
subdir('cadet')
subdir('set')
subdir('seti')
subdir('setu')
subdir('consensus')
subdir('scalarproduct')
subdir('revocation')
subdir('vpn')
subdir('gns')
subdir('zonemaster')
#subdir('$(CONVERSATION_DIR)')
subdir('fs')
subdir('exit')
subdir('pt')
subdir('secretsharing')
subdir('reclaim')
subdir('messenger')
##subdir('$(EXP_DIR)')

if not get_option('monolith')
  subdir_done()
endif
libgnunet = library('gnunet',
                    gnunet_src,
                    dependencies: gnunetdeps,
                    include_directories: [incdir, configuration_inc, exitdir])
libgnunet_dep = declare_dependency(link_with : libgnunet)

# FIXME here we need to re-enter all that need to link against libgnunet
# For example: dload plugins
# We also need a logic that handles this
# subdir('block')