make/gensrc/GensrcVarHandles.gmk
changeset 53110 50677f43ac3d
parent 52804 28094715ae71
child 58908 73bb9c4002cc
equal deleted inserted replaced
53109:b99b41325d89 53110:50677f43ac3d
    57 	  $$(eval $1_type := Object)
    57 	  $$(eval $1_type := Object)
    58         else
    58         else
    59 	  $$(eval $1_type := $$$$(shell $(TR) '[:upper:]' '[:lower:]' <<< $$$$($1_Type)))
    59 	  $$(eval $1_type := $$$$(shell $(TR) '[:upper:]' '[:lower:]' <<< $$$$($1_Type)))
    60         endif
    60         endif
    61 	$$(call MakeDir, $$(@D))
    61 	$$(call MakeDir, $$(@D))
       
    62 	$(RM) $$@
    62 	$(TOOL_SPP) -nel -K$$($1_type) -Dtype=$$($1_type) -DType=$$($1_Type) \
    63 	$(TOOL_SPP) -nel -K$$($1_type) -Dtype=$$($1_type) -DType=$$($1_Type) \
    63 	    $$($1_ARGS) < $$< > $$@
    64 	    $$($1_ARGS) -i$$< -o$$@
    64 
    65 
    65   GENSRC_VARHANDLES += $$($1_FILENAME)
    66   GENSRC_VARHANDLES += $$($1_FILENAME)
    66 endef
    67 endef
    67 
    68 
    68 ################################################################################
    69 ################################################################################
   145     $1_ARGS += -KfloatingPoint
   146     $1_ARGS += -KfloatingPoint
   146   endif
   147   endif
   147 
   148 
   148   $$($1_FILENAME): $(VARHANDLES_SRC_DIR)/X-VarHandleByteArrayView.java.template $(BUILD_TOOLS_JDK)
   149   $$($1_FILENAME): $(VARHANDLES_SRC_DIR)/X-VarHandleByteArrayView.java.template $(BUILD_TOOLS_JDK)
   149 	$$(call MakeDir, $$(@D))
   150 	$$(call MakeDir, $$(@D))
       
   151 	$(RM) $$@
   150 	$(TOOL_SPP) -nel -K$$($1_type) \
   152 	$(TOOL_SPP) -nel -K$$($1_type) \
   151 	    -Dtype=$$($1_type) -DType=$$($1_Type) -DBoxType=$$($1_BoxType) \
   153 	    -Dtype=$$($1_type) -DType=$$($1_Type) -DBoxType=$$($1_BoxType) \
   152 	    -DrawType=$$($1_rawType) -DRawType=$$($1_RawType) -DRawBoxType=$$($1_RawBoxType) \
   154 	    -DrawType=$$($1_rawType) -DRawType=$$($1_RawType) -DRawBoxType=$$($1_RawBoxType) \
   153 	    $$($1_ARGS) < $$< > $$@
   155 	    $$($1_ARGS) -i$$< -o$$@
   154 
   156 
   155   GENSRC_VARHANDLES += $$($1_FILENAME)
   157   GENSRC_VARHANDLES += $$($1_FILENAME)
   156 endef
   158 endef
   157 
   159 
   158 ################################################################################
   160 ################################################################################