diff options
Diffstat (limited to 'src')
44 files changed, 152 insertions, 73 deletions
diff --git a/src/arm/meson.build b/src/arm/meson.build index 305dd3963..ec7740a91 100644 --- a/src/arm/meson.build +++ b/src/arm/meson.build | |||
@@ -3,17 +3,60 @@ libgnunetarm_src = ['arm_api.c', | |||
3 | 3 | ||
4 | gnunetservicearm_src = ['gnunet-service-arm.c'] | 4 | gnunetservicearm_src = ['gnunet-service-arm.c'] |
5 | 5 | ||
6 | gnunetarm_src = ['gnunet-arm.c'] | ||
6 | 7 | ||
7 | if gnunet_monolith == false | 8 | testarmapi_src = ['test_arm_api.c'] |
9 | testexpbo_src = ['test_exponential_backoff.c'] | ||
10 | testgnunetservice_src = ['test_gnunet_service_arm.c'] | ||
11 | |||
12 | configure_file(input : 'arm.conf.in', | ||
13 | output : 'arm.conf', | ||
14 | configuration : cdata, | ||
15 | install: true, | ||
16 | install_dir: pkgcfgdir) | ||
17 | |||
18 | if get_option('monolith') == false | ||
8 | libgnunetarm = library('gnunetarm', | 19 | libgnunetarm = library('gnunetarm', |
9 | libgnunetarm_src, | 20 | libgnunetarm_src, |
10 | dependencies: libgnunetutil_dep, | 21 | dependencies: libgnunetutil_dep, |
11 | include_directories: [incdir, configuration_inc]) | 22 | soversion: '2.0.0', |
23 | include_directories: [incdir, configuration_inc], | ||
24 | install: true, | ||
25 | install_dir: get_option('libdir')) | ||
12 | libgnunetarm_dep = declare_dependency(link_with : libgnunetarm) | 26 | libgnunetarm_dep = declare_dependency(link_with : libgnunetarm) |
27 | executable ('gnunet-arm', | ||
28 | gnunetarm_src, | ||
29 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], | ||
30 | include_directories: [incdir, configuration_inc], | ||
31 | install: true, | ||
32 | install_dir: get_option('bindir')) | ||
13 | executable ('gnunet-service-arm', | 33 | executable ('gnunet-service-arm', |
14 | gnunetservicearm_src, | 34 | gnunetservicearm_src, |
15 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], | 35 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], |
16 | include_directories: [incdir, configuration_inc]) | 36 | include_directories: [incdir, configuration_inc], |
37 | install: true, | ||
38 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
39 | testarmapi = executable ('test_arm_api', | ||
40 | testarmapi_src, | ||
41 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], | ||
42 | include_directories: [incdir, configuration_inc], | ||
43 | install: false) | ||
44 | testexpbo = executable ('test_exponential_backoff', | ||
45 | testexpbo_src, | ||
46 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], | ||
47 | include_directories: [incdir, configuration_inc], | ||
48 | install: false) | ||
49 | testgnunetservice = executable ('test_gnunet_service', | ||
50 | testgnunetservice_src, | ||
51 | dependencies: [libgnunetarm_dep, libgnunetutil_dep], | ||
52 | include_directories: [incdir, configuration_inc], | ||
53 | install: false) | ||
54 | configure_file(copy: true, | ||
55 | input: 'test_arm_api_data.conf', | ||
56 | output: 'test_arm_api_data.conf') | ||
57 | test('test_arm_api', testarmapi) | ||
58 | test('test_exponential_backoff', testexpbo) | ||
59 | test('test_gnunet_service', testgnunetservice) | ||
17 | else | 60 | else |
18 | foreach p : libgnunetarm_src + gnunetservicearm_src | 61 | foreach p : libgnunetarm_src + gnunetservicearm_src |
19 | gnunet_src += 'arm/' + p | 62 | gnunet_src += 'arm/' + p |
diff --git a/src/ats/meson.build b/src/ats/meson.build index f08358e3a..4804e95a2 100644 --- a/src/ats/meson.build +++ b/src/ats/meson.build | |||
@@ -13,17 +13,21 @@ gnunetserviceats_src = ['gnunet-service-ats.c', | |||
13 | 'gnunet-service-ats_scheduling.c', | 13 | 'gnunet-service-ats_scheduling.c', |
14 | 'gnunet-service-ats_reservations.c'] | 14 | 'gnunet-service-ats_reservations.c'] |
15 | 15 | ||
16 | if gnunet_monolith == false | 16 | if get_option('monolith') == false |
17 | libgnunetats = library('gnunetats', | 17 | libgnunetats = library('gnunetats', |
18 | libgnunetats_src, | 18 | libgnunetats_src, |
19 | dependencies: [libgnunetutil_dep, libgnunethello_dep], | 19 | dependencies: [libgnunetutil_dep, libgnunethello_dep], |
20 | include_directories: [incdir, configuration_inc]) | 20 | include_directories: [incdir, configuration_inc], |
21 | install: true, | ||
22 | install_dir: get_option('libdir')) | ||
21 | libgnunetats_dep = declare_dependency(link_with : libgnunetats) | 23 | libgnunetats_dep = declare_dependency(link_with : libgnunetats) |
22 | executable ('gnunet-service-ats', | 24 | executable ('gnunet-service-ats', |
23 | gnunetserviceats_src, | 25 | gnunetserviceats_src, |
24 | dependencies: [libgnunetats_dep, libgnunetutil_dep, | 26 | dependencies: [libgnunetats_dep, libgnunetutil_dep, |
25 | libgnunetnt_dep, libgnunetstatistics_dep], | 27 | libgnunetnt_dep, libgnunetstatistics_dep], |
26 | include_directories: [incdir, configuration_inc]) | 28 | include_directories: [incdir, configuration_inc], |
29 | install: true, | ||
30 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
27 | else | 31 | else |
28 | foreach p : libgnunetats_src + gnunetserviceats_src | 32 | foreach p : libgnunetats_src + gnunetserviceats_src |
29 | gnunet_src += 'ats/' + p | 33 | gnunet_src += 'ats/' + p |
diff --git a/src/block/meson.build b/src/block/meson.build index 704f97068..aae7445ee 100644 --- a/src/block/meson.build +++ b/src/block/meson.build | |||
@@ -1,16 +1,20 @@ | |||
1 | libgnunetblock_src = ['block.c'] | 1 | libgnunetblock_src = ['block.c'] |
2 | libgnunetblockgroup_src = ['bg_bf.c'] | 2 | libgnunetblockgroup_src = ['bg_bf.c'] |
3 | 3 | ||
4 | if gnunet_monolith == false | 4 | if get_option('monolith') == false |
5 | libgnunetblock = library('gnunetblock', | 5 | libgnunetblock = library('gnunetblock', |
6 | libgnunetblock_src, | 6 | libgnunetblock_src, |
7 | dependencies: libgnunetutil_dep, | 7 | dependencies: libgnunetutil_dep, |
8 | include_directories: [incdir, configuration_inc]) | 8 | include_directories: [incdir, configuration_inc], |
9 | install: true, | ||
10 | install_dir: get_option('libdir')) | ||
9 | libgnunetblock_dep = declare_dependency(link_with : libgnunetblock) | 11 | libgnunetblock_dep = declare_dependency(link_with : libgnunetblock) |
10 | libgnunetblockgroup = library('gnunetblockgroup', | 12 | libgnunetblockgroup = library('gnunetblockgroup', |
11 | libgnunetblockgroup_src, | 13 | libgnunetblockgroup_src, |
12 | dependencies: [libgnunetutil_dep, libgnunetblock_dep], | 14 | dependencies: [libgnunetutil_dep, libgnunetblock_dep], |
13 | include_directories: [incdir, configuration_inc]) | 15 | include_directories: [incdir, configuration_inc], |
16 | install: true, | ||
17 | install_dir: get_option('libdir')) | ||
14 | libgnunetblockgroup_dep = declare_dependency(link_with : libgnunetblockgroup) | 18 | libgnunetblockgroup_dep = declare_dependency(link_with : libgnunetblockgroup) |
15 | else | 19 | else |
16 | foreach p : libgnunetblock_src + libgnunetblockgroup_src | 20 | foreach p : libgnunetblock_src + libgnunetblockgroup_src |
diff --git a/src/cadet/meson.build b/src/cadet/meson.build index 9534fc35b..ca7a5a91b 100644 --- a/src/cadet/meson.build +++ b/src/cadet/meson.build | |||
@@ -18,11 +18,13 @@ gnunetservicecadet_src = ['gnunet-service-cadet.c', | |||
18 | 'gnunet-service-cadet_peer.c'] | 18 | 'gnunet-service-cadet_peer.c'] |
19 | 19 | ||
20 | 20 | ||
21 | if gnunet_monolith == false | 21 | if get_option('monolith') == false |
22 | libgnunetcadet = library('gnunetcadet', | 22 | libgnunetcadet = library('gnunetcadet', |
23 | libgnunetcadet_src, | 23 | libgnunetcadet_src, |
24 | dependencies: libgnunetutil_dep, | 24 | dependencies: libgnunetutil_dep, |
25 | include_directories: [incdir, configuration_inc]) | 25 | include_directories: [incdir, configuration_inc], |
26 | install: true, | ||
27 | install_dir: get_option('libdir')) | ||
26 | libgnunetcadet_dep = declare_dependency(link_with : libgnunetcadet) | 28 | libgnunetcadet_dep = declare_dependency(link_with : libgnunetcadet) |
27 | executable ('gnunet-cadet', | 29 | executable ('gnunet-cadet', |
28 | gnunetservicecadet_src, | 30 | gnunetservicecadet_src, |
@@ -35,7 +37,9 @@ if gnunet_monolith == false | |||
35 | libgnunetats_dep, | 37 | libgnunetats_dep, |
36 | libgnunettransport_dep, | 38 | libgnunettransport_dep, |
37 | libgnunethello_dep], | 39 | libgnunethello_dep], |
38 | include_directories: [incdir, configuration_inc]) | 40 | include_directories: [incdir, configuration_inc], |
41 | install: true, | ||
42 | install_dir: get_option('bindir')) | ||
39 | executable ('gnunet-service-cadet', | 43 | executable ('gnunet-service-cadet', |
40 | gnunetservicecadet_src, | 44 | gnunetservicecadet_src, |
41 | dependencies: [libgnunetcadet_dep, | 45 | dependencies: [libgnunetcadet_dep, |
@@ -48,9 +52,11 @@ if gnunet_monolith == false | |||
48 | libgnunetpeerinfo_dep, | 52 | libgnunetpeerinfo_dep, |
49 | libgnunethello_dep, | 53 | libgnunethello_dep, |
50 | libgnunetblock_dep], | 54 | libgnunetblock_dep], |
51 | include_directories: [incdir, configuration_inc]) | 55 | include_directories: [incdir, configuration_inc], |
56 | install: true, | ||
57 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
52 | else | 58 | else |
53 | foreach p : libgnunetcadet_src + gnunetservicecadet_src + gnunetcadet_src | 59 | foreach p : libgnunetcadet_src + gnunetservicecadet_src |
54 | gnunet_src += 'cadet/' + p | 60 | gnunet_src += 'cadet/' + p |
55 | endforeach | 61 | endforeach |
56 | endif | 62 | endif |
diff --git a/src/consensus/meson.build b/src/consensus/meson.build index b5fbe6971..03384c388 100644 --- a/src/consensus/meson.build +++ b/src/consensus/meson.build | |||
@@ -3,11 +3,13 @@ libgnunetconsensus_src = ['consensus_api.c'] | |||
3 | gnunetserviceconsensus_src = ['gnunet-service-consensus.c'] | 3 | gnunetserviceconsensus_src = ['gnunet-service-consensus.c'] |
4 | 4 | ||
5 | 5 | ||
6 | if gnunet_monolith == false | 6 | if get_option('monolith') == false |
7 | libgnunetconsensus = library('gnunetconsensus', | 7 | libgnunetconsensus = library('gnunetconsensus', |
8 | libgnunetconsensus_src, | 8 | libgnunetconsensus_src, |
9 | dependencies: libgnunetutil_dep, | 9 | dependencies: libgnunetutil_dep, |
10 | include_directories: [incdir, configuration_inc]) | 10 | include_directories: [incdir, configuration_inc], |
11 | install: true, | ||
12 | install_dir: get_option('libdir')) | ||
11 | libgnunetconsensus_dep = declare_dependency(link_with : libgnunetconsensus) | 13 | libgnunetconsensus_dep = declare_dependency(link_with : libgnunetconsensus) |
12 | executable ('gnunet-service-consensus', | 14 | executable ('gnunet-service-consensus', |
13 | gnunetserviceconsensus_src, | 15 | gnunetserviceconsensus_src, |
@@ -15,7 +17,9 @@ if gnunet_monolith == false | |||
15 | libgnunetutil_dep, | 17 | libgnunetutil_dep, |
16 | libgnunetset_dep, | 18 | libgnunetset_dep, |
17 | libgnunetstatistics_dep], | 19 | libgnunetstatistics_dep], |
18 | include_directories: [incdir, configuration_inc]) | 20 | include_directories: [incdir, configuration_inc], |
21 | install: true, | ||
22 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
19 | else | 23 | else |
20 | foreach p : libgnunetconsensus_src + gnunetserviceconsensus_src | 24 | foreach p : libgnunetconsensus_src + gnunetserviceconsensus_src |
21 | gnunet_src += 'consensus/' + p | 25 | gnunet_src += 'consensus/' + p |
diff --git a/src/core/meson.build b/src/core/meson.build index f288294a3..142b3dac8 100644 --- a/src/core/meson.build +++ b/src/core/meson.build | |||
@@ -8,11 +8,13 @@ gnunetservicecore_src = ['gnunet-service-core.c', | |||
8 | 8 | ||
9 | 9 | ||
10 | 10 | ||
11 | if gnunet_monolith == false | 11 | if get_option('monolith') == false |
12 | libgnunetcore = library('gnunetcore', | 12 | libgnunetcore = library('gnunetcore', |
13 | libgnunetcore_src, | 13 | libgnunetcore_src, |
14 | dependencies: libgnunetutil_dep, | 14 | dependencies: libgnunetutil_dep, |
15 | include_directories: [incdir, configuration_inc]) | 15 | include_directories: [incdir, configuration_inc], |
16 | install: true, | ||
17 | install_dir: get_option('libdir')) | ||
16 | libgnunetcore_dep = declare_dependency(link_with : libgnunetcore) | 18 | libgnunetcore_dep = declare_dependency(link_with : libgnunetcore) |
17 | executable ('gnunet-service-core', | 19 | executable ('gnunet-service-core', |
18 | gnunetservicecore_src, | 20 | gnunetservicecore_src, |
@@ -20,7 +22,9 @@ if gnunet_monolith == false | |||
20 | libgnunetstatistics_dep, | 22 | libgnunetstatistics_dep, |
21 | libgnunettransport_dep, | 23 | libgnunettransport_dep, |
22 | zlib_dep], | 24 | zlib_dep], |
23 | include_directories: [incdir, configuration_inc]) | 25 | include_directories: [incdir, configuration_inc], |
26 | install: true, | ||
27 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
24 | else | 28 | else |
25 | foreach p : libgnunetcore_src + gnunetservicecore_src | 29 | foreach p : libgnunetcore_src + gnunetservicecore_src |
26 | gnunet_src += 'core/' + p | 30 | gnunet_src += 'core/' + p |
diff --git a/src/curl/meson.build b/src/curl/meson.build index 5e7769d6d..b10d361d0 100644 --- a/src/curl/meson.build +++ b/src/curl/meson.build | |||
@@ -1,11 +1,13 @@ | |||
1 | libgnunetcurl_src = ['curl.c', | 1 | libgnunetcurl_src = ['curl.c', |
2 | 'curl_reschedule.c'] | 2 | 'curl_reschedule.c'] |
3 | 3 | ||
4 | if gnunet_monolith == false | 4 | if get_option('monolith') == false |
5 | libgnunetcurl = library('gnunetcurl', | 5 | libgnunetcurl = library('gnunetcurl', |
6 | libgnunetcurl_src, | 6 | libgnunetcurl_src, |
7 | dependencies: [libgnunetutil_dep, curl_dep, json_dep], | 7 | dependencies: [libgnunetutil_dep, curl_dep, json_dep], |
8 | include_directories: [incdir, configuration_inc]) | 8 | include_directories: [incdir, configuration_inc], |
9 | install: true, | ||
10 | install_dir: get_option('libdir')) | ||
9 | libgnunetcurl_dep = declare_dependency(link_with : libgnunetcurl) | 11 | libgnunetcurl_dep = declare_dependency(link_with : libgnunetcurl) |
10 | else | 12 | else |
11 | foreach p : libgnunetcurl_src | 13 | foreach p : libgnunetcurl_src |
diff --git a/src/datacache/meson.build b/src/datacache/meson.build index 2f8305f42..045335a33 100644 --- a/src/datacache/meson.build +++ b/src/datacache/meson.build | |||
@@ -2,7 +2,7 @@ libgnunetdatacache_src = ['datacache.c'] | |||
2 | 2 | ||
3 | libgnunetplugindatacache_sqlite_src = ['plugin_datacache_sqlite.c'] | 3 | libgnunetplugindatacache_sqlite_src = ['plugin_datacache_sqlite.c'] |
4 | 4 | ||
5 | if gnunet_monolith == false | 5 | if get_option('monolith') == false |
6 | libgnunetdatacache = library('gnunetdatacache', | 6 | libgnunetdatacache = library('gnunetdatacache', |
7 | libgnunetdatacache_src, | 7 | libgnunetdatacache_src, |
8 | dependencies: [libgnunetutil_dep, libgnunetstatistics_dep], | 8 | dependencies: [libgnunetutil_dep, libgnunetstatistics_dep], |
diff --git a/src/datastore/meson.build b/src/datastore/meson.build index e98e58dcf..9f9824530 100644 --- a/src/datastore/meson.build +++ b/src/datastore/meson.build | |||
@@ -3,7 +3,7 @@ libgnunetdatastore_src = ['datastore_api.c'] | |||
3 | gnunetservicedatastore_src = ['gnunet-service-datastore.c'] | 3 | gnunetservicedatastore_src = ['gnunet-service-datastore.c'] |
4 | 4 | ||
5 | 5 | ||
6 | if gnunet_monolith == false | 6 | if get_option('monolith') == false |
7 | libgnunetdatastore = library('gnunetdatastore', | 7 | libgnunetdatastore = library('gnunetdatastore', |
8 | libgnunetdatastore_src, | 8 | libgnunetdatastore_src, |
9 | dependencies: [libgnunetutil_dep, | 9 | dependencies: [libgnunetutil_dep, |
diff --git a/src/dht/meson.build b/src/dht/meson.build index 130cef644..86087f48d 100644 --- a/src/dht/meson.build +++ b/src/dht/meson.build | |||
@@ -8,7 +8,7 @@ gnunetservicedht_src = ['gnunet-service-dht.c', | |||
8 | 'gnunet-service-dht_routing.c'] | 8 | 'gnunet-service-dht_routing.c'] |
9 | 9 | ||
10 | 10 | ||
11 | if gnunet_monolith == false | 11 | if get_option('monolith') == false |
12 | libgnunetdht = library('gnunetdht', | 12 | libgnunetdht = library('gnunetdht', |
13 | libgnunetdht_src, | 13 | libgnunetdht_src, |
14 | dependencies: libgnunetutil_dep, | 14 | dependencies: libgnunetutil_dep, |
diff --git a/src/dhtu/meson.build b/src/dhtu/meson.build index 2383f2524..24a5e01a1 100644 --- a/src/dhtu/meson.build +++ b/src/dhtu/meson.build | |||
@@ -2,7 +2,7 @@ libgnunetplugindhtuip_src = ['plugin_dhtu_ip.c'] | |||
2 | libgnunetplugindhtugnunet_src = ['plugin_dhtu_gnunet.c'] | 2 | libgnunetplugindhtugnunet_src = ['plugin_dhtu_gnunet.c'] |
3 | 3 | ||
4 | 4 | ||
5 | if gnunet_monolith == false | 5 | if get_option('monolith') == false |
6 | libgnunetplugindhtuip = library('gnunet_plugin_dhtu_ip', | 6 | libgnunetplugindhtuip = library('gnunet_plugin_dhtu_ip', |
7 | libgnunetplugindhtuip_src, | 7 | libgnunetplugindhtuip_src, |
8 | dependencies: libgnunetutil_dep, | 8 | dependencies: libgnunetutil_dep, |
diff --git a/src/dns/meson.build b/src/dns/meson.build index 2d59dbac3..8b68fd73a 100644 --- a/src/dns/meson.build +++ b/src/dns/meson.build | |||
@@ -6,7 +6,7 @@ gnunetdnsredirector_src = ['gnunet-dns-monitor.c'] | |||
6 | gnunetdnsmonitor_src = ['gnunet-dns-redirector.c'] | 6 | gnunetdnsmonitor_src = ['gnunet-dns-redirector.c'] |
7 | 7 | ||
8 | 8 | ||
9 | if gnunet_monolith == false | 9 | if get_option('monolith') == false |
10 | libgnunetdns = library('gnunetdns', | 10 | libgnunetdns = library('gnunetdns', |
11 | libgnunetdns_src, | 11 | libgnunetdns_src, |
12 | dependencies: libgnunetutil_dep, | 12 | dependencies: libgnunetutil_dep, |
@@ -31,7 +31,7 @@ if gnunet_monolith == false | |||
31 | dependencies: [libgnunetdns_dep, libgnunetutil_dep, libgnunetdns_dep], | 31 | dependencies: [libgnunetdns_dep, libgnunetutil_dep, libgnunetdns_dep], |
32 | include_directories: [incdir, configuration_inc]) | 32 | include_directories: [incdir, configuration_inc]) |
33 | else | 33 | else |
34 | foreach p : libgnunetdns_src + gnunetservicedns_src + gnunetdnsmonitor_src + gnunetdnsredirector_src + libgnunetpluginblockdns_src | 34 | foreach p : libgnunetdns_src + gnunetservicedns_src + libgnunetpluginblockdns_src |
35 | gnunet_src += 'dns/' + p | 35 | gnunet_src += 'dns/' + p |
36 | endforeach | 36 | endforeach |
37 | endif | 37 | endif |
diff --git a/src/fragmentation/meson.build b/src/fragmentation/meson.build index 244902574..97c054614 100644 --- a/src/fragmentation/meson.build +++ b/src/fragmentation/meson.build | |||
@@ -1,7 +1,7 @@ | |||
1 | libgnunetfragmentation_src = ['fragmentation.c', | 1 | libgnunetfragmentation_src = ['fragmentation.c', |
2 | 'defragmentation.c'] | 2 | 'defragmentation.c'] |
3 | 3 | ||
4 | if gnunet_monolith == false | 4 | if get_option('monolith') == false |
5 | libgnunetfragmentation = library('gnunetfragmentation', | 5 | libgnunetfragmentation = library('gnunetfragmentation', |
6 | libgnunetfragmentation_src, | 6 | libgnunetfragmentation_src, |
7 | dependencies: [libgnunetutil_dep, libgnunetstatistics_dep], | 7 | dependencies: [libgnunetutil_dep, libgnunetstatistics_dep], |
diff --git a/src/gns/meson.build b/src/gns/meson.build index 1ee79c4c2..afbecbe64 100644 --- a/src/gns/meson.build +++ b/src/gns/meson.build | |||
@@ -5,13 +5,15 @@ gnunetservicegns_src = ['gnunet-service-gns.c', | |||
5 | 'gnunet-service-gns_interceptor.c'] | 5 | 'gnunet-service-gns_interceptor.c'] |
6 | 6 | ||
7 | 7 | ||
8 | if gnunet_monolith == false | 8 | if get_option('monolith') == false |
9 | libgnunetgns = library('gnunetgns', | 9 | libgnunetgns = library('gnunetgns', |
10 | libgnunetgns_src, | 10 | libgnunetgns_src, |
11 | dependencies: [libgnunetutil_dep, | 11 | dependencies: [libgnunetutil_dep, |
12 | libgnunetgnsrecord_dep, | 12 | libgnunetgnsrecord_dep, |
13 | libgnunetidentity_dep], | 13 | libgnunetidentity_dep], |
14 | include_directories: [incdir, configuration_inc]) | 14 | include_directories: [incdir, configuration_inc], |
15 | install: true, | ||
16 | install_dir: get_option('libdir')) | ||
15 | libgnunetgns_dep = declare_dependency(link_with : libgnunetgns) | 17 | libgnunetgns_dep = declare_dependency(link_with : libgnunetgns) |
16 | executable ('gnunet-service-gns', | 18 | executable ('gnunet-service-gns', |
17 | gnunetservicegns_src, | 19 | gnunetservicegns_src, |
@@ -28,7 +30,9 @@ if gnunet_monolith == false | |||
28 | libgnunetgnsrecord_dep, | 30 | libgnunetgnsrecord_dep, |
29 | libgnunetcadet_dep, | 31 | libgnunetcadet_dep, |
30 | libgnunetblock_dep], | 32 | libgnunetblock_dep], |
31 | include_directories: [incdir, configuration_inc]) | 33 | include_directories: [incdir, configuration_inc], |
34 | install: true, | ||
35 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
32 | else | 36 | else |
33 | foreach p : libgnunetgns_src + gnunetservicegns_src | 37 | foreach p : libgnunetgns_src + gnunetservicegns_src |
34 | gnunet_src += 'gns/' + p | 38 | gnunet_src += 'gns/' + p |
diff --git a/src/gnsrecord/meson.build b/src/gnsrecord/meson.build index 1a6b5e6ff..f98415ce5 100644 --- a/src/gnsrecord/meson.build +++ b/src/gnsrecord/meson.build | |||
@@ -4,7 +4,7 @@ libgnunetgnsrecord_src = ['gnsrecord.c', | |||
4 | 'gnsrecord_misc.c'] | 4 | 'gnsrecord_misc.c'] |
5 | libgnunetgnsrecordjson_src = ['json_gnsrecord.c'] | 5 | libgnunetgnsrecordjson_src = ['json_gnsrecord.c'] |
6 | 6 | ||
7 | if gnunet_monolith == false | 7 | if get_option('monolith') == false |
8 | libgnunetgnsrecord = library('gnunetgnsrecord', | 8 | libgnunetgnsrecord = library('gnunetgnsrecord', |
9 | libgnunetgnsrecord_src, | 9 | libgnunetgnsrecord_src, |
10 | dependencies: [libgnunetutil_dep, | 10 | dependencies: [libgnunetutil_dep, |
diff --git a/src/hello/meson.build b/src/hello/meson.build index 1e5fc4ff6..843531bb5 100644 --- a/src/hello/meson.build +++ b/src/hello/meson.build | |||
@@ -6,7 +6,7 @@ libgnunethello_src = ['hello.c', | |||
6 | gnunethello_src = ['gnunet-hello.c'] | 6 | gnunethello_src = ['gnunet-hello.c'] |
7 | 7 | ||
8 | 8 | ||
9 | if gnunet_monolith == false | 9 | if get_option('monolith') == false |
10 | libgnunethello = library('gnunethello', | 10 | libgnunethello = library('gnunethello', |
11 | libgnunethello_src, | 11 | libgnunethello_src, |
12 | dependencies: libgnunetutil_dep, | 12 | dependencies: libgnunetutil_dep, |
@@ -17,7 +17,7 @@ if gnunet_monolith == false | |||
17 | dependencies: [libgnunethello_dep, libgnunetutil_dep], | 17 | dependencies: [libgnunethello_dep, libgnunetutil_dep], |
18 | include_directories: [incdir, configuration_inc]) | 18 | include_directories: [incdir, configuration_inc]) |
19 | else | 19 | else |
20 | foreach p : libgnunethello_src + gnunethello_src | 20 | foreach p : libgnunethello_src |
21 | gnunet_src += 'hello/' + p | 21 | gnunet_src += 'hello/' + p |
22 | endforeach | 22 | endforeach |
23 | endif | 23 | endif |
diff --git a/src/hostlist/meson.build b/src/hostlist/meson.build index 225f69359..605282fd5 100644 --- a/src/hostlist/meson.build +++ b/src/hostlist/meson.build | |||
@@ -3,7 +3,7 @@ gnunetdaemonhostlist_src = ['gnunet-daemon-hostlist.c', | |||
3 | 'gnunet-daemon-hostlist_client.c'] | 3 | 'gnunet-daemon-hostlist_client.c'] |
4 | 4 | ||
5 | 5 | ||
6 | if gnunet_monolith == false | 6 | if get_option('monolith') == false |
7 | executable ('gnunet-daemon-hostlist', | 7 | executable ('gnunet-daemon-hostlist', |
8 | gnunetdaemonhostlist_src, | 8 | gnunetdaemonhostlist_src, |
9 | dependencies: [libgnunetutil_dep, | 9 | dependencies: [libgnunetutil_dep, |
@@ -16,7 +16,7 @@ if gnunet_monolith == false | |||
16 | curl_dep], | 16 | curl_dep], |
17 | include_directories: [incdir, configuration_inc]) | 17 | include_directories: [incdir, configuration_inc]) |
18 | else | 18 | else |
19 | foreach p : gnunetdaemonhostlist_src | 19 | #foreach p : gnunetdaemonhostlist_src |
20 | gnunet_src += 'hostlist/' + p | 20 | # gnunet_src += 'hostlist/' + p |
21 | endforeach | 21 | #endforeach |
22 | endif | 22 | endif |
diff --git a/src/identity/meson.build b/src/identity/meson.build index 7153fff7f..38adf6da5 100644 --- a/src/identity/meson.build +++ b/src/identity/meson.build | |||
@@ -5,7 +5,7 @@ libgnunetidentity_src = ['identity_api.c', | |||
5 | gnunetserviceidentity_src = ['gnunet-service-identity.c'] | 5 | gnunetserviceidentity_src = ['gnunet-service-identity.c'] |
6 | 6 | ||
7 | 7 | ||
8 | if gnunet_monolith == false | 8 | if get_option('monolith') == false |
9 | libgnunetidentity = library('gnunetidentity', | 9 | libgnunetidentity = library('gnunetidentity', |
10 | libgnunetidentity_src, | 10 | libgnunetidentity_src, |
11 | dependencies: [libgnunetutil_dep, sodium_dep], | 11 | dependencies: [libgnunetutil_dep, sodium_dep], |
diff --git a/src/include/gnunet_service_lib.h b/src/include/gnunet_service_lib.h index 7c6ce0c0e..3ebfae581 100644 --- a/src/include/gnunet_service_lib.h +++ b/src/include/gnunet_service_lib.h | |||
@@ -314,6 +314,7 @@ GNUNET_SERVICE_run_ (int argc, | |||
314 | * GNUNET_MQ_handler_end ()); | 314 | * GNUNET_MQ_handler_end ()); |
315 | * </code> | 315 | * </code> |
316 | */ | 316 | */ |
317 | #ifndef HAVE_GNUNET_MONOLITH | ||
317 | #define GNUNET_SERVICE_MAIN(service_name, service_options, init_cb, connect_cb, \ | 318 | #define GNUNET_SERVICE_MAIN(service_name, service_options, init_cb, connect_cb, \ |
318 | disconnect_cb, cls, ...) \ | 319 | disconnect_cb, cls, ...) \ |
319 | int \ | 320 | int \ |
@@ -333,7 +334,10 @@ GNUNET_SERVICE_run_ (int argc, | |||
333 | cls, \ | 334 | cls, \ |
334 | mh); \ | 335 | mh); \ |
335 | } | 336 | } |
336 | 337 | #else | |
338 | #define GNUNET_SERVICE_MAIN(service_name, service_options, init_cb, connect_cb, \ | ||
339 | disconnect_cb, cls, ...) | ||
340 | #endif | ||
337 | 341 | ||
338 | /** | 342 | /** |
339 | * Suspend accepting connections from the listen socket temporarily. | 343 | * Suspend accepting connections from the listen socket temporarily. |
diff --git a/src/json/meson.build b/src/json/meson.build index ca010ada6..769e9d4cf 100644 --- a/src/json/meson.build +++ b/src/json/meson.build | |||
@@ -4,7 +4,7 @@ libgnunetjson_src = ['json.c', | |||
4 | 'json_mhd.c', | 4 | 'json_mhd.c', |
5 | 'json_pack.c'] | 5 | 'json_pack.c'] |
6 | 6 | ||
7 | if gnunet_monolith == false | 7 | if get_option('monolith') == false |
8 | libgnunetjson = library('gnunetjson', | 8 | libgnunetjson = library('gnunetjson', |
9 | libgnunetjson_src, | 9 | libgnunetjson_src, |
10 | dependencies: [libgnunetutil_dep, json_dep, mhd_dep, zlib_dep], | 10 | dependencies: [libgnunetutil_dep, json_dep, mhd_dep, zlib_dep], |
diff --git a/src/meson.build b/src/meson.build index e66ce696b..5ab5b7063 100644 --- a/src/meson.build +++ b/src/meson.build | |||
@@ -1,4 +1,4 @@ | |||
1 | if gnunet_monolith == true | 1 | if get_option('monolith') == true |
2 | gnunet_src = [] | 2 | gnunet_src = [] |
3 | endif | 3 | endif |
4 | 4 | ||
@@ -7,7 +7,9 @@ subdir('util') | |||
7 | subdir('nt') | 7 | subdir('nt') |
8 | subdir('hello') | 8 | subdir('hello') |
9 | subdir('block') | 9 | subdir('block') |
10 | subdir('arm') | 10 | if get_option('monolith') == false |
11 | subdir('arm') | ||
12 | endif | ||
11 | subdir('statistics') | 13 | subdir('statistics') |
12 | #$(TESTING)') | 14 | #$(TESTING)') |
13 | if json_dep.found() | 15 | if json_dep.found() |
@@ -16,7 +18,9 @@ endif | |||
16 | if curl_dep.found() | 18 | if curl_dep.found() |
17 | subdir('curl') | 19 | subdir('curl') |
18 | endif | 20 | endif |
19 | subdir('rest') | 21 | if get_option('monolith') == false |
22 | subdir('rest') | ||
23 | endif | ||
20 | subdir('peerinfo') | 24 | subdir('peerinfo') |
21 | if sqlite_dep.found() | 25 | if sqlite_dep.found() |
22 | subdir('sq') | 26 | subdir('sq') |
@@ -48,7 +52,7 @@ subdir('namecache') | |||
48 | subdir('namestore') | 52 | subdir('namestore') |
49 | subdir('peerinfo-tool') | 53 | subdir('peerinfo-tool') |
50 | subdir('cadet') | 54 | subdir('cadet') |
51 | subdir('set') | 55 | #subdir('set') |
52 | subdir('seti') | 56 | subdir('seti') |
53 | subdir('setu') | 57 | subdir('setu') |
54 | subdir('consensus') | 58 | subdir('consensus') |
@@ -67,7 +71,7 @@ subdir('zonemaster') | |||
67 | ##subdir('$(EXP_DIR)') | 71 | ##subdir('$(EXP_DIR)') |
68 | #subdir('integration-tests') | 72 | #subdir('integration-tests') |
69 | 73 | ||
70 | if gnunet_monolith == true | 74 | if get_option('monolith') |
71 | libgnunet = library('gnunet', | 75 | libgnunet = library('gnunet', |
72 | gnunet_src, | 76 | gnunet_src, |
73 | dependencies: gnunetdeps, | 77 | dependencies: gnunetdeps, |
diff --git a/src/namecache/meson.build b/src/namecache/meson.build index 87e01d531..f5bb63204 100644 --- a/src/namecache/meson.build +++ b/src/namecache/meson.build | |||
@@ -5,7 +5,7 @@ gnunetnamecache_src = ['gnunet-namecache.c'] | |||
5 | gnunetservicenamecache_src = ['gnunet-service-namecache.c'] | 5 | gnunetservicenamecache_src = ['gnunet-service-namecache.c'] |
6 | 6 | ||
7 | 7 | ||
8 | if gnunet_monolith == false | 8 | if get_option('monolith') == false |
9 | libgnunetnamecache = library('gnunetnamecache', | 9 | libgnunetnamecache = library('gnunetnamecache', |
10 | libgnunetnamecache_src, | 10 | libgnunetnamecache_src, |
11 | dependencies: [libgnunetutil_dep, | 11 | dependencies: [libgnunetutil_dep, |
@@ -35,7 +35,7 @@ if gnunet_monolith == false | |||
35 | libgnunetstatistics_dep], | 35 | libgnunetstatistics_dep], |
36 | include_directories: [incdir, configuration_inc]) | 36 | include_directories: [incdir, configuration_inc]) |
37 | else | 37 | else |
38 | foreach p : libgnunetnamecache_src + libgnunetpluginnamecache_sqlite_src + gnunetservicenamecache_src + gnunetnamecache_src | 38 | foreach p : libgnunetnamecache_src + libgnunetpluginnamecache_sqlite_src + gnunetservicenamecache_src |
39 | gnunet_src += 'namecache/' + p | 39 | gnunet_src += 'namecache/' + p |
40 | endforeach | 40 | endforeach |
41 | endif | 41 | endif |
diff --git a/src/namestore/meson.build b/src/namestore/meson.build index 9241737ca..c3df2a621 100644 --- a/src/namestore/meson.build +++ b/src/namestore/meson.build | |||
@@ -5,7 +5,7 @@ gnunetnamestore_src = ['gnunet-namestore.c'] | |||
5 | gnunetservicenamestore_src = ['gnunet-service-namestore.c'] | 5 | gnunetservicenamestore_src = ['gnunet-service-namestore.c'] |
6 | 6 | ||
7 | 7 | ||
8 | if gnunet_monolith == false | 8 | if get_option('monolith') == false |
9 | libgnunetnamestore = library('gnunetnamestore', | 9 | libgnunetnamestore = library('gnunetnamestore', |
10 | libgnunetnamestore_src, | 10 | libgnunetnamestore_src, |
11 | dependencies: [libgnunetutil_dep, | 11 | dependencies: [libgnunetutil_dep, |
@@ -40,7 +40,7 @@ if gnunet_monolith == false | |||
40 | libgnunetstatistics_dep], | 40 | libgnunetstatistics_dep], |
41 | include_directories: [incdir, configuration_inc]) | 41 | include_directories: [incdir, configuration_inc]) |
42 | else | 42 | else |
43 | foreach p : libgnunetnamestore_src + libgnunetpluginnamestore_sqlite_src + gnunetservicenamestore_src + gnunetnamestore_src | 43 | foreach p : libgnunetnamestore_src + libgnunetpluginnamestore_sqlite_src + gnunetservicenamestore_src |
44 | gnunet_src += 'namestore/' + p | 44 | gnunet_src += 'namestore/' + p |
45 | endforeach | 45 | endforeach |
46 | endif | 46 | endif |
diff --git a/src/nat-auto/meson.build b/src/nat-auto/meson.build index d3441cc65..e5643cc58 100644 --- a/src/nat-auto/meson.build +++ b/src/nat-auto/meson.build | |||
@@ -4,7 +4,7 @@ libgnunetnatauto_src = ['nat_auto_api.c', | |||
4 | gnunetservicenatauto_src = ['gnunet-nat-server.c'] | 4 | gnunetservicenatauto_src = ['gnunet-nat-server.c'] |
5 | 5 | ||
6 | 6 | ||
7 | if gnunet_monolith == false | 7 | if get_option('monolith') == false |
8 | libgnunetnatauto = library('gnunetnatauto', | 8 | libgnunetnatauto = library('gnunetnatauto', |
9 | libgnunetnatauto_src, | 9 | libgnunetnatauto_src, |
10 | dependencies: [libgnunetutil_dep, libgnunetnat_dep], | 10 | dependencies: [libgnunetutil_dep, libgnunetnat_dep], |
diff --git a/src/nat/meson.build b/src/nat/meson.build index 5a0e7622f..48916af9f 100644 --- a/src/nat/meson.build +++ b/src/nat/meson.build | |||
@@ -8,7 +8,7 @@ gnunetservicenat_src = ['gnunet-service-nat.c', | |||
8 | 'gnunet-service-nat_mini.c', | 8 | 'gnunet-service-nat_mini.c', |
9 | 'gnunet-service-nat_helper.c'] | 9 | 'gnunet-service-nat_helper.c'] |
10 | 10 | ||
11 | if gnunet_monolith == false | 11 | if get_option('monolith') == false |
12 | libgnunetnat = library('gnunetnat', | 12 | libgnunetnat = library('gnunetnat', |
13 | libgnunetnat_src, | 13 | libgnunetnat_src, |
14 | dependencies: libgnunetutil_dep, | 14 | dependencies: libgnunetutil_dep, |
diff --git a/src/nse/meson.build b/src/nse/meson.build index f0e0dfa2e..9f1111af6 100644 --- a/src/nse/meson.build +++ b/src/nse/meson.build | |||
@@ -2,7 +2,7 @@ libgnunetnse_src = ['nse_api.c'] | |||
2 | 2 | ||
3 | gnunetservicense_src = ['gnunet-service-nse.c'] | 3 | gnunetservicense_src = ['gnunet-service-nse.c'] |
4 | 4 | ||
5 | if gnunet_monolith == false | 5 | if get_option('monolith') == false |
6 | libgnunetnse = library('gnunetnse', | 6 | libgnunetnse = library('gnunetnse', |
7 | libgnunetnse_src, | 7 | libgnunetnse_src, |
8 | dependencies: libgnunetutil_dep, | 8 | dependencies: libgnunetutil_dep, |
diff --git a/src/nt/meson.build b/src/nt/meson.build index 17c7e1e9d..981e1587d 100644 --- a/src/nt/meson.build +++ b/src/nt/meson.build | |||
@@ -1,6 +1,6 @@ | |||
1 | libgnunetnt_src = ['nt.c'] | 1 | libgnunetnt_src = ['nt.c'] |
2 | 2 | ||
3 | if gnunet_monolith == false | 3 | if get_option('monolith') == false |
4 | libgnunetnt = library('gnunetnt', | 4 | libgnunetnt = library('gnunetnt', |
5 | libgnunetnt_src, | 5 | libgnunetnt_src, |
6 | dependencies: libgnunetutil_dep, | 6 | dependencies: libgnunetutil_dep, |
diff --git a/src/peerinfo-tool/meson.build b/src/peerinfo-tool/meson.build index 0ffcfb099..a16e9bcf0 100644 --- a/src/peerinfo-tool/meson.build +++ b/src/peerinfo-tool/meson.build | |||
@@ -1,7 +1,7 @@ | |||
1 | gnunetpeerinfotool_src = ['gnunet-peerinfo.c', 'gnunet-peerinfo_plugins.c'] | 1 | gnunetpeerinfotool_src = ['gnunet-peerinfo.c', 'gnunet-peerinfo_plugins.c'] |
2 | 2 | ||
3 | 3 | ||
4 | if gnunet_monolith == false | 4 | if get_option('monolith') == false |
5 | executable ('gnunet-peerinfo', | 5 | executable ('gnunet-peerinfo', |
6 | gnunetpeerinfotool_src, | 6 | gnunetpeerinfotool_src, |
7 | dependencies: [libgnunetutil_dep, | 7 | dependencies: [libgnunetutil_dep, |
diff --git a/src/peerinfo/meson.build b/src/peerinfo/meson.build index 2760023f7..fdcd38a61 100644 --- a/src/peerinfo/meson.build +++ b/src/peerinfo/meson.build | |||
@@ -4,7 +4,7 @@ libgnunetpeerinfo_src = ['peerinfo_api.c', | |||
4 | gnunetservicepeerinfo_src = ['gnunet-service-peerinfo.c'] | 4 | gnunetservicepeerinfo_src = ['gnunet-service-peerinfo.c'] |
5 | 5 | ||
6 | 6 | ||
7 | if gnunet_monolith == false | 7 | if get_option('monolith') == false |
8 | libgnunetpeerinfo = library('gnunetpeerinfo', | 8 | libgnunetpeerinfo = library('gnunetpeerinfo', |
9 | libgnunetpeerinfo_src, | 9 | libgnunetpeerinfo_src, |
10 | dependencies: [libgnunetutil_dep, libgnunethello_dep], | 10 | dependencies: [libgnunetutil_dep, libgnunethello_dep], |
diff --git a/src/peerstore/meson.build b/src/peerstore/meson.build index fbaf791a2..0286a148c 100644 --- a/src/peerstore/meson.build +++ b/src/peerstore/meson.build | |||
@@ -4,7 +4,7 @@ libgnunetpeerstore_src = ['peerstore_api.c', | |||
4 | gnunetservicepeerstore_src = ['gnunet-service-peerstore.c'] | 4 | gnunetservicepeerstore_src = ['gnunet-service-peerstore.c'] |
5 | 5 | ||
6 | 6 | ||
7 | if gnunet_monolith == false | 7 | if get_option('monolith') == false |
8 | libgnunetpeerstore = library('gnunetpeerstore', | 8 | libgnunetpeerstore = library('gnunetpeerstore', |
9 | libgnunetpeerstore_src, | 9 | libgnunetpeerstore_src, |
10 | dependencies: libgnunetutil_dep, | 10 | dependencies: libgnunetutil_dep, |
diff --git a/src/regex/meson.build b/src/regex/meson.build index 48289e7b5..64c284558 100644 --- a/src/regex/meson.build +++ b/src/regex/meson.build | |||
@@ -7,7 +7,7 @@ gnunetserviceregex_src = ['gnunet-service-regex.c', | |||
7 | 'regex_internal.c'] | 7 | 'regex_internal.c'] |
8 | 8 | ||
9 | 9 | ||
10 | if gnunet_monolith == false | 10 | if get_option('monolith') == false |
11 | libgnunetregex = library('gnunetregex', | 11 | libgnunetregex = library('gnunetregex', |
12 | libgnunetregex_src, | 12 | libgnunetregex_src, |
13 | dependencies: libgnunetutil_dep, | 13 | dependencies: libgnunetutil_dep, |
diff --git a/src/rest/meson.build b/src/rest/meson.build index f994e0a3e..19575233a 100644 --- a/src/rest/meson.build +++ b/src/rest/meson.build | |||
@@ -3,7 +3,7 @@ libgnunetrest_src = ['rest.c'] | |||
3 | gnunetservicerest_src = ['gnunet-rest-server.c'] | 3 | gnunetservicerest_src = ['gnunet-rest-server.c'] |
4 | 4 | ||
5 | 5 | ||
6 | if gnunet_monolith == false | 6 | if get_option('monolith') == false |
7 | libgnunetrest = library('gnunetrest', | 7 | libgnunetrest = library('gnunetrest', |
8 | libgnunetrest_src, | 8 | libgnunetrest_src, |
9 | dependencies: [libgnunetutil_dep, mhd_dep], | 9 | dependencies: [libgnunetutil_dep, mhd_dep], |
diff --git a/src/revocation/meson.build b/src/revocation/meson.build index 33dcab90b..843633289 100644 --- a/src/revocation/meson.build +++ b/src/revocation/meson.build | |||
@@ -3,7 +3,7 @@ libgnunetrevocation_src = ['revocation_api.c'] | |||
3 | gnunetservicerevocation_src = ['gnunet-service-revocation.c'] | 3 | gnunetservicerevocation_src = ['gnunet-service-revocation.c'] |
4 | 4 | ||
5 | 5 | ||
6 | if gnunet_monolith == false | 6 | if get_option('monolith') == false |
7 | libgnunetrevocation = library('gnunetrevocation', | 7 | libgnunetrevocation = library('gnunetrevocation', |
8 | libgnunetrevocation_src, | 8 | libgnunetrevocation_src, |
9 | dependencies: [libgnunetutil_dep, libgnunetidentity_dep], | 9 | dependencies: [libgnunetutil_dep, libgnunetidentity_dep], |
diff --git a/src/scalarproduct/meson.build b/src/scalarproduct/meson.build index 7dc8bd89b..80b85ae80 100644 --- a/src/scalarproduct/meson.build +++ b/src/scalarproduct/meson.build | |||
@@ -7,7 +7,7 @@ gnunetservicescalarproduct_src = ['gnunet-service-scalarproduct.c', | |||
7 | 'ibf.c'] | 7 | 'ibf.c'] |
8 | 8 | ||
9 | 9 | ||
10 | if gnunet_monolith == false | 10 | if get_option('monolith') == false |
11 | libgnunetscalarproduct = library('gnunetscalarproduct', | 11 | libgnunetscalarproduct = library('gnunetscalarproduct', |
12 | libgnunetscalarproduct_src, | 12 | libgnunetscalarproduct_src, |
13 | dependencies: libgnunetutil_dep, | 13 | dependencies: libgnunetutil_dep, |
diff --git a/src/set/meson.build b/src/set/meson.build index 77ff86718..da97ef7b4 100644 --- a/src/set/meson.build +++ b/src/set/meson.build | |||
@@ -7,7 +7,7 @@ gnunetserviceset_src = ['gnunet-service-set.c', | |||
7 | 'ibf.c'] | 7 | 'ibf.c'] |
8 | 8 | ||
9 | 9 | ||
10 | if gnunet_monolith == false | 10 | if get_option('monolith') == false |
11 | libgnunetset = library('gnunetset', | 11 | libgnunetset = library('gnunetset', |
12 | libgnunetset_src, | 12 | libgnunetset_src, |
13 | dependencies: libgnunetutil_dep, | 13 | dependencies: libgnunetutil_dep, |
diff --git a/src/seti/meson.build b/src/seti/meson.build index 36311da2f..d913e26de 100644 --- a/src/seti/meson.build +++ b/src/seti/meson.build | |||
@@ -3,7 +3,7 @@ libgnunetseti_src = ['seti_api.c'] | |||
3 | gnunetserviceseti_src = ['gnunet-service-seti.c'] | 3 | gnunetserviceseti_src = ['gnunet-service-seti.c'] |
4 | 4 | ||
5 | 5 | ||
6 | if gnunet_monolith == false | 6 | if get_option('monolith') == false |
7 | libgnunetseti = library('gnunetseti', | 7 | libgnunetseti = library('gnunetseti', |
8 | libgnunetseti_src, | 8 | libgnunetseti_src, |
9 | dependencies: libgnunetutil_dep, | 9 | dependencies: libgnunetutil_dep, |
diff --git a/src/setu/meson.build b/src/setu/meson.build index f4c3cea4e..2d867c32e 100644 --- a/src/setu/meson.build +++ b/src/setu/meson.build | |||
@@ -5,7 +5,7 @@ gnunetservicesetu_src = ['gnunet-service-setu.c', | |||
5 | 'gnunet-service-setu_strata_estimator.c'] | 5 | 'gnunet-service-setu_strata_estimator.c'] |
6 | 6 | ||
7 | 7 | ||
8 | if gnunet_monolith == false | 8 | if get_option('monolith') == false |
9 | libgnunetsetu = library('gnunetsetu', | 9 | libgnunetsetu = library('gnunetsetu', |
10 | libgnunetsetu_src, | 10 | libgnunetsetu_src, |
11 | dependencies: libgnunetutil_dep, | 11 | dependencies: libgnunetutil_dep, |
diff --git a/src/sq/meson.build b/src/sq/meson.build index b995b54a4..4199acb9f 100644 --- a/src/sq/meson.build +++ b/src/sq/meson.build | |||
@@ -4,7 +4,7 @@ libgnunetsq_src = ['sq.c', | |||
4 | 'sq_query_helper.c', | 4 | 'sq_query_helper.c', |
5 | 'sq_result_helper.c'] | 5 | 'sq_result_helper.c'] |
6 | 6 | ||
7 | if gnunet_monolith == false | 7 | if get_option('monolith') == false |
8 | libgnunetsq = library('gnunetsq', | 8 | libgnunetsq = library('gnunetsq', |
9 | libgnunetsq_src, | 9 | libgnunetsq_src, |
10 | dependencies: [libgnunetutil_dep, sqlite_dep], | 10 | dependencies: [libgnunetutil_dep, sqlite_dep], |
diff --git a/src/statistics/meson.build b/src/statistics/meson.build index 78d8c1e3e..f0bed324e 100644 --- a/src/statistics/meson.build +++ b/src/statistics/meson.build | |||
@@ -3,7 +3,7 @@ libgnunetstatistics_src = ['statistics_api.c'] | |||
3 | gnunetservicestatistics_src = ['gnunet-service-statistics.c'] | 3 | gnunetservicestatistics_src = ['gnunet-service-statistics.c'] |
4 | 4 | ||
5 | 5 | ||
6 | if gnunet_monolith == false | 6 | if get_option('monolith') == false |
7 | libgnunetstatistics = library('gnunetstatistics', | 7 | libgnunetstatistics = library('gnunetstatistics', |
8 | libgnunetstatistics_src, | 8 | libgnunetstatistics_src, |
9 | dependencies: libgnunetutil_dep, | 9 | dependencies: libgnunetutil_dep, |
diff --git a/src/topology/meson.build b/src/topology/meson.build index a4f42027c..2f1db3641 100644 --- a/src/topology/meson.build +++ b/src/topology/meson.build | |||
@@ -3,7 +3,7 @@ libgnunetfriends_src = ['friends.c'] | |||
3 | gnunetdaemontopology_src = ['gnunet-daemon-topology.c'] | 3 | gnunetdaemontopology_src = ['gnunet-daemon-topology.c'] |
4 | 4 | ||
5 | 5 | ||
6 | if gnunet_monolith == false | 6 | if get_option('monolith') == false |
7 | libgnunetfriends = library('gnunetfriends', | 7 | libgnunetfriends = library('gnunetfriends', |
8 | libgnunetfriends_src, | 8 | libgnunetfriends_src, |
9 | dependencies: libgnunetutil_dep, | 9 | dependencies: libgnunetutil_dep, |
@@ -21,7 +21,7 @@ if gnunet_monolith == false | |||
21 | libgnunethello_dep], | 21 | libgnunethello_dep], |
22 | include_directories: [incdir, configuration_inc]) | 22 | include_directories: [incdir, configuration_inc]) |
23 | else | 23 | else |
24 | foreach p : libgnunetfriends_src + gnunetdaemontopology_src | 24 | foreach p : libgnunetfriends_src |
25 | gnunet_src += 'topology/' + p | 25 | gnunet_src += 'topology/' + p |
26 | endforeach | 26 | endforeach |
27 | endif | 27 | endif |
diff --git a/src/transport/meson.build b/src/transport/meson.build index 09e6c35a3..6774f539e 100644 --- a/src/transport/meson.build +++ b/src/transport/meson.build | |||
@@ -16,7 +16,7 @@ gnunetcommunicatortcp_src = ['gnunet-communicator-tcp.c'] | |||
16 | gnunetcommunicatorudp_src = ['gnunet-communicator-udp.c'] | 16 | gnunetcommunicatorudp_src = ['gnunet-communicator-udp.c'] |
17 | 17 | ||
18 | 18 | ||
19 | if gnunet_monolith == false | 19 | if get_option('monolith') == false |
20 | libgnunettransport = library('gnunettransport', | 20 | libgnunettransport = library('gnunettransport', |
21 | libgnunettransport_src, | 21 | libgnunettransport_src, |
22 | dependencies: [libgnunetutil_dep, libgnunetats_dep, libgnunethello_dep], | 22 | dependencies: [libgnunetutil_dep, libgnunetats_dep, libgnunethello_dep], |
diff --git a/src/util/meson.build b/src/util/meson.build index 4d677a7b2..fdb4e295f 100644 --- a/src/util/meson.build +++ b/src/util/meson.build | |||
@@ -69,7 +69,7 @@ libgnunetutil_src = ['bandwidth.c', | |||
69 | 'proc_compat.c', | 69 | 'proc_compat.c', |
70 | 'gnunet_error_codes.c'] | 70 | 'gnunet_error_codes.c'] |
71 | 71 | ||
72 | if gnunet_monolith == false | 72 | if get_option('monolith') == false |
73 | libgnunetutil = library('gnunetutil', | 73 | libgnunetutil = library('gnunetutil', |
74 | libgnunetutil_src, | 74 | libgnunetutil_src, |
75 | dependencies: gnunetdeps, | 75 | dependencies: gnunetdeps, |
diff --git a/src/vpn/meson.build b/src/vpn/meson.build index 62054224b..c827b7e91 100644 --- a/src/vpn/meson.build +++ b/src/vpn/meson.build | |||
@@ -4,7 +4,7 @@ gnunetservicevpn_src = ['gnunet-service-vpn.c'] | |||
4 | 4 | ||
5 | exitdir = include_directories('../exit') | 5 | exitdir = include_directories('../exit') |
6 | 6 | ||
7 | if gnunet_monolith == false | 7 | if get_option('monolith') == false |
8 | libgnunetvpn = library('gnunetvpn', | 8 | libgnunetvpn = library('gnunetvpn', |
9 | libgnunetvpn_src, | 9 | libgnunetvpn_src, |
10 | dependencies: libgnunetutil_dep, | 10 | dependencies: libgnunetutil_dep, |
diff --git a/src/zonemaster/meson.build b/src/zonemaster/meson.build index 35208f221..885bd2cd4 100644 --- a/src/zonemaster/meson.build +++ b/src/zonemaster/meson.build | |||
@@ -1,7 +1,7 @@ | |||
1 | gnunetservicezonemaster_src = ['gnunet-service-zonemaster.c'] | 1 | gnunetservicezonemaster_src = ['gnunet-service-zonemaster.c'] |
2 | 2 | ||
3 | 3 | ||
4 | if gnunet_monolith == false | 4 | if get_option('monolith') == false |
5 | executable ('gnunet-service-zonemaster', | 5 | executable ('gnunet-service-zonemaster', |
6 | gnunetservicezonemaster_src, | 6 | gnunetservicezonemaster_src, |
7 | dependencies: [ | 7 | dependencies: [ |