Imported Upstream version 1.57.0
[platform/upstream/boost.git] / libs / asio / example / cpp03 / http / server2 / Jamfile.v2
1 #
2 # Copyright (c) 2003-2014 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 exe server
26   : connection.cpp
27     io_service_pool.cpp
28     main.cpp
29     mime_types.cpp
30     reply.cpp
31     request_handler.cpp
32     request_parser.cpp
33     server.cpp
34     /boost/system//boost_system
35     /boost/thread//boost_thread
36   : <define>BOOST_ALL_NO_LIB=1
37     <threading>multi
38     <os>SOLARIS:<library>socket
39     <os>SOLARIS:<library>nsl
40     <os>NT:<define>_WIN32_WINNT=0x0501
41     <os>NT,<toolset>gcc:<library>ws2_32
42     <os>NT,<toolset>gcc:<library>mswsock
43     <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
44     <os>HPUX,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
45     <os>HPUX:<library>ipv6
46   ;