]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/asio/example/cpp03/chat/Jamfile
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / asio / example / cpp03 / chat / 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/chat ;
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 chat_client
24 : <lib>@boost/libs/thread/build/boost_thread
25 <lib>@boost/libs/system/build/boost_system
26 chat_client.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 chat_server
37 : <lib>@boost/libs/thread/build/boost_thread
38 <lib>@boost/libs/system/build/boost_system
39 chat_server.cpp
40 : <include>$(BOOST_ROOT)
41 <include>../../../..
42 <define>BOOST_ALL_NO_LIB=1
43 <threading>multi
44 <mingw><*><find-library>ws2_32
45 <mingw><*><find-library>mswsock
46 $(SOCKET_LIBS)
47 ;
48
49 exe posix_chat_client
50 : <lib>@boost/libs/thread/build/boost_thread
51 <lib>@boost/libs/system/build/boost_system
52 posix_chat_client.cpp
53 : <include>$(BOOST_ROOT)
54 <include>../../../..
55 <define>BOOST_ALL_NO_LIB=1
56 <threading>multi
57 <mingw><*><find-library>ws2_32
58 <mingw><*><find-library>mswsock
59 $(SOCKET_LIBS)
60 ;