Imported Upstream version 1.64.0
[platform/upstream/boost.git] / libs / asio / example / cpp03 / ssl / Jamfile
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 subproject libs/asio/example/ssl ;
9
10 project boost : $(BOOST_ROOT) ;
11
12 if $(UNIX)
13 {
14   switch $(JAMUNAME)
15   {
16   case SunOS* :
17     {
18       SOCKET_LIBS = <find-library>socket <find-library>nsl ;
19     }
20   }
21 }
22
23 exe client
24   : <lib>@boost/libs/system/build/boost_system
25     client.cpp
26   : <include>$(BOOST_ROOT)
27     <include>../../../..
28     <define>BOOST_ALL_NO_LIB=1
29     <threading>multi
30     <find-library>ssl
31     <find-library>crypto
32     <mingw><*><find-library>ws2_32
33     <mingw><*><find-library>mswsock
34     $(SOCKET_LIBS)
35   ;
36
37 exe server
38   : <lib>@boost/libs/system/build/boost_system
39     server.cpp
40   : <include>$(BOOST_ROOT)
41     <include>../../../..
42     <define>BOOST_ALL_NO_LIB=1
43     <threading>multi
44     <find-library>ssl
45     <find-library>crypto
46     <mingw><*><find-library>ws2_32
47     <mingw><*><find-library>mswsock
48     $(SOCKET_LIBS)
49   ;