# # Copyright (c) 2003-2013 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) # subproject libs/asio/test ; project boost : $(BOOST_ROOT) ; project boost_system : $(BOOST_SYSTEM_ROOT) ; # bring in the rules for testing import testing ; if $(UNIX) { switch $(JAMUNAME) { case SunOS* : { SOCKET_LIBS = socket nsl ; } } } template asio_unit_test : @boost/libs/thread/build/boost_thread @boost/libs/regex/build/boost_regex @boost/libs/test/build/boost_test_exec_monitor @boost_system/libs/system/build/boost_system : ../../.. @boost @boost_system BOOST_ALL_NO_LIB=1 multi <*>ws2_32 <*>mswsock $(SOCKET_LIBS) ; test-suite "asio" : [ run basic_datagram_socket.cpp