jdk/make/java/nio/Makefile
changeset 530 dbf0077bad01
parent 29 b8bedccd805d
child 715 f16baef3a20e
equal deleted inserted replaced
470:c7ce5d308be7 530:dbf0077bad01
   189 # Generated buffer classes
   189 # Generated buffer classes
   190 #
   190 #
   191 
   191 
   192 GEN_BUFFER_SH = genBuffer.sh
   192 GEN_BUFFER_SH = genBuffer.sh
   193 
   193 
   194 GEN_BUFFER_CMD = SPP="$(SPP_CMD)" NAWK=$(NAWK) SED=$(SED) SH=$(SH) \
   194 GEN_BUFFER_CMD = SPP="$(SPP_CMD)" NAWK="$(NAWK)" SED="$(SED)" SH="$(SH)" \
   195                  $(SH) $(GEN_BUFFER_SH)
   195                  $(SH) $(GEN_BUFFER_SH)
   196 
   196 
   197 # Public abstract buffer classes
   197 # Public abstract buffer classes
   198 #
   198 #
   199 $(BUF_GEN)/ByteBuffer.java: $(BUF_SRC)/X-Buffer.java \
   199 $(BUF_GEN)/ByteBuffer.java: $(BUF_SRC)/X-Buffer.java \
   580 # Generated coder classes
   580 # Generated coder classes
   581 #
   581 #
   582 
   582 
   583 GEN_CODER_SH = genCoder.sh
   583 GEN_CODER_SH = genCoder.sh
   584 
   584 
   585 GEN_CODER_CMD = SPP="$(SPP_CMD)" SED=$(SED) NAWK=$(NAWK) SH=$(SH) $(SH) $(GEN_CODER_SH)
   585 GEN_CODER_CMD = SPP="$(SPP_CMD)" SED="$(SED)" NAWK="$(NAWK)" SH="$(SH)" $(SH) $(GEN_CODER_SH)
   586 
   586 
   587 $(CS_GEN)/CharsetDecoder.java: $(CS_SRC)/Charset-X-Coder.java $(GEN_CODER_SH)
   587 $(CS_GEN)/CharsetDecoder.java: $(CS_SRC)/Charset-X-Coder.java $(GEN_CODER_SH)
   588 	$(prep-target)
   588 	$(prep-target)
   589 	@$(RM) $@.temp
   589 	@$(RM) $@.temp
   590 	$(GEN_CODER_CMD) decoder $< $@.temp
   590 	$(GEN_CODER_CMD) decoder $< $@.temp
   600 # Generated exception classes
   600 # Generated exception classes
   601 #
   601 #
   602 
   602 
   603 GEN_EX_SH = genExceptions.sh
   603 GEN_EX_SH = genExceptions.sh
   604  
   604  
   605 GEN_EX_CMD = NAWK=$(NAWK) SH=$(SH) $(SH) $(GEN_EX_SH)
   605 GEN_EX_CMD = NAWK="$(NAWK)" SH="$(SH)" $(SH) $(GEN_EX_SH)
   606 
   606 
   607 $(CH_GEN)/%Exception.java: genExceptions.sh $(CH_SRC)/exceptions
   607 $(CH_GEN)/%Exception.java: genExceptions.sh $(CH_SRC)/exceptions
   608 	$(prep-target)
   608 	$(prep-target)
   609 	@$(RM) $@.temp
   609 	@$(RM) $@.temp
   610 	$(GEN_EX_CMD) $(CH_SRC)/exceptions $(CH_GEN)
   610 	$(GEN_EX_CMD) $(CH_SRC)/exceptions $(CH_GEN)
   633 
   633 
   634 $(SCS_GEN)/StandardCharsets.java: genCharsetProvider.sh \
   634 $(SCS_GEN)/StandardCharsets.java: genCharsetProvider.sh \
   635     $(HASHER_JARFILE) $(SCS_SRC)/standard-charsets
   635     $(HASHER_JARFILE) $(SCS_SRC)/standard-charsets
   636 	$(prep-target)
   636 	$(prep-target)
   637 	@$(RM) $@.temp
   637 	@$(RM) $@.temp
   638 	NAWK=$(NAWK) TEMPDIR=$(TEMPDIR) SH=$(SH) \
   638 	NAWK="$(NAWK)" TEMPDIR="$(TEMPDIR)" SH="$(SH)" \
   639 	  HASHER="$(BOOT_JAVA_CMD) -jar $(HASHER_JARFILE)" \
   639 	  HASHER="$(BOOT_JAVA_CMD) -jar $(HASHER_JARFILE)" \
   640 	  $(SH) -e genCharsetProvider.sh $(SCS_SRC)/standard-charsets $(SCS_GEN)
   640 	  $(SH) -e genCharsetProvider.sh $(SCS_SRC)/standard-charsets $(SCS_GEN)
   641 
   641 
   642 .PHONY: sources 
   642 .PHONY: sources