diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-21 18:41:11 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-21 18:41:11 +0200 |
commit | f7328dd314a57c338b70e574a5ff723c16f93e03 (patch) | |
tree | 52dd9bf2282f589de70c0e9b820a6bac486fe90e | |
parent | fb99a2d7bf864b0af0d0d2986b2a94b6e5a9b56a (diff) | |
download | gnunet-f7328dd314a57c338b70e574a5ff723c16f93e03.tar.gz gnunet-f7328dd314a57c338b70e574a5ff723c16f93e03.zip |
BUILD: meson configuration files
34 files changed, 201 insertions, 0 deletions
diff --git a/meson.build b/meson.build index 2654a0443..7f00df203 100644 --- a/meson.build +++ b/meson.build | |||
@@ -68,7 +68,12 @@ if compiler.has_argument('-Wno-tautological-constant-out-of-range-compare') | |||
68 | add_project_arguments('-Wno-tautological-constant-out-of-range-compare', language : 'c') | 68 | add_project_arguments('-Wno-tautological-constant-out-of-range-compare', language : 'c') |
69 | endif | 69 | endif |
70 | 70 | ||
71 | # FIXME static here, were dynamic in configure.ac | ||
71 | cdata.set('UNIXONLY', '#') | 72 | cdata.set('UNIXONLY', '#') |
73 | cdata.set('JAVAPORT', '#') | ||
74 | cdata.set('START_ON_DEMAND', 'YES') | ||
75 | |||
76 | |||
72 | cdata.set_quoted('build_target', host_machine.system()) | 77 | cdata.set_quoted('build_target', host_machine.system()) |
73 | if host_machine.system() == 'linux' | 78 | if host_machine.system() == 'linux' |
74 | add_project_link_arguments(['-Wl,--unresolved-symbols=report-all'], language : 'c') | 79 | add_project_link_arguments(['-Wl,--unresolved-symbols=report-all'], language : 'c') |
diff --git a/src/ats/meson.build b/src/ats/meson.build index 4804e95a2..4da79b8bb 100644 --- a/src/ats/meson.build +++ b/src/ats/meson.build | |||
@@ -13,6 +13,12 @@ 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 | configure_file(input : 'ats.conf.in', | ||
17 | output : 'ats.conf', | ||
18 | configuration : cdata, | ||
19 | install: true, | ||
20 | install_dir: pkgcfgdir) | ||
21 | |||
16 | if get_option('monolith') == false | 22 | if get_option('monolith') == false |
17 | libgnunetats = library('gnunetats', | 23 | libgnunetats = library('gnunetats', |
18 | libgnunetats_src, | 24 | libgnunetats_src, |
diff --git a/src/cadet/meson.build b/src/cadet/meson.build index ca7a5a91b..8caea0839 100644 --- a/src/cadet/meson.build +++ b/src/cadet/meson.build | |||
@@ -17,6 +17,11 @@ gnunetservicecadet_src = ['gnunet-service-cadet.c', | |||
17 | 'gnunet-service-cadet_paths.c', | 17 | 'gnunet-service-cadet_paths.c', |
18 | 'gnunet-service-cadet_peer.c'] | 18 | 'gnunet-service-cadet_peer.c'] |
19 | 19 | ||
20 | configure_file(input : 'cadet.conf.in', | ||
21 | output : 'cadet.conf', | ||
22 | configuration : cdata, | ||
23 | install: true, | ||
24 | install_dir: pkgcfgdir) | ||
20 | 25 | ||
21 | if get_option('monolith') == false | 26 | if get_option('monolith') == false |
22 | libgnunetcadet = library('gnunetcadet', | 27 | libgnunetcadet = library('gnunetcadet', |
diff --git a/src/consensus/meson.build b/src/consensus/meson.build index 03384c388..e1685d834 100644 --- a/src/consensus/meson.build +++ b/src/consensus/meson.build | |||
@@ -2,6 +2,11 @@ libgnunetconsensus_src = ['consensus_api.c'] | |||
2 | 2 | ||
3 | gnunetserviceconsensus_src = ['gnunet-service-consensus.c'] | 3 | gnunetserviceconsensus_src = ['gnunet-service-consensus.c'] |
4 | 4 | ||
5 | configure_file(input : 'consensus.conf.in', | ||
6 | output : 'consensus.conf', | ||
7 | configuration : cdata, | ||
8 | install: true, | ||
9 | install_dir: pkgcfgdir) | ||
5 | 10 | ||
6 | if get_option('monolith') == false | 11 | if get_option('monolith') == false |
7 | libgnunetconsensus = library('gnunetconsensus', | 12 | libgnunetconsensus = library('gnunetconsensus', |
diff --git a/src/core/meson.build b/src/core/meson.build index 142b3dac8..24dcdaf57 100644 --- a/src/core/meson.build +++ b/src/core/meson.build | |||
@@ -6,6 +6,11 @@ gnunetservicecore_src = ['gnunet-service-core.c', | |||
6 | 'gnunet-service-core_sessions.c', | 6 | 'gnunet-service-core_sessions.c', |
7 | 'gnunet-service-core_typemap.c'] | 7 | 'gnunet-service-core_typemap.c'] |
8 | 8 | ||
9 | configure_file(input : 'core.conf.in', | ||
10 | output : 'core.conf', | ||
11 | configuration : cdata, | ||
12 | install: true, | ||
13 | install_dir: pkgcfgdir) | ||
9 | 14 | ||
10 | 15 | ||
11 | if get_option('monolith') == false | 16 | if get_option('monolith') == false |
diff --git a/src/datacache/meson.build b/src/datacache/meson.build index 045335a33..39d58e078 100644 --- a/src/datacache/meson.build +++ b/src/datacache/meson.build | |||
@@ -2,6 +2,12 @@ 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 | configure_file(input : 'datacache.conf', | ||
6 | output : 'datacache.conf', | ||
7 | configuration : cdata, | ||
8 | install: true, | ||
9 | install_dir: pkgcfgdir) | ||
10 | |||
5 | if get_option('monolith') == false | 11 | if get_option('monolith') == false |
6 | libgnunetdatacache = library('gnunetdatacache', | 12 | libgnunetdatacache = library('gnunetdatacache', |
7 | libgnunetdatacache_src, | 13 | libgnunetdatacache_src, |
diff --git a/src/datastore/meson.build b/src/datastore/meson.build index 9f9824530..286965b14 100644 --- a/src/datastore/meson.build +++ b/src/datastore/meson.build | |||
@@ -2,6 +2,11 @@ libgnunetdatastore_src = ['datastore_api.c'] | |||
2 | 2 | ||
3 | gnunetservicedatastore_src = ['gnunet-service-datastore.c'] | 3 | gnunetservicedatastore_src = ['gnunet-service-datastore.c'] |
4 | 4 | ||
5 | configure_file(input : 'datastore.conf.in', | ||
6 | output : 'datastore.conf', | ||
7 | configuration : cdata, | ||
8 | install: true, | ||
9 | install_dir: pkgcfgdir) | ||
5 | 10 | ||
6 | if get_option('monolith') == false | 11 | if get_option('monolith') == false |
7 | libgnunetdatastore = library('gnunetdatastore', | 12 | libgnunetdatastore = library('gnunetdatastore', |
diff --git a/src/dht/meson.build b/src/dht/meson.build index 86087f48d..72029c48d 100644 --- a/src/dht/meson.build +++ b/src/dht/meson.build | |||
@@ -7,6 +7,11 @@ gnunetservicedht_src = ['gnunet-service-dht.c', | |||
7 | 'gnunet-service-dht_neighbours.c', | 7 | 'gnunet-service-dht_neighbours.c', |
8 | 'gnunet-service-dht_routing.c'] | 8 | 'gnunet-service-dht_routing.c'] |
9 | 9 | ||
10 | configure_file(input : 'dht.conf.in', | ||
11 | output : 'dht.conf', | ||
12 | configuration : cdata, | ||
13 | install: true, | ||
14 | install_dir: pkgcfgdir) | ||
10 | 15 | ||
11 | if get_option('monolith') == false | 16 | if get_option('monolith') == false |
12 | libgnunetdht = library('gnunetdht', | 17 | libgnunetdht = library('gnunetdht', |
diff --git a/src/dhtu/meson.build b/src/dhtu/meson.build index 24a5e01a1..d596959eb 100644 --- a/src/dhtu/meson.build +++ b/src/dhtu/meson.build | |||
@@ -1,6 +1,11 @@ | |||
1 | libgnunetplugindhtuip_src = ['plugin_dhtu_ip.c'] | 1 | libgnunetplugindhtuip_src = ['plugin_dhtu_ip.c'] |
2 | libgnunetplugindhtugnunet_src = ['plugin_dhtu_gnunet.c'] | 2 | libgnunetplugindhtugnunet_src = ['plugin_dhtu_gnunet.c'] |
3 | 3 | ||
4 | configure_file(input : 'dhtu.conf', | ||
5 | output : 'dhtu.conf', | ||
6 | configuration : cdata, | ||
7 | install: true, | ||
8 | install_dir: pkgcfgdir) | ||
4 | 9 | ||
5 | if get_option('monolith') == false | 10 | if get_option('monolith') == false |
6 | libgnunetplugindhtuip = library('gnunet_plugin_dhtu_ip', | 11 | libgnunetplugindhtuip = library('gnunet_plugin_dhtu_ip', |
diff --git a/src/dns/meson.build b/src/dns/meson.build index 8b68fd73a..9eb26aeee 100644 --- a/src/dns/meson.build +++ b/src/dns/meson.build | |||
@@ -5,6 +5,11 @@ gnunetservicedns_src = ['gnunet-service-dns.c'] | |||
5 | gnunetdnsredirector_src = ['gnunet-dns-monitor.c'] | 5 | gnunetdnsredirector_src = ['gnunet-dns-monitor.c'] |
6 | gnunetdnsmonitor_src = ['gnunet-dns-redirector.c'] | 6 | gnunetdnsmonitor_src = ['gnunet-dns-redirector.c'] |
7 | 7 | ||
8 | configure_file(input : 'dns.conf.in', | ||
9 | output : 'dns.conf', | ||
10 | configuration : cdata, | ||
11 | install: true, | ||
12 | install_dir: pkgcfgdir) | ||
8 | 13 | ||
9 | if get_option('monolith') == false | 14 | if get_option('monolith') == false |
10 | libgnunetdns = library('gnunetdns', | 15 | libgnunetdns = library('gnunetdns', |
diff --git a/src/fs/meson.build b/src/fs/meson.build index 9bf7b3142..0460a2f5f 100644 --- a/src/fs/meson.build +++ b/src/fs/meson.build | |||
@@ -27,6 +27,12 @@ gnunetservicefs_src = ['gnunet-service-fs.c', | |||
27 | 'gnunet-service-fs_cadet_client.c', | 27 | 'gnunet-service-fs_cadet_client.c', |
28 | 'gnunet-service-fs_cadet_server.c'] | 28 | 'gnunet-service-fs_cadet_server.c'] |
29 | 29 | ||
30 | configure_file(input : 'fs.conf.in', | ||
31 | output : 'fs.conf', | ||
32 | configuration : cdata, | ||
33 | install: true, | ||
34 | install_dir: pkgcfgdir) | ||
35 | |||
30 | 36 | ||
31 | if get_option('monolith') == false | 37 | if get_option('monolith') == false |
32 | libgnunetfs = library('gnunetfs', | 38 | libgnunetfs = library('gnunetfs', |
diff --git a/src/gns/meson.build b/src/gns/meson.build index de7f64cd4..eef8224ef 100644 --- a/src/gns/meson.build +++ b/src/gns/meson.build | |||
@@ -6,6 +6,13 @@ gnunetservicegns_src = ['gnunet-service-gns.c', | |||
6 | 6 | ||
7 | gnunetgnsproxy_src = ['gnunet-gns-proxy.c'] | 7 | gnunetgnsproxy_src = ['gnunet-gns-proxy.c'] |
8 | 8 | ||
9 | configure_file(input : 'gns.conf.in', | ||
10 | output : 'gns.conf', | ||
11 | configuration : cdata, | ||
12 | install: true, | ||
13 | install_dir: pkgcfgdir) | ||
14 | |||
15 | |||
9 | if get_option('monolith') == false | 16 | if get_option('monolith') == false |
10 | libgnunetgns = library('gnunetgns', | 17 | libgnunetgns = library('gnunetgns', |
11 | libgnunetgns_src, | 18 | libgnunetgns_src, |
diff --git a/src/hostlist/meson.build b/src/hostlist/meson.build index 605282fd5..8cdcf3972 100644 --- a/src/hostlist/meson.build +++ b/src/hostlist/meson.build | |||
@@ -2,6 +2,12 @@ gnunetdaemonhostlist_src = ['gnunet-daemon-hostlist.c', | |||
2 | 'gnunet-daemon-hostlist_server.c', | 2 | 'gnunet-daemon-hostlist_server.c', |
3 | 'gnunet-daemon-hostlist_client.c'] | 3 | 'gnunet-daemon-hostlist_client.c'] |
4 | 4 | ||
5 | configure_file(input : 'hostlist.conf', | ||
6 | output : 'hostlist.conf', | ||
7 | configuration : cdata, | ||
8 | install: true, | ||
9 | install_dir: pkgcfgdir) | ||
10 | |||
5 | 11 | ||
6 | if get_option('monolith') == false | 12 | if get_option('monolith') == false |
7 | executable ('gnunet-daemon-hostlist', | 13 | executable ('gnunet-daemon-hostlist', |
diff --git a/src/identity/meson.build b/src/identity/meson.build index 38adf6da5..9c1199d5f 100644 --- a/src/identity/meson.build +++ b/src/identity/meson.build | |||
@@ -4,6 +4,12 @@ libgnunetidentity_src = ['identity_api.c', | |||
4 | 4 | ||
5 | gnunetserviceidentity_src = ['gnunet-service-identity.c'] | 5 | gnunetserviceidentity_src = ['gnunet-service-identity.c'] |
6 | 6 | ||
7 | configure_file(input : 'identity.conf.in', | ||
8 | output : 'identity.conf', | ||
9 | configuration : cdata, | ||
10 | install: true, | ||
11 | install_dir: pkgcfgdir) | ||
12 | |||
7 | 13 | ||
8 | if get_option('monolith') == false | 14 | if get_option('monolith') == false |
9 | libgnunetidentity = library('gnunetidentity', | 15 | libgnunetidentity = library('gnunetidentity', |
diff --git a/src/namecache/meson.build b/src/namecache/meson.build index f5bb63204..f50d7e5d1 100644 --- a/src/namecache/meson.build +++ b/src/namecache/meson.build | |||
@@ -4,6 +4,12 @@ libgnunetpluginnamecache_sqlite_src = ['plugin_namecache_sqlite.c'] | |||
4 | gnunetnamecache_src = ['gnunet-namecache.c'] | 4 | gnunetnamecache_src = ['gnunet-namecache.c'] |
5 | gnunetservicenamecache_src = ['gnunet-service-namecache.c'] | 5 | gnunetservicenamecache_src = ['gnunet-service-namecache.c'] |
6 | 6 | ||
7 | configure_file(input : 'namecache.conf.in', | ||
8 | output : 'namecache.conf', | ||
9 | configuration : cdata, | ||
10 | install: true, | ||
11 | install_dir: pkgcfgdir) | ||
12 | |||
7 | 13 | ||
8 | if get_option('monolith') == false | 14 | if get_option('monolith') == false |
9 | libgnunetnamecache = library('gnunetnamecache', | 15 | libgnunetnamecache = library('gnunetnamecache', |
diff --git a/src/namestore/meson.build b/src/namestore/meson.build index c3df2a621..010316df3 100644 --- a/src/namestore/meson.build +++ b/src/namestore/meson.build | |||
@@ -4,6 +4,12 @@ libgnunetpluginnamestore_sqlite_src = ['plugin_namestore_sqlite.c'] | |||
4 | gnunetnamestore_src = ['gnunet-namestore.c'] | 4 | gnunetnamestore_src = ['gnunet-namestore.c'] |
5 | gnunetservicenamestore_src = ['gnunet-service-namestore.c'] | 5 | gnunetservicenamestore_src = ['gnunet-service-namestore.c'] |
6 | 6 | ||
7 | configure_file(input : 'namestore.conf.in', | ||
8 | output : 'namestore.conf', | ||
9 | configuration : cdata, | ||
10 | install: true, | ||
11 | install_dir: pkgcfgdir) | ||
12 | |||
7 | 13 | ||
8 | if get_option('monolith') == false | 14 | if get_option('monolith') == false |
9 | libgnunetnamestore = library('gnunetnamestore', | 15 | libgnunetnamestore = library('gnunetnamestore', |
diff --git a/src/nat/meson.build b/src/nat/meson.build index 48916af9f..5427a5cf6 100644 --- a/src/nat/meson.build +++ b/src/nat/meson.build | |||
@@ -8,6 +8,13 @@ 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 | configure_file(input : 'nat.conf', | ||
12 | output : 'nat.conf', | ||
13 | configuration : cdata, | ||
14 | install: true, | ||
15 | install_dir: pkgcfgdir) | ||
16 | |||
17 | |||
11 | if get_option('monolith') == false | 18 | if get_option('monolith') == false |
12 | libgnunetnat = library('gnunetnat', | 19 | libgnunetnat = library('gnunetnat', |
13 | libgnunetnat_src, | 20 | libgnunetnat_src, |
diff --git a/src/nse/meson.build b/src/nse/meson.build index 9f1111af6..cf82698cf 100644 --- a/src/nse/meson.build +++ b/src/nse/meson.build | |||
@@ -2,6 +2,13 @@ libgnunetnse_src = ['nse_api.c'] | |||
2 | 2 | ||
3 | gnunetservicense_src = ['gnunet-service-nse.c'] | 3 | gnunetservicense_src = ['gnunet-service-nse.c'] |
4 | 4 | ||
5 | configure_file(input : 'nse.conf.in', | ||
6 | output : 'nse.conf', | ||
7 | configuration : cdata, | ||
8 | install: true, | ||
9 | install_dir: pkgcfgdir) | ||
10 | |||
11 | |||
5 | if get_option('monolith') == false | 12 | if get_option('monolith') == false |
6 | libgnunetnse = library('gnunetnse', | 13 | libgnunetnse = library('gnunetnse', |
7 | libgnunetnse_src, | 14 | libgnunetnse_src, |
diff --git a/src/peerinfo/meson.build b/src/peerinfo/meson.build index fdcd38a61..3fdc3801b 100644 --- a/src/peerinfo/meson.build +++ b/src/peerinfo/meson.build | |||
@@ -3,6 +3,12 @@ libgnunetpeerinfo_src = ['peerinfo_api.c', | |||
3 | 3 | ||
4 | gnunetservicepeerinfo_src = ['gnunet-service-peerinfo.c'] | 4 | gnunetservicepeerinfo_src = ['gnunet-service-peerinfo.c'] |
5 | 5 | ||
6 | configure_file(input : 'peerinfo.conf.in', | ||
7 | output : 'peerinfo.conf', | ||
8 | configuration : cdata, | ||
9 | install: true, | ||
10 | install_dir: pkgcfgdir) | ||
11 | |||
6 | 12 | ||
7 | if get_option('monolith') == false | 13 | if get_option('monolith') == false |
8 | libgnunetpeerinfo = library('gnunetpeerinfo', | 14 | libgnunetpeerinfo = library('gnunetpeerinfo', |
diff --git a/src/peerstore/meson.build b/src/peerstore/meson.build index 0286a148c..f5727411c 100644 --- a/src/peerstore/meson.build +++ b/src/peerstore/meson.build | |||
@@ -3,6 +3,12 @@ libgnunetpeerstore_src = ['peerstore_api.c', | |||
3 | 3 | ||
4 | gnunetservicepeerstore_src = ['gnunet-service-peerstore.c'] | 4 | gnunetservicepeerstore_src = ['gnunet-service-peerstore.c'] |
5 | 5 | ||
6 | configure_file(input : 'peerstore.conf.in', | ||
7 | output : 'peerstore.conf', | ||
8 | configuration : cdata, | ||
9 | install: true, | ||
10 | install_dir: pkgcfgdir) | ||
11 | |||
6 | 12 | ||
7 | if get_option('monolith') == false | 13 | if get_option('monolith') == false |
8 | libgnunetpeerstore = library('gnunetpeerstore', | 14 | libgnunetpeerstore = library('gnunetpeerstore', |
diff --git a/src/reclaim/meson.build b/src/reclaim/meson.build index 226e8ec7f..26eaa6b31 100644 --- a/src/reclaim/meson.build +++ b/src/reclaim/meson.build | |||
@@ -5,6 +5,12 @@ libgnunetreclaim_src = ['reclaim_api.c', | |||
5 | gnunetservicereclaim_src = ['gnunet-service-reclaim.c', | 5 | gnunetservicereclaim_src = ['gnunet-service-reclaim.c', |
6 | 'gnunet-service-reclaim_tickets.c'] | 6 | 'gnunet-service-reclaim_tickets.c'] |
7 | 7 | ||
8 | configure_file(input : 'reclaim.conf', | ||
9 | output : 'reclaim.conf', | ||
10 | configuration : cdata, | ||
11 | install: true, | ||
12 | install_dir: pkgcfgdir) | ||
13 | |||
8 | 14 | ||
9 | if get_option('monolith') == false | 15 | if get_option('monolith') == false |
10 | libgnunetreclaim = library('gnunetreclaim', | 16 | libgnunetreclaim = library('gnunetreclaim', |
diff --git a/src/regex/meson.build b/src/regex/meson.build index 64c284558..f9e8c0ee1 100644 --- a/src/regex/meson.build +++ b/src/regex/meson.build | |||
@@ -6,6 +6,12 @@ gnunetserviceregex_src = ['gnunet-service-regex.c', | |||
6 | 'regex_internal_dht.c', | 6 | 'regex_internal_dht.c', |
7 | 'regex_internal.c'] | 7 | 'regex_internal.c'] |
8 | 8 | ||
9 | configure_file(input : 'regex.conf.in', | ||
10 | output : 'regex.conf', | ||
11 | configuration : cdata, | ||
12 | install: true, | ||
13 | install_dir: pkgcfgdir) | ||
14 | |||
9 | 15 | ||
10 | if get_option('monolith') == false | 16 | if get_option('monolith') == false |
11 | libgnunetregex = library('gnunetregex', | 17 | libgnunetregex = library('gnunetregex', |
diff --git a/src/rest/meson.build b/src/rest/meson.build index 19575233a..9b4314040 100644 --- a/src/rest/meson.build +++ b/src/rest/meson.build | |||
@@ -2,6 +2,12 @@ libgnunetrest_src = ['rest.c'] | |||
2 | 2 | ||
3 | gnunetservicerest_src = ['gnunet-rest-server.c'] | 3 | gnunetservicerest_src = ['gnunet-rest-server.c'] |
4 | 4 | ||
5 | configure_file(input : 'rest.conf', | ||
6 | output : 'rest.conf', | ||
7 | configuration : cdata, | ||
8 | install: true, | ||
9 | install_dir: pkgcfgdir) | ||
10 | |||
5 | 11 | ||
6 | if get_option('monolith') == false | 12 | if get_option('monolith') == false |
7 | libgnunetrest = library('gnunetrest', | 13 | libgnunetrest = library('gnunetrest', |
diff --git a/src/revocation/meson.build b/src/revocation/meson.build index 843633289..6a539febb 100644 --- a/src/revocation/meson.build +++ b/src/revocation/meson.build | |||
@@ -2,6 +2,12 @@ libgnunetrevocation_src = ['revocation_api.c'] | |||
2 | 2 | ||
3 | gnunetservicerevocation_src = ['gnunet-service-revocation.c'] | 3 | gnunetservicerevocation_src = ['gnunet-service-revocation.c'] |
4 | 4 | ||
5 | configure_file(input : 'revocation.conf.in', | ||
6 | output : 'revocation.conf', | ||
7 | configuration : cdata, | ||
8 | install: true, | ||
9 | install_dir: pkgcfgdir) | ||
10 | |||
5 | 11 | ||
6 | if get_option('monolith') == false | 12 | if get_option('monolith') == false |
7 | libgnunetrevocation = library('gnunetrevocation', | 13 | libgnunetrevocation = library('gnunetrevocation', |
diff --git a/src/scalarproduct/meson.build b/src/scalarproduct/meson.build index 80b85ae80..de23f558c 100644 --- a/src/scalarproduct/meson.build +++ b/src/scalarproduct/meson.build | |||
@@ -6,6 +6,12 @@ gnunetservicescalarproduct_src = ['gnunet-service-scalarproduct.c', | |||
6 | 'gnunet-service-scalarproduct_union_strata_estimator.c', | 6 | 'gnunet-service-scalarproduct_union_strata_estimator.c', |
7 | 'ibf.c'] | 7 | 'ibf.c'] |
8 | 8 | ||
9 | configure_file(input : 'scalarproduct.conf.in', | ||
10 | output : 'scalarproduct.conf', | ||
11 | configuration : cdata, | ||
12 | install: true, | ||
13 | install_dir: pkgcfgdir) | ||
14 | |||
9 | 15 | ||
10 | if get_option('monolith') == false | 16 | if get_option('monolith') == false |
11 | libgnunetscalarproduct = library('gnunetscalarproduct', | 17 | libgnunetscalarproduct = library('gnunetscalarproduct', |
diff --git a/src/set/meson.build b/src/set/meson.build index da97ef7b4..9931fbff9 100644 --- a/src/set/meson.build +++ b/src/set/meson.build | |||
@@ -6,6 +6,12 @@ gnunetserviceset_src = ['gnunet-service-set.c', | |||
6 | 'gnunet-service-set_union_strata_estimator.c', | 6 | 'gnunet-service-set_union_strata_estimator.c', |
7 | 'ibf.c'] | 7 | 'ibf.c'] |
8 | 8 | ||
9 | configure_file(input : 'set.conf.in', | ||
10 | output : 'set.conf', | ||
11 | configuration : cdata, | ||
12 | install: true, | ||
13 | install_dir: pkgcfgdir) | ||
14 | |||
9 | 15 | ||
10 | if get_option('monolith') == false | 16 | if get_option('monolith') == false |
11 | libgnunetset = library('gnunetset', | 17 | libgnunetset = library('gnunetset', |
diff --git a/src/seti/meson.build b/src/seti/meson.build index d913e26de..b96135c5f 100644 --- a/src/seti/meson.build +++ b/src/seti/meson.build | |||
@@ -2,6 +2,12 @@ libgnunetseti_src = ['seti_api.c'] | |||
2 | 2 | ||
3 | gnunetserviceseti_src = ['gnunet-service-seti.c'] | 3 | gnunetserviceseti_src = ['gnunet-service-seti.c'] |
4 | 4 | ||
5 | configure_file(input : 'seti.conf.in', | ||
6 | output : 'seti.conf', | ||
7 | configuration : cdata, | ||
8 | install: true, | ||
9 | install_dir: pkgcfgdir) | ||
10 | |||
5 | 11 | ||
6 | if get_option('monolith') == false | 12 | if get_option('monolith') == false |
7 | libgnunetseti = library('gnunetseti', | 13 | libgnunetseti = library('gnunetseti', |
diff --git a/src/setu/meson.build b/src/setu/meson.build index 2d867c32e..99d44d612 100644 --- a/src/setu/meson.build +++ b/src/setu/meson.build | |||
@@ -4,6 +4,12 @@ gnunetservicesetu_src = ['gnunet-service-setu.c', | |||
4 | 'ibf.c', | 4 | 'ibf.c', |
5 | 'gnunet-service-setu_strata_estimator.c'] | 5 | 'gnunet-service-setu_strata_estimator.c'] |
6 | 6 | ||
7 | configure_file(input : 'setu.conf.in', | ||
8 | output : 'setu.conf', | ||
9 | configuration : cdata, | ||
10 | install: true, | ||
11 | install_dir: pkgcfgdir) | ||
12 | |||
7 | 13 | ||
8 | if get_option('monolith') == false | 14 | if get_option('monolith') == false |
9 | libgnunetsetu = library('gnunetsetu', | 15 | libgnunetsetu = library('gnunetsetu', |
diff --git a/src/statistics/meson.build b/src/statistics/meson.build index f0bed324e..86c3b6eb9 100644 --- a/src/statistics/meson.build +++ b/src/statistics/meson.build | |||
@@ -2,6 +2,12 @@ libgnunetstatistics_src = ['statistics_api.c'] | |||
2 | 2 | ||
3 | gnunetservicestatistics_src = ['gnunet-service-statistics.c'] | 3 | gnunetservicestatistics_src = ['gnunet-service-statistics.c'] |
4 | 4 | ||
5 | configure_file(input : 'statistics.conf.in', | ||
6 | output : 'statistics.conf', | ||
7 | configuration : cdata, | ||
8 | install: true, | ||
9 | install_dir: pkgcfgdir) | ||
10 | |||
5 | 11 | ||
6 | if get_option('monolith') == false | 12 | if get_option('monolith') == false |
7 | libgnunetstatistics = library('gnunetstatistics', | 13 | libgnunetstatistics = library('gnunetstatistics', |
diff --git a/src/topology/meson.build b/src/topology/meson.build index 2f1db3641..335369835 100644 --- a/src/topology/meson.build +++ b/src/topology/meson.build | |||
@@ -2,6 +2,12 @@ libgnunetfriends_src = ['friends.c'] | |||
2 | 2 | ||
3 | gnunetdaemontopology_src = ['gnunet-daemon-topology.c'] | 3 | gnunetdaemontopology_src = ['gnunet-daemon-topology.c'] |
4 | 4 | ||
5 | configure_file(input : 'topology.conf', | ||
6 | output : 'topology.conf', | ||
7 | configuration : cdata, | ||
8 | install: true, | ||
9 | install_dir: pkgcfgdir) | ||
10 | |||
5 | 11 | ||
6 | if get_option('monolith') == false | 12 | if get_option('monolith') == false |
7 | libgnunetfriends = library('gnunetfriends', | 13 | libgnunetfriends = library('gnunetfriends', |
diff --git a/src/transport/meson.build b/src/transport/meson.build index 625fc273c..4e0c719d4 100644 --- a/src/transport/meson.build +++ b/src/transport/meson.build | |||
@@ -15,6 +15,12 @@ gnunetservicetransport_src = ['gnunet-service-tng.c'] | |||
15 | gnunetcommunicatortcp_src = ['gnunet-communicator-tcp.c'] | 15 | gnunetcommunicatortcp_src = ['gnunet-communicator-tcp.c'] |
16 | gnunetcommunicatorudp_src = ['gnunet-communicator-udp.c'] | 16 | gnunetcommunicatorudp_src = ['gnunet-communicator-udp.c'] |
17 | 17 | ||
18 | configure_file(input : 'transport.conf.in', | ||
19 | output : 'transport.conf', | ||
20 | configuration : cdata, | ||
21 | install: true, | ||
22 | install_dir: pkgcfgdir) | ||
23 | |||
18 | 24 | ||
19 | if get_option('monolith') == false | 25 | if get_option('monolith') == false |
20 | libgnunettransport = library('gnunettransport', | 26 | libgnunettransport = library('gnunettransport', |
diff --git a/src/util/meson.build b/src/util/meson.build index 525c43324..d4b03479a 100644 --- a/src/util/meson.build +++ b/src/util/meson.build | |||
@@ -69,6 +69,13 @@ 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 | configure_file(input : 'util.conf', | ||
73 | output : 'util.conf', | ||
74 | configuration : cdata, | ||
75 | install: true, | ||
76 | install_dir: pkgcfgdir) | ||
77 | |||
78 | |||
72 | if get_option('monolith') == false | 79 | if get_option('monolith') == false |
73 | libgnunetutil = library('gnunetutil', | 80 | libgnunetutil = library('gnunetutil', |
74 | libgnunetutil_src, | 81 | libgnunetutil_src, |
diff --git a/src/vpn/meson.build b/src/vpn/meson.build index c827b7e91..3807b21cf 100644 --- a/src/vpn/meson.build +++ b/src/vpn/meson.build | |||
@@ -4,6 +4,13 @@ gnunetservicevpn_src = ['gnunet-service-vpn.c'] | |||
4 | 4 | ||
5 | exitdir = include_directories('../exit') | 5 | exitdir = include_directories('../exit') |
6 | 6 | ||
7 | configure_file(input : 'vpn.conf.in', | ||
8 | output : 'vpn.conf', | ||
9 | configuration : cdata, | ||
10 | install: true, | ||
11 | install_dir: pkgcfgdir) | ||
12 | |||
13 | |||
7 | if get_option('monolith') == false | 14 | if get_option('monolith') == false |
8 | libgnunetvpn = library('gnunetvpn', | 15 | libgnunetvpn = library('gnunetvpn', |
9 | libgnunetvpn_src, | 16 | libgnunetvpn_src, |
diff --git a/src/zonemaster/meson.build b/src/zonemaster/meson.build index 885bd2cd4..c6a8c2baf 100644 --- a/src/zonemaster/meson.build +++ b/src/zonemaster/meson.build | |||
@@ -1,5 +1,11 @@ | |||
1 | gnunetservicezonemaster_src = ['gnunet-service-zonemaster.c'] | 1 | gnunetservicezonemaster_src = ['gnunet-service-zonemaster.c'] |
2 | 2 | ||
3 | configure_file(input : 'zonemaster.conf.in', | ||
4 | output : 'zonemaster.conf', | ||
5 | configuration : cdata, | ||
6 | install: true, | ||
7 | install_dir: pkgcfgdir) | ||
8 | |||
3 | 9 | ||
4 | if get_option('monolith') == false | 10 | if get_option('monolith') == false |
5 | executable ('gnunet-service-zonemaster', | 11 | executable ('gnunet-service-zonemaster', |