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)
9 rule properties-as-path ( properties * )
12 for local p in $(properties)
19 return [ property.as-path
20 [ property.remove incidental : $(r) ] ] ;
24 rule yfc-compile ( target : sources * : property-set * )
26 PROPERTIES on $(target) = [ properties-as-path $(property-set) ] ;
31 echo $(PROPERTIES) > $(<)
35 rule yfc-link ( target : sources * : property-set * )
37 PROPERTIES on $(target) = [ properties-as-path $(property-set) ] ;
42 echo $(PROPERTIES) > $(<)
50 PIPE WRITE SYS$OUTPUT "$(PROPERTIES)" | TYPE SYS$INPUT /OUT=$(<:W)
51 PIPE WRITE SYS$OUTPUT "$(>:J= ",")" | APPEND /NEW SYS$INPUT $(<:W)
56 PIPE WRITE SYS$OUTPUT "$(PROPERTIES)" | TYPE SYS$INPUT /OUT=$(<:W)
57 OPEN /APPEND FOUT $(<:W)
58 WRITE FOUT "$(>:J= ",")"
63 IMPORT $(__name__) : yfc-compile yfc-link : : yfc-compile yfc-link ;