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
|
libgnunetregex_src = ['regex_api_announce.c',
'regex_api_search.c']
libgnunetregexblock_src = ['regex_block_lib.c']
gnunetserviceregex_src = ['gnunet-service-regex.c',
'regex_internal_dht.c',
'regex_internal.c']
configure_file(input : 'regex.conf.in',
output : 'regex.conf',
configuration : cdata,
install: true,
install_dir: pkgcfgdir)
if get_option('monolith') == false
libgnunetregex = library('gnunetregex',
libgnunetregex_src,
dependencies: libgnunetutil_dep,
include_directories: [incdir, configuration_inc])
libgnunetregex_dep = declare_dependency(link_with : libgnunetregex)
libgnunetregexblock = library('gnunetregexblock',
libgnunetregexblock_src,
dependencies: libgnunetutil_dep,
include_directories: [incdir, configuration_inc])
libgnunetregexblock_dep = declare_dependency(link_with : libgnunetregexblock)
executable ('gnunet-service-regex',
gnunetserviceregex_src,
dependencies: [libgnunetregex_dep, libgnunetutil_dep,
libgnunetdht_dep,
libgnunetstatistics_dep,
libgnunetregex_dep,
libgnunetregexblock_dep],
include_directories: [incdir, configuration_inc])
else
foreach p : libgnunetregex_src + libgnunetregexblock_src + gnunetserviceregex_src
gnunet_src += 'regex/' + p
endforeach
endif
|