jdk/make/common/shared/Defs-versions.gmk
author andrew
Fri, 06 May 2011 01:55:29 +0100
changeset 9457 57358dca0845
parent 8828 fb3ae88d8e8d
child 10108 7e602b35fe82
permissions -rw-r--r--
7042040: Remove disk space sanity check Summary: Remove outdated disk space checks using df Reviewed-by: ohair, omajid
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
#
8796
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
     2
# Copyright (c) 2009, 2011, 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_FREETYPE_VERSION
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    76
#   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
    77
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    78
# REQUIRED_GCC_VER
7533
0e5344378b1b 7004205: fixes handling of sane-gcc-compiler on 32-bit linux and solaris. Previously committed as 6998016 and 6998012
mduigou
parents: 6373
diff changeset
    79
#   Solaris and Linux only. The required version of gcc/g++ for the legacy OJI plugin.
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    80
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    81
# REQUIRED_LINK_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    82
#   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
    83
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    84
# REQUIRED_MAKE_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    85
#   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
    86
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    87
# REQUIRED_MKS_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    88
#   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
    89
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    90
# REQUIRED_OS_VARIANT_NAME
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    91
#   The OS variation name required.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    92
#     Solaris: Solaris or OpenSolaris
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    93
#     Windows: Windows2000, WindowsXP, Windows2003, etc.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    94
#     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
    95
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    96
# REQUIRED_OS_VARIANT_VERSION
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    97
#   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
    98
#     Solaris: output of uname -r
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
    99
#     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
   100
#     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
   101
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   102
# REQUIRED_OS_VERSION
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   103
#   The formal OS version number.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   104
#     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
   105
#     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
   106
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   107
# REQUIRED_UNZIP_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   108
#   The minimum version of unzip.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   109
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   110
# REQUIRED_ZIP_VER
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   111
#   The minimum version of unzip.
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   112
#
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
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   115
# 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
   116
#   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
   117
#
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   118
# 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
   119
#  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
   120
#  of the OpenJDK.
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
##########################################################################
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   123
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   124
# Solaris specific
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   125
ifeq ($(PLATFORM), solaris)
8013
4efa283dbce2 6989472: Provide simple jdk identification information in the install image
ohair
parents: 7667
diff changeset
   126
  REQUIRED_OS_NAME            = SunOS
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   127
  REQUIRED_OS_VERSION         = 5.10
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   128
  REQUIRED_OS_VARIANT_NAME    = Solaris
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   129
  REQUIRED_OS_VARIANT_VERSION = $(REQUIRED_OS_VERSION)
6373
23ec4a141fc9 6974017: Upgrade required Solaris Studio compilers to 5.10 (12 update 1 + patches)
ohair
parents: 6077
diff changeset
   130
  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
   131
  REQUIRED_COMPILER_VERSION   = SS12u1
8796
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   132
  # Cross-compilation compiler versions are target specific
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   133
  # so don't set a required version if cross-compiling
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   134
  ifndef CROSS_COMPILE_ARCH
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   135
    ifeq ($(CC_VERSION),sun)
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   136
      REQUIRED_CC_VER           = 5.10
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   137
    endif
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   138
    ifeq ($(CC_VERSION),gcc)
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   139
      REQUIRED_CC_VER           = 3.4.3
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   140
    endif
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   141
  endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   142
  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
   143
endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   144
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   145
# Linux specific
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   146
ifeq ($(PLATFORM), linux)
8013
4efa283dbce2 6989472: Provide simple jdk identification information in the install image
ohair
parents: 7667
diff changeset
   147
  REQUIRED_OS_NAME            = Linux
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   148
  REQUIRED_OS_VERSION         = 2.6
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   149
  REQUIRED_OS_VARIANT_NAME    = Fedora
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   150
  REQUIRED_OS_VARIANT_VERSION = 9
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   151
  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
   152
  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
   153
  REQUIRED_COMPILER_VERSION   = GCC4
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   154
  REQUIRED_GCC_VER            = 2.95
8796
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   155
  # Cross-compilation compiler versions are target specific
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   156
  # so don't set a required version if cross-compiling
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   157
  ifndef CROSS_COMPILE_ARCH
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   158
    ifeq ($(CC_VERSION),gcc)
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   159
      REQUIRED_CC_VER           = 4.3.0
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   160
    endif
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   161
    ifeq ($(CC_VERSION),sun)
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   162
      REQUIRED_CC_VER           = 5.10
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8080
diff changeset
   163
    endif
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)
8013
4efa283dbce2 6989472: Provide simple jdk identification information in the install image
ohair
parents: 7667
diff changeset
   169
  REQUIRED_OS_NAME            = Windows
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   170
  ifeq ($(ARCH_DATA_MODEL),64)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   171
    REQUIRED_OS_VERSION       = 5.2
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   172
    REQUIRED_OS_VARIANT_NAME  = Windows2003
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   173
  else
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   174
    REQUIRED_OS_VERSION       = 5.1
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   175
    REQUIRED_OS_VARIANT_NAME  = WindowsXP
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   176
  endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   177
  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
   178
  REQUIRED_CYGWIN_VER         = 4.0
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   179
  REQUIRED_MKS_VER            = 6.1
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)
8827
f0f30d988312 7011718: VS2010, remove makefile logic with regards to use of VC6, VS2003, VS2005, VS2008
ohair
parents: 8080
diff changeset
   182
    REQUIRED_COMPILER_NAME    = Visual Studio 10
f0f30d988312 7011718: VS2010, remove makefile logic with regards to use of VC6, VS2003, VS2005, VS2008
ohair
parents: 8080
diff changeset
   183
    REQUIRED_COMPILER_VERSION = VS2010
f0f30d988312 7011718: VS2010, remove makefile logic with regards to use of VC6, VS2003, VS2005, VS2008
ohair
parents: 8080
diff changeset
   184
    REQUIRED_CC_VER           = 16.00.30319.01
f0f30d988312 7011718: VS2010, remove makefile logic with regards to use of VC6, VS2003, VS2005, VS2008
ohair
parents: 8080
diff changeset
   185
    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
   186
  endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   187
  ifeq ($(CC_VERSION),gcc)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   188
    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
   189
  endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   190
endif
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   191
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   192
# Generic
8080
b733aa0d1c9b 7016976: Documentation for required ant version on JDK7 builds on Solaris 10 and Solaris 11
ohair
parents: 8013
diff changeset
   193
REQUIRED_ANT_VER          = 1.7.1
6077
d0474c0566ea 6973616: Update minimum boot jdk from 1.5 to 1.6
ohair
parents: 5506
diff changeset
   194
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
   195
REQUIRED_FREETYPE_VERSION = 2.3.0
7483
280294134c62 6909026: Change GNU make version requirement to 3.81
ohair
parents: 6373
diff changeset
   196
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
   197
REQUIRED_UNZIP_VER        = 5.12
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   198
REQUIRED_ZIP_VER          = 2.2
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff changeset
   199