2 # Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com)
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)
8 subproject libs/asio/example/tutorial ;
10 project boost : $(BOOST_ROOT) ;
18 SOCKET_LIBS = <find-library>socket <find-library>nsl ;
23 template asio_tutorial
24 : <lib>@boost/libs/thread/build/boost_thread
25 <lib>@boost/libs/system/build/boost_system
26 : <include>$(BOOST_ROOT)
28 <define>BOOST_ALL_NO_LIB=1
30 <mingw><*><find-library>ws2_32
31 <mingw><*><find-library>mswsock
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 ;