File: Jamfile

package info (click to toggle)
boost1.35 1.35.0-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 203,856 kB
  • ctags: 337,867
  • sloc: cpp: 938,683; xml: 56,847; ansic: 41,589; python: 18,999; sh: 11,566; makefile: 664; perl: 494; yacc: 456; asm: 353; csh: 6
file content (46 lines) | stat: -rw-r--r-- 1,516 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
#
# Copyright (c) 2003-2008 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/tutorial ;

project boost : $(BOOST_ROOT) ;

if $(UNIX)
{
  switch $(JAMUNAME)
  {
  case SunOS* :
    {
      SOCKET_LIBS = <find-library>socket <find-library>nsl ;
    }
  }
}

template asio_tutorial
  : <lib>@boost/libs/thread/build/boost_thread
    <lib>@boost/libs/system/build/boost_system
  : <include>$(BOOST_ROOT)
    <include>../../../..
    <define>BOOST_ALL_NO_LIB=1
    <threading>multi
    <mingw><*><find-library>ws2_32
    <mingw><*><find-library>mswsock
    $(SOCKET_LIBS)
  ;

exe timer1 : <template>asio_tutorial timer1/timer.cpp ;
exe timer2 : <template>asio_tutorial timer2/timer.cpp ;
exe timer3 : <template>asio_tutorial timer3/timer.cpp ;
exe timer4 : <template>asio_tutorial timer4/timer.cpp ;
exe timer5 : <template>asio_tutorial timer5/timer.cpp ;
exe daytime1_client : <template>asio_tutorial daytime1/client.cpp ;
exe daytime2_server : <template>asio_tutorial daytime2/server.cpp ;
exe daytime3_server : <template>asio_tutorial daytime3/server.cpp ;
exe daytime4_client : <template>asio_tutorial daytime4/client.cpp ;
exe daytime5_server : <template>asio_tutorial daytime5/server.cpp ;
exe daytime6_server : <template>asio_tutorial daytime6/server.cpp ;
exe daytime7_server : <template>asio_tutorial daytime7/server.cpp ;