]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/asio/example/cpp03/ssl/Jamfile.v2
update source to Ceph Pacific 16.2.2
[ceph.git] / ceph / src / boost / libs / asio / example / cpp03 / ssl / Jamfile.v2
1 #
2 # Copyright (c) 2003-2020 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 lib socket ; # SOLARIS
11 lib nsl ; # SOLARIS
12 lib ws2_32 ; # NT
13 lib mswsock ; # NT
14 lib ipv6 ; # HPUX
15 lib network ; # HAIKU
16
17 if [ os.name ] = NT
18 {
19 lib ssl : : <name>ssleay32 ;
20 lib crypto : : <name>libeay32 ;
21 }
22 else
23 {
24 lib ssl ;
25 lib crypto ;
26 }
27
28 project
29 : requirements
30 <library>/boost/system//boost_system
31 <library>/boost/chrono//boost_chrono
32 <define>BOOST_ALL_NO_LIB=1
33 <threading>multi
34 <target-os>solaris:<library>socket
35 <target-os>solaris:<library>nsl
36 <target-os>windows:<define>_WIN32_WINNT=0x0501
37 <target-os>windows,<toolset>gcc:<library>ws2_32
38 <target-os>windows,<toolset>gcc:<library>mswsock
39 <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
40 <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
41 <target-os>hpux:<library>ipv6
42 <target-os>haiku:<library>network
43 <library>ssl
44 <library>crypto
45 ;
46
47 exe client : client.cpp ;
48 exe server : server.cpp ;