]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/asio/example/cpp03/local/Jamfile
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / asio / example / cpp03 / local / Jamfile
1 #
2 # Copyright (c) 2003-2016 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/local ;
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 connect_pair
24 : <lib>@boost/libs/system/build/boost_system
25 <lib>@boost/libs/thread/build/boost_thread
26 connect_pair.cpp
27 : <include>$(BOOST_ROOT)
28 <include>../../../..
29 <define>BOOST_ALL_NO_LIB=1
30 <threading>multi
31 <mingw><*><find-library>ws2_32
32 <mingw><*><find-library>mswsock
33 $(SOCKET_LIBS)
34 ;
35
36 exe iostream_client
37 : <lib>@boost/libs/system/build/boost_system
38 iostream_client.cpp
39 : <include>$(BOOST_ROOT)
40 <include>../../../..
41 <define>BOOST_ALL_NO_LIB=1
42 <threading>multi
43 <mingw><*><find-library>ws2_32
44 <mingw><*><find-library>mswsock
45 $(SOCKET_LIBS)
46 ;
47
48 exe stream_client
49 : <lib>@boost/libs/system/build/boost_system
50 stream_client.cpp
51 : <include>$(BOOST_ROOT)
52 <include>../../../..
53 <define>BOOST_ALL_NO_LIB=1
54 <threading>multi
55 <mingw><*><find-library>ws2_32
56 <mingw><*><find-library>mswsock
57 $(SOCKET_LIBS)
58 ;
59
60 exe stream_server
61 : <lib>@boost/libs/system/build/boost_system
62 stream_server.cpp
63 : <include>$(BOOST_ROOT)
64 <include>../../../..
65 <define>BOOST_ALL_NO_LIB=1
66 <threading>multi
67 <mingw><*><find-library>ws2_32
68 <mingw><*><find-library>mswsock
69 $(SOCKET_LIBS)
70 ;