]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/asio/example/cpp03/fork/Jamfile
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / asio / example / cpp03 / fork / 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/fork ;
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 daemon
24 : <lib>@boost/libs/system/build/boost_system
25 daemon.cpp
26 : <include>$(BOOST_ROOT)
27 <include>../../../..
28 <define>BOOST_ALL_NO_LIB=1
29 <threading>multi
30 <mingw><*><find-library>ws2_32
31 <mingw><*><find-library>mswsock
32 $(SOCKET_LIBS)
33 ;
34
35 exe process_per_connection
36 : <lib>@boost/libs/system/build/boost_system
37 process_per_connection.cpp
38 : <include>$(BOOST_ROOT)
39 <include>../../../..
40 <define>BOOST_ALL_NO_LIB=1
41 <threading>multi
42 <mingw><*><find-library>ws2_32
43 <mingw><*><find-library>mswsock
44 $(SOCKET_LIBS)
45 ;