1 # Copyright 2002-2017 Rene Rivera
2 # Copyright 2002-2017 Vladimir Prus
3 # Distributed under the Boost Software License, Version 1.0.
4 # (See accompanying file LICENSE_1_0.txt or copy at
5 # http://www.boost.org/LICENSE_1_0.txt)
10 class prebuilt-lib-generator : generator
12 rule __init__ ( * : * )
14 generator.__init__ $(1) : $(2) : $(3) : $(4) : $(5) : $(6) : $(7) : $(8)
15 : $(9) : $(10) : $(11) : $(12) : $(13) : $(14) : $(15) : $(16) :
16 $(17) : $(18) : $(19) ;
19 rule run ( project name ? : property-set : sources * )
21 local f = [ $(property-set).get <file> ] ;
22 return $(f) $(sources) ;
27 [ new prebuilt-lib-generator builtin.prebuilt : : LIB : <file> ] ;
29 generators.override builtin.prebuilt : builtin.lib-generator ;