79 $(addprefix -I,$(GTEST_TEST_SRC)), \ |
79 $(addprefix -I,$(GTEST_TEST_SRC)), \ |
80 CFLAGS_windows := -EHsc, \ |
80 CFLAGS_windows := -EHsc, \ |
81 CFLAGS_solaris := -DGTEST_HAS_EXCEPTIONS=0 -library=stlport4, \ |
81 CFLAGS_solaris := -DGTEST_HAS_EXCEPTIONS=0 -library=stlport4, \ |
82 CFLAGS_macosx := -DGTEST_OS_MAC=1, \ |
82 CFLAGS_macosx := -DGTEST_OS_MAC=1, \ |
83 CFLAGS_aix := -qpic=large, \ |
83 CFLAGS_aix := -qpic=large, \ |
84 CFLAGS_DEBUG_SYMBOLS := $(JVM_CFLAGS_SYMBOLS), \ |
|
85 CXXFLAGS_DEBUG_SYMBOLS := $(JVM_CFLAGS_SYMBOLS), \ |
|
86 DISABLED_WARNINGS_gcc := undef, \ |
84 DISABLED_WARNINGS_gcc := undef, \ |
87 DISABLED_WARNINGS_clang := undef switch format-nonliteral \ |
85 DISABLED_WARNINGS_clang := undef switch format-nonliteral \ |
88 tautological-undefined-compare $(BUILD_LIBJVM_DISABLED_WARNINGS_clang), \ |
86 tautological-undefined-compare $(BUILD_LIBJVM_DISABLED_WARNINGS_clang), \ |
89 DISABLED_WARNINGS_solstudio := identexpected, \ |
87 DISABLED_WARNINGS_solstudio := identexpected, \ |
|
88 DISABLED_WARNINGS_CXX_microsoft := 4996, \ |
90 LDFLAGS := $(JVM_LDFLAGS), \ |
89 LDFLAGS := $(JVM_LDFLAGS), \ |
91 LDFLAGS_solaris := -library=stlport4 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
90 LDFLAGS_solaris := -library=stlport4 $(call SET_SHARED_LIBRARY_ORIGIN), \ |
92 LDFLAGS_aix := -bbigtoc, \ |
91 LDFLAGS_aix := -bbigtoc, \ |
93 LIBS := $(JVM_LIBS), \ |
92 LIBS := $(JVM_LIBS), \ |
94 OPTIMIZATION := $(JVM_OPTIMIZATION), \ |
93 OPTIMIZATION := $(JVM_OPTIMIZATION), \ |
112 OUTPUT_DIR := $(JVM_OUTPUTDIR)/gtest, \ |
111 OUTPUT_DIR := $(JVM_OUTPUTDIR)/gtest, \ |
113 EXTRA_FILES := $(GTEST_LAUNCHER_SRC), \ |
112 EXTRA_FILES := $(GTEST_LAUNCHER_SRC), \ |
114 OBJECT_DIR := $(JVM_OUTPUTDIR)/gtest/launcher-objs, \ |
113 OBJECT_DIR := $(JVM_OUTPUTDIR)/gtest/launcher-objs, \ |
115 CFLAGS := $(JVM_CFLAGS) -I$(GTEST_FRAMEWORK_SRC) \ |
114 CFLAGS := $(JVM_CFLAGS) -I$(GTEST_FRAMEWORK_SRC) \ |
116 -I$(GTEST_FRAMEWORK_SRC)/include, \ |
115 -I$(GTEST_FRAMEWORK_SRC)/include, \ |
117 CFLAGS_DEBUG_SYMBOLS := $(JVM_CFLAGS_SYMBOLS), \ |
|
118 CXXFLAGS_DEBUG_SYMBOLS := $(JVM_CFLAGS_SYMBOLS), \ |
|
119 LDFLAGS := $(LDFLAGS_JDKEXE), \ |
116 LDFLAGS := $(LDFLAGS_JDKEXE), \ |
120 LDFLAGS_unix := -L$(JVM_OUTPUTDIR)/gtest $(call SET_SHARED_LIBRARY_ORIGIN), \ |
117 LDFLAGS_unix := -L$(JVM_OUTPUTDIR)/gtest $(call SET_SHARED_LIBRARY_ORIGIN), \ |
121 LDFLAGS_solaris := -library=stlport4, \ |
118 LDFLAGS_solaris := -library=stlport4, \ |
122 LIBS_linux := $(LIBCXX), \ |
119 LIBS_linux := $(LIBCXX), \ |
123 LIBS_unix := -ljvm, \ |
120 LIBS_unix := -ljvm, \ |