]>
Commit | Line | Data |
---|---|---|
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 | ||
8 | subproject libs/asio/example/tutorial ; | |
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 | template asio_tutorial | |
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 | ||
35 | exe timer1 : <template>asio_tutorial timer1/timer.cpp ; | |
36 | exe timer2 : <template>asio_tutorial timer2/timer.cpp ; | |
37 | exe timer3 : <template>asio_tutorial timer3/timer.cpp ; | |
38 | exe timer4 : <template>asio_tutorial timer4/timer.cpp ; | |
39 | exe timer5 : <template>asio_tutorial timer5/timer.cpp ; | |
40 | exe daytime1_client : <template>asio_tutorial daytime1/client.cpp ; | |
41 | exe daytime2_server : <template>asio_tutorial daytime2/server.cpp ; | |
42 | exe daytime3_server : <template>asio_tutorial daytime3/server.cpp ; | |
43 | exe daytime4_client : <template>asio_tutorial daytime4/client.cpp ; | |
44 | exe daytime5_server : <template>asio_tutorial daytime5/server.cpp ; | |
45 | exe daytime6_server : <template>asio_tutorial daytime6/server.cpp ; | |
46 | exe daytime7_server : <template>asio_tutorial daytime7/server.cpp ; |