# # Copyright (c) 2003-2016 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/example/iostreams ; project boost : $(BOOST_ROOT) ; if $(UNIX) { switch $(JAMUNAME) { case SunOS* : { SOCKET_LIBS = socket nsl ; } } } exe daytime_client : @boost/libs/system/build/boost_system daytime_client.cpp : $(BOOST_ROOT) ../../../.. BOOST_ALL_NO_LIB=1 multi <*>ws2_32 <*>mswsock $(SOCKET_LIBS) ; exe daytime_server : @boost/libs/system/build/boost_system daytime_server.cpp : $(BOOST_ROOT) ../../../.. BOOST_ALL_NO_LIB=1 multi <*>ws2_32 <*>mswsock $(SOCKET_LIBS) ; exe http_client : @boost/libs/system/build/boost_system http_client.cpp : $(BOOST_ROOT) ../../../.. BOOST_ALL_NO_LIB=1 multi <*>ws2_32 <*>mswsock $(SOCKET_LIBS) ;