]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/asio/example/cpp03/timeouts/Jamfile.v2
update sources to v12.2.3
[ceph.git] / ceph / src / boost / libs / asio / example / cpp03 / timeouts / Jamfile.v2
1 #
2 # Copyright (c) 2003-2017 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
8 import os ;
9
10 if [ os.name ] = SOLARIS
11 {
12 lib socket ;
13 lib nsl ;
14 }
15 else if [ os.name ] = NT
16 {
17 lib ws2_32 ;
18 lib mswsock ;
19 }
20 else if [ os.name ] = HPUX
21 {
22 lib ipv6 ;
23 }
24 else if [ os.name ] = HAIKU
25 {
26 lib network ;
27 }
28
29 project
30 : requirements
31 <library>/boost/system//boost_system
32 <define>BOOST_ALL_NO_LIB=1
33 <threading>multi
34 <os>SOLARIS:<library>socket
35 <os>SOLARIS:<library>nsl
36 <os>NT:<define>_WIN32_WINNT=0x0501
37 <os>NT,<toolset>gcc:<library>ws2_32
38 <os>NT,<toolset>gcc:<library>mswsock
39 <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
40 <os>HPUX,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
41 <os>HPUX:<library>ipv6
42 <os>HAIKU:<library>network
43 ;
44
45 exe async_tcp_client : async_tcp_client.cpp ;
46 exe blocking_tcp_client : blocking_tcp_client.cpp ;
47 exe blocking_udp_client : blocking_udp_client.cpp ;
48 exe server : server.cpp ;