annotate make/autoconf/buildjdk-spec.gmk.in @ 51872:0ce279d8c9cd

8207941: javax/swing/plaf/basic/BasicGraphicsUtils/8132119/bug8132119.java fails on machines without Arial font [testbug] Reviewed-by: goetz, psadhukhan
author mbaesken
date Tue, 24 Jul 2018 09:27:42 +0200
parents 92fd0e04e0e1
children eedd12872b28 1126811a5124
rev   line source
alanb@36506 1 #
ihse@41458 2 # Copyright (c) 2015, 2016, Oracle and/or its affiliates. All rights reserved.
alanb@36506 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
alanb@36506 4 #
alanb@36506 5 # This code is free software; you can redistribute it and/or modify it
alanb@36506 6 # under the terms of the GNU General Public License version 2 only, as
alanb@36506 7 # published by the Free Software Foundation. Oracle designates this
alanb@36506 8 # particular file as subject to the "Classpath" exception as provided
alanb@36506 9 # by Oracle in the LICENSE file that accompanied this code.
alanb@36506 10 #
alanb@36506 11 # This code is distributed in the hope that it will be useful, but WITHOUT
alanb@36506 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
alanb@36506 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
alanb@36506 14 # version 2 for more details (a copy is included in the LICENSE file that
alanb@36506 15 # accompanied this code).
alanb@36506 16 #
alanb@36506 17 # You should have received a copy of the GNU General Public License version
alanb@36506 18 # 2 along with this work; if not, write to the Free Software Foundation,
alanb@36506 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
alanb@36506 20 #
alanb@36506 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
alanb@36506 22 # or visit www.oracle.com if you need additional information or have any
alanb@36506 23 # questions.
alanb@36506 24 #
alanb@36506 25
alanb@36506 26 # This spec file is used to compile a BUILD_JDK while cross compiling. The
alanb@36506 27 # BUILD_JDK runs on the build/host platform and is of the same version as
alanb@36506 28 # the main build.
alanb@36506 29
alanb@36506 30 # First include the real base spec.gmk file
alanb@36506 31 include @SPEC@
alanb@36506 32
alanb@36506 33 CC := @BUILD_CC@
alanb@36506 34 CXX := @BUILD_CXX@
alanb@36506 35 LD := @BUILD_LD@
erikj@41170 36 LDCXX := @BUILD_LDCXX@
alanb@36506 37 AS := @BUILD_AS@
alanb@36506 38 NM := @BUILD_NM@
alanb@36506 39 AR := @BUILD_AR@
alanb@36506 40 OBJCOPY := @BUILD_OBJCOPY@
alanb@36506 41 STRIP := @BUILD_STRIP@
alanb@36506 42 SYSROOT_CFLAGS := @BUILD_SYSROOT_CFLAGS@
alanb@36506 43 SYSROOT_LDFLAGS := @BUILD_SYSROOT_LDFLAGS@
alanb@36506 44
alanb@36506 45 # These directories should not be moved to BUILDJDK_OUTPUTDIR
ihse@47275 46 HOTSPOT_OUTPUTDIR := $(patsubst $(OUTPUTDIR)%,$(BUILDJDK_OUTPUTDIR)%,$(HOTSPOT_OUTPUTDIR))
ihse@47275 47 SUPPORT_OUTPUTDIR := $(patsubst $(OUTPUTDIR)%,$(BUILDJDK_OUTPUTDIR)%,$(SUPPORT_OUTPUTDIR))
ihse@47275 48 JDK_OUTPUTDIR := $(patsubst $(OUTPUTDIR)%,$(BUILDJDK_OUTPUTDIR)%,$(JDK_OUTPUTDIR))
ihse@47275 49 IMAGES_OUTPUTDIR := $(patsubst $(OUTPUTDIR)%,$(BUILDJDK_OUTPUTDIR)%,$(IMAGES_OUTPUTDIR))
alanb@36506 50
alanb@36506 51 OPENJDK_BUILD_CPU_LEGACY := @OPENJDK_BUILD_CPU_LEGACY@
alanb@36506 52 OPENJDK_BUILD_CPU_LEGACY_LIB := @OPENJDK_BUILD_CPU_LEGACY_LIB@
alanb@36506 53 OPENJDK_TARGET_CPU := @OPENJDK_BUILD_CPU@
alanb@36506 54 OPENJDK_TARGET_CPU_ARCH := @OPENJDK_BUILD_CPU_ARCH@
alanb@36506 55 OPENJDK_TARGET_CPU_BITS := @OPENJDK_BUILD_CPU_BITS@
alanb@36506 56 OPENJDK_TARGET_CPU_ENDIAN := @OPENJDK_BUILD_CPU_ENDIAN@
alanb@36506 57 OPENJDK_TARGET_CPU_LEGACY := @OPENJDK_BUILD_CPU_LEGACY@
psandoz@48610 58 OPENJDK_TARGET_OS_INCLUDE_SUBDIR := @OPENJDK_BUILD_OS_INCLUDE_SUBDIR@
alanb@36506 59
erikj@37402 60 HOTSPOT_TARGET_OS := @HOTSPOT_BUILD_OS@
erikj@37402 61 HOTSPOT_TARGET_OS_TYPE := @HOTSPOT_BUILD_OS_TYPE@
erikj@37402 62 HOTSPOT_TARGET_CPU := @HOTSPOT_BUILD_CPU@
erikj@37402 63 HOTSPOT_TARGET_CPU_ARCH := @HOTSPOT_BUILD_CPU_ARCH@
erikj@37402 64 HOTSPOT_TARGET_CPU_DEFINE := @HOTSPOT_BUILD_CPU_DEFINE@
erikj@37402 65
alanb@36506 66 CFLAGS_JDKLIB := @OPENJDK_BUILD_CFLAGS_JDKLIB@
alanb@36506 67 CXXFLAGS_JDKLIB := @OPENJDK_BUILD_CXXFLAGS_JDKLIB@
alanb@36506 68 LDFLAGS_JDKLIB := @OPENJDK_BUILD_LDFLAGS_JDKLIB@
alanb@36506 69 CFLAGS_JDKEXE := @OPENJDK_BUILD_CFLAGS_JDKEXE@
alanb@36506 70 CXXFLAGS_JDKEXE := @OPENJDK_BUILD_CXXFLAGS_JDKEXE@
alanb@36506 71 LDFLAGS_JDKEXE := @OPENJDK_BUILD_LDFLAGS_JDKEXE@
alanb@36506 72
erikj@37402 73 JVM_CFLAGS := @OPENJDK_BUILD_JVM_CFLAGS@
erikj@37402 74 JVM_LDFLAGS := @OPENJDK_BUILD_JVM_LDFLAGS@
erikj@37402 75 JVM_ASFLAGS := @OPENJDK_BUILD_JVM_ASFLAGS@
erikj@37402 76 JVM_LIBS := @OPENJDK_BUILD_JVM_LIBS@
erikj@37402 77
alanb@36506 78 # The compiler for the build platform is likely not warning compatible with the official
alanb@36506 79 # compiler.
alanb@36506 80 WARNINGS_AS_ERRORS := false
alanb@36506 81 DISABLE_WARNING_PREFIX := @BUILD_CC_DISABLE_WARNING_PREFIX@
alanb@36506 82
alanb@36506 83 # Save speed and disk space by not enabling debug symbols for the buildjdk
alanb@36506 84 ENABLE_DEBUG_SYMBOLS := false
alanb@36506 85
ihse@41458 86 # Control wether Hotspot builds gtest tests
ihse@41458 87 BUILD_GTEST := false
alanb@36506 88
erikj@42304 89 JVM_VARIANTS := server
jwilhelm@42513 90 JVM_VARIANT_MAIN := server
alanb@36506 91
alanb@36506 92 # Some users still set EXTRA_*FLAGS on the make command line. Must
alanb@36506 93 # make sure to override that when building buildjdk.
alanb@36506 94 override EXTRA_CFLAGS :=
alanb@36506 95 override EXTRA_CXXFLAGS :=
alanb@36506 96 override EXTRA_LDFLAGS :=