annotate make/common/shared/Defs-versions.gmk @ 3966:aa13e7702cd9

Merge
author ohair
date Tue, 29 Mar 2011 20:19:55 -0700
parents 0858c48466f0 54d8193f177b
children 241d5769859e 8e9e28663c5d
rev   line source
ohair@964 1 #
dholmes@3934 2 # Copyright (c) 2009, 2011, Oracle and/or its affiliates. All rights reserved.
ohair@964 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ohair@964 4 #
ohair@964 5 # This code is free software; you can redistribute it and/or modify it
ohair@964 6 # under the terms of the GNU General Public License version 2 only, as
ohair@2486 7 # published by the Free Software Foundation. Oracle designates this
ohair@964 8 # particular file as subject to the "Classpath" exception as provided
ohair@2486 9 # by Oracle in the LICENSE file that accompanied this code.
ohair@964 10 #
ohair@964 11 # This code is distributed in the hope that it will be useful, but WITHOUT
ohair@964 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ohair@964 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
ohair@964 14 # version 2 for more details (a copy is included in the LICENSE file that
ohair@964 15 # accompanied this code).
ohair@964 16 #
ohair@964 17 # You should have received a copy of the GNU General Public License version
ohair@964 18 # 2 along with this work; if not, write to the Free Software Foundation,
ohair@964 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ohair@964 20 #
ohair@2486 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@2486 22 # or visit www.oracle.com if you need additional information or have any
ohair@2486 23 # questions.
ohair@964 24 #
ohair@964 25
ohair@964 26 #
ohair@964 27 # WARNING: This file is shared with other workspaces.
ohair@964 28 #
ohair@964 29
ohair@3410 30 # This file needs these set: PLATFORM, ARCH_FAMILY, and ARCH_DATA_MODEL.
ohair@3410 31
ohair@3410 32 # Windows uses Microsoft compilers by default
ohair@3410 33 ifeq ($(PLATFORM), windows)
ohair@3410 34 override CC_VERSION = msvc
ohair@3410 35 endif
ohair@3410 36
ohair@3410 37 # Solaris uses Sun Studio compilers by default
ohair@3410 38 ifeq ($(PLATFORM), solaris)
ohair@3410 39 override CC_VERSION = sun
ohair@3410 40 endif
ohair@3410 41
ohair@3410 42 # Linux uses GNU compilers by default
ohair@3410 43 ifeq ($(PLATFORM), linux)
ohair@3410 44 override CC_VERSION = gcc
ohair@3410 45 endif
ohair@964 46
ohair@964 47 ##########################################################################
ohair@964 48 #
ohair@964 49 # List of JDK official minimum, expected, or required versions:
ohair@964 50 #
ohair@964 51 # REQUIRED_ALSA_VERSION
ohair@964 52 # Linux only: The ALSA sound library version expected.
ohair@964 53 #
ohair@964 54 # REQUIRED_ANT_VER
ohair@964 55 # The minimum 'ant' version.
ohair@964 56 #
ohair@964 57 # REQUIRED_BOOT_VER
ohair@964 58 # The minimum boot jdk version.
ohair@964 59 #
ohair@964 60 # REQUIRED_CC_VER
ohair@964 61 # The primary C compiler version expected.
ohair@964 62 #
ohair@992 63 # REQUIRED_COMPILER_NAME
ohair@992 64 # The long descriptive name of the compiler we should use
ohair@992 65 #
ohair@992 66 # REQUIRED_COMPILER_VERSION
ohair@992 67 # The one word name that identifies the compilers being used.
ohair@992 68 #
ohair@964 69 # REQUIRED_CYGWIN_VER
ohair@964 70 # Windows only: If CYGWIN is used, the minimum CYGWIN version.
ohair@964 71 #
ohair@964 72 # REQUIRED_DXSDK_VER
ohair@964 73 # Windows only: The version of DirectX SDK expected.
ohair@964 74 #
ohair@964 75 # REQUIRED_FREE_SPACE
ohair@964 76 # The minimum disk space needed as determined by running 'du -sk' on a fully
ohair@964 77 # built workspace.
ohair@964 78 #
ohair@964 79 # REQUIRED_FREETYPE_VERSION
ohair@964 80 # If we are using freetype, the freetype version expected.
ohair@964 81 #
ohair@964 82 # REQUIRED_GCC_VER
mduigou@3370 83 # Solaris and Linux only. The required version of gcc/g++ for the legacy OJI plugin.
ohair@964 84 #
ohair@964 85 # REQUIRED_LINK_VER
ohair@964 86 # Windows only: The version of link.exe expected.
ohair@964 87 #
ohair@964 88 # REQUIRED_MAKE_VER
ohair@964 89 # The minimum version of GNU make.
ohair@964 90 #
ohair@964 91 # REQUIRED_MKS_VER
ohair@964 92 # Windows only: If MKS used instead of CYGWIN, the minimum version of MKS.
ohair@964 93 #
ohair@964 94 # REQUIRED_OS_VARIANT_NAME
ohair@964 95 # The OS variation name required.
ohair@964 96 # Solaris: Solaris or OpenSolaris
ohair@964 97 # Windows: Windows2000, WindowsXP, Windows2003, etc.
ohair@964 98 # Linux: Fedora, RedHat, SuSE, Ubuntu, etc.
ohair@964 99 #
ohair@964 100 # REQUIRED_OS_VARIANT_VERSION
ohair@964 101 # The version number associated with the above OS variant name.
ohair@964 102 # Solaris: output of uname -r
ohair@964 103 # Windows: 5.0 for Windows2000, 5.1 for WindowsXP, 5.2 for Windows2003, etc.
ohair@964 104 # Linux: number for the variant, e.g. 9 for Fedora 9
ohair@964 105 #
ohair@964 106 # REQUIRED_OS_VERSION
ohair@964 107 # The formal OS version number.
ohair@964 108 # Solaris & Windows: same as REQUIRED_OS_VARIANT_VERSION
ohair@964 109 # Linux: the kernel version, or output of uname -r
ohair@964 110 #
ohair@964 111 # REQUIRED_UNZIP_VER
ohair@964 112 # The minimum version of unzip.
ohair@964 113 #
ohair@964 114 # REQUIRED_ZIP_VER
ohair@964 115 # The minimum version of unzip.
ohair@964 116 #
ohair@964 117 ###########
ohair@964 118 #
ohair@964 119 # Differences in the build platform from these versions may trigger warnings
ohair@964 120 # messages during the sanity checking when building the JDK.
ohair@964 121 #
ohair@964 122 # When building the OpenJDK most of these required or expected versions are
ohair@964 123 # ignored or allowed to vary widely to accomodate the many build situations
ohair@964 124 # of the OpenJDK.
ohair@964 125 #
ohair@964 126 ##########################################################################
ohair@964 127
ohair@964 128 # Solaris specific
ohair@964 129 ifeq ($(PLATFORM), solaris)
ohair@3580 130 REQUIRED_OS_NAME = SunOS
ohair@964 131 REQUIRED_OS_VERSION = 5.10
ohair@964 132 REQUIRED_OS_VARIANT_NAME = Solaris
ohair@964 133 REQUIRED_OS_VARIANT_VERSION = $(REQUIRED_OS_VERSION)
ohair@964 134 ifeq ($(ARCH_FAMILY), sparc)
ohair@964 135 REQUIRED_FREE_SPACE = 1300000
ohair@964 136 else
ohair@964 137 REQUIRED_FREE_SPACE = 1040000
ohair@964 138 endif
ohair@2827 139 REQUIRED_COMPILER_NAME = Sun Studio 12 Update 1
ohair@2827 140 REQUIRED_COMPILER_VERSION = SS12u1
dholmes@3934 141 # Cross-compilation compiler versions are target specific
dholmes@3934 142 # so don't set a required version if cross-compiling
dholmes@3934 143 ifndef CROSS_COMPILE_ARCH
dholmes@3934 144 ifeq ($(CC_VERSION),sun)
dholmes@3934 145 REQUIRED_CC_VER = 5.10
dholmes@3934 146 endif
dholmes@3934 147 ifeq ($(CC_VERSION),gcc)
dholmes@3934 148 REQUIRED_CC_VER = 3.4.3
dholmes@3934 149 endif
ohair@964 150 endif
ohair@964 151 REQUIRED_GCC_VER = 2.95.2
ohair@964 152 endif
ohair@964 153
ohair@964 154 # Linux specific
ohair@964 155 ifeq ($(PLATFORM), linux)
ohair@3580 156 REQUIRED_OS_NAME = Linux
ohair@964 157 REQUIRED_OS_VERSION = 2.6
ohair@964 158 REQUIRED_OS_VARIANT_NAME = Fedora
ohair@964 159 REQUIRED_OS_VARIANT_VERSION = 9
ohair@964 160 REQUIRED_FREE_SPACE = 1460000
ohair@964 161 REQUIRED_ALSA_VERSION = 0.9.1
ohair@992 162 REQUIRED_COMPILER_NAME = GCC4
ohair@992 163 REQUIRED_COMPILER_VERSION = GCC4
ohair@964 164 REQUIRED_GCC_VER = 2.95
dholmes@3934 165 # Cross-compilation compiler versions are target specific
dholmes@3934 166 # so don't set a required version if cross-compiling
dholmes@3934 167 ifndef CROSS_COMPILE_ARCH
dholmes@3934 168 ifeq ($(CC_VERSION),gcc)
dholmes@3934 169 REQUIRED_CC_VER = 4.3.0
dholmes@3934 170 endif
dholmes@3934 171 ifeq ($(CC_VERSION),sun)
dholmes@3934 172 REQUIRED_CC_VER = 5.10
dholmes@3934 173 endif
ohair@964 174 endif
ohair@964 175 endif
ohair@964 176
ohair@964 177 # Windows specific
ohair@964 178 ifeq ($(PLATFORM), windows)
ohair@3580 179 REQUIRED_OS_NAME = Windows
ohair@964 180 ifeq ($(ARCH_DATA_MODEL),64)
ohair@964 181 REQUIRED_OS_VERSION = 5.2
ohair@964 182 REQUIRED_OS_VARIANT_NAME = Windows2003
ohair@964 183 else
ohair@964 184 REQUIRED_OS_VERSION = 5.1
ohair@964 185 REQUIRED_OS_VARIANT_NAME = WindowsXP
ohair@964 186 endif
ohair@964 187 REQUIRED_OS_VARIANT_VERSION = $(REQUIRED_OS_VERSION)
ohair@964 188 REQUIRED_CYGWIN_VER = 4.0
ohair@964 189 REQUIRED_MKS_VER = 6.1
ohair@964 190 REQUIRED_FREE_SPACE = 500000
ohair@964 191 REQUIRED_DXSDK_VER = 0x0900
ohair@964 192 ifeq ($(CC_VERSION),msvc)
ohair@3965 193 REQUIRED_COMPILER_NAME = Visual Studio 10
ohair@3965 194 REQUIRED_COMPILER_VERSION = VS2010
ohair@3965 195 REQUIRED_CC_VER = 16.00.30319.01
ohair@3965 196 REQUIRED_LINK_VER = 10.00.30319.01
ohair@964 197 endif
ohair@964 198 ifeq ($(CC_VERSION),gcc)
ohair@964 199 REQUIRED_CC_VER = 3.4.3
ohair@964 200 endif
ohair@964 201 endif
ohair@964 202
ohair@964 203 # Generic
ohair@3591 204 REQUIRED_ANT_VER = 1.7.1
ohair@2723 205 REQUIRED_BOOT_VER = 1.6
ohair@964 206 REQUIRED_FREETYPE_VERSION = 2.3.0
ohair@3320 207 REQUIRED_MAKE_VER = 3.81
ohair@964 208 REQUIRED_UNZIP_VER = 5.12
ohair@964 209 REQUIRED_ZIP_VER = 2.2
ohair@964 210