• 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 daemon
16  : daemon.cpp
17    /boost/system//boost_system
18  : <define>BOOST_ALL_NO_LIB=1
19    <threading>multi
20    <target-os>solaris:<library>socket
21    <target-os>solaris:<library>nsl
22    <target-os>windows:<define>_WIN32_WINNT=0x0501
23    <target-os>windows,<toolset>gcc:<library>ws2_32
24    <target-os>windows,<toolset>gcc:<library>mswsock
25    <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
26    <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
27    <target-os>hpux:<library>ipv6
28    <target-os>haiku:<library>network
29  ;
30
31exe process_per_connection
32  : process_per_connection.cpp
33    /boost/system//boost_system
34  : <define>BOOST_ALL_NO_LIB=1
35    <threading>multi
36    <target-os>solaris:<library>socket
37    <target-os>solaris:<library>nsl
38    <target-os>windows:<define>_WIN32_WINNT=0x0501
39    <target-os>windows,<toolset>gcc:<library>ws2_32
40    <target-os>windows,<toolset>gcc:<library>mswsock
41    <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
42    <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
43    <target-os>hpux:<library>ipv6
44    <target-os>haiku:<library>network
45  ;
46