914N/A#
3767N/A# Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
914N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
914N/A#
914N/A# This code is free software; you can redistribute it and/or modify it
914N/A# under the terms of the GNU General Public License version 2 only, as
2362N/A# published by the Free Software Foundation. Oracle designates this
914N/A# particular file as subject to the "Classpath" exception as provided
2362N/A# by Oracle in the LICENSE file that accompanied this code.
914N/A#
914N/A# This code is distributed in the hope that it will be useful, but WITHOUT
914N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
914N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
914N/A# version 2 for more details (a copy is included in the LICENSE file that
914N/A# accompanied this code).
914N/A#
914N/A# You should have received a copy of the GNU General Public License version
914N/A# 2 along with this work; if not, write to the Free Software Foundation,
914N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
914N/A#
2362N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
2362N/A# or visit www.oracle.com if you need additional information or have any
2362N/A# questions.
914N/A#
914N/A
914N/A#
914N/A# WARNING: This file is shared with other workspaces.
914N/A#
914N/A
3258N/A# This file needs these set: PLATFORM, ARCH_FAMILY, and ARCH_DATA_MODEL.
3258N/A
3258N/A# Windows uses Microsoft compilers by default
3258N/Aifeq ($(PLATFORM), windows)
3258N/A override CC_VERSION = msvc
3258N/Aendif
3258N/A
3258N/A# Solaris uses Sun Studio compilers by default
3258N/Aifeq ($(PLATFORM), solaris)
3258N/A override CC_VERSION = sun
3258N/Aendif
3258N/A
3258N/A# Linux uses GNU compilers by default
3258N/Aifeq ($(PLATFORM), linux)
3258N/A override CC_VERSION = gcc
3258N/Aendif
914N/A
4632N/A# Mac OS X uses LLVM by default
4632N/Aifeq ($(PLATFORM), macosx)
4632N/A override CC_VERSION = llvm
4632N/Aendif
4632N/A
914N/A##########################################################################
914N/A#
914N/A# List of JDK official minimum, expected, or required versions:
914N/A#
914N/A# REQUIRED_ALSA_VERSION
914N/A# Linux only: The ALSA sound library version expected.
914N/A#
914N/A# REQUIRED_ANT_VER
914N/A# The minimum 'ant' version.
914N/A#
914N/A# REQUIRED_BOOT_VER
914N/A# The minimum boot jdk version.
914N/A#
914N/A# REQUIRED_CC_VER
914N/A# The primary C compiler version expected.
914N/A#
942N/A# REQUIRED_COMPILER_NAME
942N/A# The long descriptive name of the compiler we should use
942N/A#
942N/A# REQUIRED_COMPILER_VERSION
942N/A# The one word name that identifies the compilers being used.
942N/A#
914N/A# REQUIRED_CYGWIN_VER
914N/A# Windows only: If CYGWIN is used, the minimum CYGWIN version.
914N/A#
914N/A# REQUIRED_DXSDK_VER
914N/A# Windows only: The version of DirectX SDK expected.
914N/A#
914N/A# REQUIRED_FREETYPE_VERSION
914N/A# If we are using freetype, the freetype version expected.
914N/A#
914N/A# REQUIRED_GCC_VER
3218N/A# Solaris and Linux only. The required version of gcc/g++ for the legacy OJI plugin.
914N/A#
914N/A# REQUIRED_LINK_VER
914N/A# Windows only: The version of link.exe expected.
914N/A#
914N/A# REQUIRED_MAKE_VER
914N/A# The minimum version of GNU make.
914N/A#
914N/A# REQUIRED_MKS_VER
914N/A# Windows only: If MKS used instead of CYGWIN, the minimum version of MKS.
914N/A#
914N/A# REQUIRED_OS_VARIANT_NAME
914N/A# The OS variation name required.
914N/A# Solaris: Solaris or OpenSolaris
914N/A# Windows: Windows2000, WindowsXP, Windows2003, etc.
914N/A# Linux: Fedora, RedHat, SuSE, Ubuntu, etc.
914N/A#
914N/A# REQUIRED_OS_VARIANT_VERSION
914N/A# The version number associated with the above OS variant name.
914N/A# Solaris: output of uname -r
914N/A# Windows: 5.0 for Windows2000, 5.1 for WindowsXP, 5.2 for Windows2003, etc.
914N/A# Linux: number for the variant, e.g. 9 for Fedora 9
914N/A#
914N/A# REQUIRED_OS_VERSION
914N/A# The formal OS version number.
914N/A# Solaris & Windows: same as REQUIRED_OS_VARIANT_VERSION
914N/A# Linux: the kernel version, or output of uname -r
914N/A#
914N/A# REQUIRED_UNZIP_VER
914N/A# The minimum version of unzip.
914N/A#
914N/A# REQUIRED_ZIP_VER
914N/A# The minimum version of unzip.
914N/A#
914N/A###########
914N/A#
914N/A# Differences in the build platform from these versions may trigger warnings
914N/A# messages during the sanity checking when building the JDK.
914N/A#
914N/A# When building the OpenJDK most of these required or expected versions are
914N/A# ignored or allowed to vary widely to accomodate the many build situations
914N/A# of the OpenJDK.
914N/A#
914N/A##########################################################################
914N/A
914N/A# Solaris specific
914N/Aifeq ($(PLATFORM), solaris)
3424N/A REQUIRED_OS_NAME = SunOS
914N/A REQUIRED_OS_VERSION = 5.10
914N/A REQUIRED_OS_VARIANT_NAME = Solaris
914N/A REQUIRED_OS_VARIANT_VERSION = $(REQUIRED_OS_VERSION)
2684N/A REQUIRED_COMPILER_NAME = Sun Studio 12 Update 1
2684N/A REQUIRED_COMPILER_VERSION = SS12u1
3767N/A # Cross-compilation compiler versions are target specific
3767N/A # so don't set a required version if cross-compiling
3767N/A ifndef CROSS_COMPILE_ARCH
3767N/A ifeq ($(CC_VERSION),sun)
3767N/A REQUIRED_CC_VER = 5.10
3767N/A endif
3767N/A ifeq ($(CC_VERSION),gcc)
3767N/A REQUIRED_CC_VER = 3.4.3
3767N/A endif
914N/A endif
914N/A REQUIRED_GCC_VER = 2.95.2
914N/Aendif
914N/A
914N/A# Linux specific
914N/Aifeq ($(PLATFORM), linux)
3424N/A REQUIRED_OS_NAME = Linux
914N/A REQUIRED_OS_VERSION = 2.6
914N/A REQUIRED_OS_VARIANT_NAME = Fedora
914N/A REQUIRED_OS_VARIANT_VERSION = 9
914N/A REQUIRED_ALSA_VERSION = 0.9.1
942N/A REQUIRED_COMPILER_NAME = GCC4
942N/A REQUIRED_COMPILER_VERSION = GCC4
914N/A REQUIRED_GCC_VER = 2.95
3767N/A # Cross-compilation compiler versions are target specific
3767N/A # so don't set a required version if cross-compiling
3767N/A ifndef CROSS_COMPILE_ARCH
3767N/A ifeq ($(CC_VERSION),gcc)
3767N/A REQUIRED_CC_VER = 4.3.0
3767N/A endif
3767N/A ifeq ($(CC_VERSION),sun)
3767N/A REQUIRED_CC_VER = 5.10
3767N/A endif
914N/A endif
914N/Aendif
914N/A
4632N/A# Mac specific
4632N/Aifeq ($(PLATFORM), macosx)
4632N/A REQUIRED_OS_NAME = Darwin
4637N/A REQUIRED_OS_VERSION = 11.2
4637N/A REQUIRED_OS_VARIANT_NAME = MacOSX
4637N/A REQUIRED_OS_VARIANT_VERSION = 10.7.2
4637N/A REQUIRED_COMPILER_NAME = GCC4
4637N/A REQUIRED_COMPILER_VERSION = GCC4
4637N/A REQUIRED_CC_VER = 4.2.1
4632N/Aendif
4632N/A
914N/A# Windows specific
914N/Aifeq ($(PLATFORM), windows)
3424N/A REQUIRED_OS_NAME = Windows
914N/A ifeq ($(ARCH_DATA_MODEL),64)
914N/A REQUIRED_OS_VERSION = 5.2
914N/A REQUIRED_OS_VARIANT_NAME = Windows2003
914N/A else
914N/A REQUIRED_OS_VERSION = 5.1
914N/A REQUIRED_OS_VARIANT_NAME = WindowsXP
914N/A endif
914N/A REQUIRED_OS_VARIANT_VERSION = $(REQUIRED_OS_VERSION)
914N/A REQUIRED_CYGWIN_VER = 4.0
914N/A REQUIRED_MKS_VER = 6.1
914N/A REQUIRED_DXSDK_VER = 0x0900
914N/A ifeq ($(CC_VERSION),msvc)
3798N/A REQUIRED_COMPILER_NAME = Visual Studio 10
3798N/A REQUIRED_COMPILER_VERSION = VS2010
3798N/A REQUIRED_CC_VER = 16.00.30319.01
3798N/A REQUIRED_LINK_VER = 10.00.30319.01
914N/A endif
914N/A ifeq ($(CC_VERSION),gcc)
914N/A REQUIRED_CC_VER = 3.4.3
914N/A endif
914N/Aendif
914N/A
914N/A# Generic
3435N/AREQUIRED_ANT_VER = 1.7.1
2588N/AREQUIRED_BOOT_VER = 1.6
914N/AREQUIRED_FREETYPE_VERSION = 2.3.0
3168N/AREQUIRED_MAKE_VER = 3.81
914N/AREQUIRED_UNZIP_VER = 5.12
914N/AREQUIRED_ZIP_VER = 2.2
914N/A