comparison makefiles/GensrcBuffer.gmk @ 6143:df5619994dc3

Added tag jdk8-b66 for changeset 4d337fae2250
author katleman
date Thu, 29 Nov 2012 11:31:01 -0800
parents 71ff959f9a34
children 243cd682c47b
comparison
equal deleted inserted replaced
2:4c8dfd336361 3:d2c3a5beee94
23 # questions. 23 # questions.
24 # 24 #
25 25
26 GENSRC_BUFFER := 26 GENSRC_BUFFER :=
27 27
28 GENSRC_BUFFER_TMP := $(JDK_OUTPUTDIR)/gensrc_buffer 28 GENSRC_BUFFER_TMP := $(JDK_OUTPUTDIR)/gensrc
29 GENSRC_BUFFER_DST := $(JDK_OUTPUTDIR)/gensrc_buffer/java/nio 29 GENSRC_BUFFER_DST := $(JDK_OUTPUTDIR)/gensrc/java/nio
30 30
31 GENSRC_BUFFER_SRC := $(JDK_TOPDIR)/src/share/classes/java/nio 31 GENSRC_BUFFER_SRC := $(JDK_TOPDIR)/src/share/classes/java/nio
32 32
33 ### 33 ###
34 34
35 $(GENSRC_BUFFER_DST)/_the.dir : 35 $(GENSRC_BUFFER_DST)/_the.buffer.dir :
36 $(ECHO) "Generating buffer classes" 36 $(ECHO) "Generating buffer classes"
37 $(MKDIR) -p $(@D) 37 $(MKDIR) -p $(@D)
38 $(TOUCH) $@ 38 $(TOUCH) $@
39 39
40 define fixRw 40 define fixRw
196 $(if $(10),$1_$(strip $(10))) 196 $(if $(10),$1_$(strip $(10)))
197 $(if $(11),$1_$(strip $(11))) 197 $(if $(11),$1_$(strip $(11)))
198 $(if $(12),$1_$(strip $(12))) 198 $(if $(12),$1_$(strip $(12)))
199 $(if $(13),$1_$(strip $(13))) 199 $(if $(13),$1_$(strip $(13)))
200 $(if $(14),$1_$(strip $(14))) 200 $(if $(14),$1_$(strip $(14)))
201 $(if $(15),$(error Internal makefile error: Too many arguments to SetupGenBuffer, please update GensrcBuffer.gmk)) 201 $(foreach i,3 4 5 6 7 8 9 10 11 12 13 14 15,$(if $($i),$1_$(strip $($i)))$(NEWLINE))
202 $(call LogSetupMacroEntry,SetupGenBuffer($1),$2,$3,$4,$5,$6,$7,$8,$9,$(10),$(11),$(12),$(13),$(14),$(15))
203 $(if $(16),$(error Internal makefile error: Too many arguments to SetupGenBuffer, please update GensrcBuffer.gmk))
202 204
203 $(call fixRw,$1,$$($1_RW)) 205 $(call fixRw,$1,$$($1_RW))
204 $(call typesAndBits,$1,$$($1_type),$$($1_BO)) 206 $(call typesAndBits,$1,$$($1_type),$$($1_BO))
205 207
206 $1_DST := $(GENSRC_BUFFER_DST)/$1.java 208 $1_DST := $(GENSRC_BUFFER_DST)/$1.java
223 $(call genBinOps,$1_long,long,$$($1_BO),$$($1_RW),eight,seven) 225 $(call genBinOps,$1_long,long,$$($1_BO),$$($1_RW),eight,seven)
224 $(call genBinOps,$1_float,float,$$($1_BO),$$($1_RW),four,three) 226 $(call genBinOps,$1_float,float,$$($1_BO),$$($1_RW),four,three)
225 $(call genBinOps,$1_double,double,$$($1_BO),$$($1_RW),eight,seven) 227 $(call genBinOps,$1_double,double,$$($1_BO),$$($1_RW),eight,seven)
226 endif 228 endif
227 229
228 $$($1_DST) : $$($1_DEP) $(GENSRC_BUFFER_DST)/_the.dir 230 $$($1_DST) : $$($1_DEP) $(GENSRC_BUFFER_DST)/_the.buffer.dir
229 $(TOOL_SPP) < $$($1_SRC) > $$($1_OUT).tmp \ 231 $(TOOL_SPP) < $$($1_SRC) > $$($1_OUT).tmp \
230 -K$$($1_type) \ 232 -K$$($1_type) \
231 -K$$($1_category) \ 233 -K$$($1_category) \
232 -Dtype=$$($1_type) \ 234 -Dtype=$$($1_type) \
233 -DType=$$($1_Type) \ 235 -DType=$$($1_Type) \