]>
Commit | Line | Data |
---|---|---|
7c673cae | 1 | # |
b32b8144 | 2 | # Copyright (c) 2003-2017 Christopher M. Kohlhoff (chris at kohlhoff dot com) |
7c673cae FG |
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 | else if [ os.name ] = HAIKU | |
25 | { | |
26 | lib network ; | |
27 | } | |
28 | ||
29 | project | |
30 | : requirements | |
31 | <library>/boost/system//boost_system | |
32 | <library>/boost/thread//boost_thread | |
33 | <define>BOOST_ALL_NO_LIB=1 | |
34 | <threading>multi | |
35 | <os>SOLARIS:<library>socket | |
36 | <os>SOLARIS:<library>nsl | |
37 | <os>NT:<define>_WIN32_WINNT=0x0501 | |
38 | <os>NT,<toolset>gcc:<library>ws2_32 | |
39 | <os>NT,<toolset>gcc:<library>mswsock | |
40 | <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS | |
41 | <os>HPUX,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED | |
42 | <os>HPUX:<library>ipv6 | |
43 | <os>HAIKU:<library>network | |
44 | ; | |
45 | ||
46 | obj timer1.obj : timer1/timer.cpp ; | |
47 | exe timer1 : timer1.obj ; | |
48 | ||
49 | obj timer2.obj : timer2/timer.cpp ; | |
50 | exe timer2 : timer2.obj ; | |
51 | ||
52 | obj timer3.obj : timer3/timer.cpp ; | |
53 | exe timer3 : timer3.obj ; | |
54 | ||
55 | obj timer4.obj : timer4/timer.cpp ; | |
56 | exe timer4 : timer4.obj ; | |
57 | ||
58 | obj timer5.obj : timer5/timer.cpp ; | |
59 | exe timer5 : timer5.obj ; | |
60 | ||
61 | obj daytime1_client.obj : daytime1/client.cpp ; | |
62 | exe daytime1_client : daytime1_client.obj ; | |
63 | ||
64 | obj daytime2_server.obj : daytime2/server.cpp ; | |
65 | exe daytime2_server : daytime2_server.obj ; | |
66 | ||
67 | obj daytime3_server.obj : daytime3/server.cpp ; | |
68 | exe daytime3_server : daytime3_server.obj ; | |
69 | ||
70 | obj daytime4_client.obj : daytime4/client.cpp ; | |
71 | exe daytime4_client : daytime4_client.obj ; | |
72 | ||
73 | obj daytime5_server.obj : daytime5/server.cpp ; | |
74 | exe daytime5_server : daytime5_server.obj ; | |
75 | ||
76 | obj daytime6_server.obj : daytime6/server.cpp ; | |
77 | exe daytime6_server : daytime6_server.obj ; | |
78 | ||
79 | obj daytime7_server.obj : daytime7/server.cpp ; | |
80 | exe daytime7_server : daytime7_server.obj ; |