]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/asio/example/cpp03/echo/Jamfile
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / asio / example / cpp03 / echo / 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/echo ;
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
23template asio_echo_example
24 : <lib>@boost/libs/thread/build/boost_thread
25 <lib>@boost/libs/system/build/boost_system
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
35exe async_tcp_echo_server
36 : <template>asio_echo_example
37 async_tcp_echo_server.cpp
38 ;
39
40exe async_udp_echo_server
41 : <template>asio_echo_example
42 async_udp_echo_server.cpp
43 ;
44
45exe blocking_tcp_echo_client
46 : <template>asio_echo_example
47 blocking_tcp_echo_client.cpp
48 ;
49
50exe blocking_tcp_echo_server
51 : <template>asio_echo_example
52 blocking_tcp_echo_server.cpp
53 ;
54
55exe blocking_udp_echo_client
56 : <template>asio_echo_example
57 blocking_udp_echo_client.cpp
58 ;
59
60exe blocking_udp_echo_server
61 : <template>asio_echo_example
62 blocking_udp_echo_server.cpp
63 ;