author | dholmes |
Wed, 16 Mar 2011 18:54:50 -0400 | |
changeset 8796 | 604a43386301 |
parent 8080 | b733aa0d1c9b |
child 8828 | fb3ae88d8e8d |
permissions | -rw-r--r-- |
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 | 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 | 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 | 21 |
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
22 |
# or visit www.oracle.com if you need additional information or have any |
|
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 |
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
|
83 |
# 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
|
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) |
8013
4efa283dbce2
6989472: Provide simple jdk identification information in the install image
ohair
parents:
7667
diff
changeset
|
130 |
REQUIRED_OS_NAME = SunOS |
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
131 |
REQUIRED_OS_VERSION = 5.10 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
132 |
REQUIRED_OS_VARIANT_NAME = Solaris |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
133 |
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
|
134 |
ifeq ($(ARCH_FAMILY), sparc) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
135 |
REQUIRED_FREE_SPACE = 1300000 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
136 |
else |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
137 |
REQUIRED_FREE_SPACE = 1040000 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
138 |
endif |
6373
23ec4a141fc9
6974017: Upgrade required Solaris Studio compilers to 5.10 (12 update 1 + patches)
ohair
parents:
6077
diff
changeset
|
139 |
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
|
140 |
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
|
141 |
# 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
|
142 |
# 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
|
143 |
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
|
144 |
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
|
145 |
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
|
146 |
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
|
147 |
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
|
148 |
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
|
149 |
endif |
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
150 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
151 |
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
|
152 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
153 |
|
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
154 |
# Linux specific |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
155 |
ifeq ($(PLATFORM), linux) |
8013
4efa283dbce2
6989472: Provide simple jdk identification information in the install image
ohair
parents:
7667
diff
changeset
|
156 |
REQUIRED_OS_NAME = Linux |
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
157 |
REQUIRED_OS_VERSION = 2.6 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
158 |
REQUIRED_OS_VARIANT_NAME = Fedora |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
159 |
REQUIRED_OS_VARIANT_VERSION = 9 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
160 |
REQUIRED_FREE_SPACE = 1460000 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
161 |
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
|
162 |
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
|
163 |
REQUIRED_COMPILER_VERSION = GCC4 |
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
164 |
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
|
165 |
# 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
|
166 |
# 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
|
167 |
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
|
168 |
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
|
169 |
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
|
170 |
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
|
171 |
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
|
172 |
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
|
173 |
endif |
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
174 |
endif |
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 |
|
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
177 |
# Windows specific |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
178 |
ifeq ($(PLATFORM), windows) |
8013
4efa283dbce2
6989472: Provide simple jdk identification information in the install image
ohair
parents:
7667
diff
changeset
|
179 |
REQUIRED_OS_NAME = Windows |
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
180 |
ifeq ($(ARCH_DATA_MODEL),64) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
181 |
REQUIRED_OS_VERSION = 5.2 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
182 |
REQUIRED_OS_VARIANT_NAME = Windows2003 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
183 |
else |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
184 |
REQUIRED_OS_VERSION = 5.1 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
185 |
REQUIRED_OS_VARIANT_NAME = WindowsXP |
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 |
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
|
188 |
REQUIRED_CYGWIN_VER = 4.0 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
189 |
REQUIRED_MKS_VER = 6.1 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
190 |
REQUIRED_FREE_SPACE = 500000 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
191 |
REQUIRED_DXSDK_VER = 0x0900 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
192 |
ifeq ($(CC_VERSION),msvc) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
193 |
ifeq ($(ARCH_DATA_MODEL), 32) |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
194 |
REQUIRED_COMPILER_NAME = Visual Studio 10 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
195 |
REQUIRED_COMPILER_VERSION = VS2010 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
196 |
REQUIRED_CC_VER = 16.00.30319.01 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
197 |
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
|
198 |
else |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
199 |
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
|
200 |
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
|
201 |
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
|
202 |
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
|
203 |
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
|
204 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
205 |
ifeq ($(ARCH), amd64) |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
206 |
REQUIRED_COMPILER_NAME = Visual Studio 10 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
207 |
REQUIRED_COMPILER_VERSION = VS2010 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
208 |
REQUIRED_CC_VER = 16.00.30319.01 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
209 |
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
|
210 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
211 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
212 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
213 |
ifeq ($(CC_VERSION),gcc) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
214 |
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
|
215 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
216 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
217 |
|
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
218 |
# Generic |
8080
b733aa0d1c9b
7016976: Documentation for required ant version on JDK7 builds on Solaris 10 and Solaris 11
ohair
parents:
8013
diff
changeset
|
219 |
REQUIRED_ANT_VER = 1.7.1 |
6077 | 220 |
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
|
221 |
REQUIRED_FREETYPE_VERSION = 2.3.0 |
7483
280294134c62
6909026: Change GNU make version requirement to 3.81
ohair
parents:
6373
diff
changeset
|
222 |
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
|
223 |
REQUIRED_UNZIP_VER = 5.12 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
224 |
REQUIRED_ZIP_VER = 2.2 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
225 |