Jamfile.v2 2.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. #
  2. # Copyright (c) 2003-2019 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. lib socket ; # SOLARIS
  8. lib nsl ; # SOLARIS
  9. lib ws2_32 ; # NT
  10. lib mswsock ; # NT
  11. lib ipv6 ; # HPUX
  12. lib network ; # HAIKU
  13. exe connect_pair
  14. : connect_pair.cpp
  15. /boost/system//boost_system
  16. /boost/chrono//boost_chrono
  17. /boost/thread//boost_thread
  18. : <define>BOOST_ALL_NO_LIB=1
  19. <threading>multi
  20. <target-os>solaris:<library>socket
  21. <target-os>solaris:<library>nsl
  22. <target-os>windows:<define>_WIN32_WINNT=0x0501
  23. <target-os>windows,<toolset>gcc:<library>ws2_32
  24. <target-os>windows,<toolset>gcc:<library>mswsock
  25. <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
  26. <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
  27. <target-os>hpux:<library>ipv6
  28. <target-os>haiku:<library>network
  29. ;
  30. exe iostream_client
  31. : iostream_client.cpp
  32. /boost/system//boost_system
  33. /boost/chrono//boost_chrono
  34. : <define>BOOST_ALL_NO_LIB=1
  35. <threading>multi
  36. <target-os>solaris:<library>socket
  37. <target-os>solaris:<library>nsl
  38. <target-os>windows:<define>_WIN32_WINNT=0x0501
  39. <target-os>windows,<toolset>gcc:<library>ws2_32
  40. <target-os>windows,<toolset>gcc:<library>mswsock
  41. <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
  42. <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
  43. <target-os>hpux:<library>ipv6
  44. <target-os>haiku:<library>network
  45. ;
  46. exe stream_client
  47. : stream_client.cpp
  48. /boost/system//boost_system
  49. /boost/chrono//boost_chrono
  50. : <define>BOOST_ALL_NO_LIB=1
  51. <threading>multi
  52. <target-os>solaris:<library>socket
  53. <target-os>solaris:<library>nsl
  54. <target-os>windows:<define>_WIN32_WINNT=0x0501
  55. <target-os>windows,<toolset>gcc:<library>ws2_32
  56. <target-os>windows,<toolset>gcc:<library>mswsock
  57. <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
  58. <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
  59. <target-os>hpux:<library>ipv6
  60. <target-os>haiku:<library>network
  61. ;
  62. exe stream_server
  63. : stream_server.cpp
  64. /boost/system//boost_system
  65. /boost/chrono//boost_chrono
  66. : <define>BOOST_ALL_NO_LIB=1
  67. <threading>multi
  68. <target-os>solaris:<library>socket
  69. <target-os>solaris:<library>nsl
  70. <target-os>windows:<define>_WIN32_WINNT=0x0501
  71. <target-os>windows,<toolset>gcc:<library>ws2_32
  72. <target-os>windows,<toolset>gcc:<library>mswsock
  73. <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
  74. <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
  75. <target-os>hpux:<library>ipv6
  76. <target-os>haiku:<library>network
  77. ;