2 # Copyright (c) 2003-2014 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
27 <library>/boost/system//boost_system
28 <library>/boost/thread//boost_thread
29 <define>BOOST_ALL_NO_LIB=1
31 <os>SOLARIS:<library>socket
32 <os>SOLARIS:<library>nsl
33 <os>NT:<define>_WIN32_WINNT=0x0501
34 <os>NT,<toolset>gcc:<library>ws2_32
35 <os>NT,<toolset>gcc:<library>mswsock
36 <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
37 <os>HPUX,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
38 <os>HPUX:<library>ipv6
41 exe chat_server : chat_server.cpp ;
42 exe chat_client : chat_client.cpp ;
43 exe posix_chat_client : posix_chat_client.cpp ;