1.1 --- a/make/sanity-rules.gmk Thu Feb 21 17:39:58 2013 -0800 1.2 +++ b/make/sanity-rules.gmk Mon Feb 25 15:08:11 2013 -0800 1.3 @@ -182,6 +182,14 @@ 1.4 "" >> $(WARNING_FILE) 1.5 endif 1.6 endif 1.7 +ifeq ($(NASHORN_SRC_AVAILABLE), true) 1.8 + ifneq ($(BUILD_NASHORN), true) 1.9 + @$(ECHO) "WARNING: You are not building the NASHORN sources.\n" \ 1.10 + " The nashorn files will be obtained from \n" \ 1.11 + " the location set in ALT_JDK_IMPORT_PATH. \n" \ 1.12 + "" >> $(WARNING_FILE) 1.13 + endif 1.14 +endif 1.15 ifeq ($(DEPLOY_SRC_AVAILABLE), true) 1.16 ifneq ($(BUILD_DEPLOY), true) 1.17 @$(ECHO) "WARNING: You are not building the DEPLOY sources.\n" \ 1.18 @@ -268,6 +276,9 @@ 1.19 ifeq ($(JDK_SRC_AVAILABLE), true) 1.20 @$(ECHO) " JDK_TOPDIR = $(JDK_TOPDIR)" >> $(MESSAGE_FILE) 1.21 endif 1.22 +ifeq ($(NASHORN_SRC_AVAILABLE), true) 1.23 + @$(ECHO) " NASHORN_TOPDIR = $(NASHORN_TOPDIR)" >> $(MESSAGE_FILE) 1.24 +endif 1.25 ifeq ($(DEPLOY_SRC_AVAILABLE), true) 1.26 @$(ECHO) " DEPLOY_TOPDIR = $(DEPLOY_TOPDIR)" >> $(MESSAGE_FILE) 1.27 endif 1.28 @@ -303,6 +314,9 @@ 1.29 ifeq ($(JDK_SRC_AVAILABLE), true) 1.30 @$(ECHO) " BUILD_JDK = $(BUILD_JDK) " >> $(MESSAGE_FILE) 1.31 endif 1.32 +ifeq ($(NASHORN_SRC_AVAILABLE), true) 1.33 + @$(ECHO) " BUILD_NASHORN = $(BUILD_NASHORN) " >> $(MESSAGE_FILE) 1.34 +endif 1.35 ifeq ($(DEPLOY_SRC_AVAILABLE), true) 1.36 @$(ECHO) " BUILD_DEPLOY = $(BUILD_DEPLOY) " >> $(MESSAGE_FILE) 1.37 endif