diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/consensus/meson.build | 42 | ||||
-rw-r--r-- | src/curl/meson.build | 20 | ||||
-rw-r--r-- | src/dns/meson.build | 1 | ||||
-rw-r--r-- | src/fragmentation/meson.build | 1 | ||||
-rw-r--r-- | src/identity/meson.build | 1 | ||||
-rw-r--r-- | src/peerstore/meson.build | 1 | ||||
-rw-r--r-- | src/rest/meson.build | 1 | ||||
-rw-r--r-- | src/scalarproduct/meson.build | 1 | ||||
-rw-r--r-- | src/secretsharing/meson.build | 1 | ||||
-rw-r--r-- | src/set/meson.build | 43 | ||||
-rw-r--r-- | src/seti/meson.build | 1 | ||||
-rw-r--r-- | src/setu/meson.build | 1 | ||||
-rw-r--r-- | src/sq/meson.build | 1 | ||||
-rw-r--r-- | src/topology/meson.build | 1 | ||||
-rw-r--r-- | src/transport/meson.build | 5 | ||||
-rw-r--r-- | src/vpn/meson.build | 1 |
16 files changed, 78 insertions, 44 deletions
diff --git a/src/consensus/meson.build b/src/consensus/meson.build index e1685d834..87d2b0479 100644 --- a/src/consensus/meson.build +++ b/src/consensus/meson.build | |||
@@ -8,25 +8,31 @@ configure_file(input : 'consensus.conf.in', | |||
8 | install: true, | 8 | install: true, |
9 | install_dir: pkgcfgdir) | 9 | install_dir: pkgcfgdir) |
10 | 10 | ||
11 | if get_option('monolith') == false | 11 | if get_option('monolith') |
12 | libgnunetconsensus = library('gnunetconsensus', | ||
13 | libgnunetconsensus_src, | ||
14 | dependencies: libgnunetutil_dep, | ||
15 | include_directories: [incdir, configuration_inc], | ||
16 | install: true, | ||
17 | install_dir: get_option('libdir')) | ||
18 | libgnunetconsensus_dep = declare_dependency(link_with : libgnunetconsensus) | ||
19 | executable ('gnunet-service-consensus', | ||
20 | gnunetserviceconsensus_src, | ||
21 | dependencies: [libgnunetconsensus_dep, | ||
22 | libgnunetutil_dep, | ||
23 | libgnunetset_dep, | ||
24 | libgnunetstatistics_dep], | ||
25 | include_directories: [incdir, configuration_inc], | ||
26 | install: true, | ||
27 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
28 | else | ||
29 | foreach p : libgnunetconsensus_src + gnunetserviceconsensus_src | 12 | foreach p : libgnunetconsensus_src + gnunetserviceconsensus_src |
30 | gnunet_src += 'consensus/' + p | 13 | gnunet_src += 'consensus/' + p |
31 | endforeach | 14 | endforeach |
15 | subdir_done() | ||
32 | endif | 16 | endif |
17 | |||
18 | libgnunetconsensus = shared_library('gnunetconsensus', | ||
19 | libgnunetconsensus_src, | ||
20 | soversion: '0.0.0', | ||
21 | dependencies: libgnunetutil_dep, | ||
22 | include_directories: [incdir, configuration_inc], | ||
23 | install: true, | ||
24 | install_dir: get_option('libdir')) | ||
25 | pkg.generate(libgnunetconsensus, url: 'https://www.gnunet.org', | ||
26 | description : 'Provides API for accessing the consensus service') | ||
27 | libgnunetarm_dep = declare_dependency(link_with : libgnunetarm) | ||
28 | libgnunetconsensus_dep = declare_dependency(link_with : libgnunetconsensus) | ||
29 | executable ('gnunet-service-consensus', | ||
30 | gnunetserviceconsensus_src, | ||
31 | dependencies: [libgnunetconsensus_dep, | ||
32 | libgnunetutil_dep, | ||
33 | libgnunetset_dep, | ||
34 | libgnunetstatistics_dep], | ||
35 | include_directories: [incdir, configuration_inc], | ||
36 | install: true, | ||
37 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
38 | |||
diff --git a/src/curl/meson.build b/src/curl/meson.build index b10d361d0..a7a040f44 100644 --- a/src/curl/meson.build +++ b/src/curl/meson.build | |||
@@ -1,16 +1,18 @@ | |||
1 | libgnunetcurl_src = ['curl.c', | 1 | libgnunetcurl_src = ['curl.c', |
2 | 'curl_reschedule.c'] | 2 | 'curl_reschedule.c'] |
3 | 3 | ||
4 | if get_option('monolith') == false | 4 | if get_option('monolith') |
5 | libgnunetcurl = library('gnunetcurl', | ||
6 | libgnunetcurl_src, | ||
7 | dependencies: [libgnunetutil_dep, curl_dep, json_dep], | ||
8 | include_directories: [incdir, configuration_inc], | ||
9 | install: true, | ||
10 | install_dir: get_option('libdir')) | ||
11 | libgnunetcurl_dep = declare_dependency(link_with : libgnunetcurl) | ||
12 | else | ||
13 | foreach p : libgnunetcurl_src | 5 | foreach p : libgnunetcurl_src |
14 | gnunet_src += 'curl/' + p | 6 | gnunet_src += 'curl/' + p |
15 | endforeach | 7 | endforeach |
16 | endif | 8 | endif |
9 | |||
10 | libgnunetcurl = library('gnunetcurl', | ||
11 | libgnunetcurl_src, | ||
12 | soversion: '0.0.0', | ||
13 | dependencies: [libgnunetutil_dep, curl_dep, json_dep], | ||
14 | include_directories: [incdir, configuration_inc], | ||
15 | install: true, | ||
16 | install_dir: get_option('libdir')) | ||
17 | libgnunetcurl_dep = declare_dependency(link_with : libgnunetcurl) | ||
18 | |||
diff --git a/src/dns/meson.build b/src/dns/meson.build index 54d92109d..00d66c186 100644 --- a/src/dns/meson.build +++ b/src/dns/meson.build | |||
@@ -20,6 +20,7 @@ endif | |||
20 | 20 | ||
21 | libgnunetdns = library('gnunetdns', | 21 | libgnunetdns = library('gnunetdns', |
22 | libgnunetdns_src, | 22 | libgnunetdns_src, |
23 | soversion: '0.0.0', | ||
23 | dependencies: libgnunetutil_dep, | 24 | dependencies: libgnunetutil_dep, |
24 | include_directories: [incdir, configuration_inc], | 25 | include_directories: [incdir, configuration_inc], |
25 | install: true, | 26 | install: true, |
diff --git a/src/fragmentation/meson.build b/src/fragmentation/meson.build index fa3d08a0a..fa7d0874e 100644 --- a/src/fragmentation/meson.build +++ b/src/fragmentation/meson.build | |||
@@ -9,6 +9,7 @@ endif | |||
9 | 9 | ||
10 | libgnunetfragmentation = library('gnunetfragmentation', | 10 | libgnunetfragmentation = library('gnunetfragmentation', |
11 | libgnunetfragmentation_src, | 11 | libgnunetfragmentation_src, |
12 | soversion: '2.0.0', | ||
12 | dependencies: [m_dep, libgnunetutil_dep, libgnunetstatistics_dep], | 13 | dependencies: [m_dep, libgnunetutil_dep, libgnunetstatistics_dep], |
13 | include_directories: [incdir, configuration_inc], | 14 | include_directories: [incdir, configuration_inc], |
14 | install: true, | 15 | install: true, |
diff --git a/src/identity/meson.build b/src/identity/meson.build index b9d54fa91..6d2e5a359 100644 --- a/src/identity/meson.build +++ b/src/identity/meson.build | |||
@@ -19,6 +19,7 @@ endif | |||
19 | 19 | ||
20 | libgnunetidentity = library('gnunetidentity', | 20 | libgnunetidentity = library('gnunetidentity', |
21 | libgnunetidentity_src, | 21 | libgnunetidentity_src, |
22 | soversion: '1.0.0', | ||
22 | dependencies: [libgnunetutil_dep, sodium_dep], | 23 | dependencies: [libgnunetutil_dep, sodium_dep], |
23 | include_directories: [incdir, configuration_inc], | 24 | include_directories: [incdir, configuration_inc], |
24 | install: true, | 25 | install: true, |
diff --git a/src/peerstore/meson.build b/src/peerstore/meson.build index d93042876..edc8afa32 100644 --- a/src/peerstore/meson.build +++ b/src/peerstore/meson.build | |||
@@ -19,6 +19,7 @@ endif | |||
19 | 19 | ||
20 | libgnunetpeerstore = library('gnunetpeerstore', | 20 | libgnunetpeerstore = library('gnunetpeerstore', |
21 | libgnunetpeerstore_src, | 21 | libgnunetpeerstore_src, |
22 | soversion: '0.0.0', | ||
22 | dependencies: libgnunetutil_dep, | 23 | dependencies: libgnunetutil_dep, |
23 | include_directories: [incdir, configuration_inc], | 24 | include_directories: [incdir, configuration_inc], |
24 | install: true, | 25 | install: true, |
diff --git a/src/rest/meson.build b/src/rest/meson.build index 85a69c407..f093e195d 100644 --- a/src/rest/meson.build +++ b/src/rest/meson.build | |||
@@ -19,6 +19,7 @@ endif | |||
19 | 19 | ||
20 | libgnunetrest = library('gnunetrest', | 20 | libgnunetrest = library('gnunetrest', |
21 | libgnunetrest_src, | 21 | libgnunetrest_src, |
22 | soversion: '0.0.0', | ||
22 | dependencies: [libgnunetutil_dep, mhd_dep], | 23 | dependencies: [libgnunetutil_dep, mhd_dep], |
23 | include_directories: [incdir, configuration_inc], | 24 | include_directories: [incdir, configuration_inc], |
24 | install: true, | 25 | install: true, |
diff --git a/src/scalarproduct/meson.build b/src/scalarproduct/meson.build index f158f9bc1..f6be8b4e1 100644 --- a/src/scalarproduct/meson.build +++ b/src/scalarproduct/meson.build | |||
@@ -21,6 +21,7 @@ endif | |||
21 | 21 | ||
22 | libgnunetscalarproduct = library('gnunetscalarproduct', | 22 | libgnunetscalarproduct = library('gnunetscalarproduct', |
23 | libgnunetscalarproduct_src, | 23 | libgnunetscalarproduct_src, |
24 | soversion: '0.0.0', | ||
24 | dependencies: [libgnunetutil_dep, | 25 | dependencies: [libgnunetutil_dep, |
25 | gcrypt_dep], | 26 | gcrypt_dep], |
26 | include_directories: [incdir, configuration_inc], | 27 | include_directories: [incdir, configuration_inc], |
diff --git a/src/secretsharing/meson.build b/src/secretsharing/meson.build index 07d7611b2..93f1b4f13 100644 --- a/src/secretsharing/meson.build +++ b/src/secretsharing/meson.build | |||
@@ -16,6 +16,7 @@ endif | |||
16 | 16 | ||
17 | libgnunetsecretsharing = library('gnunetsecretsharing', | 17 | libgnunetsecretsharing = library('gnunetsecretsharing', |
18 | libgnunetsecretsharing_src, | 18 | libgnunetsecretsharing_src, |
19 | soversion: '0.0.0', | ||
19 | dependencies: [libgnunetutil_dep, | 20 | dependencies: [libgnunetutil_dep, |
20 | libgnunetstatistics_dep, | 21 | libgnunetstatistics_dep, |
21 | gcrypt_dep, | 22 | gcrypt_dep, |
diff --git a/src/set/meson.build b/src/set/meson.build index ea01e2d5b..f12ac3572 100644 --- a/src/set/meson.build +++ b/src/set/meson.build | |||
@@ -13,24 +13,33 @@ configure_file(input : 'set.conf.in', | |||
13 | install_dir: pkgcfgdir) | 13 | install_dir: pkgcfgdir) |
14 | 14 | ||
15 | 15 | ||
16 | if get_option('monolith') == false | 16 | if get_option('monolith') |
17 | libgnunetset = library('gnunetset', | ||
18 | libgnunetset_src, | ||
19 | dependencies: libgnunetutil_dep, | ||
20 | include_directories: [incdir, configuration_inc]) | ||
21 | libgnunetset_dep = declare_dependency(link_with : libgnunetset) | ||
22 | executable ('gnunet-service-set', | ||
23 | gnunetserviceset_src, | ||
24 | dependencies: [libgnunetset_dep, | ||
25 | libgnunetutil_dep, | ||
26 | m_dep, | ||
27 | libgnunetstatistics_dep, | ||
28 | libgnunetcore_dep, | ||
29 | libgnunetcadet_dep, | ||
30 | libgnunetblock_dep], | ||
31 | include_directories: [incdir, configuration_inc]) | ||
32 | else | ||
33 | foreach p : libgnunetset_src + gnunetserviceset_src | 17 | foreach p : libgnunetset_src + gnunetserviceset_src |
34 | gnunet_src += 'set/' + p | 18 | gnunet_src += 'set/' + p |
35 | endforeach | 19 | endforeach |
20 | subdir_done() | ||
36 | endif | 21 | endif |
22 | |||
23 | libgnunetset = library('gnunetset', | ||
24 | libgnunetset_src, | ||
25 | soversion: '0.0.0', | ||
26 | dependencies: libgnunetutil_dep, | ||
27 | include_directories: [incdir, configuration_inc], | ||
28 | install: true, | ||
29 | install_dir: get_option('libdir')) | ||
30 | pkg.generate(libgnunetset, url: 'https://www.gnunet.org', | ||
31 | description : 'Provides API for accessing the set service') | ||
32 | libgnunetset_dep = declare_dependency(link_with : libgnunetset) | ||
33 | executable ('gnunet-service-set', | ||
34 | gnunetserviceset_src, | ||
35 | dependencies: [libgnunetset_dep, | ||
36 | libgnunetutil_dep, | ||
37 | m_dep, | ||
38 | libgnunetstatistics_dep, | ||
39 | libgnunetcore_dep, | ||
40 | libgnunetcadet_dep, | ||
41 | libgnunetblock_dep], | ||
42 | include_directories: [incdir, configuration_inc], | ||
43 | install: true, | ||
44 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
45 | |||
diff --git a/src/seti/meson.build b/src/seti/meson.build index fb96a20d1..182345d47 100644 --- a/src/seti/meson.build +++ b/src/seti/meson.build | |||
@@ -18,6 +18,7 @@ endif | |||
18 | 18 | ||
19 | libgnunetseti = library('gnunetseti', | 19 | libgnunetseti = library('gnunetseti', |
20 | libgnunetseti_src, | 20 | libgnunetseti_src, |
21 | soversion: '0.0.0', | ||
21 | dependencies: libgnunetutil_dep, | 22 | dependencies: libgnunetutil_dep, |
22 | include_directories: [incdir, configuration_inc], | 23 | include_directories: [incdir, configuration_inc], |
23 | install: true, | 24 | install: true, |
diff --git a/src/setu/meson.build b/src/setu/meson.build index ef4a75b20..51b521819 100644 --- a/src/setu/meson.build +++ b/src/setu/meson.build | |||
@@ -20,6 +20,7 @@ endif | |||
20 | 20 | ||
21 | libgnunetsetu = library('gnunetsetu', | 21 | libgnunetsetu = library('gnunetsetu', |
22 | libgnunetsetu_src, | 22 | libgnunetsetu_src, |
23 | soversion: '0.0.0', | ||
23 | dependencies: libgnunetutil_dep, | 24 | dependencies: libgnunetutil_dep, |
24 | include_directories: [incdir, configuration_inc], | 25 | include_directories: [incdir, configuration_inc], |
25 | install: true, | 26 | install: true, |
diff --git a/src/sq/meson.build b/src/sq/meson.build index d30e82e84..ed01c9739 100644 --- a/src/sq/meson.build +++ b/src/sq/meson.build | |||
@@ -13,6 +13,7 @@ endif | |||
13 | 13 | ||
14 | libgnunetsq = library('gnunetsq', | 14 | libgnunetsq = library('gnunetsq', |
15 | libgnunetsq_src, | 15 | libgnunetsq_src, |
16 | soversion: '0.0.0', | ||
16 | dependencies: [libgnunetutil_dep, sqlite_dep], | 17 | dependencies: [libgnunetutil_dep, sqlite_dep], |
17 | include_directories: [incdir, configuration_inc], | 18 | include_directories: [incdir, configuration_inc], |
18 | install: true, | 19 | install: true, |
diff --git a/src/topology/meson.build b/src/topology/meson.build index 9f60551dc..00c462a05 100644 --- a/src/topology/meson.build +++ b/src/topology/meson.build | |||
@@ -18,6 +18,7 @@ endif | |||
18 | 18 | ||
19 | libgnunetfriends = library('gnunetfriends', | 19 | libgnunetfriends = library('gnunetfriends', |
20 | libgnunetfriends_src, | 20 | libgnunetfriends_src, |
21 | soversion: '0.0.0', | ||
21 | dependencies: libgnunetutil_dep, | 22 | dependencies: libgnunetutil_dep, |
22 | include_directories: [incdir, configuration_inc], | 23 | include_directories: [incdir, configuration_inc], |
23 | install: true, | 24 | install: true, |
diff --git a/src/transport/meson.build b/src/transport/meson.build index 12ecb9f3b..7df7050c1 100644 --- a/src/transport/meson.build +++ b/src/transport/meson.build | |||
@@ -31,6 +31,7 @@ endif | |||
31 | 31 | ||
32 | libgnunettransport = library('gnunettransport', | 32 | libgnunettransport = library('gnunettransport', |
33 | libgnunettransport_src, | 33 | libgnunettransport_src, |
34 | soversion: '2.2.0', | ||
34 | dependencies: [libgnunetutil_dep, libgnunetats_dep, libgnunethello_dep], | 35 | dependencies: [libgnunetutil_dep, libgnunetats_dep, libgnunethello_dep], |
35 | include_directories: [incdir, configuration_inc], | 36 | include_directories: [incdir, configuration_inc], |
36 | install: true, | 37 | install: true, |
@@ -41,6 +42,7 @@ libgnunettransport_dep = declare_dependency(link_with : libgnunettransport) | |||
41 | 42 | ||
42 | libgnunettransportapplication = library('gnunettransportapplication', | 43 | libgnunettransportapplication = library('gnunettransportapplication', |
43 | libgnunettransportapplication_src, | 44 | libgnunettransportapplication_src, |
45 | soversion: '0.0.0', | ||
44 | dependencies: libgnunetutil_dep, | 46 | dependencies: libgnunetutil_dep, |
45 | include_directories: [incdir, configuration_inc], | 47 | include_directories: [incdir, configuration_inc], |
46 | install: true, | 48 | install: true, |
@@ -51,6 +53,7 @@ libgnunettransportapplication_dep = declare_dependency(link_with : libgnunettran | |||
51 | 53 | ||
52 | libgnunettransportcore = library('gnunettransportcore', | 54 | libgnunettransportcore = library('gnunettransportcore', |
53 | libgnunettransportcore_src, | 55 | libgnunettransportcore_src, |
56 | soversion: '0.0.0', | ||
54 | dependencies: libgnunetutil_dep, | 57 | dependencies: libgnunetutil_dep, |
55 | include_directories: [incdir, configuration_inc], | 58 | include_directories: [incdir, configuration_inc], |
56 | install: true, | 59 | install: true, |
@@ -61,6 +64,7 @@ libgnunettransportcore_dep = declare_dependency(link_with : libgnunettransportco | |||
61 | 64 | ||
62 | libgnunettransportcommunicator = library('gnunettransportcommunicator', | 65 | libgnunettransportcommunicator = library('gnunettransportcommunicator', |
63 | libgnunettransportcommunicator_src, | 66 | libgnunettransportcommunicator_src, |
67 | soversion: '0.0.0', | ||
64 | dependencies: libgnunetutil_dep, | 68 | dependencies: libgnunetutil_dep, |
65 | include_directories: [incdir, configuration_inc], | 69 | include_directories: [incdir, configuration_inc], |
66 | install: true, | 70 | install: true, |
@@ -71,6 +75,7 @@ libgnunettransportcommunicator_dep = declare_dependency(link_with : libgnunettra | |||
71 | 75 | ||
72 | libgnunettransportmonitor = library('gnunettransportmonitor', | 76 | libgnunettransportmonitor = library('gnunettransportmonitor', |
73 | libgnunettransportmonitor_src, | 77 | libgnunettransportmonitor_src, |
78 | soversion: '0.0.0', | ||
74 | dependencies: libgnunetutil_dep, | 79 | dependencies: libgnunetutil_dep, |
75 | include_directories: [incdir, configuration_inc], | 80 | include_directories: [incdir, configuration_inc], |
76 | install: true, | 81 | install: true, |
diff --git a/src/vpn/meson.build b/src/vpn/meson.build index b1fd78151..f94a98871 100644 --- a/src/vpn/meson.build +++ b/src/vpn/meson.build | |||
@@ -20,6 +20,7 @@ endif | |||
20 | 20 | ||
21 | libgnunetvpn = library('gnunetvpn', | 21 | libgnunetvpn = library('gnunetvpn', |
22 | libgnunetvpn_src, | 22 | libgnunetvpn_src, |
23 | soversion: '0.0.0', | ||
23 | dependencies: libgnunetutil_dep, | 24 | dependencies: libgnunetutil_dep, |
24 | include_directories: [incdir, configuration_inc], | 25 | include_directories: [incdir, configuration_inc], |
25 | install: true, | 26 | install: true, |