author | never |
Mon, 12 Jul 2010 22:27:18 -0700 | |
changeset 5926 | a36f90d986b6 |
parent 5506 | 202f599c92aa |
child 6077 | d0474c0566ea |
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 |
# |
5506 | 2 |
# Copyright (c) 2009, 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 |
|
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
30 |
# This file needs these set: CC_VERSION, PLATFORM, ARCH_FAMILY, and ARCH_DATA_MODEL. |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
31 |
|
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
32 |
########################################################################## |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
33 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
34 |
# 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
|
35 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
36 |
# REQUIRED_ALSA_VERSION |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
37 |
# 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
|
38 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
39 |
# REQUIRED_ANT_VER |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
40 |
# The minimum 'ant' version. |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
41 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
42 |
# REQUIRED_BOOT_VER |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
43 |
# The minimum boot jdk version. |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
44 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
45 |
# REQUIRED_CC_VER |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
46 |
# 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
|
47 |
# |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
48 |
# REQUIRED_COMPILER_NAME |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
49 |
# 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
|
50 |
# |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
51 |
# REQUIRED_COMPILER_VERSION |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
52 |
# 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
|
53 |
# |
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
54 |
# REQUIRED_CYGWIN_VER |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
55 |
# 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
|
56 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
57 |
# REQUIRED_DXSDK_VER |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
58 |
# 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
|
59 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
60 |
# REQUIRED_FREE_SPACE |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
61 |
# 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
|
62 |
# built workspace. |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
63 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
64 |
# REQUIRED_FREETYPE_VERSION |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
65 |
# 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
|
66 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
67 |
# REQUIRED_GCC_VER |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
68 |
# 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
|
69 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
70 |
# REQUIRED_LINK_VER |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
71 |
# 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
|
72 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
73 |
# REQUIRED_MAKE_VER |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
74 |
# 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
|
75 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
76 |
# REQUIRED_MKS_VER |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
77 |
# 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
|
78 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
79 |
# REQUIRED_OS_VARIANT_NAME |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
80 |
# The OS variation name required. |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
81 |
# Solaris: Solaris or OpenSolaris |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
82 |
# Windows: Windows2000, WindowsXP, Windows2003, etc. |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
83 |
# 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
|
84 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
85 |
# REQUIRED_OS_VARIANT_VERSION |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
86 |
# 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
|
87 |
# Solaris: output of uname -r |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
88 |
# 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
|
89 |
# 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
|
90 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
91 |
# REQUIRED_OS_VERSION |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
92 |
# The formal OS version number. |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
93 |
# 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
|
94 |
# 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
|
95 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
96 |
# REQUIRED_UNZIP_VER |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
97 |
# The minimum version of unzip. |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
98 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
99 |
# REQUIRED_ZIP_VER |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
100 |
# The minimum version of unzip. |
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 |
########### |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
103 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
104 |
# 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
|
105 |
# 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
|
106 |
# |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
107 |
# 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
|
108 |
# 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
|
109 |
# of the OpenJDK. |
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 |
########################################################################## |
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 |
# Solaris specific |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
114 |
ifeq ($(PLATFORM), solaris) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
115 |
REQUIRED_OS_VERSION = 5.10 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
116 |
REQUIRED_OS_VARIANT_NAME = Solaris |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
117 |
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
|
118 |
ifeq ($(ARCH_FAMILY), sparc) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
119 |
REQUIRED_FREE_SPACE = 1300000 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
120 |
else |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
121 |
REQUIRED_FREE_SPACE = 1040000 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
122 |
endif |
2186
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
123 |
REQUIRED_COMPILER_NAME = Sun Studio 12 |
53da56fa3bf9
6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents:
2158
diff
changeset
|
124 |
REQUIRED_COMPILER_VERSION = SS12 |
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
125 |
ifeq ($(CC_VERSION),sun) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
126 |
REQUIRED_CC_VER = 5.9 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
127 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
128 |
ifeq ($(CC_VERSION),gcc) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
129 |
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
|
130 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
131 |
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
|
132 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
133 |
|
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
134 |
# Linux specific |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
135 |
ifeq ($(PLATFORM), linux) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
136 |
REQUIRED_OS_VERSION = 2.6 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
137 |
REQUIRED_OS_VARIANT_NAME = Fedora |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
138 |
REQUIRED_OS_VARIANT_VERSION = 9 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
139 |
REQUIRED_FREE_SPACE = 1460000 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
140 |
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
|
141 |
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
|
142 |
REQUIRED_COMPILER_VERSION = GCC4 |
2158
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
143 |
REQUIRED_GCC_VER = 2.95 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
144 |
ifeq ($(CC_VERSION),gcc) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
145 |
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
|
146 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
147 |
ifeq ($(CC_VERSION),sun) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
148 |
REQUIRED_CC_VER = 5.9 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
149 |
endif |
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 |
|
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
152 |
# Windows specific |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
153 |
ifeq ($(PLATFORM), windows) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
154 |
ifeq ($(ARCH_DATA_MODEL),64) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
155 |
REQUIRED_OS_VERSION = 5.2 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
156 |
REQUIRED_OS_VARIANT_NAME = Windows2003 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
157 |
else |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
158 |
REQUIRED_OS_VERSION = 5.1 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
159 |
REQUIRED_OS_VARIANT_NAME = WindowsXP |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
160 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
161 |
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
|
162 |
REQUIRED_CYGWIN_VER = 4.0 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
163 |
REQUIRED_MKS_VER = 6.1 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
164 |
REQUIRED_FREE_SPACE = 500000 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
165 |
REQUIRED_DXSDK_VER = 0x0900 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
166 |
ifeq ($(CC_VERSION),msvc) |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
167 |
ifeq ($(ARCH_DATA_MODEL), 32) |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
168 |
REQUIRED_COMPILER_NAME = Visual Studio 10 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
169 |
REQUIRED_COMPILER_VERSION = VS2010 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
170 |
REQUIRED_CC_VER = 16.00.30319.01 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
171 |
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
|
172 |
else |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
173 |
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
|
174 |
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
|
175 |
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
|
176 |
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
|
177 |
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
|
178 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
179 |
ifeq ($(ARCH), amd64) |
5381
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
180 |
REQUIRED_COMPILER_NAME = Visual Studio 10 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
181 |
REQUIRED_COMPILER_VERSION = VS2010 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
182 |
REQUIRED_CC_VER = 16.00.30319.01 |
d6d64a42ff51
6931180: Migration to recent versions of MS Platform SDK
prr
parents:
2186
diff
changeset
|
183 |
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
|
184 |
endif |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
185 |
endif |
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 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
193 |
REQUIRED_ANT_VER = 1.6.3 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
194 |
REQUIRED_BOOT_VER = 1.5 |
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 |
68869a085470
6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents:
diff
changeset
|
196 |
REQUIRED_MAKE_VER = 3.78 |
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 |