File: Jamfile.v2

package info (click to toggle)
boost1.35 1.35.0-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 203,856 kB
  • ctags: 337,867
  • sloc: cpp: 938,683; xml: 56,847; ansic: 41,589; python: 18,999; sh: 11,566; makefile: 664; perl: 494; yacc: 456; asm: 353; csh: 6
file content (137 lines) | stat: -rw-r--r-- 5,909 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
#
# Copyright (c) 2003-2008 Christopher M. Kohlhoff (chris at kohlhoff dot com)
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#

import os ;
import feature ;

if [ os.name ] = SOLARIS
{
  lib socket ;
  lib nsl ;
}
else if [ os.name ] = NT
{
  lib ws2_32 ;
  lib mswsock ;
}
else if [ os.name ] = HPUX
{
  lib ipv6 ;
}

local USE_SELECT =
  <define>BOOST_ASIO_DISABLE_DEV_POLL
  <define>BOOST_ASIO_DISABLE_EPOLL
  <define>BOOST_ASIO_DISABLE_KQUEUE
  <define>BOOST_ASIO_DISABLE_IOCP
  ;

project
  : requirements
    <library>/boost/date_time//boost_date_time
    <library>/boost/system//boost_system
    <library>/boost/thread//boost_thread
    <define>BOOST_ALL_NO_LIB=1
    <threading>multi
    <os>SOLARIS:<define>_XOPEN_SOURCE=500
    <os>SOLARIS:<define>__EXTENSIONS__
    <os>SOLARIS:<library>socket
    <os>SOLARIS:<library>nsl
    <os>NT:<define>_WIN32_WINNT=0x0501
    <os>NT,<toolset>cw:<library>ws2_32
    <os>NT,<toolset>cw:<library>mswsock
    <os>NT,<toolset>gcc:<library>ws2_32
    <os>NT,<toolset>gcc:<library>mswsock
    <os>NT,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
    <os>HPUX,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
    <os>HPUX:<library>ipv6
  ;

