Jamfile.v2 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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/thread//boost_thread
  17. : <define>BOOST_ALL_NO_LIB=1
  18. <threading>multi
  19. <target-os>solaris:<library>socket
  20. <target-os>solaris:<library>nsl
  21. <target-os>windows:<define>_WIN32_WINNT=0x0501
  22. <target-os>windows,<toolset>gcc:<library>ws2_32
  23. <target-os>windows,<toolset>gcc:<library>mswsock
  24. <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
  25. <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
  26. <target-os>hpux:<library>ipv6
  27. <target-os>haiku:<library>network
  28. ;
  29. exe iostream_client
  30. : iostream_client.cpp
  31. /boost/system//boost_system
  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. exe stream_client
  45. : stream_client.cpp
  46. /boost/system//boost_system
  47. : <define>BOOST_ALL_NO_LIB=1
  48. <threading>multi
  49. <target-os>solaris:<library>socket
  50. <target-os>solaris:<library>nsl
  51. <target-os>windows:<define>_WIN32_WINNT=0x0501
  52. <target-os>windows,<toolset>gcc:<library>ws2_32
  53. <target-os>windows,<toolset>gcc:<library>mswsock
  54. <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
  55. <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
  56. <target-os>hpux:<library>ipv6
  57. <target-os>haiku:<library>network
  58. ;
  59. exe stream_server
  60. : stream_server.cpp
  61. /boost/system//boost_system
  62. : <define>BOOST_ALL_NO_LIB=1
  63. <threading>multi
  64. <target-os>solaris:<library>socket
  65. <target-os>solaris:<library>nsl
  66. <target-os>windows:<define>_WIN32_WINNT=0x0501
  67. <target-os>windows,<toolset>gcc:<library>ws2_32
  68. <target-os>windows,<toolset>gcc:<library>mswsock
  69. <target-os>windows,<toolset>gcc-cygwin:<define>__USE_W32_SOCKETS
  70. <target-os>hpux,<toolset>gcc:<define>_XOPEN_SOURCE_EXTENDED
  71. <target-os>hpux:<library>ipv6
  72. <target-os>haiku:<library>network
  73. ;