make/aix/makefiles/vm.make

Print this page
rev 5729 : 8019929: PPC64 (part 107): Extend ELF-decoder to support PPC64 function descriptor tables


 185 Src_Dirs := $(Src_Dirs/$(TYPE))
 186 
 187 COMPILER2_SPECIFIC_FILES := opto libadt bcEscapeAnalyzer.cpp c2_\* runtime_\*
 188 COMPILER1_SPECIFIC_FILES := c1_\*
 189 SHARK_SPECIFIC_FILES     := shark
 190 ZERO_SPECIFIC_FILES      := zero
 191 
 192 # Always exclude these.
 193 Src_Files_EXCLUDE += jsig.c jvmtiEnvRecommended.cpp jvmtiEnvStub.cpp
 194 
 195 # Exclude per type.
 196 Src_Files_EXCLUDE/CORE      := $(COMPILER1_SPECIFIC_FILES) $(COMPILER2_SPECIFIC_FILES) $(ZERO_SPECIFIC_FILES) $(SHARK_SPECIFIC_FILES) ciTypeFlow.cpp
 197 Src_Files_EXCLUDE/COMPILER1 := $(COMPILER2_SPECIFIC_FILES) $(ZERO_SPECIFIC_FILES) $(SHARK_SPECIFIC_FILES) ciTypeFlow.cpp
 198 Src_Files_EXCLUDE/COMPILER2 := $(COMPILER1_SPECIFIC_FILES) $(ZERO_SPECIFIC_FILES) $(SHARK_SPECIFIC_FILES)
 199 Src_Files_EXCLUDE/TIERED    := $(ZERO_SPECIFIC_FILES) $(SHARK_SPECIFIC_FILES)
 200 Src_Files_EXCLUDE/ZERO      := $(COMPILER1_SPECIFIC_FILES) $(COMPILER2_SPECIFIC_FILES) $(SHARK_SPECIFIC_FILES) ciTypeFlow.cpp
 201 Src_Files_EXCLUDE/SHARK     := $(COMPILER1_SPECIFIC_FILES) $(COMPILER2_SPECIFIC_FILES) $(ZERO_SPECIFIC_FILES)
 202 
 203 Src_Files_EXCLUDE +=  $(Src_Files_EXCLUDE/$(TYPE))
 204 
 205 # Disable 155427 on aix.
 206 Src_Files_EXCLUDE += decoder_elf.cpp elfFile.cpp elfStringTable.cpp elfSymbolTable.cpp
 207 
 208 # Special handling of arch model.
 209 ifeq ($(Platform_arch_model), x86_32)
 210 Src_Files_EXCLUDE += \*x86_64\*
 211 endif
 212 ifeq ($(Platform_arch_model), x86_64)
 213 Src_Files_EXCLUDE += \*x86_32\*
 214 endif
 215 
 216 # Locate all source files in the given directory, excluding files in Src_Files_EXCLUDE.
 217 define findsrc
 218         $(notdir $(shell find $(1)/. ! -name . -prune \
 219                 -a \( -name \*.c -o -name \*.cpp -o -name \*.s \) \
 220                 -a ! \( -name DUMMY $(addprefix -o -name ,$(Src_Files_EXCLUDE)) \)))
 221 endef
 222 
 223 Src_Files := $(foreach e,$(Src_Dirs),$(call findsrc,$(e)))
 224 
 225 Obj_Files = $(sort $(addsuffix .o,$(basename $(Src_Files))))
 226 




 185 Src_Dirs := $(Src_Dirs/$(TYPE))
 186 
 187 COMPILER2_SPECIFIC_FILES := opto libadt bcEscapeAnalyzer.cpp c2_\* runtime_\*
 188 COMPILER1_SPECIFIC_FILES := c1_\*
 189 SHARK_SPECIFIC_FILES     := shark
 190 ZERO_SPECIFIC_FILES      := zero
 191 
 192 # Always exclude these.
 193 Src_Files_EXCLUDE += jsig.c jvmtiEnvRecommended.cpp jvmtiEnvStub.cpp
 194 
 195 # Exclude per type.
 196 Src_Files_EXCLUDE/CORE      := $(COMPILER1_SPECIFIC_FILES) $(COMPILER2_SPECIFIC_FILES) $(ZERO_SPECIFIC_FILES) $(SHARK_SPECIFIC_FILES) ciTypeFlow.cpp
 197 Src_Files_EXCLUDE/COMPILER1 := $(COMPILER2_SPECIFIC_FILES) $(ZERO_SPECIFIC_FILES) $(SHARK_SPECIFIC_FILES) ciTypeFlow.cpp
 198 Src_Files_EXCLUDE/COMPILER2 := $(COMPILER1_SPECIFIC_FILES) $(ZERO_SPECIFIC_FILES) $(SHARK_SPECIFIC_FILES)
 199 Src_Files_EXCLUDE/TIERED    := $(ZERO_SPECIFIC_FILES) $(SHARK_SPECIFIC_FILES)
 200 Src_Files_EXCLUDE/ZERO      := $(COMPILER1_SPECIFIC_FILES) $(COMPILER2_SPECIFIC_FILES) $(SHARK_SPECIFIC_FILES) ciTypeFlow.cpp
 201 Src_Files_EXCLUDE/SHARK     := $(COMPILER1_SPECIFIC_FILES) $(COMPILER2_SPECIFIC_FILES) $(ZERO_SPECIFIC_FILES)
 202 
 203 Src_Files_EXCLUDE +=  $(Src_Files_EXCLUDE/$(TYPE))
 204 
 205 # Disable ELF decoder on AIX (AIX uses XCOFF).
 206 Src_Files_EXCLUDE += decoder_elf.cpp elfFile.cpp elfStringTable.cpp elfSymbolTable.cpp elfFuncDescTable.cpp
 207 
 208 # Special handling of arch model.
 209 ifeq ($(Platform_arch_model), x86_32)
 210 Src_Files_EXCLUDE += \*x86_64\*
 211 endif
 212 ifeq ($(Platform_arch_model), x86_64)
 213 Src_Files_EXCLUDE += \*x86_32\*
 214 endif
 215 
 216 # Locate all source files in the given directory, excluding files in Src_Files_EXCLUDE.
 217 define findsrc
 218         $(notdir $(shell find $(1)/. ! -name . -prune \
 219                 -a \( -name \*.c -o -name \*.cpp -o -name \*.s \) \
 220                 -a ! \( -name DUMMY $(addprefix -o -name ,$(Src_Files_EXCLUDE)) \)))
 221 endef
 222 
 223 Src_Files := $(foreach e,$(Src_Dirs),$(call findsrc,$(e)))
 224 
 225 Obj_Files = $(sort $(addsuffix .o,$(basename $(Src_Files))))
 226