jdk/make/common/shared/Defs-versions.gmk
author ohair
Tue, 21 Dec 2010 18:21:26 -0800
changeset 7665 bc5dbdc44e1e
parent 7483 280294134c62
child 7667 a9a6339b7edf
permissions -rw-r--r--
6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location Reviewed-by: ksrini
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
     1
#
7483
280294134c62 6909026: Change GNU make version requirement to 3.81
ohair
parents: 6373
diff changeset
     2
# Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
     4
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5381
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5381
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    10
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    15
# accompanied this code).
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    16
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    20
#
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5381
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5381
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5381
diff changeset
    23
# questions.
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    24
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    25
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    26
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    27
# WARNING: This file is shared with other workspaces.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    28
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    29
7665
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    30
# This file needs these set: PLATFORM, ARCH_FAMILY, and ARCH_DATA_MODEL.
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    31
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    32
# Windows uses Microsoft compilers by default
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    33
ifeq ($(PLATFORM), windows)
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    34
  override CC_VERSION = msvc
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    35
endif
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    36
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    37
# Solaris uses Sun Studio compilers by default
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    38
ifeq ($(PLATFORM), solaris)
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    39
  override CC_VERSION = sun
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    40
endif
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    41
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    42
# Linux uses GNU compilers by default
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    43
ifeq ($(PLATFORM), linux)
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    44
  override CC_VERSION = gcc
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 7483
diff changeset
    45
endif
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    46
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    47
##########################################################################
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    48
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    49
# List of JDK official minimum, expected, or required versions:
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    50
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    51
# REQUIRED_ALSA_VERSION
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    52
#   Linux only: The ALSA sound library version expected.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    53
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    54
# REQUIRED_ANT_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    55
#   The minimum 'ant' version.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    56
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    57
# REQUIRED_BOOT_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    58
#   The minimum boot jdk version.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    59
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    60
# REQUIRED_CC_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    61
#   The primary C compiler version expected.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    62
#
2186
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2158
diff changeset
    63
# REQUIRED_COMPILER_NAME
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2158
diff changeset
    64
#   The long descriptive name of the compiler we should use
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2158
diff changeset
    65
#
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2158
diff changeset
    66
# REQUIRED_COMPILER_VERSION
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2158
diff changeset
    67
#   The one word name that identifies the compilers being used.
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2158
diff changeset
    68
#
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    69
# REQUIRED_CYGWIN_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    70
#   Windows only: If CYGWIN is used, the minimum CYGWIN version.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    71
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    72
# REQUIRED_DXSDK_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    73
#   Windows only: The version of DirectX SDK expected.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    74
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    75
# REQUIRED_FREE_SPACE
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    76
#   The minimum disk space needed as determined by running 'du -sk' on a fully
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    77
#   built workspace.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    78
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    79
# REQUIRED_FREETYPE_VERSION
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    80
#   If we are using freetype, the freetype version expected.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    81
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    82
# REQUIRED_GCC_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    83
#   Solaris and Linux only. The required version of gcc/g++ for the plugin.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    84
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    85
# REQUIRED_LINK_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    86
#   Windows only: The version of link.exe expected.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    87
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    88
# REQUIRED_MAKE_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    89
#   The minimum version of GNU make.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    90
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    91
# REQUIRED_MKS_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    92
#   Windows only: If MKS used instead of CYGWIN, the minimum version of MKS.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    93
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    94
# REQUIRED_OS_VARIANT_NAME
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    95
#   The OS variation name required.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    96
#     Solaris: Solaris or OpenSolaris
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    97
#     Windows: Windows2000, WindowsXP, Windows2003, etc.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    98
#     Linux: Fedora, RedHat, SuSE, Ubuntu, etc.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    99
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   100
# REQUIRED_OS_VARIANT_VERSION
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   101
#   The version number associated with the above OS variant name.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   102
#     Solaris: output of uname -r
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   103
#     Windows: 5.0 for Windows2000, 5.1 for WindowsXP, 5.2 for Windows2003, etc.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   104
#     Linux: number for the variant, e.g. 9 for Fedora 9
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   105
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   106
# REQUIRED_OS_VERSION
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   107
#   The formal OS version number.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   108
#     Solaris & Windows: same as REQUIRED_OS_VARIANT_VERSION
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   109
#     Linux: the kernel version, or output of uname -r
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   110
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   111
# REQUIRED_UNZIP_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   112
#   The minimum version of unzip.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   113
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   114
# REQUIRED_ZIP_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   115
#   The minimum version of unzip.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   116
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   117
###########
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   118
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   119
# Differences in the build platform from these versions may trigger warnings
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   120
#   messages during the sanity checking when building the JDK.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   121
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   122
# When building the OpenJDK most of these required or expected  versions are 
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   123
#  ignored or allowed to vary widely to accomodate the many build situations
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   124
#  of the OpenJDK.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   125
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   126
##########################################################################
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   127
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   128
# Solaris specific
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   129
ifeq ($(PLATFORM), solaris)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   130
  REQUIRED_OS_VERSION         = 5.10
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   131
  REQUIRED_OS_VARIANT_NAME    = Solaris
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   132
  REQUIRED_OS_VARIANT_VERSION = $(REQUIRED_OS_VERSION)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   133
  ifeq ($(ARCH_FAMILY), sparc)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   134
    REQUIRED_FREE_SPACE       = 1300000
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   135
  else
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   136
    REQUIRED_FREE_SPACE       = 1040000
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   137
  endif
