1# 2# Copyright (c) 2003-2021 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 8lib socket ; # SOLARIS 9lib nsl ; # SOLARIS 10lib ws2_32 ; # NT 11lib mswsock ; # NT 12lib ipv6 ; # HPUX 13lib network ; # HAIKU 14 15exe connect_pair 16 : connect_pair.cpp 17 /boost/system//boost_system 18 /boost/chrono//boost_chrono 19 /boost/thread//boost_thread 20 : <define>BOOST_ALL_NO_LIB=1 21 <threading>multi 22 <target-os>solaris:<library>socket 23 <target-os>solaris:<library>nsl 24 <target-os>windows:<define>_WIN32_WINNT=0x0501 25 <target-os>windows,<toolset>gcc:<library>ws2_32 26 <target-os>windows,<toolset>gcc:<library>mswsock 27 <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS 28 <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED 29 <target-os>hpux:<library>ipv6 30 <target-os>haiku:<library>network 31 ; 32 33exe iostream_client 34 : iostream_client.cpp 35 /boost/system//boost_system 36 /boost/chrono//boost_chrono 37 : <define>BOOST_ALL_NO_LIB=1 38 <threading>multi 39 <target-os>solaris:<library>socket 40 <target-os>solaris:<library>nsl 41 <target-os>windows:<define>_WIN32_WINNT=0x0501 42 <target-os>windows,<toolset>gcc:<library>ws2_32 43 <target-os>windows,<toolset>gcc:<library>mswsock 44 <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS 45 <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED 46 <target-os>hpux:<library>ipv6 47 <target-os>haiku:<library>network 48 ; 49 50exe stream_client 51 : stream_client.cpp 52 /boost/system//boost_system 53 /boost/chrono//boost_chrono 54 : <define>BOOST_ALL_NO_LIB=1 55 <threading>multi 56 <target-os>solaris:<library>socket 57 <target-os>solaris:<library>nsl 58 <target-os>windows:<define>_WIN32_WINNT=0x0501 59 <target-os>windows,<toolset>gcc:<library>ws2_32 60 <target-os>windows,<toolset>gcc:<library>mswsock 61 <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS 62 <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED 63 <target-os>hpux:<library>ipv6 64 <target-os>haiku:<library>network 65 ; 66 67exe stream_server 68 : stream_server.cpp 69 /boost/system//boost_system 70 /boost/chrono//boost_chrono 71 : <define>BOOST_ALL_NO_LIB=1 72 <threading>multi 73 <target-os>solaris:<library>socket 74 <target-os>solaris:<library>nsl 75 <target-os>windows:<define>_WIN32_WINNT=0x0501 76 <target-os>windows,<toolset>gcc:<library>ws2_32 77 <target-os>windows,<toolset>gcc:<library>mswsock 78 <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS 79 <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED 80 <target-os>hpux:<library>ipv6 81 <target-os>haiku:<library>network 82 ; 83