Makefile.am
17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
AUTOMAKE_OPTIONS = subdir-objects
if SEPARATE_COMPILATION
noinst_LIBRARIES = libasio.a
libasio_a_SOURCES = ../asio.cpp
if HAVE_OPENSSL
libasio_a_SOURCES += ../asio_ssl.cpp
endif
LDADD = libasio.a
endif
SUBDIRS = properties
check_PROGRAMS = \
unit/associated_allocator \
unit/associated_executor \
unit/async_result \
unit/awaitable \
unit/basic_datagram_socket \
unit/basic_deadline_timer \
unit/basic_raw_socket \
unit/basic_seq_packet_socket \
unit/basic_serial_port \
unit/basic_signal_set \
unit/basic_socket \
unit/basic_socket_acceptor \
unit/basic_stream_socket \
unit/basic_streambuf \
unit/basic_waitable_timer \
unit/bind_executor \
unit/buffered_read_stream \
unit/buffered_stream \
unit/buffered_write_stream \
unit/buffer \
unit/buffers_iterator \
unit/co_spawn \
unit/completion_condition \
unit/compose \
unit/connect \
unit/coroutine \
unit/deadline_timer \
unit/defer \
unit/detached \
unit/dispatch \
unit/error \
unit/execution/any_executor \
unit/execution/blocking \
unit/execution/blocking_adaptation \
unit/execution/bulk_execute \
unit/execution/bulk_guarantee \
unit/execution/connect \
unit/execution/context_as \
unit/execution/execute \
unit/execution/executor \
unit/execution/invocable_archetype \
unit/execution/mapping \
unit/execution/operation_state \
unit/execution/outstanding_work \
unit/execution/prefer_only \
unit/execution/receiver \
unit/execution/relationship \
unit/execution/schedule \
unit/execution/scheduler \
unit/execution/sender \
unit/execution/set_done \
unit/execution/set_error \
unit/execution/set_value \
unit/execution/start \
unit/execution/submit \
unit/execution_context \
unit/executor \
unit/executor_work_guard \
unit/generic/basic_endpoint \
unit/generic/datagram_protocol \
unit/generic/raw_protocol \
unit/generic/seq_packet_protocol \
unit/generic/stream_protocol \
unit/high_resolution_timer \
unit/io_context \
unit/io_context_strand \
unit/ip/address \
unit/ip/address_v4 \
unit/ip/address_v4_iterator \
unit/ip/address_v4_range \
unit/ip/address_v6 \
unit/ip/address_v6_iterator \
unit/ip/address_v6_range \
unit/ip/basic_endpoint \
unit/ip/basic_resolver \
unit/ip/basic_resolver_entry \
unit/ip/basic_resolver_iterator \
unit/ip/basic_resolver_query \
unit/ip/host_name \
unit/ip/icmp \
unit/ip/multicast \
unit/ip/network_v4 \
unit/ip/network_v6 \
unit/ip/resolver_query_base \
unit/ip/tcp \
unit/ip/udp \
unit/ip/unicast \
unit/ip/v6_only \
unit/is_read_buffered \
unit/is_write_buffered \
unit/local/basic_endpoint \
unit/local/connect_pair \
unit/local/datagram_protocol \
unit/local/stream_protocol \
unit/packaged_task \
unit/placeholders \
unit/posix/basic_descriptor \
unit/posix/basic_stream_descriptor \
unit/posix/descriptor \
unit/posix/descriptor_base \
unit/posix/stream_descriptor \
unit/post \
unit/read \
unit/read_at \
unit/read_until \
unit/redirect_error \
unit/serial_port \
unit/serial_port_base \
unit/signal_set \
unit/socket_base \
unit/static_thread_pool \
unit/steady_timer \
unit/strand \
unit/streambuf \
unit/system_context \
unit/system_executor \
unit/system_timer \
unit/this_coro \
unit/thread \
unit/thread_pool \
unit/time_traits \
unit/ts/buffer \
unit/ts/executor \
unit/ts/internet \
unit/ts/io_context \
unit/ts/net \
unit/ts/netfwd \
unit/ts/socket \
unit/ts/timer \
unit/use_awaitable \
unit/use_future \
unit/uses_executor \
unit/wait_traits \
unit/windows/basic_object_handle \
unit/windows/basic_overlapped_handle \
unit/windows/basic_random_access_handle \
unit/windows/basic_stream_handle \
unit/windows/object_handle \
unit/windows/overlapped_handle \
unit/windows/overlapped_ptr \
unit/windows/random_access_handle \
unit/windows/stream_handle \
unit/write \
unit/write_at
if !STANDALONE
noinst_PROGRAMS = \
latency/tcp_client \
latency/tcp_server \
latency/udp_client \
latency/udp_server \
performance/client \
performance/server
endif
if HAVE_OPENSSL
check_PROGRAMS += \
unit/ssl/context_base \
unit/ssl/context \
unit/ssl/error \
unit/ssl/host_name_verification \
unit/ssl/rfc2818_verification \
unit/ssl/stream_base \
unit/ssl/stream
endif
TESTS = \
unit/associated_allocator \
unit/associated_executor \
unit/async_result \
unit/awaitable \
unit/basic_datagram_socket \
unit/basic_deadline_timer \
unit/basic_raw_socket \
unit/basic_seq_packet_socket \
unit/basic_serial_port \
unit/basic_signal_set \
unit/basic_socket \
unit/basic_socket_acceptor \
unit/basic_stream_socket \
unit/basic_streambuf \
unit/basic_waitable_timer \
unit/bind_executor \
unit/buffered_read_stream \
unit/buffered_stream \
unit/buffered_write_stream \
unit/buffer \
unit/buffers_iterator \
unit/co_spawn \
unit/completion_condition \
unit/compose \
unit/connect \
unit/deadline_timer \
unit/defer \
unit/detached \
unit/dispatch \
unit/error \
unit/execution/any_executor \
unit/execution/blocking \
unit/execution/blocking_adaptation \
unit/execution/bulk_execute \
unit/execution/bulk_guarantee \
unit/execution/connect \
unit/execution/context_as \
unit/execution/execute \
unit/execution/executor \
unit/execution/invocable_archetype \
unit/execution/mapping \
unit/execution/operation_state \
unit/execution/outstanding_work \
unit/execution/prefer_only \
unit/execution/receiver \
unit/execution/relationship \
unit/execution/schedule \
unit/execution/scheduler \
unit/execution/sender \
unit/execution/set_done \
unit/execution/set_error \
unit/execution/set_value \
unit/execution/start \
unit/execution/submit \
unit/execution_context \
unit/executor \
unit/executor_work_guard \
unit/high_resolution_timer \
unit/io_context \
unit/io_context_strand \
unit/ip/address \
unit/ip/address_v4 \
unit/ip/address_v4_iterator \
unit/ip/address_v4_range \
unit/ip/address_v6 \
unit/ip/address_v6_iterator \
unit/ip/address_v6_range \
unit/ip/basic_endpoint \
unit/ip/basic_resolver \
unit/ip/basic_resolver_entry \
unit/ip/basic_resolver_iterator \
unit/ip/basic_resolver_query \
unit/ip/host_name \
unit/ip/icmp \
unit/ip/multicast \
unit/ip/network_v4 \
unit/ip/network_v6 \
unit/ip/resolver_query_base \
unit/ip/tcp \
unit/ip/udp \
unit/ip/unicast \
unit/ip/v6_only \
unit/is_read_buffered \
unit/is_write_buffered \
unit/local/basic_endpoint \
unit/local/connect_pair \
unit/local/datagram_protocol \
unit/local/stream_protocol \
unit/packaged_task \
unit/placeholders \
unit/posix/basic_descriptor\
unit/posix/basic_stream_descriptor\
unit/posix/descriptor\
unit/posix/descriptor_base \
unit/posix/stream_descriptor \
unit/post \
unit/read \
unit/read_at \
unit/read_until \
unit/redirect_error \
unit/serial_port \
unit/serial_port_base \
unit/signal_set \
unit/socket_base \
unit/static_thread_pool \
unit/steady_timer \
unit/strand \
unit/streambuf \
unit/system_context \
unit/system_executor \
unit/system_timer \
unit/this_coro \
unit/thread \
unit/thread_pool \
unit/time_traits \
unit/ts/buffer \
unit/ts/executor \
unit/ts/internet \
unit/ts/io_context \
unit/ts/net \
unit/ts/netfwd \
unit/ts/socket \
unit/ts/timer \
unit/use_awaitable \
unit/use_future \
unit/uses_executor \
unit/wait_traits \
unit/windows/basic_object_handle \
unit/windows/basic_overlapped_handle \
unit/windows/basic_random_access_handle \
unit/windows/basic_stream_handle \
unit/windows/object_handle \
unit/windows/overlapped_handle \
unit/windows/overlapped_ptr \
unit/windows/random_access_handle \
unit/windows/stream_handle \
unit/write \
unit/write_at
if HAVE_OPENSSL
TESTS += \
unit/ssl/context_base \
unit/ssl/context \
unit/ssl/error \
unit/ssl/host_name_verification \
unit/ssl/rfc2818_verification \
unit/ssl/stream_base \
unit/ssl/stream
endif
noinst_HEADERS = \
latency/high_res_clock.hpp \
unit/unit_test.hpp
AM_CXXFLAGS = -I$(srcdir)/../../include
if !STANDALONE
latency_tcp_client_SOURCES = latency/tcp_client.cpp
latency_tcp_server_SOURCES = latency/tcp_server.cpp
latency_udp_client_SOURCES = latency/udp_client.cpp
latency_udp_server_SOURCES = latency/udp_server.cpp
performance_client_SOURCES = performance/client.cpp
performance_server_SOURCES = performance/server.cpp
endif
unit_associated_allocator_SOURCES = unit/associated_allocator.cpp
unit_associated_executor_SOURCES = unit/associated_executor.cpp
unit_async_result_SOURCES = unit/async_result.cpp
unit_awaitable_SOURCES = unit/awaitable.cpp
unit_basic_datagram_socket_SOURCES = unit/basic_datagram_socket.cpp
unit_basic_deadline_timer_SOURCES = unit/basic_deadline_timer.cpp
unit_basic_raw_socket_SOURCES = unit/basic_raw_socket.cpp
unit_basic_seq_packet_socket_SOURCES = unit/basic_seq_packet_socket.cpp
unit_basic_serial_port_SOURCES = unit/basic_serial_port.cpp
unit_basic_signal_set_SOURCES = unit/basic_signal_set.cpp
unit_basic_socket_SOURCES = unit/basic_socket.cpp
unit_basic_socket_acceptor_SOURCES = unit/basic_socket_acceptor.cpp
unit_basic_stream_socket_SOURCES = unit/basic_stream_socket.cpp
unit_basic_streambuf_SOURCES = unit/basic_streambuf.cpp
unit_basic_waitable_timer_SOURCES = unit/basic_waitable_timer.cpp
unit_bind_executor_SOURCES = unit/bind_executor.cpp
unit_buffer_SOURCES = unit/buffer.cpp
unit_buffers_iterator_SOURCES = unit/buffers_iterator.cpp
unit_buffered_read_stream_SOURCES = unit/buffered_read_stream.cpp
unit_buffered_stream_SOURCES = unit/buffered_stream.cpp
unit_buffered_write_stream_SOURCES = unit/buffered_write_stream.cpp
unit_co_spawn_SOURCES = unit/co_spawn.cpp
unit_completion_condition_SOURCES = unit/completion_condition.cpp
unit_compose_SOURCES = unit/compose.cpp
unit_connect_SOURCES = unit/connect.cpp
unit_coroutine_SOURCES = unit/coroutine.cpp
unit_deadline_timer_SOURCES = unit/deadline_timer.cpp
unit_defer_SOURCES = unit/defer.cpp
unit_detached_SOURCES = unit/detached.cpp
unit_dispatch_SOURCES = unit/dispatch.cpp
unit_error_SOURCES = unit/error.cpp
unit_execution_any_executor_SOURCES = unit/execution/any_executor.cpp
unit_execution_blocking_SOURCES = unit/execution/blocking.cpp
unit_execution_blocking_adaptation_SOURCES = unit/execution/blocking_adaptation.cpp
unit_execution_bulk_execute_SOURCES = unit/execution/bulk_execute.cpp
unit_execution_bulk_guarantee_SOURCES = unit/execution/bulk_guarantee.cpp
unit_execution_connect_SOURCES = unit/execution/connect.cpp
unit_execution_context_as_SOURCES = unit/execution/context_as.cpp
unit_execution_execute_SOURCES = unit/execution/execute.cpp
unit_execution_executor_SOURCES = unit/execution/executor.cpp
unit_execution_invocable_archetype_SOURCES = unit/execution/invocable_archetype.cpp
unit_execution_mapping_SOURCES = unit/execution/mapping.cpp
unit_execution_outstanding_work_SOURCES = unit/execution/outstanding_work.cpp
unit_execution_operation_state_SOURCES = unit/execution/operation_state.cpp
unit_execution_prefer_only_SOURCES = unit/execution/prefer_only.cpp
unit_execution_receiver_SOURCES = unit/execution/receiver.cpp
unit_execution_relationship_SOURCES = unit/execution/relationship.cpp
unit_execution_schedule_SOURCES = unit/execution/schedule.cpp
unit_execution_scheduler_SOURCES = unit/execution/scheduler.cpp
unit_execution_sender_SOURCES = unit/execution/sender.cpp
unit_execution_set_done_SOURCES = unit/execution/set_done.cpp
unit_execution_set_error_SOURCES = unit/execution/set_error.cpp
unit_execution_set_value_SOURCES = unit/execution/set_value.cpp
unit_execution_start_SOURCES = unit/execution/start.cpp
unit_execution_submit_SOURCES = unit/execution/submit.cpp
unit_execution_context_SOURCES = unit/execution_context.cpp
unit_executor_SOURCES = unit/executor.cpp
unit_executor_work_guard_SOURCES = unit/executor_work_guard.cpp
unit_generic_basic_endpoint_SOURCES = unit/generic/basic_endpoint.cpp
unit_generic_datagram_protocol_SOURCES = unit/generic/datagram_protocol.cpp
unit_generic_raw_protocol_SOURCES = unit/generic/raw_protocol.cpp
unit_generic_seq_packet_protocol_SOURCES = unit/generic/seq_packet_protocol.cpp
unit_generic_stream_protocol_SOURCES = unit/generic/stream_protocol.cpp
unit_high_resolution_timer_SOURCES = unit/high_resolution_timer.cpp
unit_io_context_SOURCES = unit/io_context.cpp
unit_io_context_strand_SOURCES = unit/io_context_strand.cpp
unit_ip_address_SOURCES = unit/ip/address.cpp
unit_ip_address_v4_SOURCES = unit/ip/address_v4.cpp
unit_ip_address_v4_iterator_SOURCES = unit/ip/address_v4_iterator.cpp
unit_ip_address_v4_range_SOURCES = unit/ip/address_v4_range.cpp
unit_ip_address_v6_SOURCES = unit/ip/address_v6.cpp
unit_ip_address_v6_iterator_SOURCES = unit/ip/address_v6_iterator.cpp
unit_ip_address_v6_range_SOURCES = unit/ip/address_v6_range.cpp
unit_ip_basic_endpoint_SOURCES = unit/ip/basic_endpoint.cpp
unit_ip_basic_resolver_SOURCES = unit/ip/basic_resolver.cpp
unit_ip_basic_resolver_entry_SOURCES = unit/ip/basic_resolver_entry.cpp
unit_ip_basic_resolver_iterator_SOURCES = unit/ip/basic_resolver_iterator.cpp
unit_ip_basic_resolver_query_SOURCES = unit/ip/basic_resolver_query.cpp
unit_ip_host_name_SOURCES = unit/ip/host_name.cpp
unit_ip_icmp_SOURCES = unit/ip/icmp.cpp
unit_ip_multicast_SOURCES = unit/ip/multicast.cpp
unit_ip_network_v4_SOURCES = unit/ip/network_v4.cpp
unit_ip_network_v6_SOURCES = unit/ip/network_v6.cpp
unit_ip_resolver_query_base_SOURCES = unit/ip/resolver_query_base.cpp
unit_ip_tcp_SOURCES = unit/ip/tcp.cpp
unit_ip_udp_SOURCES = unit/ip/udp.cpp
unit_ip_unicast_SOURCES = unit/ip/unicast.cpp
unit_ip_v6_only_SOURCES = unit/ip/v6_only.cpp
unit_is_read_buffered_SOURCES = unit/is_read_buffered.cpp
unit_is_write_buffered_SOURCES = unit/is_write_buffered.cpp
unit_local_basic_endpoint_SOURCES = unit/local/basic_endpoint.cpp
unit_local_connect_pair_SOURCES = unit/local/connect_pair.cpp
unit_local_datagram_protocol_SOURCES = unit/local/datagram_protocol.cpp
unit_local_stream_protocol_SOURCES = unit/local/stream_protocol.cpp
unit_packaged_task_SOURCES = unit/packaged_task.cpp
unit_placeholders_SOURCES = unit/placeholders.cpp
unit_posix_basic_descriptor_SOURCES = unit/posix/basic_descriptor.cpp
unit_posix_basic_stream_descriptor_SOURCES = unit/posix/basic_stream_descriptor.cpp
unit_posix_descriptor_SOURCES = unit/posix/descriptor.cpp
unit_posix_descriptor_base_SOURCES = unit/posix/descriptor_base.cpp
unit_posix_stream_descriptor_SOURCES = unit/posix/stream_descriptor.cpp
unit_post_SOURCES = unit/post.cpp
unit_read_SOURCES = unit/read.cpp
unit_read_at_SOURCES = unit/read_at.cpp
unit_read_until_SOURCES = unit/read_until.cpp
unit_redirect_error_SOURCES = unit/redirect_error.cpp
unit_serial_port_SOURCES = unit/serial_port.cpp
unit_serial_port_base_SOURCES = unit/serial_port_base.cpp
unit_signal_set_SOURCES = unit/signal_set.cpp
unit_socket_base_SOURCES = unit/socket_base.cpp
unit_static_thread_pool_SOURCES = unit/static_thread_pool.cpp
unit_steady_timer_SOURCES = unit/steady_timer.cpp
unit_strand_SOURCES = unit/strand.cpp
unit_streambuf_SOURCES = unit/streambuf.cpp
unit_system_context_SOURCES = unit/system_context.cpp
unit_system_executor_SOURCES = unit/system_executor.cpp
unit_system_timer_SOURCES = unit/system_timer.cpp
unit_this_coro_SOURCES = unit/this_coro.cpp
unit_thread_SOURCES = unit/thread.cpp
unit_thread_pool_SOURCES = unit/thread_pool.cpp
unit_time_traits_SOURCES = unit/time_traits.cpp
unit_ts_buffer_SOURCES = unit/ts/buffer.cpp
unit_ts_executor_SOURCES = unit/ts/executor.cpp
unit_ts_internet_SOURCES = unit/ts/internet.cpp
unit_ts_io_context_SOURCES = unit/ts/io_context.cpp
unit_ts_net_SOURCES = unit/ts/net.cpp
unit_ts_netfwd_SOURCES = unit/ts/netfwd.cpp
unit_ts_socket_SOURCES = unit/ts/socket.cpp
unit_ts_timer_SOURCES = unit/ts/timer.cpp
unit_use_awaitable_SOURCES = unit/use_awaitable.cpp
unit_use_future_SOURCES = unit/use_future.cpp
unit_uses_executor_SOURCES = unit/uses_executor.cpp
unit_wait_traits_SOURCES = unit/wait_traits.cpp
unit_windows_basic_object_handle_SOURCES = unit/windows/basic_object_handle.cpp
unit_windows_basic_overlapped_handle_SOURCES = unit/windows/basic_overlapped_handle.cpp
unit_windows_basic_random_access_handle_SOURCES = unit/windows/basic_random_access_handle.cpp
unit_windows_basic_stream_handle_SOURCES = unit/windows/basic_stream_handle.cpp
unit_windows_object_handle_SOURCES = unit/windows/object_handle.cpp
unit_windows_overlapped_handle_SOURCES = unit/windows/overlapped_handle.cpp
unit_windows_overlapped_ptr_SOURCES = unit/windows/overlapped_ptr.cpp
unit_windows_random_access_handle_SOURCES = unit/windows/random_access_handle.cpp
unit_windows_stream_handle_SOURCES = unit/windows/stream_handle.cpp
unit_write_SOURCES = unit/write.cpp
unit_write_at_SOURCES = unit/write_at.cpp
if HAVE_OPENSSL
unit_ssl_context_base_SOURCES = unit/ssl/context_base.cpp
unit_ssl_context_SOURCES = unit/ssl/context.cpp
unit_ssl_error_SOURCES = unit/ssl/error.cpp
unit_ssl_stream_base_SOURCES = unit/ssl/stream_base.cpp
unit_ssl_host_name_verification_SOURCES = unit/ssl/host_name_verification.cpp
unit_ssl_rfc2818_verification_SOURCES = unit/ssl/rfc2818_verification.cpp
unit_ssl_stream_SOURCES = unit/ssl/stream.cpp
endif
EXTRA_DIST = \
latency/allocator.hpp \
performance/handler_allocator.hpp \
unit/archetypes/async_ops.hpp \
unit/archetypes/async_result.hpp \
unit/archetypes/gettable_socket_option.hpp \
unit/archetypes/io_control_command.hpp \
unit/archetypes/settable_socket_option.hpp
MAINTAINERCLEANFILES = \
$(srcdir)/Makefile.in