]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/asio/example/cpp11/chat/Jamfile
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / asio / example / cpp11 / chat / Jamfile
CommitLineData
7c673cae
FG
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
8subproject libs/asio/example/chat ;
9
10project boost : $(BOOST_ROOT) ;
11
12if $(UNIX)
13{
14 switch $(JAMUNAME)
15 {
16 case SunOS* :
17 {
18 SOCKET_LIBS = <find-library>socket <find-library>nsl ;
19 }
20 }
21}
22
23exe 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
36exe 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 ;