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/thread//boost_thread 19 : <define>BOOST_ALL_NO_LIB=1 20 <threading>multi 21 <target-os>solaris:<library>socket 22 <target-os>solaris:<library>nsl 23 <target-os>windows:<define>_WIN32_WINNT=0x0501 24 <target-os>windows,<toolset>gcc:<library>ws2_32 25 <target-os>windows,<toolset>gcc:<library>mswsock 26 <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS 27 <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED 28 <target-os>hpux:<library>ipv6 29 <target-os>haiku:<library>network 30 ; 31 32exe iostream_client 33 : iostream_client.cpp 34 /boost/system//boost_system 35 : <define>BOOST_ALL_NO_LIB=1 36 <threading>multi 37 <target-os>solaris:<library>socket 38 <target-os>solaris:<library>nsl 39 <target-os>windows:<define>_WIN32_WINNT=0x0501 40 <target-os>windows,<toolset>gcc:<library>ws2_32 41 <target-os>windows,<toolset>gcc:<library>mswsock 42 <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS 43 <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED 44 <target-os>hpux:<library>ipv6 45 <target-os>haiku:<library>network 46 ; 47 48exe stream_client 49 : stream_client.cpp 50 /boost/system//boost_system 51 : <define>BOOST_ALL_NO_LIB=1 52 <threading>multi 53 <target-os>solaris:<library>socket 54 <target-os>solaris:<library>nsl 55 <target-os>windows:<define>_WIN32_WINNT=0x0501 56 <target-os>windows,<toolset>gcc:<library>ws2_32 57 <target-os>windows,<toolset>gcc:<library>mswsock 58 <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS 59 <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED 60 <target-os>hpux:<library>ipv6 61 <target-os>haiku:<library>network 62 ; 63 64exe stream_server 65 : stream_server.cpp 66 /boost/system//boost_system 67 : <define>BOOST_ALL_NO_LIB=1 68 <threading>multi 69 <target-os>solaris:<library>socket 70 <target-os>solaris:<library>nsl 71 <target-os>windows:<define>_WIN32_WINNT=0x0501 72 <target-os>windows,<toolset>gcc:<library>ws2_32 73 <target-os>windows,<toolset>gcc:<library>mswsock 74 <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS 75 <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED 76 <target-os>hpux:<library>ipv6 77 <target-os>haiku:<library>network 78 ; 79