comparison make/jvmci.make @ 21947:e701664f4168

Add parameter description to jvmci.make
author Stefan Anzinger <stefan.anzinger@oracle.com>
date Fri, 12 Jun 2015 14:53:05 +0200
parents 35961ae3486f
children 0458778bb188
comparison
equal deleted inserted replaced
21946:49dad3e40b57 21947:e701664f4168
72 $(QUIETLY) mkdir -p $(shell dirname $(4)) 72 $(QUIETLY) mkdir -p $(shell dirname $(4))
73 $(QUIETLY) $(JAR) cf $(4) -C $(TMP) . 73 $(QUIETLY) $(JAR) cf $(4) -C $(TMP) .
74 $(QUIETLY) rm -r $(TMP); 74 $(QUIETLY) rm -r $(TMP);
75 endef 75 endef
76 76
77 # Verifies if the defs.make contain the exported files of services/ 77 # Verifies if the defs.make contain the exported files of services/ or options/
78 # Arguments:
79 # 1: files to check
80 # 2: prefix for pattern to check
81 # 3: path to defs.make file
78 define verify_export_def_make 82 define verify_export_def_make
79 $(foreach file,$(1),$(if $(shell grep '$(2)$(file)' $(3) > /dev/null && echo found), , $(error "Pattern '$(2)$(file)' not found in $(3)"))) 83 $(foreach file,$(1),$(if $(shell grep '$(2)$(file)' $(3) > /dev/null && echo found), , $(error "Pattern '$(2)$(file)' not found in $(3)")))
80 endef 84 endef
81 85
82 all: default 86 all: default