Imported Upstream version 1.51.0
[platform/upstream/boost.git] / libs / asio / example / tutorial / Jamfile.v2
1 #
2 # Copyright (c) 2003-2012 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 import os ;
9
10 if [ os.name ] = SOLARIS
11 {
12   lib socket ;
13   lib nsl ;
14 }
15 else if [ os.name ] = NT
16 {
17   lib ws2_32 ;
18   lib mswsock ;
19 }
20 else if [ os.name ] = HPUX
21 {
22   lib ipv6 ;
23 }
24
25 project
26   : requirements
27     <library>/boost/system//boost_system
28     <library>/boost/thread//boost_thread
29     <define>BOOST_ALL_NO_LIB=1
30     <threading>multi
31     <os>SOLARIS:<library>socket
32     <os>SOLARIS:<library>nsl
33     <os>NT:<define>_WIN32_WINNT=0x0501
34     <os>NT,<toolset>gcc:<library>ws2_32
35     <os>NT,<toolset>gcc:<library>mswsock
36     <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
37     <os>HPUX,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
38     <os>HPUX:<library>ipv6
39   ;
40
41 obj timer1.obj : timer1/timer.cpp ;
42 exe timer1 : timer1.obj ;
43
44 obj timer2.obj : timer2/timer.cpp ;
45 exe timer2 : timer2.obj ;
46
47 obj timer3.obj : timer3/timer.cpp ;
48 exe timer3 : timer3.obj ;
49
50 obj timer4.obj : timer4/timer.cpp ;
51 exe timer4 : timer4.obj ;
52
53 obj timer5.obj : timer5/timer.cpp ;
54 exe timer5 : timer5.obj ;
55
56 obj daytime1_client.obj : daytime1/client.cpp ;
57 exe daytime1_client : daytime1_client.obj ;
58
59 obj daytime2_server.obj : daytime2/server.cpp ;
60 exe daytime2_server : daytime2_server.obj ;
61
62 obj daytime3_server.obj : daytime3/server.cpp ;
63 exe daytime3_server : daytime3_server.obj ;
64
65 obj daytime4_client.obj : daytime4/client.cpp ;
66 exe daytime4_client : daytime4_client.obj ;
67
68 obj daytime5_server.obj : daytime5/server.cpp ;
69 exe daytime5_server : daytime5_server.obj ;
70
71 obj daytime6_server.obj : daytime6/server.cpp ;
72 exe daytime6_server : daytime6_server.obj ;
73
74 obj daytime7_server.obj : daytime7/server.cpp ;
75 exe daytime7_server : daytime7_server.obj ;