# Boost System Library Build Jamfile # (C) Copyright Beman Dawes 2002, 2006 # Distributed under the Boost Software License, Version 1.0. # (See accompanying file LICENSE_1_0.txt or www.boost.org/LICENSE_1_0.txt) # See library home page at http://www.boost.org/libs/system subproject libs/system/build ; SOURCES = error_code ; lib boost_system : ../src/$(SOURCES).cpp : # build requirements BOOST_SYSTEM_STATIC_LINK $(BOOST_AUX_ROOT) $(BOOST_ROOT) # common-variant-tag ensures that the library will # be named according to the rules used by the install # and auto-link features: common-variant-tag : debug release # build variants ; dll boost_system : ../src/$(SOURCES).cpp : # build requirements BOOST_SYSTEM_DYN_LINK=1 # tell source we're building dll's dynamic # build only for dynamic runtimes $(BOOST_AUX_ROOT) $(BOOST_ROOT) # common-variant-tag ensures that the library will # be named according to the rules used by the install # and auto-link features: common-variant-tag : debug release # build variants ; install system lib : boost_system boost_system ; stage stage/lib : boost_system boost_system : # copy to a path rooted at BOOST_ROOT: $(BOOST_ROOT) # make sure the names of the libraries are correctly named: common-variant-tag # add this target to the "stage" and "all" psuedo-targets: stage all : debug release ; # end