2 # Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
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)
10 if [ os.name ] = SOLARIS
15 else if [ os.name ] = NT
20 else if [ os.name ] = HPUX
24 else if [ os.name ] = HAIKU
31 <library>/boost/system//boost_system
32 <library>/boost/thread//boost_thread
33 <define>BOOST_ALL_NO_LIB=1
35 <os>SOLARIS:<library>socket
36 <os>SOLARIS:<library>nsl
37 <os>NT:<define>_WIN32_WINNT=0x0501
38 <os>NT,<toolset>gcc:<library>ws2_32
39 <os>NT,<toolset>gcc:<library>mswsock
40 <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
41 <os>HPUX,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
42 <os>HPUX:<library>ipv6
43 <os>HAIKU:<library>network
46 exe async_tcp_echo_server : async_tcp_echo_server.cpp ;
47 exe async_udp_echo_server : async_udp_echo_server.cpp ;
48 exe blocking_tcp_echo_client : blocking_tcp_echo_client.cpp ;
49 exe blocking_tcp_echo_server : blocking_tcp_echo_server.cpp ;
50 exe blocking_udp_echo_client : blocking_udp_echo_client.cpp ;
51 exe blocking_udp_echo_server : blocking_udp_echo_server.cpp ;