diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-24 10:45:35 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-09-24 10:45:35 +0200 |
commit | 3ee4f3c6fb9986fcb67de0cb0bb32d6f12ab44cf (patch) | |
tree | 2363b310f35bdb47a8324031a39fc60ce5497006 | |
parent | f02d9a27000aec7eb424eda767e14b4edbc77efb (diff) | |
download | gnunet-3ee4f3c6fb9986fcb67de0cb0bb32d6f12ab44cf.tar.gz gnunet-3ee4f3c6fb9986fcb67de0cb0bb32d6f12ab44cf.zip |
BUILD: meson install headers
-rw-r--r-- | src/gns/meson.build | 48 | ||||
-rw-r--r-- | src/include/meson.build | 134 |
2 files changed, 181 insertions, 1 deletions
diff --git a/src/gns/meson.build b/src/gns/meson.build index fa6837a4b..d662ae9c8 100644 --- a/src/gns/meson.build +++ b/src/gns/meson.build | |||
@@ -33,6 +33,15 @@ libgnunetgns_dep = declare_dependency(link_with : libgnunetgns) | |||
33 | pkg.generate(libgnunetgns, url: 'https://www.gnunet.org', | 33 | pkg.generate(libgnunetgns, url: 'https://www.gnunet.org', |
34 | description : 'Provides API to access the GNU Name System') | 34 | description : 'Provides API to access the GNU Name System') |
35 | 35 | ||
36 | shared_module('gnunet_plugin_gnsrecord_gns', | ||
37 | ['plugin_gnsrecord_gns.c'], | ||
38 | dependencies: [libgnunetutil_dep, | ||
39 | libgnunetgnsrecord_dep, | ||
40 | libgnunetidentity_dep], | ||
41 | include_directories: [incdir, configuration_inc], | ||
42 | install: true, | ||
43 | install_dir: get_option('libdir')/'gnunet') | ||
44 | |||
36 | 45 | ||
37 | executable ('gnunet-gns', | 46 | executable ('gnunet-gns', |
38 | 'gnunet-gns.c', | 47 | 'gnunet-gns.c', |
@@ -55,6 +64,7 @@ executable ('gnunet-gns-proxy', | |||
55 | include_directories: [incdir, configuration_inc], | 64 | include_directories: [incdir, configuration_inc], |
56 | install: true, | 65 | install: true, |
57 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | 66 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') |
67 | |||
58 | executable ('gnunet-service-gns', | 68 | executable ('gnunet-service-gns', |
59 | gnunetservicegns_src, | 69 | gnunetservicegns_src, |
60 | dependencies: [libgnunetgns_dep, | 70 | dependencies: [libgnunetgns_dep, |
@@ -73,3 +83,41 @@ executable ('gnunet-service-gns', | |||
73 | include_directories: [incdir, configuration_inc], | 83 | include_directories: [incdir, configuration_inc], |
74 | install: true, | 84 | install: true, |
75 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | 85 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') |
86 | executable ('gnunet-bcd', | ||
87 | ['gnunet-bcd.c'], | ||
88 | dependencies: [libgnunetgns_dep, | ||
89 | libgnunetutil_dep, | ||
90 | libgnunetstatistics_dep, | ||
91 | libgnunetcore_dep, | ||
92 | libgnunetdht_dep, | ||
93 | libgnunetdns_dep, | ||
94 | mhd_dep, | ||
95 | idn_dep, | ||
96 | libgnunetidentity_dep, | ||
97 | libgnunetnamecache_dep, | ||
98 | libgnunetrevocation_dep, | ||
99 | libgnunetgnsrecord_dep, | ||
100 | libgnunetcadet_dep, | ||
101 | libgnunetblock_dep], | ||
102 | include_directories: [incdir, configuration_inc], | ||
103 | install: true, | ||
104 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
105 | executable ('gnunet-dns2gns', | ||
106 | ['gnunet-dns2gns.c'], | ||
107 | dependencies: [libgnunetgns_dep, | ||
108 | libgnunetutil_dep, | ||
109 | libgnunetstatistics_dep, | ||
110 | libgnunetvpn_dep, | ||
111 | libgnunetcore_dep, | ||
112 | libgnunetdht_dep, | ||
113 | libgnunetdns_dep, | ||
114 | idn_dep, | ||
115 | libgnunetidentity_dep, | ||
116 | libgnunetnamecache_dep, | ||
117 | libgnunetrevocation_dep, | ||
118 | libgnunetgnsrecord_dep, | ||
119 | libgnunetcadet_dep, | ||
120 | libgnunetblock_dep], | ||
121 | include_directories: [incdir, configuration_inc], | ||
122 | install: true, | ||
123 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
diff --git a/src/include/meson.build b/src/include/meson.build index 9b7bb017f..391f47445 100644 --- a/src/include/meson.build +++ b/src/include/meson.build | |||
@@ -1,5 +1,137 @@ | |||
1 | configure_file( | 1 | configure_file( |
2 | input : 'gnunet_config.h.in', | 2 | input : 'gnunet_config.h.in', |
3 | output : 'gnunet_config.h', | 3 | output : 'gnunet_config.h', |
4 | configuration : cdata | 4 | configuration : cdata, |
5 | install: true, | ||
6 | install_dir: get_option('includedir')/'gnunet' | ||
5 | ) | 7 | ) |
8 | |||
9 | install_headers( | ||
10 | 'gettext.h', | ||
11 | 'compat.h', | ||
12 | 'gnunet_abd_service.h', | ||
13 | 'gnunet_applications.h', | ||
14 | 'gnunet_arm_service.h', | ||
15 | 'gnunet_ats_service.h', | ||
16 | 'gnunet_ats_application_service.h', | ||
17 | 'gnunet_ats_transport_service.h', | ||
18 | 'gnunet_ats_plugin.h', | ||
19 | 'gnunet_bandwidth_lib.h', | ||
20 | 'gnunet_bio_lib.h', | ||
21 | 'gnunet_dht_block_types.h', | ||
22 | 'gnunet_block_lib.h', | ||
23 | 'gnunet_block_group_lib.h', | ||
24 | 'gnunet_block_plugin.h', | ||
25 | 'gnunet_buffer_lib.h', | ||
26 | 'gnunet_child_management_lib.h', | ||
27 | 'gnunet_client_lib.h', | ||
28 | 'gnunet_common.h', | ||
29 | 'gnunet_constants.h', | ||
30 | 'gnunet_configuration_lib.h', | ||
31 | 'gnunet_consensus_service.h', | ||
32 | 'gnunet_container_lib.h', | ||
33 | 'gnunet_conversation_service.h', | ||
34 | 'gnunet_core_service.h', | ||
35 | 'gnunet_crypto_lib.h', | ||
36 | 'gnunet_curl_lib.h', | ||
37 | 'gnunet_datacache_lib.h', | ||
38 | 'gnunet_datacache_plugin.h', | ||
39 | 'gnunet_datastore_service.h', | ||
40 | 'gnunet_datastore_plugin.h', | ||
41 | 'gnunet_db_lib.h', | ||
42 | 'gnunet_dht_service.h', | ||
43 | 'gnunet_dhtu_plugin.h', | ||
44 | 'gnunet_disk_lib.h', | ||
45 | 'gnunet_dnsparser_lib.h', | ||
46 | 'gnunet_dnsstub_lib.h', | ||
47 | 'gnunet_dns_service.h', | ||
48 | 'gnunet_error_codes.h', | ||
49 | 'gnunet_fragmentation_lib.h', | ||
50 | 'gnunet_friends_lib.h', | ||
51 | 'gnunet_fs_service.h', | ||
52 | 'gnunet_getopt_lib.h', | ||
53 | 'gnunet_gns_service.h', | ||
54 | 'gnunet_gnsrecord_lib.h', | ||
55 | 'gnunet_gnsrecord_json_lib.h', | ||
56 | 'gnunet_gnsrecord_plugin.h', | ||
57 | 'gnu_name_system_record_types.h', | ||
58 | 'gnunet_hello_lib.h', | ||
59 | 'gnunet_hello_uri_lib.h', | ||
60 | 'gnunet_helper_lib.h', | ||
61 | 'gnunet_identity_service.h', | ||
62 | 'gnunet_reclaim_lib.h', | ||
63 | 'gnunet_reclaim_plugin.h', | ||
64 | 'gnunet_reclaim_service.h', | ||
65 | 'gnunet_json_lib.h', | ||
66 | 'gnunet_load_lib.h', | ||
67 | 'gnunet_cadet_service.h', | ||
68 | 'gnunet_messenger_service.h', | ||
69 | 'gnunet_mhd_compat.h', | ||
70 | 'gnunet_microphone_lib.h', | ||
71 | 'gnunet_mst_lib.h', | ||
72 | 'gnunet_mq_lib.h', | ||
73 | 'gnunet_my_lib.h', | ||
74 | 'gnunet_mysql_compat.h', | ||
75 | 'gnunet_mysql_lib.h', | ||
76 | 'gnunet_namecache_plugin.h', | ||
77 | 'gnunet_namecache_service.h', | ||
78 | 'gnunet_namestore_plugin.h', | ||
79 | 'gnunet_namestore_service.h', | ||
80 | 'gnunet_nat_auto_service.h', | ||
81 | 'gnunet_nat_service.h', | ||
82 | 'gnunet_nc_lib.h', | ||
83 | 'gnunet_network_lib.h', | ||
84 | 'gnunet_nse_service.h', | ||
85 | 'gnunet_nt_lib.h', | ||
86 | 'gnunet_op_lib.h', | ||
87 | 'gnunet_os_lib.h', | ||
88 | 'gnunet_peer_lib.h', | ||
89 | 'gnunet_peerinfo_service.h', | ||
90 | 'gnunet_peerstore_plugin.h', | ||
91 | 'gnunet_peerstore_service.h', | ||
92 | 'gnunet_plugin_lib.h', | ||
93 | 'gnunet_pq_lib.h', | ||
94 | 'gnunet_program_lib.h', | ||
95 | 'gnunet_protocols.h', | ||
96 | 'gnunet_resolver_service.h', | ||
97 | 'gnunet_regex_service.h', | ||
98 | 'gnunet_rest_lib.h', | ||
99 | 'gnunet_rest_plugin.h', | ||
100 | 'gnunet_rps_service.h', | ||
101 | 'gnunet_revocation_service.h', | ||
102 | 'gnunet_scalarproduct_service.h', | ||
103 | 'gnunet_scheduler_lib.h', | ||
104 | 'gnunet_secretsharing_service.h', | ||
105 | 'gnunet_service_lib.h', | ||
106 | 'gnunet_set_service.h', | ||
107 | 'gnunet_seti_service.h', | ||
108 | 'gnunet_setu_service.h', | ||
109 | 'gnunet_signal_lib.h', | ||
110 | 'gnunet_signatures.h', | ||
111 | 'gnunet_socks.h', | ||
112 | 'gnunet_speaker_lib.h', | ||
113 | 'gnunet_sq_lib.h', | ||
114 | 'gnunet_statistics_service.h', | ||
115 | 'gnunet_strings_lib.h', | ||
116 | 'gnunet_testbed_service.h', | ||
117 | 'gnunet_testbed_logger_service.h', | ||
118 | 'gnunet_testing_barrier.h', | ||
119 | 'gnunet_testing_lib.h', | ||
120 | 'gnunet_testing_plugin.h', | ||
121 | 'gnunet_testing_ng_lib.h', | ||
122 | 'gnunet_testing_netjail_lib.h', | ||
123 | 'gnunet_time_lib.h', | ||
124 | 'gnunet_transport_service.h', | ||
125 | 'gnunet_transport_application_service.h', | ||
126 | 'gnunet_transport_communication_service.h', | ||
127 | 'gnunet_transport_core_service.h', | ||
128 | 'gnunet_transport_hello_service.h', | ||
129 | 'gnunet_transport_manipulation_service.h', | ||
130 | 'gnunet_transport_monitor_service.h', | ||
131 | 'gnunet_transport_plugin.h', | ||
132 | 'gnunet_tun_lib.h', | ||
133 | 'gnunet_uri_lib.h', | ||
134 | 'gnunet_util_lib.h', | ||
135 | 'gnunet_vpn_service.h', | ||
136 | install_dir: get_option('includedir')/'gnunet' | ||
137 | ) | ||