make-rules/shared-macros.mk
changeset 4195 d88c5d15a4af
parent 4104 3dc5412c5fb1
child 4196 d697072a92f5
equal deleted inserted replaced
4194:ea36499292b9 4195:d88c5d15a4af
   944 REQUIRED_PACKAGES += text/gnu-sed
   944 REQUIRED_PACKAGES += text/gnu-sed
   945 REQUIRED_PACKAGES += developer/java/jdk-7
   945 REQUIRED_PACKAGES += developer/java/jdk-7
   946 REQUIRED_PACKAGES += security/sudo
   946 REQUIRED_PACKAGES += security/sudo
   947 
   947 
   948 include $(WS_MAKE_RULES)/environment.mk
   948 include $(WS_MAKE_RULES)/environment.mk
       
   949 
       
   950 # A simple rule to print the value of any macro.  Ex:
       
   951 #   $ gmake print-REQUIRED_PACKAGES
       
   952 # Note that some macros are set on a per target basis, so what you see
       
   953 # is not always what you get.
       
   954 print-%:
       
   955 	@echo '$(subst ','\'',$*=$($*)) (origin: $(origin $*), flavor: $(flavor $*))'