jdk/makefiles/GensrcBuffer.gmk
changeset 13702 efd6a05935b2
parent 13164 72c5d01a857d
child 14231 a0c23c1c010f
equal deleted inserted replaced
13694:ffe6bce5a521 13702:efd6a05935b2
   224 		$(call genBinOps,$1_float,float,$$($1_BO),$$($1_RW),four,three)
   224 		$(call genBinOps,$1_float,float,$$($1_BO),$$($1_RW),four,three)
   225 		$(call genBinOps,$1_double,double,$$($1_BO),$$($1_RW),eight,seven)
   225 		$(call genBinOps,$1_double,double,$$($1_BO),$$($1_RW),eight,seven)
   226 	endif
   226 	endif
   227 
   227 
   228 $$($1_DST) : $$($1_DEP) $(GENSRC_BUFFER_DST)/_the.dir
   228 $$($1_DST) : $$($1_DEP) $(GENSRC_BUFFER_DST)/_the.dir
   229 	$(TOOL_SPP) < $$($1_SRC) > $$($1_OUT).temp \
   229 	$(TOOL_SPP) < $$($1_SRC) > $$($1_OUT).tmp \
   230 		-K$$($1_type) \
   230 		-K$$($1_type) \
   231 		-K$$($1_category) \
   231 		-K$$($1_category) \
   232 		-Dtype=$$($1_type) \
   232 		-Dtype=$$($1_type) \
   233 		-DType=$$($1_Type) \
   233 		-DType=$$($1_Type) \
   234 		-Dfulltype=$$($1_fulltype) \
   234 		-Dfulltype=$$($1_fulltype) \
   246 		-DRW=$$($1_RW) \
   246 		-DRW=$$($1_RW) \
   247 		-K$$($1_rwkey) \
   247 		-K$$($1_rwkey) \
   248 		-Da=$$($1_a) \
   248 		-Da=$$($1_a) \
   249 		-DA=$$($1_A) \
   249 		-DA=$$($1_A) \
   250 		-Kbo$$($1_BO)
   250 		-Kbo$$($1_BO)
   251 		$(MV) $$($1_OUT).temp $$($1_OUT)
   251 		$(MV) $$($1_OUT).tmp $$($1_OUT)
   252 # Do the extra bin thing
   252 # Do the extra bin thing
   253 ifeq ($$($1_BIN),1)
   253 ifeq ($$($1_BIN),1)
   254 	$(SED) -e '/#BIN/,$$$$d' < $$($1_OUT) > $$($1_DST).temp
   254 	$(SED) -e '/#BIN/,$$$$d' < $$($1_OUT) > $$($1_DST).tmp
   255 	$(RM) $$($1_OUT)
   255 	$(RM) $$($1_OUT)
   256 	$$($1_char_CMD) < $$($1_SRC_BIN) >> $$($1_DST).temp
   256 	$$($1_char_CMD) < $$($1_SRC_BIN) >> $$($1_DST).tmp
   257 	$$($1_short_CMD) < $$($1_SRC_BIN) >> $$($1_DST).temp
   257 	$$($1_short_CMD) < $$($1_SRC_BIN) >> $$($1_DST).tmp
   258 	$$($1_int_CMD) < $$($1_SRC_BIN) >> $$($1_DST).temp
   258 	$$($1_int_CMD) < $$($1_SRC_BIN) >> $$($1_DST).tmp
   259 	$$($1_long_CMD) < $$($1_SRC_BIN) >> $$($1_DST).temp
   259 	$$($1_long_CMD) < $$($1_SRC_BIN) >> $$($1_DST).tmp
   260 	$$($1_float_CMD) < $$($1_SRC_BIN) >> $$($1_DST).temp
   260 	$$($1_float_CMD) < $$($1_SRC_BIN) >> $$($1_DST).tmp
   261 	$$($1_double_CMD) < $$($1_SRC_BIN) >> $$($1_DST).temp
   261 	$$($1_double_CMD) < $$($1_SRC_BIN) >> $$($1_DST).tmp
   262 	$(PRINTF) "}\n" >> $$($1_DST).temp
   262 	$(PRINTF) "}\n" >> $$($1_DST).tmp
   263 	mv $$($1_DST).temp $$($1_DST)
   263 	mv $$($1_DST).tmp $$($1_DST)
   264 endif
   264 endif
   265 
   265 
   266 GENSRC_BUFFER += $$($1_DST)
   266 GENSRC_BUFFER += $$($1_DST)
   267 
   267 
   268 endef
   268 endef