6373
23ec4a141fc9 6974017: Upgrade required Solaris Studio compilers to 5.10 (12 update 1 + patches)
ohair
parents: 6077
diff changeset
   138
  REQUIRED_COMPILER_NAME      = Sun Studio 12 Update 1
23ec4a141fc9 6974017: Upgrade required Solaris Studio compilers to 5.10 (12 update 1 + patches)
ohair
parents: 6077
diff changeset
   139
  REQUIRED_COMPILER_VERSION   = SS12u1
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   140
  ifeq ($(CC_VERSION),sun)
6373
23ec4a141fc9 6974017: Upgrade required Solaris Studio compilers to 5.10 (12 update 1 + patches)
ohair
parents: 6077
diff changeset
   141
    REQUIRED_CC_VER           = 5.10
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   142
  endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   143
  ifeq ($(CC_VERSION),gcc)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   144
    REQUIRED_CC_VER           = 3.4.3
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   145
  endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   146
  REQUIRED_GCC_VER            = 2.95.2
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   147
endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   148
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   149
# Linux specific
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   150
ifeq ($(PLATFORM), linux)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   151
  REQUIRED_OS_VERSION         = 2.6
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   152
  REQUIRED_OS_VARIANT_NAME    = Fedora
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   153
  REQUIRED_OS_VARIANT_VERSION = 9
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   154
  REQUIRED_FREE_SPACE         = 1460000
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   155
  REQUIRED_ALSA_VERSION       = 0.9.1
2186
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2158
diff changeset
   156
  REQUIRED_COMPILER_NAME      = GCC4
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2158
diff changeset
   157
  REQUIRED_COMPILER_VERSION   = GCC4
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   158
  REQUIRED_GCC_VER            = 2.95
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   159
  ifeq ($(CC_VERSION),gcc)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   160
    REQUIRED_CC_VER           = 4.3.0
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   161
  endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   162
  ifeq ($(CC_VERSION),sun)
6373
23ec4a141fc9 6974017: Upgrade required Solaris Studio compilers to 5.10 (12 update 1 + patches)
ohair
parents: 6077
diff changeset
   163
    REQUIRED_CC_VER           = 5.10
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   164
  endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   165
endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   166
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   167
# Windows specific
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   168
ifeq ($(PLATFORM), windows)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   169
  ifeq ($(ARCH_DATA_MODEL),64)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   170
    REQUIRED_OS_VERSION       = 5.2
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   171
    REQUIRED_OS_VARIANT_NAME  = Windows2003
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   172
  else
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   173
    REQUIRED_OS_VERSION       = 5.1
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   174
    REQUIRED_OS_VARIANT_NAME  = WindowsXP
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   175
  endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   176
  REQUIRED_OS_VARIANT_VERSION = $(REQUIRED_OS_VERSION)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   177
  REQUIRED_CYGWIN_VER         = 4.0
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   178
  REQUIRED_MKS_VER            = 6.1
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   179
  REQUIRED_FREE_SPACE         = 500000
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   180
  REQUIRED_DXSDK_VER          = 0x0900
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   181
  ifeq ($(CC_VERSION),msvc)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   182
    ifeq ($(ARCH_DATA_MODEL), 32)
5381
d6d64a42ff51 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 2186
diff changeset
   183
      REQUIRED_COMPILER_NAME    = Visual Studio 10
d6d64a42ff51 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 2186
diff changeset
   184
      REQUIRED_COMPILER_VERSION = VS2010
d6d64a42ff51 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 2186
diff changeset
   185
      REQUIRED_CC_VER           = 16.00.30319.01
d6d64a42ff51 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 2186
diff changeset
   186
      REQUIRED_LINK_VER         = 10.00.30319.01
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   187
    else
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   188
      ifeq ($(ARCH), ia64)
2186
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2158
diff changeset
   189
        REQUIRED_COMPILER_NAME    = Microsoft Platform SDK - November 2001 Edition
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2158
diff changeset
   190
        REQUIRED_COMPILER_VERSION = VS2003
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2158
diff changeset
   191
        REQUIRED_CC_VER           = 13.00.9337.7
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2158
diff changeset
   192
        REQUIRED_LINK_VER         = 7.00.9337.7
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   193
      endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   194
      ifeq ($(ARCH), amd64)
5381
d6d64a42ff51 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 2186
diff changeset
   195
        REQUIRED_COMPILER_NAME    = Visual Studio 10
d6d64a42ff51 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 2186
diff changeset
   196
        REQUIRED_COMPILER_VERSION = VS2010
d6d64a42ff51 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 2186
diff changeset
   197
        REQUIRED_CC_VER           = 16.00.30319.01
d6d64a42ff51 6931180: Migration to recent versions of MS Platform SDK
prr
parents: 2186
diff changeset
   198
        REQUIRED_LINK_VER         = 10.00.30319.01
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   199
      endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   200
    endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   201
  endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   202
  ifeq ($(CC_VERSION),gcc)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   203
    REQUIRED_CC_VER           = 3.4.3
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   204
  endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   205
endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   206
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   207
# Generic
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   208
REQUIRED_ANT_VER          = 1.6.3
6077
d0474c0566ea 6973616: Update minimum boot jdk from 1.5 to 1.6
ohair
parents: 5506
diff changeset
   209
REQUIRED_BOOT_VER         = 1.6
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   210
REQUIRED_FREETYPE_VERSION = 2.3.0
7483
280294134c62 6909026: Change GNU make version requirement to 3.81
ohair
parents: 6373
diff changeset
   211
REQUIRED_MAKE_VER         = 3.81
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   212
REQUIRED_UNZIP_VER        = 5.12
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   213
REQUIRED_ZIP_VER          = 2.2
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   214