equal
deleted
inserted
replaced
51 ifneq ($$(findstring $$($1_Type), Byte Short Char), ) |
51 ifneq ($$(findstring $$($1_Type), Byte Short Char), ) |
52 $1_ARGS += -KShorterThanInt |
52 $1_ARGS += -KShorterThanInt |
53 endif |
53 endif |
54 |
54 |
55 $$($1_FILENAME): $(VARHANDLES_SRC_DIR)/X-VarHandle.java.template $(BUILD_TOOLS_JDK) |
55 $$($1_FILENAME): $(VARHANDLES_SRC_DIR)/X-VarHandle.java.template $(BUILD_TOOLS_JDK) |
56 ifeq ($$($1_Type), Object) |
56 ifeq ($$($1_Type), Reference) |
57 $$(eval $1_type := $$($1_Type)) |
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 $(TOOL_SPP) -nel -K$$($1_type) -Dtype=$$($1_type) -DType=$$($1_Type) \ |
62 $(TOOL_SPP) -nel -K$$($1_type) -Dtype=$$($1_type) -DType=$$($1_Type) \ |
156 endef |
156 endef |
157 |
157 |
158 ################################################################################ |
158 ################################################################################ |
159 |
159 |
160 # List the types to generate source for, with capitalized first letter |
160 # List the types to generate source for, with capitalized first letter |
161 VARHANDLES_TYPES := Boolean Byte Short Char Int Long Float Double Object |
161 VARHANDLES_TYPES := Boolean Byte Short Char Int Long Float Double Reference |
162 $(foreach t, $(VARHANDLES_TYPES), \ |
162 $(foreach t, $(VARHANDLES_TYPES), \ |
163 $(eval $(call GenerateVarHandle,VAR_HANDLE_$t,$t))) |
163 $(eval $(call GenerateVarHandle,VAR_HANDLE_$t,$t))) |
164 |
164 |
165 # List the types to generate source for, with capitalized first letter |
165 # List the types to generate source for, with capitalized first letter |
166 VARHANDLES_BYTE_ARRAY_TYPES := Short Char Int Long Float Double |
166 VARHANDLES_BYTE_ARRAY_TYPES := Short Char Int Long Float Double |