]> git.proxmox.com Git - ceph.git/blob - ceph/src/Beast/examples/ssl/Jamfile.v2
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / Beast / examples / ssl / Jamfile.v2
1 #
2 # Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail 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 if [ os.name ] = NT
30 {
31 lib ssl : : <name>ssleay32 ;
32 lib crypto : : <name>libeay32 ;
33 }
34 else
35 {
36 lib ssl ;
37 lib crypto ;
38 }
39
40 project
41 : requirements
42 <library>ssl
43 <library>crypto
44 ;
45
46 exe http-ssl-example
47 :
48 http_ssl_example.cpp
49 ;
50
51 exe websocket-ssl-example
52 :
53 websocket_ssl_example.cpp
54 ;