diff options
author | Martin Schanzenbach <schanzen@gnunet.org> | 2023-10-05 09:04:23 +0200 |
---|---|---|
committer | Martin Schanzenbach <schanzen@gnunet.org> | 2023-10-05 09:04:23 +0200 |
commit | 242ce99ea04512c87ae6a9ffa9b4d12bfe0a1132 (patch) | |
tree | d7af0e48989d63e298246976e2a4986e9020f1da /src/transport | |
parent | 898b9a01a9461fe17577fda392d5ca528c483d98 (diff) | |
download | gnunet-242ce99ea04512c87ae6a9ffa9b4d12bfe0a1132.tar.gz gnunet-242ce99ea04512c87ae6a9ffa9b4d12bfe0a1132.zip |
fix meson modular build
Diffstat (limited to 'src/transport')
-rw-r--r-- | src/transport/meson.build | 71 |
1 files changed, 5 insertions, 66 deletions
diff --git a/src/transport/meson.build b/src/transport/meson.build index 6489db9af..267a8d7c7 100644 --- a/src/transport/meson.build +++ b/src/transport/meson.build | |||
@@ -28,50 +28,12 @@ configure_file(input : 'gnunet-transport-certificate-creation.in', | |||
28 | install: true, | 28 | install: true, |
29 | install_dir: get_option('bindir')) | 29 | install_dir: get_option('bindir')) |
30 | 30 | ||
31 | configure_file(input : 'communicator-unix.conf', | ||
32 | output : 'communicator-unix.conf', | ||
33 | configuration : cdata, | ||
34 | install: true, | ||
35 | install_dir: pkgcfgdir) | ||
36 | |||
37 | if get_option('monolith') | 31 | if get_option('monolith') |
38 | foreach p : libgnunettransport_src #+ libgnunettransportapplication_src + libgnunettransportcore_src + libgnunettransportcommunicator_src + libgnunettransportmonitor_src + gnunetservicetransport_src | 32 | foreach p : libgnunettransport_src #+ libgnunettransportapplication_src + libgnunettransportcore_src + libgnunettransportcommunicator_src + libgnunettransportmonitor_src + gnunetservicetransport_src |
39 | gnunet_src += 'transport/' + p | 33 | gnunet_src += 'transport/' + p |
40 | endforeach | 34 | endforeach |
41 | endif | 35 | endif |
42 | 36 | ||
43 | #libgnunettransport = library('gnunettransport', | ||
44 | # libgnunettransport_src, | ||
45 | # soversion: '2', | ||
46 | # version: '2.2.0', | ||
47 | # dependencies: [libgnunetutil_dep, libgnunetats_dep, libgnunethello_dep], | ||
48 | # include_directories: [incdir, configuration_inc], | ||
49 | # install: true, | ||
50 | # install_dir: get_option('libdir')) | ||
51 | #pkg.generate(libgnunettransport, url: 'https://www.gnunet.org', | ||
52 | # description : 'Provides API for accessing the transport service') | ||
53 | #libgnunettransport_dep = declare_dependency(link_with : libgnunettransport) | ||
54 | |||
55 | #libgnunettransporttesting = library('gnunettransporttesting', | ||
56 | # [ | ||
57 | # 'transport-testing.c', | ||
58 | # 'transport-testing-filenames.c', | ||
59 | # 'transport-testing-loggers.c', | ||
60 | # 'transport-testing-main.c', | ||
61 | # 'transport-testing-send.c' | ||
62 | # ], | ||
63 | # soversion: '0', | ||
64 | # version: '0.0.0', | ||
65 | # dependencies: [libgnunetutil_dep, | ||
66 | # libgnunettesting_dep, | ||
67 | # libgnunettransport_dep, | ||
68 | # libgnunetats_dep, | ||
69 | # libgnunethello_dep], | ||
70 | # include_directories: [incdir, configuration_inc], | ||
71 | # install: true, | ||
72 | # install_dir: get_option('libdir')) | ||
73 | |||
74 | |||
75 | libgnunettransportapplication = library('gnunettransportapplication', | 37 | libgnunettransportapplication = library('gnunettransportapplication', |
76 | libgnunettransportapplication_src, | 38 | libgnunettransportapplication_src, |
77 | soversion: '0', | 39 | soversion: '0', |
@@ -129,11 +91,11 @@ libgnunettransporttesting2 = library('gnunettransporttesting2', | |||
129 | 'transport_api_cmd_stop_peer.c', | 91 | 'transport_api_cmd_stop_peer.c', |
130 | 'transport_api_cmd_send_simple.c', | 92 | 'transport_api_cmd_send_simple.c', |
131 | 'transport_api_cmd_send_simple_performance.c', | 93 | 'transport_api_cmd_send_simple_performance.c', |
132 | #'transport-testing2.c', | 94 | 'transport-testing2.c', |
133 | #'transport-testing-filenames2.c', | 95 | 'transport-testing-filenames2.c', |
134 | #'transport-testing-loggers2.c', | 96 | 'transport-testing-loggers2.c', |
135 | #'transport-testing-main2.c', | 97 | 'transport-testing-main2.c', |
136 | #'transport-testing-send2.c', | 98 | 'transport-testing-send2.c', |
137 | 'transport-testing-communicator.c', | 99 | 'transport-testing-communicator.c', |
138 | ], | 100 | ], |
139 | soversion: '0', | 101 | soversion: '0', |
@@ -149,18 +111,6 @@ libgnunettransporttesting2 = library('gnunettransporttesting2', | |||
149 | install_dir: get_option('libdir')) | 111 | install_dir: get_option('libdir')) |
150 | libgnunettransporttesting2_dep = declare_dependency(link_with : libgnunettransporttesting2) | 112 | libgnunettransporttesting2_dep = declare_dependency(link_with : libgnunettransporttesting2) |
151 | 113 | ||
152 | #executable ('gnunet-service-transport', | ||
153 | # gnunetservicetransport_src, | ||
154 | # dependencies: [libgnunettransport_dep, libgnunetutil_dep, | ||
155 | # libgnunethello_dep, | ||
156 | # libgnunetpeerstore_dep, | ||
157 | # m_dep, | ||
158 | # libgnunetstatistics_dep, | ||
159 | # gcrypt_dep], | ||
160 | # include_directories: [incdir, configuration_inc], | ||
161 | # install: true, | ||
162 | # install_dir: get_option('libdir') / 'gnunet' / 'libexec') | ||
163 | |||
164 | executable ('gnunet-communicator-unix', | 114 | executable ('gnunet-communicator-unix', |
165 | gnunetcommunicatorunix_src, | 115 | gnunetcommunicatorunix_src, |
166 | dependencies: [libgnunettransportcommunicator_dep, | 116 | dependencies: [libgnunettransportcommunicator_dep, |
@@ -199,17 +149,6 @@ executable ('gnunet-communicator-tcp', | |||
199 | install: true, | 149 | install: true, |
200 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') | 150 | install_dir: get_option('libdir') / 'gnunet' / 'libexec') |
201 | 151 | ||
202 | #executable ('gnunet-transport', | ||
203 | # ['gnunet-transport.c'], | ||
204 | # dependencies: [libgnunettransportcommunicator_dep, | ||
205 | # libgnunethello_dep, | ||
206 | # libgnunettransport_dep, | ||
207 | # libgnunetpeerstore_dep, | ||
208 | # libgnunetutil_dep], | ||
209 | # include_directories: [incdir, configuration_inc], | ||
210 | # install: true, | ||
211 | # install_dir: get_option('bindir')) | ||
212 | |||
213 | libgnunettesttransport_cmd_simplesend = library('gnunet_test_transport_plugin_cmd_simple_send', | 152 | libgnunettesttransport_cmd_simplesend = library('gnunet_test_transport_plugin_cmd_simple_send', |
214 | ['test_transport_plugin_cmd_simple_send.c'], | 153 | ['test_transport_plugin_cmd_simple_send.c'], |
215 | dependencies: [ | 154 | dependencies: [ |