1 # Copyright 2002, 2003, 2005 Vladimir Prus
2 # Distributed under the Boost Software License, Version 1.0.
3 # (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
10 rule properties-as-path ( properties * )
13 for local p in $(properties)
20 return [ property.as-path
21 [ property.remove incidental : $(r) ] ] ;
25 toolset.flags yfc-compile KNOWN-PROPERTIES : <toolset> <optimization> ;
26 toolset.flags yfc-link KNOWN-PROPERTIES : <toolset> <optimization> ;
29 rule yfc-compile ( target : sources * : property-set * )
31 PROPERTIES on $(target) = [ properties-as-path $(property-set) ] ;
36 echo $(PROPERTIES) > $(<)
40 rule yfc-link ( target : sources * : property-set * )
42 PROPERTIES on $(target) = [ properties-as-path $(property-set) ] ;
47 echo $(PROPERTIES) > $(<)
55 PIPE WRITE SYS$OUTPUT "$(PROPERTIES)" | TYPE SYS$INPUT /OUT=$(<:W)
56 PIPE WRITE SYS$OUTPUT "$(>:J= ",")" | APPEND /NEW SYS$INPUT $(<:W)
61 PIPE WRITE SYS$OUTPUT "$(PROPERTIES)" | TYPE SYS$INPUT /OUT=$(<:W)
62 OPEN /APPEND FOUT $(<:W)
63 WRITE FOUT "$(>:J= ",")"
68 #IMPORT $(__name__) : yfc-compile yfc-link : : yfc-compile yfc-link ;