#  (C) Copyright  2002. Permission to copy, use, modify, sell and
#  distribute this software is granted provided this copyright notice appears
#  in all copies. This software is provided "as is" without express or implied#  warranty, and with no claim as to its suitability for any purpose.### Boost.date_time build ## To run all tests quietly: jam test## Declares the following targets:#   1. libboost_date_time, a library to be linked with all#      Boost.date_time modules#

# declare the location of this subproject relative to the root
subproject libs/date_time/build ;


# Base names of the source files for libboost_date_time
CPP_SOURCES =
    greg_month greg_weekday date_generators ;

dll boost_date_time 
    : ../src/gregorian/$(CPP_SOURCES).cpp    
    : 
      <sysinclude>$(BOOST_ROOT) 
      <runtime-link>dynamic
      <define>BOOST_ALL_DYN_LINK=1
      # the common names rule ensures that the library will
      # be named according to the rules used by the install
      # and auto-link features:
      common-variant-tag 
    : debug release     ;

lib boost_date_time : ../src/gregorian/$(CPP_SOURCES).cpp
    : 
      <sysinclude>$(BOOST_ROOT) 
      <define>BOOST_DATE_TIME_STATIC_LINK
      # the common names rule ensures that the library will
      # be named according to the rules used by the install
      # and auto-link features:
      common-variant-tag 
    : 
      debug 
      release 
      <runtime-link>static 
    ;

install date_time lib
    : <dll>boost_date_time <lib>boost_date_time
    ;

