8328157: Move C[XX]FLAGS_JDK[LIB/EXE] to JdkNativeCompilation.gmk
Reviewed-by: erikj
This commit is contained in:
parent
42aec8c5e7
commit
bfba4894e1
@ -39,7 +39,6 @@ REAL_HSDIS_NAME := hsdis-$(OPENJDK_TARGET_CPU_LEGACY_LIB)$(SHARED_LIBRARY_SUFFIX
|
|||||||
BUILT_HSDIS_LIB := $(HSDIS_OUTPUT_DIR)/$(REAL_HSDIS_NAME)
|
BUILT_HSDIS_LIB := $(HSDIS_OUTPUT_DIR)/$(REAL_HSDIS_NAME)
|
||||||
|
|
||||||
HSDIS_LINK_TYPE := C
|
HSDIS_LINK_TYPE := C
|
||||||
HSDIS_TOOLCHAIN_CFLAGS := $(CFLAGS_JDKLIB)
|
|
||||||
HSDIS_TOOLCHAIN_LDFLAGS := $(LDFLAGS_JDKLIB)
|
HSDIS_TOOLCHAIN_LDFLAGS := $(LDFLAGS_JDKLIB)
|
||||||
|
|
||||||
ifeq ($(HSDIS_BACKEND), capstone)
|
ifeq ($(HSDIS_BACKEND), capstone)
|
||||||
@ -60,7 +59,6 @@ endif
|
|||||||
ifeq ($(HSDIS_BACKEND), llvm)
|
ifeq ($(HSDIS_BACKEND), llvm)
|
||||||
# Use C++ instead of C
|
# Use C++ instead of C
|
||||||
HSDIS_LINK_TYPE := C++
|
HSDIS_LINK_TYPE := C++
|
||||||
HSDIS_TOOLCHAIN_CFLAGS := $(CXXFLAGS_JDKLIB)
|
|
||||||
|
|
||||||
ifeq ($(call isTargetOs, linux), true)
|
ifeq ($(call isTargetOs, linux), true)
|
||||||
LLVM_OS := pc-linux-gnu
|
LLVM_OS := pc-linux-gnu
|
||||||
@ -128,7 +126,7 @@ ifeq ($(HSDIS_BACKEND), binutils)
|
|||||||
CFLAGS_WARNINGS_ARE_ERRORS := -Werror
|
CFLAGS_WARNINGS_ARE_ERRORS := -Werror
|
||||||
SHARED_LIBRARY_FLAGS := -shared
|
SHARED_LIBRARY_FLAGS := -shared
|
||||||
|
|
||||||
HSDIS_TOOLCHAIN_CFLAGS :=
|
HSDIS_TOOLCHAIN_DEFAULT_CFLAGS := false
|
||||||
HSDIS_TOOLCHAIN_LDFLAGS := -L$(MINGW_GCC_LIB_PATH) -L$(MINGW_SYSROOT_LIB_PATH)
|
HSDIS_TOOLCHAIN_LDFLAGS := -L$(MINGW_GCC_LIB_PATH) -L$(MINGW_SYSROOT_LIB_PATH)
|
||||||
MINGW_DLLCRT := $(MINGW_SYSROOT_LIB_PATH)/dllcrt2.o
|
MINGW_DLLCRT := $(MINGW_SYSROOT_LIB_PATH)/dllcrt2.o
|
||||||
HSDIS_TOOLCHAIN_LIBS := $(MINGW_DLLCRT) -lmingw32 -lgcc -lgcc_eh -lmoldname \
|
HSDIS_TOOLCHAIN_LIBS := $(MINGW_DLLCRT) -lmingw32 -lgcc -lgcc_eh -lmoldname \
|
||||||
@ -147,7 +145,9 @@ $(eval $(call SetupJdkLibrary, BUILD_HSDIS, \
|
|||||||
OBJECT_DIR := $(HSDIS_OUTPUT_DIR), \
|
OBJECT_DIR := $(HSDIS_OUTPUT_DIR), \
|
||||||
DISABLED_WARNINGS_gcc := undef format-nonliteral sign-compare, \
|
DISABLED_WARNINGS_gcc := undef format-nonliteral sign-compare, \
|
||||||
DISABLED_WARNINGS_clang := undef format-nonliteral, \
|
DISABLED_WARNINGS_clang := undef format-nonliteral, \
|
||||||
CFLAGS := $(HSDIS_TOOLCHAIN_CFLAGS) $(HSDIS_CFLAGS), \
|
DEFAULT_CFLAGS := $(HSDIS_TOOLCHAIN_DEFAULT_CFLAGS), \
|
||||||
|
CFLAGS := $(HSDIS_CFLAGS), \
|
||||||
|
CXXFLAGS := $(HSDIS_CFLAGS), \
|
||||||
LDFLAGS := $(HSDIS_TOOLCHAIN_LDFLAGS) $(HSDIS_LDFLAGS) $(SHARED_LIBRARY_FLAGS), \
|
LDFLAGS := $(HSDIS_TOOLCHAIN_LDFLAGS) $(HSDIS_LDFLAGS) $(SHARED_LIBRARY_FLAGS), \
|
||||||
LIBS := $(HSDIS_LIBS) $(HSDIS_TOOLCHAIN_LIBS), \
|
LIBS := $(HSDIS_LIBS) $(HSDIS_TOOLCHAIN_LIBS), \
|
||||||
))
|
))
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2018, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -193,6 +193,14 @@ define SetupJdkLibraryBody
|
|||||||
$1_EXTRA_HEADER_FLAGS := $$(addprefix -I, $$($1_PROCESSED_EXTRA_HEADER_DIRS))
|
$1_EXTRA_HEADER_FLAGS := $$(addprefix -I, $$($1_PROCESSED_EXTRA_HEADER_DIRS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifneq ($$($1_DEFAULT_CFLAGS), false)
|
||||||
|
# Set the default flags first to be able to override
|
||||||
|
$1_CFLAGS := $$(filter-out $$($1_CFLAGS_FILTER_OUT), $$(CFLAGS_JDKLIB)) $$($1_CFLAGS)
|
||||||
|
|
||||||
|
# Set the default flags first to be able to override
|
||||||
|
$1_CXXFLAGS := $$(filter-out $$($1_CXXFLAGS_FILTER_OUT), $$(CXXFLAGS_JDKLIB)) $$($1_CXXFLAGS)
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq ($$($1_CFLAGS), )
|
ifneq ($$($1_CFLAGS), )
|
||||||
$1_CFLAGS += $$($1_SRC_HEADER_FLAGS) $$($1_EXTRA_HEADER_FLAGS)
|
$1_CFLAGS += $$($1_SRC_HEADER_FLAGS) $$($1_EXTRA_HEADER_FLAGS)
|
||||||
endif
|
endif
|
||||||
@ -253,6 +261,14 @@ define SetupJdkExecutableBody
|
|||||||
-I$(TOPDIR)/src/java.base/windows/native/common \
|
-I$(TOPDIR)/src/java.base/windows/native/common \
|
||||||
$$($1_EXTRA_RCFLAGS)
|
$$($1_EXTRA_RCFLAGS)
|
||||||
|
|
||||||
|
ifneq ($$($1_DEFAULT_CFLAGS), false)
|
||||||
|
# Set the default flags first to be able to override
|
||||||
|
$1_CFLAGS := $$(filter-out $$($1_CFLAGS_FILTER_OUT), $$(CFLAGS_JDKEXE)) $$($1_CFLAGS)
|
||||||
|
|
||||||
|
# Set the default flags first to be able to override
|
||||||
|
$1_CXXFLAGS := $$(filter-out $$($1_CXXFLAGS_FILTER_OUT), $$(CXXFLAGS_JDKEXE)) $$($1_CXXFLAGS)
|
||||||
|
endif
|
||||||
|
|
||||||
# Since we reuse the rule name ($1), all our arguments will pass through.
|
# Since we reuse the rule name ($1), all our arguments will pass through.
|
||||||
# We lose in transparency, but gain in brevity in this call...
|
# We lose in transparency, but gain in brevity in this call...
|
||||||
$$(eval $$(call SetupNativeCompilation, $1))
|
$$(eval $$(call SetupNativeCompilation, $1))
|
||||||
|
@ -142,8 +142,7 @@ define SetupBuildLauncherBody
|
|||||||
NAME := $1, \
|
NAME := $1, \
|
||||||
EXTRA_FILES := $$($1_EXTRA_FILES), \
|
EXTRA_FILES := $$($1_EXTRA_FILES), \
|
||||||
OPTIMIZATION := $$($1_OPTIMIZATION), \
|
OPTIMIZATION := $$($1_OPTIMIZATION), \
|
||||||
CFLAGS := $$(CFLAGS_JDKEXE) \
|
CFLAGS := $$(LAUNCHER_CFLAGS) \
|
||||||
$$(LAUNCHER_CFLAGS) \
|
|
||||||
$$(VERSION_CFLAGS) \
|
$$(VERSION_CFLAGS) \
|
||||||
-DLAUNCHER_NAME='"$$(LAUNCHER_NAME)"' \
|
-DLAUNCHER_NAME='"$$(LAUNCHER_NAME)"' \
|
||||||
-DPROGNAME='"$1"' \
|
-DPROGNAME='"$1"' \
|
||||||
|
@ -59,6 +59,7 @@ $(eval $(call SetupJdkLibrary, BUILD_GTEST_LIBGTEST, \
|
|||||||
INCLUDE_FILES := gtest-all.cc gmock-all.cc, \
|
INCLUDE_FILES := gtest-all.cc gmock-all.cc, \
|
||||||
DISABLED_WARNINGS_gcc := undef unused-result format-nonliteral maybe-uninitialized, \
|
DISABLED_WARNINGS_gcc := undef unused-result format-nonliteral maybe-uninitialized, \
|
||||||
DISABLED_WARNINGS_clang := undef unused-result format-nonliteral, \
|
DISABLED_WARNINGS_clang := undef unused-result format-nonliteral, \
|
||||||
|
DEFAULT_CFLAGS := false, \
|
||||||
CFLAGS := $(JVM_CFLAGS) \
|
CFLAGS := $(JVM_CFLAGS) \
|
||||||
-I$(GTEST_FRAMEWORK_SRC)/googletest \
|
-I$(GTEST_FRAMEWORK_SRC)/googletest \
|
||||||
-I$(GTEST_FRAMEWORK_SRC)/googletest/include \
|
-I$(GTEST_FRAMEWORK_SRC)/googletest/include \
|
||||||
@ -88,6 +89,7 @@ $(eval $(call SetupJdkLibrary, BUILD_GTEST_LIBJVM, \
|
|||||||
EXCLUDE_PATTERNS := $(JVM_EXCLUDE_PATTERNS), \
|
EXCLUDE_PATTERNS := $(JVM_EXCLUDE_PATTERNS), \
|
||||||
EXTRA_OBJECT_FILES := $(filter-out %/operator_new$(OBJ_SUFFIX), \
|
EXTRA_OBJECT_FILES := $(filter-out %/operator_new$(OBJ_SUFFIX), \
|
||||||
$(BUILD_LIBJVM_ALL_OBJS)), \
|
$(BUILD_LIBJVM_ALL_OBJS)), \
|
||||||
|
DEFAULT_CFLAGS := false, \
|
||||||
CFLAGS := $(JVM_CFLAGS) \
|
CFLAGS := $(JVM_CFLAGS) \
|
||||||
-I$(GTEST_FRAMEWORK_SRC)/googletest/include \
|
-I$(GTEST_FRAMEWORK_SRC)/googletest/include \
|
||||||
-I$(GTEST_FRAMEWORK_SRC)/googlemock/include \
|
-I$(GTEST_FRAMEWORK_SRC)/googlemock/include \
|
||||||
@ -134,6 +136,7 @@ $(eval $(call SetupJdkExecutable, BUILD_GTEST_LAUNCHER, \
|
|||||||
OUTPUT_DIR := $(JVM_OUTPUTDIR)/gtest, \
|
OUTPUT_DIR := $(JVM_OUTPUTDIR)/gtest, \
|
||||||
EXTRA_FILES := $(GTEST_LAUNCHER_SRC), \
|
EXTRA_FILES := $(GTEST_LAUNCHER_SRC), \
|
||||||
OBJECT_DIR := $(JVM_OUTPUTDIR)/gtest/launcher-objs, \
|
OBJECT_DIR := $(JVM_OUTPUTDIR)/gtest/launcher-objs, \
|
||||||
|
DEFAULT_CFLAGS := false, \
|
||||||
CFLAGS := $(JVM_CFLAGS) \
|
CFLAGS := $(JVM_CFLAGS) \
|
||||||
-I$(GTEST_FRAMEWORK_SRC)/googletest \
|
-I$(GTEST_FRAMEWORK_SRC)/googletest \
|
||||||
-I$(GTEST_FRAMEWORK_SRC)/googletest/include \
|
-I$(GTEST_FRAMEWORK_SRC)/googletest/include \
|
||||||
|
@ -169,6 +169,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJVM, \
|
|||||||
EXCLUDES := $(JVM_EXCLUDES), \
|
EXCLUDES := $(JVM_EXCLUDES), \
|
||||||
EXCLUDE_FILES := $(JVM_EXCLUDE_FILES), \
|
EXCLUDE_FILES := $(JVM_EXCLUDE_FILES), \
|
||||||
EXCLUDE_PATTERNS := $(JVM_EXCLUDE_PATTERNS), \
|
EXCLUDE_PATTERNS := $(JVM_EXCLUDE_PATTERNS), \
|
||||||
|
DEFAULT_CFLAGS := false, \
|
||||||
CFLAGS := $(JVM_CFLAGS), \
|
CFLAGS := $(JVM_CFLAGS), \
|
||||||
abstract_vm_version.cpp_CXXFLAGS := $(CFLAGS_VM_VERSION), \
|
abstract_vm_version.cpp_CXXFLAGS := $(CFLAGS_VM_VERSION), \
|
||||||
arguments.cpp_CXXFLAGS := $(CFLAGS_VM_VERSION), \
|
arguments.cpp_CXXFLAGS := $(CFLAGS_VM_VERSION), \
|
||||||
|
@ -61,8 +61,7 @@ ifeq ($(call isTargetOs, linux), true)
|
|||||||
SRC := $(TOPDIR)/src/$(MODULE)/unix/native/launcher, \
|
SRC := $(TOPDIR)/src/$(MODULE)/unix/native/launcher, \
|
||||||
INCLUDE_FILES := jexec.c, \
|
INCLUDE_FILES := jexec.c, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKEXE) \
|
CFLAGS := -I$(TOPDIR)/src/$(MODULE)/share/native/libjli, \
|
||||||
-I$(TOPDIR)/src/$(MODULE)/share/native/libjli, \
|
|
||||||
CFLAGS_linux := -fPIC, \
|
CFLAGS_linux := -fPIC, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKEXE), \
|
LDFLAGS := $(LDFLAGS_JDKEXE), \
|
||||||
OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/modules_libs/$(MODULE), \
|
OUTPUT_DIR := $(SUPPORT_OUTPUTDIR)/modules_libs/$(MODULE), \
|
||||||
@ -78,7 +77,7 @@ ifeq ($(call isTargetOsType, unix), true)
|
|||||||
NAME := jspawnhelper, \
|
NAME := jspawnhelper, \
|
||||||
SRC := $(TOPDIR)/src/$(MODULE)/unix/native/jspawnhelper, \
|
SRC := $(TOPDIR)/src/$(MODULE)/unix/native/jspawnhelper, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKEXE) $(VERSION_CFLAGS) \
|
CFLAGS := $(VERSION_CFLAGS) \
|
||||||
-I$(TOPDIR)/src/$(MODULE)/unix/native/libjava, \
|
-I$(TOPDIR)/src/$(MODULE)/unix/native/libjava, \
|
||||||
EXTRA_OBJECT_FILES := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjava/childproc$(OBJ_SUFFIX), \
|
EXTRA_OBJECT_FILES := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libjava/childproc$(OBJ_SUFFIX), \
|
||||||
LDFLAGS := $(LDFLAGS_JDKEXE), \
|
LDFLAGS := $(LDFLAGS_JDKEXE), \
|
||||||
|
@ -42,7 +42,6 @@ include lib/CoreLibraries.gmk
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBNET, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBNET, \
|
||||||
NAME := net, \
|
NAME := net, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
DISABLED_WARNINGS_gcc_net_util_md.c := format-nonliteral, \
|
DISABLED_WARNINGS_gcc_net_util_md.c := format-nonliteral, \
|
||||||
DISABLED_WARNINGS_gcc_NetworkInterface.c := unused-function, \
|
DISABLED_WARNINGS_gcc_NetworkInterface.c := unused-function, \
|
||||||
DISABLED_WARNINGS_clang_net_util_md.c := format-nonliteral, \
|
DISABLED_WARNINGS_clang_net_util_md.c := format-nonliteral, \
|
||||||
@ -72,7 +71,6 @@ TARGETS += $(BUILD_LIBNET)
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBNIO, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBNIO, \
|
||||||
NAME := nio, \
|
NAME := nio, \
|
||||||
OPTIMIZATION := HIGH, \
|
OPTIMIZATION := HIGH, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
EXTRA_HEADER_DIRS := \
|
EXTRA_HEADER_DIRS := \
|
||||||
libnio/ch \
|
libnio/ch \
|
||||||
libnio/fs \
|
libnio/fs \
|
||||||
@ -101,7 +99,6 @@ ifeq ($(call isTargetOs, macosx), true)
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBOSXSECURITY, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBOSXSECURITY, \
|
||||||
NAME := osxsecurity, \
|
NAME := osxsecurity, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
DISABLED_WARNINGS_clang_KeystoreImpl.m := deprecated-declarations, \
|
DISABLED_WARNINGS_clang_KeystoreImpl.m := deprecated-declarations, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
-L$(SUPPORT_OUTPUTDIR)/modules_libs/java.base \
|
-L$(SUPPORT_OUTPUTDIR)/modules_libs/java.base \
|
||||||
@ -125,11 +122,10 @@ endif
|
|||||||
|
|
||||||
ifeq ($(call isTargetOsType, unix), true)
|
ifeq ($(call isTargetOsType, unix), true)
|
||||||
ifeq ($(STATIC_BUILD), false)
|
ifeq ($(STATIC_BUILD), false)
|
||||||
LIBJSIG_CFLAGS += -DHOTSPOT_VM_DISTRO='"$(HOTSPOT_VM_DISTRO)"'
|
|
||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBJSIG, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBJSIG, \
|
||||||
NAME := jsig, \
|
NAME := jsig, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) $(LIBJSIG_CFLAGS), \
|
jsig.c_CFLAGS := -DHOTSPOT_VM_DISTRO='"$(HOTSPOT_VM_DISTRO)"', \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS_linux := $(LIBDL), \
|
LIBS_linux := $(LIBDL), \
|
||||||
@ -208,8 +204,6 @@ endif
|
|||||||
|
|
||||||
$(eval $(call SetupJdkLibrary, BUILD_SYSLOOKUPLIB, \
|
$(eval $(call SetupJdkLibrary, BUILD_SYSLOOKUPLIB, \
|
||||||
NAME := syslookup, \
|
NAME := syslookup, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB), \
|
LDFLAGS := $(LDFLAGS_JDKLIB), \
|
||||||
LDFLAGS_linux := -Wl$(COMMA)--no-as-needed, \
|
LDFLAGS_linux := -Wl$(COMMA)--no-as-needed, \
|
||||||
LDFLAGS_aix := -brtl -bexpfull, \
|
LDFLAGS_aix := -brtl -bexpfull, \
|
||||||
@ -225,7 +219,7 @@ TARGETS += $(BUILD_SYSLOOKUPLIB)
|
|||||||
ifeq ($(ENABLE_FALLBACK_LINKER), true)
|
ifeq ($(ENABLE_FALLBACK_LINKER), true)
|
||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBFALLBACKLINKER, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBFALLBACKLINKER, \
|
||||||
NAME := fallbackLinker, \
|
NAME := fallbackLinker, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) $(LIBFFI_CFLAGS), \
|
CFLAGS := $(LIBFFI_CFLAGS), \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS := $(LIBFFI_LIBS), \
|
LIBS := $(LIBFFI_LIBS), \
|
||||||
@ -242,8 +236,7 @@ ifeq ($(call isTargetOs, linux)+$(call isTargetCpu, x86_64)+$(INCLUDE_COMPILER2)
|
|||||||
NAME := simdsort, \
|
NAME := simdsort, \
|
||||||
LINK_TYPE := C++, \
|
LINK_TYPE := C++, \
|
||||||
OPTIMIZATION := HIGH, \
|
OPTIMIZATION := HIGH, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
CXXFLAGS := -std=c++17, \
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB) -std=c++17, \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS_linux := -lm -ldl, \
|
LIBS_linux := -lm -ldl, \
|
||||||
|
@ -35,7 +35,6 @@ endif
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBVERIFY, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBVERIFY, \
|
||||||
NAME := verify, \
|
NAME := verify, \
|
||||||
OPTIMIZATION := $(LIBVERIFY_OPTIMIZATION), \
|
OPTIMIZATION := $(LIBVERIFY_OPTIMIZATION), \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS_unix := -ljvm, \
|
LIBS_unix := -ljvm, \
|
||||||
@ -46,8 +45,6 @@ TARGETS += $(BUILD_LIBVERIFY)
|
|||||||
|
|
||||||
##########################################################################################
|
##########################################################################################
|
||||||
|
|
||||||
LIBJAVA_CFLAGS := -DARCHPROPNAME='"$(OPENJDK_TARGET_CPU_OSARCH)"'
|
|
||||||
|
|
||||||
ifeq ($(call isTargetOs, macosx), true)
|
ifeq ($(call isTargetOs, macosx), true)
|
||||||
BUILD_LIBJAVA_java_props_md.c_CFLAGS := -x objective-c
|
BUILD_LIBJAVA_java_props_md.c_CFLAGS := -x objective-c
|
||||||
BUILD_LIBJAVA_java_props_macosx.c_CFLAGS := -x objective-c
|
BUILD_LIBJAVA_java_props_macosx.c_CFLAGS := -x objective-c
|
||||||
@ -56,10 +53,9 @@ endif
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBJAVA, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBJAVA, \
|
||||||
NAME := java, \
|
NAME := java, \
|
||||||
OPTIMIZATION := HIGH, \
|
OPTIMIZATION := HIGH, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) \
|
|
||||||
$(LIBJAVA_CFLAGS), \
|
|
||||||
jdk_util.c_CFLAGS := $(VERSION_CFLAGS), \
|
jdk_util.c_CFLAGS := $(VERSION_CFLAGS), \
|
||||||
ProcessImpl_md.c_CFLAGS := $(VERSION_CFLAGS), \
|
ProcessImpl_md.c_CFLAGS := $(VERSION_CFLAGS), \
|
||||||
|
java_props_md.c_CFLAGS := -DARCHPROPNAME='"$(OPENJDK_TARGET_CPU_OSARCH)"', \
|
||||||
DISABLED_WARNINGS_gcc_ProcessImpl_md.c := unused-result, \
|
DISABLED_WARNINGS_gcc_ProcessImpl_md.c := unused-result, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
@ -95,8 +91,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBZIP, \
|
|||||||
NAME := zip, \
|
NAME := zip, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
EXCLUDES := $(LIBZIP_EXCLUDES), \
|
EXCLUDES := $(LIBZIP_EXCLUDES), \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) \
|
CFLAGS := $(LIBZ_CFLAGS), \
|
||||||
$(LIBZ_CFLAGS), \
|
|
||||||
CFLAGS_unix := $(BUILD_LIBZIP_MMAP) -UDEBUG, \
|
CFLAGS_unix := $(BUILD_LIBZIP_MMAP) -UDEBUG, \
|
||||||
DISABLED_WARNINGS_gcc_zip_util.c := unused-function, \
|
DISABLED_WARNINGS_gcc_zip_util.c := unused-function, \
|
||||||
DISABLED_WARNINGS_clang := deprecated-non-prototype, \
|
DISABLED_WARNINGS_clang := deprecated-non-prototype, \
|
||||||
@ -117,8 +112,6 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJIMAGE, \
|
|||||||
NAME := jimage, \
|
NAME := jimage, \
|
||||||
LINK_TYPE := C++, \
|
LINK_TYPE := C++, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB), \
|
|
||||||
CFLAGS_unix := -UDEBUG, \
|
CFLAGS_unix := -UDEBUG, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
@ -173,7 +166,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJLI, \
|
|||||||
EXCLUDE_FILES := $(LIBJLI_EXCLUDE_FILES), \
|
EXCLUDE_FILES := $(LIBJLI_EXCLUDE_FILES), \
|
||||||
EXTRA_FILES := $(LIBJLI_EXTRA_FILES), \
|
EXTRA_FILES := $(LIBJLI_EXTRA_FILES), \
|
||||||
OPTIMIZATION := HIGH, \
|
OPTIMIZATION := HIGH, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) $(LIBJLI_CFLAGS), \
|
CFLAGS := $(LIBJLI_CFLAGS), \
|
||||||
DISABLED_WARNINGS_gcc := unused-function, \
|
DISABLED_WARNINGS_gcc := unused-function, \
|
||||||
DISABLED_WARNINGS_clang := format-nonliteral deprecated-non-prototype, \
|
DISABLED_WARNINGS_clang := format-nonliteral deprecated-non-prototype, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
|
@ -60,9 +60,8 @@ ifeq ($(call isTargetOs, aix), false)
|
|||||||
NAME := jsound, \
|
NAME := jsound, \
|
||||||
LINK_TYPE := $(LIBJSOUND_LINK_TYPE), \
|
LINK_TYPE := $(LIBJSOUND_LINK_TYPE), \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) \
|
CFLAGS := $(LIBJSOUND_CFLAGS), \
|
||||||
$(LIBJSOUND_CFLAGS), \
|
CXXFLAGS := $(LIBJSOUND_CFLAGS), \
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBJSOUND_CFLAGS), \
|
|
||||||
DISABLED_WARNINGS_gcc := undef, \
|
DISABLED_WARNINGS_gcc := undef, \
|
||||||
DISABLED_WARNINGS_clang := undef, \
|
DISABLED_WARNINGS_clang := undef, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
@ -89,7 +88,6 @@ ifeq ($(call isTargetOs, macosx), true)
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBOSXAPP, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBOSXAPP, \
|
||||||
NAME := osxapp, \
|
NAME := osxapp, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
DISABLED_WARNINGS_clang_NSApplicationAWT.m := deprecated-declarations format-nonliteral, \
|
DISABLED_WARNINGS_clang_NSApplicationAWT.m := deprecated-declarations format-nonliteral, \
|
||||||
DISABLED_WARNINGS_clang_QueuingApplicationDelegate.m := objc-method-access, \
|
DISABLED_WARNINGS_clang_QueuingApplicationDelegate.m := objc-method-access, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
@ -118,7 +116,6 @@ ifeq ($(call isTargetOs, macosx), true)
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBOSX, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBOSX, \
|
||||||
NAME := osx, \
|
NAME := osx, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
EXTRA_HEADER_DIRS := libosxapp, \
|
EXTRA_HEADER_DIRS := libosxapp, \
|
||||||
DISABLED_WARNINGS_clang_CFileManager.m := deprecated-declarations, \
|
DISABLED_WARNINGS_clang_CFileManager.m := deprecated-declarations, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
|
@ -48,8 +48,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBMLIB_IMAGE, \
|
|||||||
EXCLUDE_FILES := mlib_c_ImageBlendTable.c, \
|
EXCLUDE_FILES := mlib_c_ImageBlendTable.c, \
|
||||||
EXCLUDE_SRC_PATTERNS := $(BUILD_LIBMLIB_EXCLUDE_SRC_PATTERNS), \
|
EXCLUDE_SRC_PATTERNS := $(BUILD_LIBMLIB_EXCLUDE_SRC_PATTERNS), \
|
||||||
OPTIMIZATION := HIGHEST, \
|
OPTIMIZATION := HIGHEST, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) \
|
CFLAGS := $(BUILD_LIBMLIB_CFLAGS), \
|
||||||
$(BUILD_LIBMLIB_CFLAGS), \
|
|
||||||
DISABLED_WARNINGS_gcc := unused-function, \
|
DISABLED_WARNINGS_gcc := unused-function, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
@ -131,8 +130,8 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBAWT, \
|
|||||||
EXCLUDES := $(LIBAWT_EXCLUDES), \
|
EXCLUDES := $(LIBAWT_EXCLUDES), \
|
||||||
EXCLUDE_FILES := $(LIBAWT_EXFILES), \
|
EXCLUDE_FILES := $(LIBAWT_EXFILES), \
|
||||||
OPTIMIZATION := HIGHEST, \
|
OPTIMIZATION := HIGHEST, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) $(LIBAWT_CFLAGS), \
|
CFLAGS := $(LIBAWT_CFLAGS), \
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBAWT_CFLAGS), \
|
CXXFLAGS := $(LIBAWT_CFLAGS), \
|
||||||
EXTRA_HEADER_DIRS := $(LIBAWT_EXTRA_HEADER_DIRS), \
|
EXTRA_HEADER_DIRS := $(LIBAWT_EXTRA_HEADER_DIRS), \
|
||||||
DISABLED_WARNINGS_gcc_awt_LoadLibrary.c := unused-result, \
|
DISABLED_WARNINGS_gcc_awt_LoadLibrary.c := unused-result, \
|
||||||
DISABLED_WARNINGS_gcc_debug_mem.c := format-nonliteral, \
|
DISABLED_WARNINGS_gcc_debug_mem.c := format-nonliteral, \
|
||||||
@ -236,8 +235,7 @@ ifeq ($(call isTargetOs, windows macosx), false)
|
|||||||
EXTRA_HEADER_DIRS := $(LIBAWT_XAWT_EXTRA_HEADER_DIRS), \
|
EXTRA_HEADER_DIRS := $(LIBAWT_XAWT_EXTRA_HEADER_DIRS), \
|
||||||
EXCLUDES := $(LIBAWT_XAWT_EXCLUDES), \
|
EXCLUDES := $(LIBAWT_XAWT_EXCLUDES), \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) $(LIBAWT_XAWT_CFLAGS) \
|
CFLAGS := $(LIBAWT_XAWT_CFLAGS) $(X_CFLAGS), \
|
||||||
$(X_CFLAGS), \
|
|
||||||
DISABLED_WARNINGS_gcc := int-to-pointer-cast, \
|
DISABLED_WARNINGS_gcc := int-to-pointer-cast, \
|
||||||
DISABLED_WARNINGS_gcc_awt_Taskbar.c := parentheses, \
|
DISABLED_WARNINGS_gcc_awt_Taskbar.c := parentheses, \
|
||||||
DISABLED_WARNINGS_gcc_GLXSurfaceData.c := unused-function, \
|
DISABLED_WARNINGS_gcc_GLXSurfaceData.c := unused-function, \
|
||||||
@ -311,8 +309,7 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBLCMS, \
|
|||||||
NAME := lcms, \
|
NAME := lcms, \
|
||||||
INCLUDE_FILES := $(BUILD_LIBLCMS_INCLUDE_FILES), \
|
INCLUDE_FILES := $(BUILD_LIBLCMS_INCLUDE_FILES), \
|
||||||
OPTIMIZATION := HIGHEST, \
|
OPTIMIZATION := HIGHEST, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) \
|
CFLAGS := $(LCMS_CFLAGS), \
|
||||||
$(LCMS_CFLAGS), \
|
|
||||||
CFLAGS_windows := -DCMS_IS_WINDOWS_, \
|
CFLAGS_windows := -DCMS_IS_WINDOWS_, \
|
||||||
EXTRA_HEADER_DIRS := \
|
EXTRA_HEADER_DIRS := \
|
||||||
common/awt/debug \
|
common/awt/debug \
|
||||||
@ -358,7 +355,6 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBJAVAJPEG, \
|
|||||||
NAME := javajpeg, \
|
NAME := javajpeg, \
|
||||||
INCLUDE_FILES := $(BUILD_LIBJAVAJPEG_INCLUDE_FILES), \
|
INCLUDE_FILES := $(BUILD_LIBJAVAJPEG_INCLUDE_FILES), \
|
||||||
OPTIMIZATION := HIGHEST, \
|
OPTIMIZATION := HIGHEST, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
HEADERS_FROM_SRC := $(LIBJPEG_HEADERS_FROM_SRC), \
|
HEADERS_FROM_SRC := $(LIBJPEG_HEADERS_FROM_SRC), \
|
||||||
DISABLED_WARNINGS_gcc_imageioJPEG.c := clobbered array-bounds, \
|
DISABLED_WARNINGS_gcc_imageioJPEG.c := clobbered array-bounds, \
|
||||||
DISABLED_WARNINGS_gcc_jcmaster.c := implicit-fallthrough, \
|
DISABLED_WARNINGS_gcc_jcmaster.c := implicit-fallthrough, \
|
||||||
@ -409,8 +405,7 @@ ifeq ($(call isTargetOs, windows macosx), false)
|
|||||||
EXTRA_SRC := $(LIBAWT_HEADLESS_EXTRA_SRC), \
|
EXTRA_SRC := $(LIBAWT_HEADLESS_EXTRA_SRC), \
|
||||||
EXCLUDES := $(LIBAWT_HEADLESS_EXCLUDES), \
|
EXCLUDES := $(LIBAWT_HEADLESS_EXCLUDES), \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) \
|
CFLAGS := $(LIBAWT_HEADLESS_CFLAGS), \
|
||||||
$(LIBAWT_HEADLESS_CFLAGS), \
|
|
||||||
EXTRA_HEADER_DIRS := $(LIBAWT_HEADLESS_EXTRA_HEADER_DIRS), \
|
EXTRA_HEADER_DIRS := $(LIBAWT_HEADLESS_EXTRA_HEADER_DIRS), \
|
||||||
DISABLED_WARNINGS_gcc_X11Renderer.c := unused-function, \
|
DISABLED_WARNINGS_gcc_X11Renderer.c := unused-function, \
|
||||||
DISABLED_WARNINGS_gcc_X11SurfaceData.c := unused-function, \
|
DISABLED_WARNINGS_gcc_X11SurfaceData.c := unused-function, \
|
||||||
@ -451,8 +446,7 @@ else
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBFREETYPE, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBFREETYPE, \
|
||||||
NAME := freetype, \
|
NAME := freetype, \
|
||||||
OPTIMIZATION := HIGHEST, \
|
OPTIMIZATION := HIGHEST, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) \
|
CFLAGS := $(BUILD_LIBFREETYPE_CFLAGS), \
|
||||||
$(BUILD_LIBFREETYPE_CFLAGS), \
|
|
||||||
EXTRA_HEADER_DIRS := $(BUILD_LIBFREETYPE_HEADER_DIRS), \
|
EXTRA_HEADER_DIRS := $(BUILD_LIBFREETYPE_HEADER_DIRS), \
|
||||||
DISABLED_WARNINGS_microsoft := 4267 4244 4996, \
|
DISABLED_WARNINGS_microsoft := 4267 4244 4996, \
|
||||||
DISABLED_WARNINGS_gcc := dangling-pointer stringop-overflow, \
|
DISABLED_WARNINGS_gcc := dangling-pointer stringop-overflow, \
|
||||||
@ -556,8 +550,8 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBFONTMANAGER, \
|
|||||||
LINK_TYPE := C++, \
|
LINK_TYPE := C++, \
|
||||||
EXCLUDE_FILES := $(LIBFONTMANAGER_EXCLUDE_FILES) \
|
EXCLUDE_FILES := $(LIBFONTMANAGER_EXCLUDE_FILES) \
|
||||||
AccelGlyphCache.c, \
|
AccelGlyphCache.c, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) $(LIBFONTMANAGER_CFLAGS), \
|
CFLAGS := $(LIBFONTMANAGER_CFLAGS), \
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBFONTMANAGER_CFLAGS), \
|
CXXFLAGS := $(LIBFONTMANAGER_CFLAGS), \
|
||||||
OPTIMIZATION := $(LIBFONTMANAGER_OPTIMIZATION), \
|
OPTIMIZATION := $(LIBFONTMANAGER_OPTIMIZATION), \
|
||||||
CFLAGS_windows = -DCC_NOEX, \
|
CFLAGS_windows = -DCC_NOEX, \
|
||||||
EXTRA_HEADER_DIRS := $(LIBFONTMANAGER_EXTRA_HEADER_DIRS), \
|
EXTRA_HEADER_DIRS := $(LIBFONTMANAGER_EXTRA_HEADER_DIRS), \
|
||||||
@ -614,10 +608,8 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBJAWT, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBJAWT, \
|
||||||
NAME := jawt, \
|
NAME := jawt, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) \
|
CFLAGS := $(LIBJAWT_CFLAGS), \
|
||||||
$(LIBJAWT_CFLAGS), \
|
CXXFLAGS := $(LIBJAWT_CFLAGS), \
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB) \
|
|
||||||
$(LIBJAWT_CFLAGS), \
|
|
||||||
EXTRA_HEADER_DIRS := $(LIBJAWT_EXTRA_HEADER_DIRS), \
|
EXTRA_HEADER_DIRS := $(LIBJAWT_EXTRA_HEADER_DIRS), \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \
|
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \
|
||||||
LIBS := $(JDKLIB_LIBS) $(KERNEL32_LIB) advapi32.lib $(WIN_AWT_LIB), \
|
LIBS := $(JDKLIB_LIBS) $(KERNEL32_LIB) advapi32.lib $(WIN_AWT_LIB), \
|
||||||
@ -660,8 +652,7 @@ else # not windows
|
|||||||
EXCLUDE_SRC_PATTERNS := $(LIBJAWT_EXCLUDE_SRC_PATTERNS), \
|
EXCLUDE_SRC_PATTERNS := $(LIBJAWT_EXCLUDE_SRC_PATTERNS), \
|
||||||
INCLUDE_FILES := $(JAWT_FILES), \
|
INCLUDE_FILES := $(JAWT_FILES), \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) \
|
CFLAGS := $(JAWT_CFLAGS), \
|
||||||
$(JAWT_CFLAGS), \
|
|
||||||
DISABLED_WARNINGS_clang_jawt.m := sign-compare, \
|
DISABLED_WARNINGS_clang_jawt.m := sign-compare, \
|
||||||
EXTRA_HEADER_DIRS := \
|
EXTRA_HEADER_DIRS := \
|
||||||
include \
|
include \
|
||||||
@ -797,9 +788,9 @@ ifeq ($(ENABLE_HEADLESS_ONLY), false)
|
|||||||
EXCLUDE_FILES := imageioJPEG.c jpegdecoder.c pngtest.c, \
|
EXCLUDE_FILES := imageioJPEG.c jpegdecoder.c pngtest.c, \
|
||||||
EXCLUDES := $(LIBSPLASHSCREEN_EXCLUDES), \
|
EXCLUDES := $(LIBSPLASHSCREEN_EXCLUDES), \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) $(LIBSPLASHSCREEN_CFLAGS) \
|
CFLAGS := $(LIBSPLASHSCREEN_CFLAGS) \
|
||||||
$(GIFLIB_CFLAGS) $(LIBJPEG_CFLAGS) $(PNG_CFLAGS) $(LIBZ_CFLAGS), \
|
$(GIFLIB_CFLAGS) $(LIBJPEG_CFLAGS) $(PNG_CFLAGS) $(LIBZ_CFLAGS), \
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB) $(LIBSPLASHSCREEN_CFLAGS) \
|
CXXFLAGS := $(LIBSPLASHSCREEN_CFLAGS) \
|
||||||
$(GIFLIB_CFLAGS) $(LIBJPEG_CFLAGS) $(PNG_CFLAGS) $(LIBZ_CFLAGS), \
|
$(GIFLIB_CFLAGS) $(LIBJPEG_CFLAGS) $(PNG_CFLAGS) $(LIBZ_CFLAGS), \
|
||||||
EXTRA_HEADER_DIRS := $(LIBSPLASHSCREEN_HEADER_DIRS), \
|
EXTRA_HEADER_DIRS := $(LIBSPLASHSCREEN_HEADER_DIRS), \
|
||||||
DISABLED_WARNINGS_gcc_dgif_lib.c := sign-compare, \
|
DISABLED_WARNINGS_gcc_dgif_lib.c := sign-compare, \
|
||||||
@ -871,8 +862,7 @@ ifeq ($(call isTargetOs, macosx), true)
|
|||||||
EXCLUDE_FILES := $(LIBAWT_LWAWT_EXFILES), \
|
EXCLUDE_FILES := $(LIBAWT_LWAWT_EXFILES), \
|
||||||
EXCLUDES := $(LIBAWT_LWAWT_EXCLUDES), \
|
EXCLUDES := $(LIBAWT_LWAWT_EXCLUDES), \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) \
|
CFLAGS := $(LIBAWT_LWAWT_CFLAGS), \
|
||||||
$(LIBAWT_LWAWT_CFLAGS), \
|
|
||||||
EXTRA_HEADER_DIRS := $(LIBAWT_LWAWT_EXTRA_HEADER_DIRS), \
|
EXTRA_HEADER_DIRS := $(LIBAWT_LWAWT_EXTRA_HEADER_DIRS), \
|
||||||
DISABLED_WARNINGS_clang := incomplete-implementation deprecated-declarations \
|
DISABLED_WARNINGS_clang := incomplete-implementation deprecated-declarations \
|
||||||
objc-method-access incompatible-pointer-types extra-tokens sign-compare undef, \
|
objc-method-access incompatible-pointer-types extra-tokens sign-compare undef, \
|
||||||
@ -948,7 +938,6 @@ ifeq ($(call isTargetOs, macosx), true)
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBOSXUI, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBOSXUI, \
|
||||||
NAME := osxui, \
|
NAME := osxui, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
EXTRA_HEADER_DIRS := \
|
EXTRA_HEADER_DIRS := \
|
||||||
libawt_lwawt/awt \
|
libawt_lwawt/awt \
|
||||||
libosxapp, \
|
libosxapp, \
|
||||||
|
@ -36,7 +36,7 @@ endif
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBINSTRUMENT, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBINSTRUMENT, \
|
||||||
NAME := instrument, \
|
NAME := instrument, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) $(LIBINSTRUMENT_CFLAGS), \
|
CFLAGS := $(LIBINSTRUMENT_CFLAGS), \
|
||||||
CFLAGS_debug := -DJPLIS_LOGGING, \
|
CFLAGS_debug := -DJPLIS_LOGGING, \
|
||||||
CFLAGS_release := -DNO_JPLIS_LOGGING, \
|
CFLAGS_release := -DNO_JPLIS_LOGGING, \
|
||||||
EXTRA_HEADER_DIRS := java.base:libjli, \
|
EXTRA_HEADER_DIRS := java.base:libjli, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -37,7 +37,6 @@ endif
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBMANAGEMENT, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBMANAGEMENT, \
|
||||||
NAME := management, \
|
NAME := management, \
|
||||||
OPTIMIZATION := $(LIBMANAGEMENT_OPTIMIZATION), \
|
OPTIMIZATION := $(LIBMANAGEMENT_OPTIMIZATION), \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS := $(JDKLIB_LIBS), \
|
LIBS := $(JDKLIB_LIBS), \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -36,7 +36,6 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBPREFS, \
|
|||||||
NAME := prefs, \
|
NAME := prefs, \
|
||||||
EXCLUDE_SRC_PATTERNS := $(LIBPREFS_EXCLUDE_SRC_PATTERNS), \
|
EXCLUDE_SRC_PATTERNS := $(LIBPREFS_EXCLUDE_SRC_PATTERNS), \
|
||||||
OPTIMIZATION := HIGH, \
|
OPTIMIZATION := HIGH, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS_unix := -ljvm, \
|
LIBS_unix := -ljvm, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -30,7 +30,6 @@ include LibCommon.gmk
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBRMI, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBRMI, \
|
||||||
NAME := rmi, \
|
NAME := rmi, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS_unix := -ljvm, \
|
LIBS_unix := -ljvm, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -30,7 +30,6 @@ include LibCommon.gmk
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBJ2GSS, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBJ2GSS, \
|
||||||
NAME := j2gss, \
|
NAME := j2gss, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
DISABLED_WARNINGS_gcc := undef, \
|
DISABLED_WARNINGS_gcc := undef, \
|
||||||
DISABLED_WARNINGS_clang_aix := undef, \
|
DISABLED_WARNINGS_clang_aix := undef, \
|
||||||
DISABLED_WARNINGS_clang := undef, \
|
DISABLED_WARNINGS_clang := undef, \
|
||||||
@ -46,8 +45,6 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
NAME := sspi_bridge, \
|
NAME := sspi_bridge, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
EXTRA_HEADER_DIRS := libj2gss, \
|
EXTRA_HEADER_DIRS := libj2gss, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS := Secur32.lib, \
|
LIBS := Secur32.lib, \
|
||||||
@ -64,7 +61,6 @@ ifneq ($(BUILD_CRYPTO), false)
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBW2K_LSA_AUTH, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBW2K_LSA_AUTH, \
|
||||||
NAME := w2k_lsa_auth, \
|
NAME := w2k_lsa_auth, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS := advapi32.lib Secur32.lib kernel32.lib ws2_32.lib, \
|
LIBS := advapi32.lib Secur32.lib kernel32.lib ws2_32.lib, \
|
||||||
@ -79,7 +75,6 @@ ifneq ($(BUILD_CRYPTO), false)
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBOSXKRB5, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBOSXKRB5, \
|
||||||
NAME := osxkrb5, \
|
NAME := osxkrb5, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
DISABLED_WARNINGS_clang_nativeccache.c := deprecated-declarations, \
|
DISABLED_WARNINGS_clang_nativeccache.c := deprecated-declarations, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -29,7 +29,6 @@ include LibCommon.gmk
|
|||||||
|
|
||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBJ2PCSC, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBJ2PCSC, \
|
||||||
NAME := j2pcsc, \
|
NAME := j2pcsc, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
CFLAGS_unix := -D__sun_jdk, \
|
CFLAGS_unix := -D__sun_jdk, \
|
||||||
EXTRA_HEADER_DIRS := libj2pcsc/MUSCLE, \
|
EXTRA_HEADER_DIRS := libj2pcsc/MUSCLE, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -40,12 +40,12 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
NAME := jabswitch, \
|
NAME := jabswitch, \
|
||||||
SRC := $(ACCESSIBILITY_SRCDIR)/jabswitch, \
|
SRC := $(ACCESSIBILITY_SRCDIR)/jabswitch, \
|
||||||
INCLUDE_FILES := jabswitch.cpp, \
|
INCLUDE_FILES := jabswitch.cpp, \
|
||||||
CFLAGS := $(filter-out -Zc:wchar_t-, $(CFLAGS_JDKEXE)) -Zc:wchar_t \
|
CFLAGS_FILTER_OUT := -Zc:wchar_t-, \
|
||||||
-analyze- -Od -Gd -D_WINDOWS \
|
CXXFLAGS_FILTER_OUT := -Zc:wchar_t-, \
|
||||||
-D_UNICODE -DUNICODE -RTC1 -EHsc, \
|
CFLAGS := -Zc:wchar_t -analyze- -Od -Gd -D_WINDOWS -D_UNICODE \
|
||||||
CXXFLAGS := $(filter-out -Zc:wchar_t-, $(CXXFLAGS_JDKEXE)) -Zc:wchar_t \
|
-DUNICODE -RTC1 -EHsc, \
|
||||||
-analyze- -Od -Gd -D_WINDOWS \
|
CXXFLAGS := -Zc:wchar_t -analyze- -Od -Gd -D_WINDOWS -D_UNICODE \
|
||||||
-D_UNICODE -DUNICODE -RTC1 -EHsc, \
|
-DUNICODE -RTC1 -EHsc, \
|
||||||
DISABLED_WARNINGS_microsoft_jabswitch.cpp := 4267 4996, \
|
DISABLED_WARNINGS_microsoft_jabswitch.cpp := 4267 4996, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKEXE), \
|
LDFLAGS := $(LDFLAGS_JDKEXE), \
|
||||||
LIBS := advapi32.lib version.lib user32.lib, \
|
LIBS := advapi32.lib version.lib user32.lib, \
|
||||||
@ -67,8 +67,8 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
NAME := jaccessinspector$1, \
|
NAME := jaccessinspector$1, \
|
||||||
SRC := $(ACCESSIBILITY_SRCDIR)/jaccessinspector $(ACCESSIBILITY_SRCDIR)/common \
|
SRC := $(ACCESSIBILITY_SRCDIR)/jaccessinspector $(ACCESSIBILITY_SRCDIR)/common \
|
||||||
$(ACCESSIBILITY_SRCDIR)/toolscommon $(ACCESSIBILITY_SRCDIR)/bridge, \
|
$(ACCESSIBILITY_SRCDIR)/toolscommon $(ACCESSIBILITY_SRCDIR)/bridge, \
|
||||||
CFLAGS := $$(CFLAGS_JDKEXE) $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
|
CFLAGS := $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
|
||||||
CXXFLAGS := $$(CXXFLAGS_JDKEXE) $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
|
CXXFLAGS := $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
|
||||||
LDFLAGS := $$(LDFLAGS_JDKEXE) -stack:655360, \
|
LDFLAGS := $$(LDFLAGS_JDKEXE) -stack:655360, \
|
||||||
LIBS := advapi32.lib user32.lib, \
|
LIBS := advapi32.lib user32.lib, \
|
||||||
VERSIONINFO_RESOURCE := $(ACCESSIBILITY_SRCDIR)/jaccessinspector/jaccessinspectorWindow.rc, \
|
VERSIONINFO_RESOURCE := $(ACCESSIBILITY_SRCDIR)/jaccessinspector/jaccessinspectorWindow.rc, \
|
||||||
@ -89,8 +89,8 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
NAME := jaccesswalker$1, \
|
NAME := jaccesswalker$1, \
|
||||||
SRC := $(ACCESSIBILITY_SRCDIR)/jaccesswalker $(ACCESSIBILITY_SRCDIR)/common \
|
SRC := $(ACCESSIBILITY_SRCDIR)/jaccesswalker $(ACCESSIBILITY_SRCDIR)/common \
|
||||||
$(ACCESSIBILITY_SRCDIR)/toolscommon $(ACCESSIBILITY_SRCDIR)/bridge, \
|
$(ACCESSIBILITY_SRCDIR)/toolscommon $(ACCESSIBILITY_SRCDIR)/bridge, \
|
||||||
CFLAGS := $$(CFLAGS_JDKEXE) $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
|
CFLAGS := $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
|
||||||
CXXFLAGS := $$(CXXFLAGS_JDKEXE) $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
|
CXXFLAGS := $(TOOLS_CFLAGS) -DACCESSBRIDGE_ARCH_$2 -EHsc, \
|
||||||
LDFLAGS := $$(LDFLAGS_JDKEXE) -stack:655360, \
|
LDFLAGS := $$(LDFLAGS_JDKEXE) -stack:655360, \
|
||||||
LIBS := advapi32.lib comctl32.lib gdi32.lib user32.lib, \
|
LIBS := advapi32.lib comctl32.lib gdi32.lib user32.lib, \
|
||||||
VERSIONINFO_RESOURCE := $(ACCESSIBILITY_SRCDIR)/jaccesswalker/jaccesswalkerWindow.rc, \
|
VERSIONINFO_RESOURCE := $(ACCESSIBILITY_SRCDIR)/jaccesswalker/jaccesswalkerWindow.rc, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2014, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2014, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -41,10 +41,10 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
EXTRA_SRC := common, \
|
EXTRA_SRC := common, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
DISABLED_WARNINGS_microsoft := 4311 4302 4312, \
|
DISABLED_WARNINGS_microsoft := 4311 4302 4312, \
|
||||||
CFLAGS := $(filter-out -MD, $(CFLAGS_JDKLIB)) -MT \
|
CFLAGS_FILTER_OUT := -MD, \
|
||||||
-DACCESSBRIDGE_ARCH_$2, \
|
CXXFLAGS_FILTER_OUT := -MD, \
|
||||||
CXXFLAGS := $(filter-out -MD, $(CXXFLAGS_JDKLIB)) -MT \
|
CFLAGS := -MT -DACCESSBRIDGE_ARCH_$2, \
|
||||||
-DACCESSBRIDGE_ARCH_$2, \
|
CXXFLAGS := -MT -DACCESSBRIDGE_ARCH_$2, \
|
||||||
EXTRA_HEADER_DIRS := \
|
EXTRA_HEADER_DIRS := \
|
||||||
include/bridge \
|
include/bridge \
|
||||||
java.desktop:include, \
|
java.desktop:include, \
|
||||||
@ -70,10 +70,8 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
EXTRA_SRC := common, \
|
EXTRA_SRC := common, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
DISABLED_WARNINGS_microsoft_WinAccessBridge.cpp := 4302 4311, \
|
DISABLED_WARNINGS_microsoft_WinAccessBridge.cpp := 4302 4311, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) \
|
CFLAGS := -DACCESSBRIDGE_ARCH_$2, \
|
||||||
-DACCESSBRIDGE_ARCH_$2, \
|
CXXFLAGS := -DACCESSBRIDGE_ARCH_$2, \
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB) \
|
|
||||||
-DACCESSBRIDGE_ARCH_$2, \
|
|
||||||
EXTRA_HEADER_DIRS := \
|
EXTRA_HEADER_DIRS := \
|
||||||
include/bridge, \
|
include/bridge, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
@ -93,7 +91,6 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
$(call SetupJdkLibrary, BUILD_ACCESSBRIDGESYSINFO, \
|
$(call SetupJdkLibrary, BUILD_ACCESSBRIDGESYSINFO, \
|
||||||
NAME := jabsysinfo, \
|
NAME := jabsysinfo, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB), \
|
LDFLAGS := $(LDFLAGS_JDKLIB), \
|
||||||
VERSIONINFO_RESOURCE := $(ACCESSIBILITY_SRCDIR)/common/AccessBridgeStatusWindow.rc, \
|
VERSIONINFO_RESOURCE := $(ACCESSIBILITY_SRCDIR)/common/AccessBridgeStatusWindow.rc, \
|
||||||
)
|
)
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2020, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -37,7 +37,7 @@ endif
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBATTACH, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBATTACH, \
|
||||||
NAME := attach, \
|
NAME := attach, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) $(LIBATTACH_CFLAGS), \
|
CFLAGS := $(LIBATTACH_CFLAGS), \
|
||||||
CFLAGS_windows := /Gy, \
|
CFLAGS_windows := /Gy, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -30,7 +30,6 @@ include LibCommon.gmk
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBJ2PKCS11, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBJ2PKCS11, \
|
||||||
NAME := j2pkcs11, \
|
NAME := j2pkcs11, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
DISABLED_WARNINGS_clang_p11_util.c := format-nonliteral, \
|
DISABLED_WARNINGS_clang_p11_util.c := format-nonliteral, \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -32,8 +32,6 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBSUNMSCAPI, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBSUNMSCAPI, \
|
||||||
NAME := sunmscapi, \
|
NAME := sunmscapi, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS := crypt32.lib advapi32.lib ncrypt.lib, \
|
LIBS := crypt32.lib advapi32.lib ncrypt.lib, \
|
||||||
|
@ -62,8 +62,8 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBSA, \
|
|||||||
DISABLED_WARNINGS_clang := sign-compare, \
|
DISABLED_WARNINGS_clang := sign-compare, \
|
||||||
DISABLED_WARNINGS_clang_libproc_impl.c := format-nonliteral, \
|
DISABLED_WARNINGS_clang_libproc_impl.c := format-nonliteral, \
|
||||||
DISABLED_WARNINGS_clang_sadis.c := format-nonliteral, \
|
DISABLED_WARNINGS_clang_sadis.c := format-nonliteral, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) $(SA_CFLAGS), \
|
CFLAGS := $(SA_CFLAGS), \
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB) $(SA_CFLAGS) $(SA_CXXFLAGS), \
|
CXXFLAGS := $(SA_CFLAGS) $(SA_CXXFLAGS), \
|
||||||
EXTRA_SRC := $(LIBSA_EXTRA_SRC), \
|
EXTRA_SRC := $(LIBSA_EXTRA_SRC), \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) $(call SET_SHARED_LIBRARY_ORIGIN), \
|
LDFLAGS := $(LDFLAGS_JDKLIB) $(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS_unix := -ljava, \
|
LIBS_unix := -ljava, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2021, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2021, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -30,7 +30,6 @@ include LibCommon.gmk
|
|||||||
ifeq ($(call isTargetOs, linux windows)+$(call isTargetCpu, x86_64)+$(INCLUDE_COMPILER2), true+true+true)
|
ifeq ($(call isTargetOs, linux windows)+$(call isTargetCpu, x86_64)+$(INCLUDE_COMPILER2), true+true+true)
|
||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBJSVML, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBJSVML, \
|
||||||
NAME := jsvml, \
|
NAME := jsvml, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LDFLAGS_windows := -defaultlib:msvcrt, \
|
LDFLAGS_windows := -defaultlib:msvcrt, \
|
||||||
|
@ -33,7 +33,6 @@ ifeq ($(call isTargetOs, linux macosx windows), true)
|
|||||||
NAME := le, \
|
NAME := le, \
|
||||||
LINK_TYPE := C++, \
|
LINK_TYPE := C++, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CXXFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB), \
|
LDFLAGS := $(LDFLAGS_JDKLIB), \
|
||||||
LIBS_unix := $(JDKLIB_LIBS), \
|
LIBS_unix := $(JDKLIB_LIBS), \
|
||||||
LIBS_windows := $(JDKLIB_LIBS) user32.lib, \
|
LIBS_windows := $(JDKLIB_LIBS) user32.lib, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -32,7 +32,6 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBDT_SHMEM, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBDT_SHMEM, \
|
||||||
NAME := dt_shmem, \
|
NAME := dt_shmem, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
EXTRA_HEADER_DIRS := \
|
EXTRA_HEADER_DIRS := \
|
||||||
jdk.jdwp.agent:include \
|
jdk.jdwp.agent:include \
|
||||||
jdk.jdwp.agent:libjdwp/export, \
|
jdk.jdwp.agent:libjdwp/export, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -31,7 +31,6 @@ $(eval $(call SetupJdkLibrary, BUILD_LIBDT_SOCKET, \
|
|||||||
NAME := dt_socket, \
|
NAME := dt_socket, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
DISABLED_WARNINGS_clang_aix := missing-braces, \
|
DISABLED_WARNINGS_clang_aix := missing-braces, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) $(LIBDT_SOCKET_CPPFLAGS), \
|
|
||||||
EXTRA_HEADER_DIRS := \
|
EXTRA_HEADER_DIRS := \
|
||||||
include \
|
include \
|
||||||
libjdwp/export, \
|
libjdwp/export, \
|
||||||
@ -52,7 +51,7 @@ TARGETS += $(BUILD_LIBDT_SOCKET)
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBJDWP, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBJDWP, \
|
||||||
NAME := jdwp, \
|
NAME := jdwp, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) -DJDWP_LOGGING, \
|
CFLAGS := -DJDWP_LOGGING, \
|
||||||
DISABLED_WARNINGS_gcc_SDE.c := unused-function, \
|
DISABLED_WARNINGS_gcc_SDE.c := unused-function, \
|
||||||
DISABLED_WARNINGS_clang_error_messages.c := format-nonliteral, \
|
DISABLED_WARNINGS_clang_error_messages.c := format-nonliteral, \
|
||||||
DISABLED_WARNINGS_clang_EventRequestImpl.c := self-assign, \
|
DISABLED_WARNINGS_clang_EventRequestImpl.c := self-assign, \
|
||||||
|
@ -41,16 +41,6 @@ else
|
|||||||
JPACKAGE_APPLAUNCHER_LINK_TYPE := C++
|
JPACKAGE_APPLAUNCHER_LINK_TYPE := C++
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
ifeq ($(call isTargetOs, windows), true)
|
|
||||||
JpackageWithStaticCrt = \
|
|
||||||
$(filter-out -MD, $1) -MT
|
|
||||||
else
|
|
||||||
JpackageWithStaticCrt = \
|
|
||||||
$1
|
|
||||||
endif
|
|
||||||
|
|
||||||
|
|
||||||
JPACKAGE_OUTPUT_DIR := $(JDK_OUTPUTDIR)/modules/$(MODULE)/jdk/jpackage/internal/resources
|
JPACKAGE_OUTPUT_DIR := $(JDK_OUTPUTDIR)/modules/$(MODULE)/jdk/jpackage/internal/resources
|
||||||
JPACKAGE_CXXFLAGS_windows := -EHsc -DUNICODE -D_UNICODE
|
JPACKAGE_CXXFLAGS_windows := -EHsc -DUNICODE -D_UNICODE
|
||||||
JPACKAGE_CFLAGS_windows := -DUNICODE -D_UNICODE
|
JPACKAGE_CFLAGS_windows := -DUNICODE -D_UNICODE
|
||||||
@ -67,10 +57,10 @@ $(eval $(call SetupJdkExecutable, BUILD_JPACKAGE_APPLAUNCHEREXE, \
|
|||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
DISABLED_WARNINGS_clang_LinuxPackage.c := format-nonliteral, \
|
DISABLED_WARNINGS_clang_LinuxPackage.c := format-nonliteral, \
|
||||||
DISABLED_WARNINGS_clang_JvmLauncherLib.c := format-nonliteral, \
|
DISABLED_WARNINGS_clang_JvmLauncherLib.c := format-nonliteral, \
|
||||||
CXXFLAGS := $(call JpackageWithStaticCrt, $(CXXFLAGS_JDKEXE)) \
|
CFLAGS_FILTER_OUT := -MD, \
|
||||||
$(JPACKAGE_APPLAUNCHER_INCLUDES), \
|
CXXFLAGS_FILTER_OUT := -MD, \
|
||||||
CFLAGS := $(call JpackageWithStaticCrt, $(CFLAGS_JDKEXE)) \
|
CXXFLAGS := -MT $(JPACKAGE_APPLAUNCHER_INCLUDES), \
|
||||||
$(JPACKAGE_APPLAUNCHER_INCLUDES), \
|
CFLAGS := -MT $(JPACKAGE_APPLAUNCHER_INCLUDES), \
|
||||||
CFLAGS_macosx := -Wno-format-nonliteral, \
|
CFLAGS_macosx := -Wno-format-nonliteral, \
|
||||||
CXXFLAGS_windows := $(JPACKAGE_CXXFLAGS_windows), \
|
CXXFLAGS_windows := $(JPACKAGE_CXXFLAGS_windows), \
|
||||||
CFLAGS_windows := $(JPACKAGE_CFLAGS_windows), \
|
CFLAGS_windows := $(JPACKAGE_CFLAGS_windows), \
|
||||||
@ -107,8 +97,8 @@ ifeq ($(call isTargetOs, linux), true)
|
|||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
DISABLED_WARNINGS_clang_JvmLauncherLib.c := format-nonliteral, \
|
DISABLED_WARNINGS_clang_JvmLauncherLib.c := format-nonliteral, \
|
||||||
DISABLED_WARNINGS_clang_tstrings.cpp := format-nonliteral, \
|
DISABLED_WARNINGS_clang_tstrings.cpp := format-nonliteral, \
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB) $(JPACKAGE_LIBAPPLAUNCHER_INCLUDES), \
|
CXXFLAGS := $(JPACKAGE_LIBAPPLAUNCHER_INCLUDES), \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB) $(JPACKAGE_LIBAPPLAUNCHER_INCLUDES), \
|
CFLAGS := $(JPACKAGE_LIBAPPLAUNCHER_INCLUDES), \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB), \
|
LDFLAGS := $(LDFLAGS_JDKLIB), \
|
||||||
LIBS := -ldl, \
|
LIBS := -ldl, \
|
||||||
))
|
))
|
||||||
@ -126,7 +116,7 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
NAME := jpackage, \
|
NAME := jpackage, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
EXTRA_SRC := jdk.jpackage:common, \
|
EXTRA_SRC := jdk.jpackage:common, \
|
||||||
CXXFLAGS := $(CXXFLAGS_JDKLIB) $(JPACKAGE_CXXFLAGS_windows), \
|
CXXFLAGS_windows := $(JPACKAGE_CXXFLAGS_windows), \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS := advapi32.lib ole32.lib msi.lib user32.lib \
|
LIBS := advapi32.lib ole32.lib msi.lib user32.lib \
|
||||||
@ -147,8 +137,9 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libwixhelper, \
|
SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/libwixhelper, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
SRC := $(JPACKAGE_WIXHELPER_SRC), \
|
SRC := $(JPACKAGE_WIXHELPER_SRC), \
|
||||||
CXXFLAGS := $(call JpackageWithStaticCrt, $(CXXFLAGS_JDKLIB)) \
|
CXXFLAGS_FILTER_OUT := -MD, \
|
||||||
$(addprefix -I, $(JPACKAGE_WIXHELPER_SRC)) $(JPACKAGE_CXXFLAGS_windows), \
|
CXXFLAGS := -MT $(addprefix -I, $(JPACKAGE_WIXHELPER_SRC)), \
|
||||||
|
CXXFLAGS_windows := $(JPACKAGE_CXXFLAGS_windows), \
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \
|
LDFLAGS := $(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK), \
|
||||||
LIBS := ole32.lib msi.lib User32.lib shlwapi.lib \
|
LIBS := ole32.lib msi.lib User32.lib shlwapi.lib \
|
||||||
Shell32.lib, \
|
Shell32.lib, \
|
||||||
@ -166,8 +157,9 @@ ifeq ($(call isTargetOs, windows), true)
|
|||||||
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
|
OUTPUT_DIR := $(JPACKAGE_OUTPUT_DIR), \
|
||||||
SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/msiwrapper, \
|
SYMBOLS_DIR := $(SUPPORT_OUTPUTDIR)/native/$(MODULE)/msiwrapper, \
|
||||||
SRC := $(JPACKAGE_MSIWRAPPER_SRC), \
|
SRC := $(JPACKAGE_MSIWRAPPER_SRC), \
|
||||||
CXXFLAGS := $(call JpackageWithStaticCrt, $(CXXFLAGS_JDKEXE)) \
|
CXXFLAGS_FILTER_OUT := -MD, \
|
||||||
$(addprefix -I, $(JPACKAGE_MSIWRAPPER_SRC)) $(JPACKAGE_CXXFLAGS_windows), \
|
CXXFLAGS := -MT $(addprefix -I, $(JPACKAGE_MSIWRAPPER_SRC)), \
|
||||||
|
CXXFLAGS_windows := $(JPACKAGE_CXXFLAGS_windows), \
|
||||||
LDFLAGS := $(LDFLAGS_JDKEXE), \
|
LDFLAGS := $(LDFLAGS_JDKEXE), \
|
||||||
LIBS := ole32.lib msi.lib user32.lib shlwapi.lib Shell32.lib, \
|
LIBS := ole32.lib msi.lib user32.lib shlwapi.lib Shell32.lib, \
|
||||||
))
|
))
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2017, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -30,7 +30,6 @@ include LibCommon.gmk
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBMANAGEMENT_AGENT, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBMANAGEMENT_AGENT, \
|
||||||
NAME := management_agent, \
|
NAME := management_agent, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS := $(JDKLIB_LIBS), \
|
LIBS := $(JDKLIB_LIBS), \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2016, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -32,7 +32,6 @@ ifeq ($(call isTargetOs, linux macosx windows aix), true)
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBEXTNET, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBEXTNET, \
|
||||||
NAME := extnet, \
|
NAME := extnet, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS_unix := -ljava, \
|
LIBS_unix := -ljava, \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2022, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -33,7 +33,6 @@ ifeq ($(call isTargetOsType, unix), true)
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBSCTP, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBSCTP, \
|
||||||
NAME := sctp, \
|
NAME := sctp, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
EXTRA_HEADER_DIRS := \
|
EXTRA_HEADER_DIRS := \
|
||||||
$(call GetJavaHeaderDir, java.base) \
|
$(call GetJavaHeaderDir, java.base) \
|
||||||
java.base:libnet \
|
java.base:libnet \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# Copyright (c) 2011, 2018, Oracle and/or its affiliates. All rights reserved.
|
# Copyright (c) 2011, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||||
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||||
#
|
#
|
||||||
# This code is free software; you can redistribute it and/or modify it
|
# This code is free software; you can redistribute it and/or modify it
|
||||||
@ -30,7 +30,6 @@ include LibCommon.gmk
|
|||||||
$(eval $(call SetupJdkLibrary, BUILD_LIBJAAS, \
|
$(eval $(call SetupJdkLibrary, BUILD_LIBJAAS, \
|
||||||
NAME := jaas, \
|
NAME := jaas, \
|
||||||
OPTIMIZATION := LOW, \
|
OPTIMIZATION := LOW, \
|
||||||
CFLAGS := $(CFLAGS_JDKLIB), \
|
|
||||||
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
LDFLAGS := $(LDFLAGS_JDKLIB) \
|
||||||
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
$(call SET_SHARED_LIBRARY_ORIGIN), \
|
||||||
LIBS_windows := netapi32.lib user32.lib mpr.lib advapi32.lib $(JDKLIB_LIBS), \
|
LIBS_windows := netapi32.lib user32.lib mpr.lib advapi32.lib $(JDKLIB_LIBS), \
|
||||||
|
Loading…
Reference in New Issue
Block a user