< prev index next >

make/hotspot/lib/CompileJvm.gmk

Print this page




 185     vm_version.cpp_CXXFLAGS := $(CFLAGS_VM_VERSION), \
 186     arguments.cpp_CXXFLAGS := $(CFLAGS_VM_VERSION), \
 187     DISABLED_WARNINGS_gcc := $(DISABLED_WARNINGS_gcc), \
 188     DISABLED_WARNINGS_clang := $(DISABLED_WARNINGS_clang), \
 189     DISABLED_WARNINGS_solstudio := $(DISABLED_WARNINGS_solstudio), \
 190     DISABLED_WARNINGS_xlc := $(DISABLED_WARNINGS_xlc), \
 191     DISABLED_WARNINGS_microsoft := $(DISABLED_WARNINGS_microsoft), \
 192     ASFLAGS := $(JVM_ASFLAGS), \
 193     LDFLAGS := $(JVM_LDFLAGS), \
 194     LIBS := $(JVM_LIBS), \
 195     OPTIMIZATION := $(JVM_OPTIMIZATION), \
 196     OBJECT_DIR := $(JVM_OUTPUTDIR)/objs, \
 197     MAPFILE := $(JVM_MAPFILE), \
 198     USE_MAPFILE_FOR_SYMBOLS := true, \
 199     STRIPFLAGS := $(JVM_STRIPFLAGS), \
 200     EMBED_MANIFEST := true, \
 201     RC_FLAGS := $(JVM_RCFLAGS), \
 202     VERSIONINFO_RESOURCE := $(TOPDIR)/src/hotspot/os/windows/version.rc, \
 203     PRECOMPILED_HEADER := $(JVM_PRECOMPILED_HEADER), \
 204     PRECOMPILED_HEADER_EXCLUDE := $(JVM_PRECOMPILED_HEADER_EXCLUDE), \
 205     DEFINE_THIS_FILE := false, \
 206 ))
 207 
 208 # Always recompile vm_version.cpp if libjvm needs to be relinked. This ensures
 209 # that the internal vm version is updated as it relies on __DATE__ and __TIME__
 210 # macros.
 211 VM_VERSION_OBJ := $(JVM_OUTPUTDIR)/objs/vm_version$(OBJ_SUFFIX)
 212 $(VM_VERSION_OBJ): $(filter-out $(VM_VERSION_OBJ) $(JVM_MAPFILE), \
 213     $(BUILD_LIBJVM_TARGET_DEPS))
 214 
 215 ifneq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
 216   ifeq ($(call isTargetOs, windows), true)
 217     # It doesn't matter which jvm.lib file gets exported, but we need
 218     # to pick just one.
 219     ifeq ($(JVM_VARIANT), $(JVM_VARIANT_MAIN))
 220       $(eval $(call SetupCopyFiles, COPY_JVM_LIB, \
 221           DEST := $(LIB_OUTPUTDIR), \
 222           FILES :=$(BUILD_LIBJVM_IMPORT_LIBRARY), \
 223       ))
 224       TARGETS += $(COPY_JVM_LIB)
 225     endif




 185     vm_version.cpp_CXXFLAGS := $(CFLAGS_VM_VERSION), \
 186     arguments.cpp_CXXFLAGS := $(CFLAGS_VM_VERSION), \
 187     DISABLED_WARNINGS_gcc := $(DISABLED_WARNINGS_gcc), \
 188     DISABLED_WARNINGS_clang := $(DISABLED_WARNINGS_clang), \
 189     DISABLED_WARNINGS_solstudio := $(DISABLED_WARNINGS_solstudio), \
 190     DISABLED_WARNINGS_xlc := $(DISABLED_WARNINGS_xlc), \
 191     DISABLED_WARNINGS_microsoft := $(DISABLED_WARNINGS_microsoft), \
 192     ASFLAGS := $(JVM_ASFLAGS), \
 193     LDFLAGS := $(JVM_LDFLAGS), \
 194     LIBS := $(JVM_LIBS), \
 195     OPTIMIZATION := $(JVM_OPTIMIZATION), \
 196     OBJECT_DIR := $(JVM_OUTPUTDIR)/objs, \
 197     MAPFILE := $(JVM_MAPFILE), \
 198     USE_MAPFILE_FOR_SYMBOLS := true, \
 199     STRIPFLAGS := $(JVM_STRIPFLAGS), \
 200     EMBED_MANIFEST := true, \
 201     RC_FLAGS := $(JVM_RCFLAGS), \
 202     VERSIONINFO_RESOURCE := $(TOPDIR)/src/hotspot/os/windows/version.rc, \
 203     PRECOMPILED_HEADER := $(JVM_PRECOMPILED_HEADER), \
 204     PRECOMPILED_HEADER_EXCLUDE := $(JVM_PRECOMPILED_HEADER_EXCLUDE), \

 205 ))
 206 
 207 # Always recompile vm_version.cpp if libjvm needs to be relinked. This ensures
 208 # that the internal vm version is updated as it relies on __DATE__ and __TIME__
 209 # macros.
 210 VM_VERSION_OBJ := $(JVM_OUTPUTDIR)/objs/vm_version$(OBJ_SUFFIX)
 211 $(VM_VERSION_OBJ): $(filter-out $(VM_VERSION_OBJ) $(JVM_MAPFILE), \
 212     $(BUILD_LIBJVM_TARGET_DEPS))
 213 
 214 ifneq ($(GENERATE_COMPILE_COMMANDS_ONLY), true)
 215   ifeq ($(call isTargetOs, windows), true)
 216     # It doesn't matter which jvm.lib file gets exported, but we need
 217     # to pick just one.
 218     ifeq ($(JVM_VARIANT), $(JVM_VARIANT_MAIN))
 219       $(eval $(call SetupCopyFiles, COPY_JVM_LIB, \
 220           DEST := $(LIB_OUTPUTDIR), \
 221           FILES :=$(BUILD_LIBJVM_IMPORT_LIBRARY), \
 222       ))
 223       TARGETS += $(COPY_JVM_LIB)
 224     endif


< prev index next >