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