]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/asio/test/Jamfile.v2
update sources to ceph Nautilus 14.2.1
[ceph.git] / ceph / src / boost / libs / asio / test / Jamfile.v2
1 #
2 # Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com)
3 #
4 # Distributed under the Boost Software License, Version 1.0. (See accompanying
5 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 #
7
8 import feature ;
9
10 lib socket ; # SOLARIS, QNXNTO
11 lib nsl ; # SOLARIS
12 lib ws2_32 ; # NT
13 lib mswsock ; # NT
14 lib ipv6 ; # HPUX
15 lib network ; # HAIKU
16
17 local USE_SELECT =
18 <define>BOOST_ASIO_DISABLE_DEV_POLL
19 <define>BOOST_ASIO_DISABLE_EPOLL
20 <define>BOOST_ASIO_DISABLE_KQUEUE
21 <define>BOOST_ASIO_DISABLE_IOCP
22 ;
23
24 project
25 : requirements
26 <library>/boost/date_time//boost_date_time
27 <library>/boost/system//boost_system
28 <library>/boost/chrono//boost_chrono
29 <library>/boost/regex//boost_regex
30 <define>BOOST_ALL_NO_LIB=1
31 <threading>multi
32 <target-os>linux:<define>_XOPEN_SOURCE=600
33 <target-os>linux:<define>_GNU_SOURCE=1
34 <target-os>solaris:<define>_XOPEN_SOURCE=500
35 <target-os>solaris:<define>__EXTENSIONS__
36 <target-os>solaris:<library>socket
37 <target-os>solaris:<library>nsl
38 <target-os>windows:<define>_WIN32_WINNT=0x0501
39 <target-os>windows,<toolset>cw:<library>ws2_32
40 <target-os>windows,<toolset>cw:<library>mswsock
41 <target-os>windows,<toolset>gcc:<library>ws2_32
42 <target-os>windows,<toolset>gcc:<library>mswsock
43 <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
44 <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
45 <target-os>hpux:<library>ipv6
46 <target-os>qnxnto:<library>socket
47 <target-os>haiku:<library>network
48 ;
49
50 test-suite "asio" :
51 [ link basic_datagram_socket.cpp ]
52 [ link basic_datagram_socket.cpp : $(USE_SELECT) : basic_datagram_socket_select ]
53 [ link basic_deadline_timer.cpp ]
54 [ link basic_deadline_timer.cpp : $(USE_SELECT) : basic_deadline_timer_select ]
55 [ link basic_raw_socket.cpp ]
56 [ link basic_raw_socket.cpp : $(USE_SELECT) : basic_raw_socket_select ]
57 [ link basic_seq_packet_socket.cpp ]
58 [ link basic_seq_packet_socket.cpp : $(USE_SELECT) : basic_seq_packet_socket_select ]
59 [ link basic_signal_set.cpp ]
60 [ link basic_signal_set.cpp : $(USE_SELECT) : basic_signal_set_select ]
61 [ link basic_socket_acceptor.cpp ]
62 [ link basic_socket_acceptor.cpp : $(USE_SELECT) : basic_socket_acceptor_select ]
63 [ link basic_stream_socket.cpp ]
64 [ link basic_stream_socket.cpp : $(USE_SELECT) : basic_stream_socket_select ]
65 [ link basic_streambuf.cpp ]
66 [ link basic_streambuf.cpp : $(USE_SELECT) : basic_streambuf_select ]
67 [ link basic_waitable_timer.cpp ]
68 [ link basic_waitable_timer.cpp : $(USE_SELECT) : basic_waitable_timer_select ]
69 [ run buffer.cpp ]
70 [ run buffer.cpp : : : $(USE_SELECT) : buffer_select ]
71 [ run buffered_read_stream.cpp ]
72 [ run buffered_read_stream.cpp : : : $(USE_SELECT) : buffered_read_stream_select ]
73 [ run buffered_stream.cpp ]
74 [ run buffered_stream.cpp : : : $(USE_SELECT) : buffered_stream_select ]
75 [ run buffered_write_stream.cpp ]
76 [ run buffered_write_stream.cpp : : : $(USE_SELECT) : buffered_write_stream_select ]
77 [ run buffers_iterator.cpp ]
78 [ run buffers_iterator.cpp : : : $(USE_SELECT) : buffers_iterator_select ]
79 [ link completion_condition.cpp ]
80 [ link completion_condition.cpp : $(USE_SELECT) : completion_condition_select ]
81 [ link connect.cpp ]
82 [ link connect.cpp : $(USE_SELECT) : connect_select ]
83 [ link coroutine.cpp ]
84 [ link coroutine.cpp : $(USE_SELECT) : coroutine_select ]
85 [ link datagram_socket_service.cpp ]
86 [ link datagram_socket_service.cpp : $(USE_SELECT) : datagram_socket_service_select ]
87 [ link deadline_timer_service.cpp ]
88 [ link deadline_timer_service.cpp : $(USE_SELECT) : deadline_timer_service_select ]
89 [ run deadline_timer.cpp ]
90 [ run deadline_timer.cpp : : : $(USE_SELECT) : deadline_timer_select ]
91 [ run error.cpp ]
92 [ run error.cpp : : : $(USE_SELECT) : error_select ]
93 [ link generic/basic_endpoint.cpp : : generic_basic_endpoint ]
94 [ link generic/basic_endpoint.cpp : $(USE_SELECT) : generic_basic_endpoint_select ]
95 [ link generic/datagram_protocol.cpp : : generic_datagram_protocol ]
96 [ link generic/datagram_protocol.cpp : $(USE_SELECT) : generic_datagram_protocol_select ]
97 [ link generic/raw_protocol.cpp : : generic_raw_protocol ]
98 [ link generic/raw_protocol.cpp : $(USE_SELECT) : generic_raw_protocol_select ]
99 [ link generic/seq_packet_protocol.cpp : : generic_seq_packet_protocol ]
100 [ link generic/seq_packet_protocol.cpp : $(USE_SELECT) : generic_seq_packet_protocol_select ]
101 [ link generic/stream_protocol.cpp : : generic_stream_protocol ]
102 [ link generic/stream_protocol.cpp : $(USE_SELECT) : generic_stream_protocol_select ]
103 [ link high_resolution_timer.cpp ]
104 [ link high_resolution_timer.cpp : $(USE_SELECT) : high_resolution_timer_select ]
105 [ run io_context.cpp ]
106 [ run io_context.cpp : : : $(USE_SELECT) : io_context_select ]
107 [ link ip/address.cpp : : ip_address ]
108 [ link ip/address.cpp : $(USE_SELECT) : ip_address_select ]
109 [ link ip/address_v4.cpp : : ip_address_v4 ]
110 [ link ip/address_v4.cpp : $(USE_SELECT) : ip_address_v4_select ]
111 [ link ip/address_v6.cpp : : ip_address_v6 ]
112 [ link ip/address_v6.cpp : $(USE_SELECT) : ip_address_v6_select ]
113 [ link ip/basic_endpoint.cpp : : ip_basic_endpoint ]
114 [ link ip/basic_endpoint.cpp : $(USE_SELECT) : ip_basic_endpoint_select ]
115 [ link ip/basic_resolver.cpp : : ip_basic_resolver ]
116 [ link ip/basic_resolver.cpp : $(USE_SELECT) : ip_basic_resolver_select ]
117 [ link ip/basic_resolver_entry.cpp : : ip_basic_resolver_entry ]
118 [ link ip/basic_resolver_entry.cpp : $(USE_SELECT) : ip_basic_resolver_entry_select ]
119 [ link ip/basic_resolver_iterator.cpp : : ip_basic_resolver_iterator ]
120 [ link ip/basic_resolver_iterator.cpp : $(USE_SELECT) : ip_basic_resolver_iterator_select ]
121 [ link ip/basic_resolver_query.cpp : : ip_basic_resolver_query ]
122 [ link ip/basic_resolver_query.cpp : $(USE_SELECT) : ip_basic_resolver_query_select ]
123 [ run ip/host_name.cpp : : : : ip_host_name ]
124 [ run ip/host_name.cpp : : : $(USE_SELECT) : ip_host_name_select ]
125 [ run ip/icmp.cpp : : : : ip_icmp ]
126 [ run ip/icmp.cpp : : : $(USE_SELECT) : ip_icmp_select ]
127 [ run ip/multicast.cpp : : : : ip_multicast ]
128 [ run ip/multicast.cpp : : : $(USE_SELECT) : ip_multicast_select ]
129 [ link ip/resolver_query_base.cpp : : ip_resolver_query_base ]
130 [ link ip/resolver_query_base.cpp : $(USE_SELECT) : ip_resolver_query_base_select ]
131 [ link ip/resolver_service.cpp : : ip_resolver_service ]
132 [ link ip/resolver_service.cpp : $(USE_SELECT) : ip_resolver_service_select ]
133 [ run ip/tcp.cpp : : : : ip_tcp ]
134 [ run ip/tcp.cpp : : : $(USE_SELECT) : ip_tcp_select ]
135 [ run ip/udp.cpp : : : : ip_udp ]
136 [ run ip/udp.cpp : : : $(USE_SELECT) : ip_udp_select ]
137 [ run ip/unicast.cpp : : : : ip_unicast ]
138 [ run ip/unicast.cpp : : : $(USE_SELECT) : ip_unicast_select ]
139 [ run ip/v6_only.cpp : : : : ip_v6_only ]
140 [ run ip/v6_only.cpp : : : $(USE_SELECT) : ip_v6_only_select ]
141 [ run is_read_buffered.cpp ]
142 [ run is_read_buffered.cpp : : : $(USE_SELECT) : is_read_buffered_select ]
143 [ run is_write_buffered.cpp ]
144 [ run is_write_buffered.cpp : : : $(USE_SELECT) : is_write_buffered_select ]
145 [ link local/basic_endpoint.cpp : : local_basic_endpoint ]
146 [ link local/basic_endpoint.cpp : $(USE_SELECT) : local_basic_endpoint_select ]
147 [ link local/connect_pair.cpp : : local_connect_pair ]
148 [ link local/connect_pair.cpp : $(USE_SELECT) : local_connect_pair_select ]
149 [ link local/datagram_protocol.cpp : : local_datagram_protocol ]
150 [ link local/datagram_protocol.cpp : $(USE_SELECT) : local_datagram_protocol_select ]
151 [ link local/stream_protocol.cpp : : local_stream_protocol ]
152 [ link local/stream_protocol.cpp : $(USE_SELECT) : local_stream_protocol_select ]
153 [ link placeholders.cpp ]
154 [ link placeholders.cpp : $(USE_SELECT) : placeholders_select ]
155 [ link posix/basic_descriptor.cpp : : posix_basic_descriptor ]
156 [ link posix/basic_descriptor.cpp : $(USE_SELECT) : posix_basic_descriptor_select ]
157 [ link posix/basic_stream_descriptor.cpp : : posix_basic_stream_descriptor ]
158 [ link posix/basic_stream_descriptor.cpp : $(USE_SELECT) : posix_basic_stream_descriptor_select ]
159 [ link posix/descriptor_base.cpp : : posix_descriptor_base ]
160 [ link posix/descriptor_base.cpp : $(USE_SELECT) : posix_descriptor_base_select ]
161 [ link posix/stream_descriptor.cpp : : posix_stream_descriptor ]
162 [ link posix/stream_descriptor.cpp : $(USE_SELECT) : posix_stream_descriptor_select ]
163 [ link posix/stream_descriptor_service.cpp : : posix_stream_descriptor_service ]
164 [ link posix/stream_descriptor_service.cpp : $(USE_SELECT) : posix_stream_descriptor_service_select ]
165 [ link raw_socket_service.cpp ]
166 [ link raw_socket_service.cpp : $(USE_SELECT) : raw_socket_service_select ]
167 [ run read.cpp ]
168 [ run read.cpp : : : $(USE_SELECT) : read_select ]
169 [ run read_at.cpp ]
170 [ run read_at.cpp : : : $(USE_SELECT) : read_at_select ]
171 [ run read_until.cpp ]
172 [ run read_until.cpp : : : $(USE_SELECT) : read_until_select ]
173 [ link seq_packet_socket_service.cpp ]
174 [ link seq_packet_socket_service.cpp : $(USE_SELECT) : seq_packet_socket_service_select ]
175 [ run signal_set.cpp ]
176 [ run signal_set.cpp : : : $(USE_SELECT) : signal_set_select ]
177 [ link signal_set_service.cpp ]
178 [ link signal_set_service.cpp : $(USE_SELECT) : signal_set_service_select ]
179 [ link socket_acceptor_service.cpp ]
180 [ link socket_acceptor_service.cpp : $(USE_SELECT) : socket_acceptor_service_select ]
181 [ run socket_base.cpp ]
182 [ run socket_base.cpp : : : $(USE_SELECT) : socket_base_select ]
183 [ link steady_timer.cpp ]
184 [ link steady_timer.cpp : $(USE_SELECT) : steady_timer_select ]
185 [ run strand.cpp ]
186 [ run strand.cpp : : : $(USE_SELECT) : strand_select ]
187 [ link stream_socket_service.cpp ]
188 [ link stream_socket_service.cpp : $(USE_SELECT) : stream_socket_service_select ]
189 [ run streambuf.cpp ]
190 [ run streambuf.cpp : : : $(USE_SELECT) : streambuf_select ]
191 [ link system_timer.cpp ]
192 [ link system_timer.cpp : $(USE_SELECT) : system_timer_select ]
193 [ link system_context.cpp ]
194 [ link system_context.cpp : $(USE_SELECT) : system_context_select ]
195 [ link system_executor.cpp ]
196 [ link system_executor.cpp : $(USE_SELECT) : system_executor_select ]
197 [ link time_traits.cpp ]
198 [ link time_traits.cpp : $(USE_SELECT) : time_traits_select ]
199 [ link ts/buffer.cpp : : ts_buffer ]
200 [ link ts/buffer.cpp : $(USE_SELECT) : ts_buffer_select ]
201 [ link ts/executor.cpp : : ts_executor ]
202 [ link ts/executor.cpp : $(USE_SELECT) : ts_executor_select ]
203 [ link ts/internet.cpp : : ts_internet ]
204 [ link ts/internet.cpp : $(USE_SELECT) : ts_internet_select ]
205 [ link ts/io_context.cpp : : ts_io_context ]
206 [ link ts/io_context.cpp : $(USE_SELECT) : ts_io_context_select ]
207 [ link ts/net.cpp : : ts_net ]
208 [ link ts/net.cpp : $(USE_SELECT) : ts_net_select ]
209 [ link ts/netfwd.cpp : : ts_netfwd ]
210 [ link ts/netfwd.cpp : $(USE_SELECT) : ts_netfwd_select ]
211 [ link ts/socket.cpp : : ts_socket ]
212 [ link ts/socket.cpp : $(USE_SELECT) : ts_socket_select ]
213 [ link ts/timer.cpp : : ts_timer ]
214 [ link ts/timer.cpp : $(USE_SELECT) : ts_timer_select ]
215 [ link wait_traits.cpp ]
216 [ link wait_traits.cpp : $(USE_SELECT) : wait_traits_select ]
217 [ link waitable_timer_service.cpp ]
218 [ link waitable_timer_service.cpp : $(USE_SELECT) : waitable_timer_service_select ]
219 [ link windows/basic_handle.cpp : : windows_basic_handle ]
220 [ link windows/basic_handle.cpp : $(USE_SELECT) : windows_basic_handle_select ]
221 [ link windows/basic_object_handle.cpp : : windows_basic_object_handle ]
222 [ link windows/basic_object_handle.cpp : $(USE_SELECT) : windows_basic_object_handle_select ]
223 [ link windows/basic_random_access_handle.cpp : : windows_basic_random_access_handle ]
224 [ link windows/basic_random_access_handle.cpp : $(USE_SELECT) : windows_basic_random_access_handle_select ]
225 [ link windows/basic_stream_handle.cpp : : windows_basic_stream_handle ]
226 [ link windows/basic_stream_handle.cpp : $(USE_SELECT) : windows_basic_stream_handle_select ]
227 [ link windows/object_handle.cpp : : windows_object_handle ]
228 [ link windows/object_handle.cpp : $(USE_SELECT) : windows_object_handle_select ]
229 [ link windows/object_handle_service.cpp : : windows_object_handle_service ]
230 [ link windows/object_handle_service.cpp : $(USE_SELECT) : windows_object_handle_service_select ]
231 [ link windows/overlapped_ptr.cpp : : windows_overlapped_ptr ]
232 [ link windows/overlapped_ptr.cpp : $(USE_SELECT) : windows_overlapped_ptr_select ]
233 [ link windows/random_access_handle.cpp : : windows_random_access_handle ]
234 [ link windows/random_access_handle.cpp : $(USE_SELECT) : windows_random_access_handle_select ]
235 [ link windows/random_access_handle_service.cpp : : windows_random_access_handle_service ]
236 [ link windows/random_access_handle_service.cpp : $(USE_SELECT) : windows_random_access_handle_service_select ]
237 [ link windows/stream_handle.cpp : : windows_stream_handle ]
238 [ link windows/stream_handle.cpp : $(USE_SELECT) : windows_stream_handle_select ]
239 [ link windows/stream_handle_service.cpp : : windows_stream_handle_service ]
240 [ link windows/stream_handle_service.cpp : $(USE_SELECT) : windows_stream_handle_service_select ]
241 [ run write.cpp ]
242 [ run write.cpp : : : $(USE_SELECT) : write_select ]
243 [ run write_at.cpp ]
244 [ run write_at.cpp : : : $(USE_SELECT) : write_at_select ]
245 ;