make/gensrc/GensrcExceptions.gmk
changeset 47217 72e3ae9a25eb
parent 47216 71c04702a3d5
equal deleted inserted replaced
47216:71c04702a3d5 47217:72e3ae9a25eb
    25 
    25 
    26 GENSRC_EXCEPTIONS :=
    26 GENSRC_EXCEPTIONS :=
    27 
    27 
    28 GENSRC_EXCEPTIONS_DST := $(SUPPORT_OUTPUTDIR)/gensrc/java.base/java/nio
    28 GENSRC_EXCEPTIONS_DST := $(SUPPORT_OUTPUTDIR)/gensrc/java.base/java/nio
    29 
    29 
    30 GENSRC_EXCEPTIONS_SRC := $(JDK_TOPDIR)/src/java.base/share/classes/java/nio
    30 GENSRC_EXCEPTIONS_SRC := $(TOPDIR)/src/java.base/share/classes/java/nio
    31 GENSRC_EXCEPTIONS_CMD := $(JDK_TOPDIR)/make/scripts/genExceptions.sh
    31 GENSRC_EXCEPTIONS_CMD := $(TOPDIR)/make/scripts/genExceptions.sh
    32 
    32 
    33 GENSRC_EXCEPTIONS_SRC_DIRS := . charset channels
    33 GENSRC_EXCEPTIONS_SRC_DIRS := . charset channels
    34 
    34 
    35 $(GENSRC_EXCEPTIONS_DST)/_the.%.marker: $(GENSRC_EXCEPTIONS_SRC)/%/exceptions \
    35 $(GENSRC_EXCEPTIONS_DST)/_the.%.marker: $(GENSRC_EXCEPTIONS_SRC)/%/exceptions \
    36     $(GENSRC_EXCEPTIONS_CMD)
    36     $(GENSRC_EXCEPTIONS_CMD)
    37 	$(call LogInfo, Generating exceptions java.nio $*)
    37 	$(call LogInfo, Generating exceptions java.nio $*)
    38 	$(call MakeDir, $(@D)/$*)
    38 	$(call MakeDir, $(@D)/$*)
    39 	SCRIPTS="$(JDK_TOPDIR)/make/scripts" NAWK="$(NAWK)" SH="$(SH)" $(SH) \
    39 	SCRIPTS="$(TOPDIR)/make/scripts" NAWK="$(NAWK)" SH="$(SH)" $(SH) \
    40 	    $(GENSRC_EXCEPTIONS_CMD) $< $(@D)/$* $(LOG_DEBUG)
    40 	    $(GENSRC_EXCEPTIONS_CMD) $< $(@D)/$* $(LOG_DEBUG)
    41 	$(TOUCH) $@
    41 	$(TOUCH) $@
    42 
    42 
    43 GENSRC_EXCEPTIONS += $(foreach D,$(GENSRC_EXCEPTIONS_SRC_DIRS),$(GENSRC_EXCEPTIONS_DST)/_the.$(D).marker)
    43 GENSRC_EXCEPTIONS += $(foreach D,$(GENSRC_EXCEPTIONS_SRC_DIRS),$(GENSRC_EXCEPTIONS_DST)/_the.$(D).marker)
    44 GENSRC_JAVA_BASE += $(GENSRC_EXCEPTIONS)
    44 GENSRC_JAVA_BASE += $(GENSRC_EXCEPTIONS)