• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 server
16  : echo_server.cpp
17    /boost/context//boost_context
18    /boost/coroutine//boost_coroutine
19    /boost/system//boost_system
20    /boost/chrono//boost_chrono
21  : <define>BOOST_ALL_NO_LIB=1
22    <threading>multi
23    <target-os>solaris:<library>socket
24    <target-os>solaris:<library>nsl
25    <target-os>windows:<define>_WIN32_WINNT=0x0501
26    <target-os>windows,<toolset>gcc:<library>ws2_32
27    <target-os>windows,<toolset>gcc:<library>mswsock
28    <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
29    <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
30    <target-os>hpux:<library>ipv6
31    <target-os>haiku:<library>network
32  ;
33
34exe parallel_grep
35  : parallel_grep.cpp
36    /boost/context//boost_context
37    /boost/coroutine//boost_coroutine
38    /boost/system//boost_system
39  : <define>BOOST_ALL_NO_LIB=1
40    <threading>multi
41    <target-os>solaris:<library>socket
42    <target-os>solaris:<library>nsl
43    <target-os>windows:<define>_WIN32_WINNT=0x0501
44    <target-os>windows,<toolset>gcc:<library>ws2_32
45    <target-os>windows,<toolset>gcc:<library>mswsock
46    <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
47    <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
48    <target-os>hpux:<library>ipv6
49    <target-os>haiku:<library>network
50  ;
51