jdk/make/common/shared/Sanity-Settings.gmk
author andrew
Fri, 06 May 2011 01:55:29 +0100
changeset 9457 57358dca0845
parent 8993 9076d969ffdf
child 11994 74f1488b7347
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:
2
90ce3da70b43 Initial load
duke
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: 8018
diff changeset
     2
# Copyright (c) 2005, 2011, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
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: 3742
diff changeset
     7
# published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
# particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 3742
diff changeset
     9
# by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
# This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
# You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
# 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
#
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 3742
diff changeset
    21
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 3742
diff changeset
    22
# or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 3742
diff changeset
    23
# questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
# Shared sanity settings file. Fills in the variable ALL_SETTINGS.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
# On Windows in particular, it can happen that quotes get into the PATH
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
#    variable. This is very bad, and must be caught early or you can
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
#    see errors like: sh: -c: line 0: syntax error near unexpected token
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
ifneq ($(PATH), $(subst ",,$(PATH)))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
  dummy1:=$(error ERROR: PATH variable contains double quotes, fix your PATH.)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
ifneq ($(PATH), $(subst ',,$(PATH)))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
  dummy1:=$(error ERROR: PATH variable contains single quotes, fix your PATH.)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
# Used to add a heading to ALL_SETTINGS
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
define addHeading
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
"\n$1:\n"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
endef
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
# Used to add a line to ALL_SETTINGS for an optional value
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
#   (need if test for windows which has issues with ; characters in values)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
define addOptionalSetting
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
$(if $($1)," $1 = $($1)\n"," $1 = $($1)\n")
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
endef
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
# Used to add a line to ALL_SETTINGS for something that must have a value
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
define addRequiredSetting
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
$(if $($1)," $1 = $($1)\n",$(warning WARNING: $1 should not be empty [Sanity-Settings.gmk]))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
endef
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
# Used to add a line to ALL_SETTINGS for something that must have a value
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
define addRequiredVersionSetting
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
$(if $($1)," $1 = $($1) [requires at least $(REQUIRED_$1)]\n",$(warning WARNING: $1 should not be empty [Sanity-Settings.gmk]))
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
endef
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
# Used to add a series of lines to ALL_SETTINGS
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
define addAltSetting
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
" $1 = $($1)\n    ALT_$1 = $(ALT_$1)\n"
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
endef
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
# Variable that contains a string of all information
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
# Make sure this is a 'do it now' variable.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
ALL_SETTINGS:=$(call addHeading,Bootstrap Settings)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
ALL_SETTINGS+=$(call addAltSetting,BOOTDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
ALL_SETTINGS+=$(call addRequiredVersionSetting,BOOT_VER)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
ALL_SETTINGS+=$(call addAltSetting,OUTPUTDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
ALL_SETTINGS+=$(call addRequiredSetting,ABS_OUTPUTDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
ALL_SETTINGS+=$(call addHeading,Build Tool Settings)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
ALL_SETTINGS+=$(call addAltSetting,SLASH_JAVA)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
ALL_SETTINGS+=$(call addRequiredSetting,VARIANT)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
ALL_SETTINGS+=$(call addAltSetting,JDK_DEVTOOLS_DIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
ALL_SETTINGS+=$(call addOptionalSetting,ANT_HOME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
ALL_SETTINGS+=$(call addAltSetting,UNIXCOMMAND_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
ALL_SETTINGS+=$(call addAltSetting,COMPILER_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
ALL_SETTINGS+=$(call addAltSetting,DEVTOOLS_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
ifeq ($(PLATFORM),linux)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
  ALL_SETTINGS+=$(call addAltSetting,UNIXCCS_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
  ALL_SETTINGS+=$(call addAltSetting,USRBIN_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
  ifndef OPENJDK
90ce3da70b43 Initial load
duke
parents:
diff changeset
    89
    ALL_SETTINGS+=$(call addAltSetting,GCC29_COMPILER_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
  endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
ifeq ($(PLATFORM),solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
  ALL_SETTINGS+=$(call addAltSetting,UNIXCCS_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
  ifndef OPENJDK
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
    ALL_SETTINGS+=$(call addAltSetting,GCC_COMPILER_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
  endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
ifeq ($(PLATFORM),windows)
2186
53da56fa3bf9 6816311: Changes to allow builds with latest Windows SDK 6.1 on 64bit Windows 2003
ohair
parents: 2158
diff changeset
    99
  ifneq ($(MSVCRNN_DLL),)
1776
33e9405ab91b 6754862: jdk/src/windows/bin/java_md.c: hardcoded reference to msvcr71.dll
tbell
parents: 1162
diff changeset
   100
    ALL_SETTINGS+=$(call addAltSetting,MSVCRNN_DLL_PATH)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
  endif
7665
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 5506
diff changeset
   102
  ALL_SETTINGS+=$(call addRequiredSetting,INCLUDE)
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 5506
diff changeset
   103
  ALL_SETTINGS+=$(call addRequiredSetting,LIB)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
ALL_SETTINGS+=$(call addOptionalSetting,COMPILER_NAME)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
ALL_SETTINGS+=$(call addOptionalSetting,COMPILER_VERSION)
8796
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8018
diff changeset
   107
ifdef REQUIRED_CC_VER
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8018
diff changeset
   108
  ALL_SETTINGS+=$(call addRequiredVersionSetting,CC_VER)
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8018
diff changeset
   109
else
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8018
diff changeset
   110
  ALL_SETTINGS+=$(call addOptionalSetting,CC_VER)
604a43386301 7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code
dholmes
parents: 8018
diff changeset
   111
endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
ifeq ($(PLATFORM),solaris)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
  ifeq ($(ARCH_DATA_MODEL), 32)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
    ifndef OPENJDK
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
      ALL_SETTINGS+=$(call addRequiredVersionSetting,GCC_VER)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
    endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
  endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
ALL_SETTINGS+=$(call addRequiredVersionSetting,ZIP_VER)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
ALL_SETTINGS+=$(call addRequiredVersionSetting,UNZIP_VER)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
ifeq ($(PLATFORM),windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
  ALL_SETTINGS+=$(call addRequiredVersionSetting,LINK_VER)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7669
diff changeset
   123
  ALL_SETTINGS+=$(call addRequiredSetting,CC)
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7669
diff changeset
   124
  ALL_SETTINGS+=$(call addRequiredSetting,LINK)
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7669
diff changeset
   125
  ALL_SETTINGS+=$(call addRequiredSetting,DUMPBIN)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
ALL_SETTINGS+=$(call addRequiredVersionSetting,ANT_VER)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
ALL_SETTINGS+=$(call addRequiredSetting,TEMPDIR)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
ALL_SETTINGS+=$(call addHeading,Build Directives)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
ALL_SETTINGS+=$(call addOptionalSetting,OPENJDK)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
ALL_SETTINGS+=$(call addOptionalSetting,USE_HOTSPOT_INTERPRETER_MODE)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
ALL_SETTINGS+=$(call addOptionalSetting,PEDANTIC)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
ALL_SETTINGS+=$(call addOptionalSetting,DEV_ONLY)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
ALL_SETTINGS+=$(call addOptionalSetting,NO_DOCS)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
ALL_SETTINGS+=$(call addOptionalSetting,NO_IMAGES)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   138
ALL_SETTINGS+=$(call addOptionalSetting,TOOLS_ONLY)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   139
ALL_SETTINGS+=$(call addOptionalSetting,INSANE)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   140
ALL_SETTINGS+=$(call addRequiredSetting,COMPILE_APPROACH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   141
ifeq ($(COMPILE_APPROACH), parallel)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   142
  ALL_SETTINGS+=$(call addAltSetting,PARALLEL_COMPILE_JOBS)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   143
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   144
ALL_SETTINGS+=$(call addOptionalSetting,FASTDEBUG)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   145
ALL_SETTINGS+=$(call addRequiredSetting,COMPILER_WARNINGS_FATAL)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   146
ALL_SETTINGS+=$(call addOptionalSetting,COMPILER_WARNING_LEVEL)
7669
3ebe17bda998 6991482: Add global jdk makefile options to silence some VS2010 warnings
ohair
parents: 7666
diff changeset
   147
ALL_SETTINGS+=$(call addOptionalSetting,SHOW_ALL_WARNINGS)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   148
ALL_SETTINGS+=$(call addRequiredSetting,INCREMENTAL_BUILD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
ALL_SETTINGS+=$(call addOptionalSetting,CC_HIGHEST_OPT)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
ALL_SETTINGS+=$(call addOptionalSetting,CC_HIGHER_OPT)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
ALL_SETTINGS+=$(call addOptionalSetting,CC_LOWER_OPT)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
ALL_SETTINGS+=$(call addOptionalSetting,CXXFLAGS)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
ALL_SETTINGS+=$(call addOptionalSetting,CFLAGS)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
ALL_SETTINGS+=$(call addOptionalSetting,BOOT_JAVA_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
ALL_SETTINGS+=$(call addOptionalSetting,BOOT_JAVAC_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
ALL_SETTINGS+=$(call addOptionalSetting,BOOT_JAR_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
ALL_SETTINGS+=$(call addOptionalSetting,BOOT_JARSIGNER_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
# These don't print out well with windows due to the ';' characters
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
ifneq ($(PLATFORM),windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
  ALL_SETTINGS+=$(call addOptionalSetting,JAVAC_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
  ALL_SETTINGS+=$(call addOptionalSetting,JAVAH_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
  ALL_SETTINGS+=$(call addOptionalSetting,JAVADOC_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
ALL_SETTINGS+=$(call addHeading,Build Platform Settings)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
ALL_SETTINGS+=$(call addRequiredSetting,USER)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
ALL_SETTINGS+=$(call addRequiredSetting,PLATFORM)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
ALL_SETTINGS+=$(call addRequiredSetting,ARCH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
ALL_SETTINGS+=$(call addRequiredSetting,LIBARCH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
ALL_SETTINGS+=$(call addRequiredSetting,ARCH_FAMILY)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
ALL_SETTINGS+=$(call addRequiredSetting,ARCH_DATA_MODEL)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
ALL_SETTINGS+=$(call addRequiredSetting,ARCHPROP)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
ifeq ($(PLATFORM),windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
  ALL_SETTINGS+=$(call addRequiredSetting,PROCESSOR_ARCHITECTURE)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
  ALL_SETTINGS+=$(call addRequiredSetting,PROCESSOR_IDENTIFIER)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
  ifdef USING_CYGWIN
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
    ALL_SETTINGS+=$(call addRequiredSetting,USING_CYGWIN)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
    ALL_SETTINGS+=$(call addRequiredVersionSetting,CYGWIN_VER)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
    ALL_SETTINGS+=$(call addRequiredSetting,CYGPATH_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
  else
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
    ALL_SETTINGS+=$(call addRequiredVersionSetting,MKS_VER)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
    ALL_SETTINGS+=$(call addOptionalSetting,DOSNAME_CMD)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
  endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
ifeq ($(PLATFORM),linux)
8993
9076d969ffdf 7025066: Build systems changes to support SE Embedded Integration
dholmes
parents: 8796
diff changeset
   188
  ifdef REQUIRED_ALSA_VERSION
9076d969ffdf 7025066: Build systems changes to support SE Embedded Integration
dholmes
parents: 8796
diff changeset
   189
    ALL_SETTINGS+=$(call addRequiredSetting,ALSA_VERSION)
9076d969ffdf 7025066: Build systems changes to support SE Embedded Integration
dholmes
parents: 8796
diff changeset
   190
  endif
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
ALL_SETTINGS+=$(call addRequiredVersionSetting,OS_VERSION)
2158
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents: 1776
diff changeset
   193
ALL_SETTINGS+=$(call addOptionalSetting,OS_VARIANT_NAME)
68869a085470 6799141: Build with --hash-style=both so that binaries can work on SuSE 10
ohair
parents: 1776
diff changeset
   194
ALL_SETTINGS+=$(call addOptionalSetting,OS_VARIANT_VERSION)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
ALL_SETTINGS+=$(call addRequiredSetting,MB_OF_MEMORY)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
ALL_SETTINGS+=$(call addHeading,GNU Make Settings)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
ALL_SETTINGS+=$(call addRequiredSetting,MAKE)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
ALL_SETTINGS+=$(call addRequiredVersionSetting,MAKE_VER)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   201
ALL_SETTINGS+=$(call addOptionalSetting,MAKECMDGOALS)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   202
ALL_SETTINGS+=$(call addOptionalSetting,MAKEFLAGS)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   203
ALL_SETTINGS+=$(call addRequiredSetting,SHELL)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   204
90ce3da70b43 Initial load
duke
parents:
diff changeset
   205
90ce3da70b43 Initial load
duke
parents:
diff changeset
   206
ALL_SETTINGS+=$(call addHeading,Target Build Versions)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   207
ALL_SETTINGS+=$(call addRequiredSetting,JDK_VERSION)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   208
ALL_SETTINGS+=$(call addOptionalSetting,MILESTONE)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   209
ALL_SETTINGS+=$(call addOptionalSetting,RELEASE)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   210
ALL_SETTINGS+=$(call addRequiredSetting,FULL_VERSION)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   211
ALL_SETTINGS+=$(call addOptionalSetting,BUILD_NUMBER)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   212
90ce3da70b43 Initial load
duke
parents:
diff changeset
   213
90ce3da70b43 Initial load
duke
parents:
diff changeset
   214
ALL_SETTINGS+=$(call addHeading,External File/Binary Locations)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
ALL_SETTINGS+=$(call addRequiredSetting,USRJDKINSTANCES_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
ALL_SETTINGS+=$(call addAltSetting,BUILD_JDK_IMPORT_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
ALL_SETTINGS+=$(call addAltSetting,JDK_IMPORT_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
ALL_SETTINGS+=$(call addAltSetting,LANGTOOLS_DIST)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
ALL_SETTINGS+=$(call addAltSetting,CORBA_DIST)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
ALL_SETTINGS+=$(call addAltSetting,JAXP_DIST)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
ALL_SETTINGS+=$(call addAltSetting,JAXWS_DIST)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
ALL_SETTINGS+=$(call addAltSetting,HOTSPOT_DOCS_IMPORT_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
ALL_SETTINGS+=$(call addAltSetting,HOTSPOT_IMPORT_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
ifeq ($(ARCH_DATA_MODEL), 32)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   225
  ALL_SETTINGS+=$(call addAltSetting,HOTSPOT_CLIENT_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
ALL_SETTINGS+=$(call addAltSetting,HOTSPOT_SERVER_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
ifeq ($(PLATFORM),windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
  ALL_SETTINGS+=$(call addAltSetting,HOTSPOT_LIB_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
  ALL_SETTINGS+=$(call addRequiredSetting,DXSDK_VER)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
  ALL_SETTINGS+=$(call addAltSetting,DXSDK_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
  ALL_SETTINGS+=$(call addAltSetting,DXSDK_INCLUDE_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   233
  ALL_SETTINGS+=$(call addAltSetting,DXSDK_LIB_PATH)
7665
bc5dbdc44e1e 6360517: ALT_MSDEVTOOLS_PATH and rc.exe location, and rebase location
ohair
parents: 5506
diff changeset
   234
  ALL_SETTINGS+=$(call addAltSetting,WINDOWSSDKDIR)
8008
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7669
diff changeset
   235
  ALL_SETTINGS+=$(call addRequiredSetting,RC)
753c38f4af83 6975326: Problem in install/make/rebase/Makefile, grep on empty pattern
ohair
parents: 7669
diff changeset
   236
  ALL_SETTINGS+=$(call addRequiredSetting,REBASE)
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   237
  ifndef OPENJDK
90ce3da70b43 Initial load
duke
parents:
diff changeset
   238
    ALL_SETTINGS+=$(call addAltSetting,DEPLOY_MSSDK)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   239
    ALL_SETTINGS+=$(call addAltSetting,INSTALL_MSSDK)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   240
    ALL_SETTINGS+=$(call addAltSetting,WSCRIPT)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   241
    ALL_SETTINGS+=$(call addAltSetting,MSICERT)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   242
  endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   243
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   244
ALL_SETTINGS+=$(call addAltSetting,CACERTS_FILE)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   245
ifndef OPENJDK
90ce3da70b43 Initial load
duke
parents:
diff changeset
   246
  ALL_SETTINGS+=$(call addAltSetting,MOZILLA_HEADERS_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   247
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   248
ifneq ($(PLATFORM),windows)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   249
  ALL_SETTINGS+=$(call addAltSetting,CUPS_HEADERS_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   250
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   251
90ce3da70b43 Initial load
duke
parents:
diff changeset
   252
ifdef OPENJDK
90ce3da70b43 Initial load
duke
parents:
diff changeset
   253
  ALL_SETTINGS+=$(call addHeading,OpenJDK-specific settings)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   254
  ALL_SETTINGS+=$(call addAltSetting,FREETYPE_HEADERS_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   255
  ALL_SETTINGS+=$(call addAltSetting,FREETYPE_LIB_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   256
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   257
90ce3da70b43 Initial load
duke
parents:
diff changeset
   258
ifdef OPENJDK
90ce3da70b43 Initial load
duke
parents:
diff changeset
   259
  ALL_SETTINGS+=$(call addHeading,Previous JDK Settings)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   260
  ALL_SETTINGS+=$(call addAltSetting,PREVIOUS_RELEASE_PATH)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   261
  ALL_SETTINGS+=$(call addAltSetting,PREVIOUS_JDK_VERSION)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   262
  ALL_SETTINGS+=$(call addAltSetting,PREVIOUS_JDK_FILE)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   263
  ALL_SETTINGS+=$(call addAltSetting,PREVIOUS_JRE_FILE)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   264
  ALL_SETTINGS+=$(call addAltSetting,PREVIOUS_RELEASE_IMAGE)
90ce3da70b43 Initial load
duke
parents:
diff changeset
   265
endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   266