test-suite "asio" :
  [ link basic_datagram_socket.cpp ]
  [ link basic_datagram_socket.cpp : $(USE_SELECT) : basic_datagram_socket_select ]
  [ link basic_deadline_timer.cpp ]
  [ link basic_deadline_timer.cpp : $(USE_SELECT) : basic_deadline_timer_select ]
  [ link basic_socket_acceptor.cpp ]
  [ link basic_socket_acceptor.cpp : $(USE_SELECT) : basic_socket_acceptor_select ]
  [ link basic_stream_socket.cpp ]
  [ link basic_stream_socket.cpp : $(USE_SELECT) : basic_stream_socket_select ]
  [ run buffer.cpp ]
  [ run buffer.cpp : : : $(USE_SELECT) : buffer_select ]
  [ run buffered_read_stream.cpp ]
  [ run buffered_read_stream.cpp : : : $(USE_SELECT) : buffered_read_stream_select ]
  [ run buffered_stream.cpp ]
  [ run buffered_stream.cpp : : : $(USE_SELECT) : buffered_stream_select ]
  [ run buffered_write_stream.cpp ]
  [ run buffered_write_stream.cpp : : : $(USE_SELECT) : buffered_write_stream_select ]
  [ link completion_condition.cpp ]
  [ link completion_condition.cpp : $(USE_SELECT) : completion_condition_select ]
  [ link datagram_socket_service.cpp ]
  [ link datagram_socket_service.cpp : $(USE_SELECT) : datagram_socket_service_select ]
  [ link deadline_timer_service.cpp ]
  [ link deadline_timer_service.cpp : $(USE_SELECT) : deadline_timer_service_select ]
  [ run deadline_timer.cpp ]
  [ run deadline_timer.cpp : : : $(USE_SELECT) : deadline_timer_select ]
  [ run error.cpp ]
  [ run error.cpp : : : $(USE_SELECT) : error_select ]
  [ run io_service.cpp ]
  [ run io_service.cpp : : : $(USE_SELECT) : io_service_select ]
  [ link ip/address.cpp : : ip_address ]
  [ link ip/address.cpp : $(USE_SELECT) : ip_address_select ]
  [ link ip/address_v4.cpp : : ip_address_v4 ]
  [ link ip/address_v4.cpp : $(USE_SELECT) : ip_address_v4_select ]
  [ link ip/address_v6.cpp : : ip_address_v6 ]
  [ link ip/address_v6.cpp : $(USE_SELECT) : ip_address_v6_select ]
  [ link ip/basic_endpoint.cpp : : ip_basic_endpoint ]
  [ link ip/basic_endpoint.cpp : $(USE_SELECT) : ip_basic_endpoint_select ]
  [ link ip/basic_resolver.cpp : : ip_basic_resolver ]
  [ link ip/basic_resolver.cpp : $(USE_SELECT) : ip_basic_resolver_select ]
  [ link ip/basic_resolver_entry.cpp : : ip_basic_resolver_entry ]
  [ link ip/basic_resolver_entry.cpp : $(USE_SELECT) : ip_basic_resolver_entry_select ]
  [ link ip/basic_resolver_iterator.cpp : : ip_basic_resolver_iterator ]
  [ link ip/basic_resolver_iterator.cpp : $(USE_SELECT) : ip_basic_resolver_iterator_select ]
  [ link ip/basic_resolver_query.cpp  : : ip_basic_resolver_query ]
  [ link ip/basic_resolver_query.cpp : $(USE_SELECT) : ip_basic_resolver_query_select ]
  [ run ip/host_name.cpp : : : : ip_host_name ]
  [ run ip/host_name.cpp : : : $(USE_SELECT) : ip_host_name_select ]
  [ run ip/multicast.cpp : : : : ip_multicast ]
  [ run ip/multicast.cpp : : : $(USE_SELECT) : ip_multicast_select ]
  [ link ip/resolver_query_base.cpp : : ip_resolver_query_base ]
  [ link ip/resolver_query_base.cpp : $(USE_SELECT) : ip_resolver_query_base_select ]
  [ link ip/resolver_service.cpp : : ip_resolver_service ]
  [ link ip/resolver_service.cpp : $(USE_SELECT) : ip_resolver_service_select ]
  [ run ip/tcp.cpp : : : : ip_tcp ]
  [ run ip/tcp.cpp : : : $(USE_SELECT) : ip_tcp_select ]
  [ run ip/udp.cpp : : : : ip_udp ]
  [ run ip/udp.cpp : : : $(USE_SELECT) : ip_udp_select ]
  [ run ip/unicast.cpp : : : : ip_unicast ]
  [ run ip/unicast.cpp : : : $(USE_SELECT) : ip_unicast_select ]
  [ run ip/v6_only.cpp : : : : ip_v6_only ]
  [ run ip/v6_only.cpp : : : $(USE_SELECT) : ip_v6_only_select ]
  [ run is_read_buffered.cpp ]
  [ run is_read_buffered.cpp : : : $(USE_SELECT) : is_read_buffered_select ]
  [ run is_write_buffered.cpp ]
  [ run is_write_buffered.cpp : : : $(USE_SELECT) : is_write_buffered_select ]
  [ link placeholders.cpp ]
  [ link placeholders.cpp : $(USE_SELECT) : placeholders_select ]
  [ run read.cpp ]
  [ run read.cpp : : : $(USE_SELECT) : read_select ]
  [ run read_until.cpp ]
  [ run read_until.cpp : : : $(USE_SELECT) : read_until_select ]
  [ link socket_acceptor_service.cpp ]
  [ link socket_acceptor_service.cpp : $(USE_SELECT) : socket_acceptor_service_select ]
  [ run socket_base.cpp ]
  [ run socket_base.cpp : : : $(USE_SELECT) : socket_base_select ]
  [ run strand.cpp ]
  [ run strand.cpp : : : $(USE_SELECT) : strand_select ]
  [ link stream_socket_service.cpp ]
  [ link stream_socket_service.cpp : $(USE_SELECT) : stream_socket_service_select ]
  [ link time_traits.cpp ]
  [ link time_traits.cpp : $(USE_SELECT) : time_traits_select ]
  [ run write.cpp ]
  [ run write.cpp : : : $(USE_SELECT) : write_select ]
  ;