1# 2# Copyright (c) 2003-2021 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 8import os ; 9import feature ; 10 11lib ssl ; 12lib crypto ; 13 14lib socket ; # SOLARIS 15lib nsl ; # SOLARIS 16lib ws2_32 ; # NT 17lib mswsock ; # NT 18lib ipv6 ; # HPUX 19lib network ; # HAIKU 20 21local USE_SELECT = 22 <define>BOOST_ASIO_DISABLE_EPOLL 23 <define>BOOST_ASIO_DISABLE_KQUEUE 24 <define>BOOST_ASIO_DISABLE_IOCP 25 ; 26 27project 28 : requirements 29 <library>/boost/date_time//boost_date_time 30 <library>/boost/system//boost_system 31 <library>/boost/chrono//boost_chrono 32 <define>BOOST_ALL_NO_LIB=1 33 <threading>multi 34 <target-os>solaris:<library>socket 35 <target-os>solaris:<library>nsl 36 <target-os>windows:<define>_WIN32_WINNT=0x0501 37 <target-os>windows,<toolset>gcc:<library>ws2_32 38 <target-os>windows,<toolset>gcc:<library>mswsock 39 <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS 40 <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED 41 <target-os>hpux:<library>ipv6 42 <target-os>haiku:<library>network 43 ; 44 45test-suite "asio-ssl" : 46 [ compile context_base.cpp ] 47 [ compile context_base.cpp : $(USE_SELECT) : context_base_select ] 48 [ compile context.cpp ] 49 [ compile context.cpp : $(USE_SELECT) : context_select ] 50 [ compile error.cpp ] 51 [ compile error.cpp : $(USE_SELECT) : error_select ] 52 [ compile host_name_verification.cpp ] 53 [ compile host_name_verification.cpp : $(USE_SELECT) : host_name_verification_select ] 54 [ compile rfc2818_verification.cpp ] 55 [ compile rfc2818_verification.cpp : $(USE_SELECT) : rfc2818_verification_select ] 56 [ compile stream_base.cpp ] 57 [ compile stream_base.cpp : $(USE_SELECT) : stream_base_select ] 58 [ compile stream.cpp ] 59 [ compile stream.cpp : $(USE_SELECT) : stream_select ] 60 ; 61