# Boost.Signals Library 



# Copyright Douglas Gregor 2001-2003. Use, modification and

# distribution is subject to 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)



# For more information, see http://www.boost.org



# declare the location of this subproject relative to the root

subproject libs/signals/build ;



#

# this template defines the options common to

# all signals builds and tests:

#

template signals-options

   : # sources

   : # requirements

     <define>BOOST_SIGNALS_NO_LIB=1        

     <sysinclude>$(BOOST_ROOT)

   ;



#

# this template defines the options common to

# all signals dll builds and tests:

#

template signals-dll-options

   : <template>signals-options # sources

   : # requirements

     <define>BOOST_SIGNALS_DYN_LINK=1      

     <runtime-link>dynamic

   ;



SOURCES = trackable connection named_slot_map signal_base slot ;

       

lib boost_signals : ../src/$(SOURCES).cpp <template>signals-options

    :

        [ common-names ]

    : 

        debug release

    ;





dll boost_signals : ../src/$(SOURCES).cpp <template>signals-dll-options

    : 

       [ common-names ]

    : 

        debug release

    ;

    

stage stage/lib : <lib>boost_signals <dll>boost_signals

    :

        <locate>$(BOOST_ROOT)

        [ common-names ]

        <target>stage

        <target>all

    :

        debug release

    ;



install signals lib

    : <dll>boost_signals <lib>boost_signals

    ;

