< prev index next >

make/gensrc/GensrcVarHandles.gmk

Print this page

        

*** 50,62 **** --- 50,72 ---- ifneq ($$(findstring $$($1_Type), Byte Short Char), ) $1_ARGS += -KShorterThanInt endif + ifeq ($$($1_Type), Reference) + $1_ARGS += -KReference + endif + + ifeq ($$($1_Type), Value) + $1_ARGS += -KValue + endif + $$($1_FILENAME): $(VARHANDLES_SRC_DIR)/X-VarHandle.java.template $(BUILD_TOOLS_JDK) ifeq ($$($1_Type), Reference) $$(eval $1_type := Object) + else ifeq ($$($1_Type), Value) + $$(eval $1_type := Object) else $$(eval $1_type := $$$$(shell $(TR) '[:upper:]' '[:lower:]' <<< $$$$($1_Type))) endif $$(call MakeDir, $$(@D)) $(RM) $$@
*** 158,168 **** endef ################################################################################ # List the types to generate source for, with capitalized first letter ! VARHANDLES_TYPES := Boolean Byte Short Char Int Long Float Double Reference $(foreach t, $(VARHANDLES_TYPES), \ $(eval $(call GenerateVarHandle,VAR_HANDLE_$t,$t))) # List the types to generate source for, with capitalized first letter VARHANDLES_BYTE_ARRAY_TYPES := Short Char Int Long Float Double --- 168,178 ---- endef ################################################################################ # List the types to generate source for, with capitalized first letter ! VARHANDLES_TYPES := Boolean Byte Short Char Int Long Float Double Reference Value $(foreach t, $(VARHANDLES_TYPES), \ $(eval $(call GenerateVarHandle,VAR_HANDLE_$t,$t))) # List the types to generate source for, with capitalized first letter VARHANDLES_BYTE_ARRAY_TYPES := Short Char Int Long Float Double
< prev index next >