Tue, 02 Apr 2013 14:13:06 -0400
8011278: Allow using a system-installed giflib
Reviewed-by: andrew, prr
ohair@425 | 1 | # |
erikj@562 | 2 | # Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved. |
ohair@425 | 3 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
ohair@425 | 4 | # |
ohair@425 | 5 | # This code is free software; you can redistribute it and/or modify it |
ohair@425 | 6 | # under the terms of the GNU General Public License version 2 only, as |
ohair@425 | 7 | # published by the Free Software Foundation. Oracle designates this |
ohair@425 | 8 | # particular file as subject to the "Classpath" exception as provided |
ohair@425 | 9 | # by Oracle in the LICENSE file that accompanied this code. |
ohair@425 | 10 | # |
ohair@425 | 11 | # This code is distributed in the hope that it will be useful, but WITHOUT |
ohair@425 | 12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
ohair@425 | 13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
ohair@425 | 14 | # version 2 for more details (a copy is included in the LICENSE file that |
ohair@425 | 15 | # accompanied this code). |
ohair@425 | 16 | # |
ohair@425 | 17 | # You should have received a copy of the GNU General Public License version |
ohair@425 | 18 | # 2 along with this work; if not, write to the Free Software Foundation, |
ohair@425 | 19 | # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
ohair@425 | 20 | # |
ohair@425 | 21 | # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@425 | 22 | # or visit www.oracle.com if you need additional information or have any |
ohair@425 | 23 | # questions. |
ohair@425 | 24 | # |
ohair@425 | 25 | |
ohair@478 | 26 | # Configured @DATE_WHEN_CONFIGURED@ to build |
ohair@478 | 27 | # for target system @OPENJDK_TARGET_OS@-@OPENJDK_TARGET_CPU@ |
ohair@478 | 28 | # (called @OPENJDK_TARGET_AUTOCONF_NAME@ by autoconf) |
ohair@478 | 29 | # on build system @OPENJDK_BUILD_OS@-@OPENJDK_BUILD_CPU@ |
ohair@478 | 30 | # (called @OPENJDK_BUILD_AUTOCONF_NAME@ by autoconf) |
erikj@458 | 31 | # using 'configure @CONFIGURE_COMMAND_LINE@' |
ohair@425 | 32 | |
ohair@425 | 33 | # When calling macros, the spaces between arguments are |
ohair@425 | 34 | # often semantically important! Sometimes we need to subst |
ohair@425 | 35 | # spaces and commas, therefore we need the following macros. |
ohair@425 | 36 | X:= |
ohair@425 | 37 | SPACE:=$(X) $(X) |
ohair@425 | 38 | COMMA:=, |
ohair@425 | 39 | HASH:=\# |
ohair@425 | 40 | SQUOTE:=' |
ohair@425 | 41 | #' |
ohair@425 | 42 | DQUOTE:=" |
ohair@425 | 43 | #" |
ohair@494 | 44 | define NEWLINE |
ohair@494 | 45 | |
ohair@494 | 46 | |
ohair@425 | 47 | endef |
ohair@425 | 48 | |
ohair@478 | 49 | # A self-referential reference to this file. |
ohair@478 | 50 | SPEC:=@SPEC@ |
ohair@478 | 51 | |
ohair@478 | 52 | # Specify where the spec file is. |
ohair@478 | 53 | MAKE_ARGS="SPEC=$(SPEC)" |
ohair@478 | 54 | |
ohair@494 | 55 | MAKE:=@MAKE@ |
ohair@425 | 56 | |
ohair@425 | 57 | # Pass along the verbosity setting. |
ohair@425 | 58 | ifeq (,$(findstring VERBOSE=,$(MAKE))) |
ohair@425 | 59 | MAKE:=$(MAKE) $(VERBOSE) VERBOSE="$(VERBOSE)" |
ohair@425 | 60 | endif |
ohair@425 | 61 | |
ohair@425 | 62 | # No implicit variables or rules! |
ohair@425 | 63 | ifeq (,$(findstring -R,$(MAKE))) |
ohair@425 | 64 | MAKE:=$(MAKE) -R |
ohair@425 | 65 | endif |
ohair@425 | 66 | |
ohair@425 | 67 | # Specify where the common include directory for makefiles is. |
ohair@425 | 68 | ifeq (,$(findstring -I @SRC_ROOT@/common/makefiles,$(MAKE))) |
ohair@425 | 69 | MAKE:=$(MAKE) -I @SRC_ROOT@/common/makefiles |
ohair@425 | 70 | endif |
ohair@425 | 71 | |
erikj@445 | 72 | # The "human readable" name of this configuration |
erikj@445 | 73 | CONF_NAME:=@CONF_NAME@ |
erikj@445 | 74 | |
erikj@458 | 75 | # The built jdk will run in this target system. |
erikj@458 | 76 | OPENJDK_TARGET_OS:=@OPENJDK_TARGET_OS@ |
erikj@458 | 77 | OPENJDK_TARGET_OS_API:=@OPENJDK_TARGET_OS_API@ |
ohair@494 | 78 | OPENJDK_TARGET_OS_ENV:=@OPENJDK_TARGET_OS_ENV@ |
erikj@458 | 79 | |
erikj@458 | 80 | OPENJDK_TARGET_CPU:=@OPENJDK_TARGET_CPU@ |
erikj@458 | 81 | OPENJDK_TARGET_CPU_ARCH:=@OPENJDK_TARGET_CPU_ARCH@ |
erikj@458 | 82 | OPENJDK_TARGET_CPU_BITS:=@OPENJDK_TARGET_CPU_BITS@ |
erikj@458 | 83 | OPENJDK_TARGET_CPU_ENDIAN:=@OPENJDK_TARGET_CPU_ENDIAN@ |
ohair@425 | 84 | |
ohair@478 | 85 | COMPILE_TYPE:=@COMPILE_TYPE@ |
ohair@478 | 86 | |
ohair@478 | 87 | # Legacy support |
ohair@478 | 88 | OPENJDK_TARGET_CPU_ISADIR:=@OPENJDK_TARGET_CPU_ISADIR@ |
ohair@478 | 89 | OPENJDK_TARGET_CPU_LIBDIR:=@OPENJDK_TARGET_CPU_LIBDIR@ |
ohair@478 | 90 | OPENJDK_TARGET_CPU_LEGACY:=@OPENJDK_TARGET_CPU_LEGACY@ |
ohair@478 | 91 | OPENJDK_TARGET_CPU_LEGACY_LIB:=@OPENJDK_TARGET_CPU_LEGACY_LIB@ |
ohair@478 | 92 | OPENJDK_TARGET_CPU_OSARCH:=@OPENJDK_TARGET_CPU_OSARCH@ |
ohair@478 | 93 | OPENJDK_TARGET_CPU_JLI_CFLAGS:=@OPENJDK_TARGET_CPU_JLI_CFLAGS@ |
ohair@478 | 94 | OPENJDK_TARGET_OS_API_DIR:=@OPENJDK_TARGET_OS_API_DIR@ |
ohair@478 | 95 | |
ohair@425 | 96 | # We are building on this build system. |
erikj@458 | 97 | # When not cross-compiling, it is the same as the target. |
erikj@458 | 98 | OPENJDK_BUILD_OS:=@OPENJDK_BUILD_OS@ |
erikj@458 | 99 | OPENJDK_BUILD_OS_API:=@OPENJDK_BUILD_OS_API@ |
erikj@458 | 100 | |
erikj@458 | 101 | OPENJDK_BUILD_CPU:=@OPENJDK_BUILD_CPU@ |
erikj@458 | 102 | OPENJDK_BUILD_CPU_ARCH:=@OPENJDK_BUILD_CPU_ARCH@ |
erikj@458 | 103 | OPENJDK_BUILD_CPU_BITS:=@OPENJDK_BUILD_CPU_BITS@ |
erikj@458 | 104 | OPENJDK_BUILD_CPU_ENDIAN:=@OPENJDK_BUILD_CPU_ENDIAN@ |
ohair@425 | 105 | |
erikj@445 | 106 | # Legacy OS values for use in release file. |
erikj@445 | 107 | REQUIRED_OS_NAME:=@REQUIRED_OS_NAME@ |
erikj@445 | 108 | REQUIRED_OS_VERSION:=@REQUIRED_OS_VERSION@ |
erikj@445 | 109 | |
ohair@425 | 110 | @SET_OPENJDK@ |
ohair@425 | 111 | LIBM:=-lm |
erikj@445 | 112 | LIBDL:=@LIBDL@ |
ohair@425 | 113 | |
ohair@425 | 114 | # colon or semicolon |
ohair@425 | 115 | PATH_SEP:=@PATH_SEP@ |
ohair@425 | 116 | |
ohair@494 | 117 | ifeq ($(OPENJDK_TARGET_OS), windows) |
ohair@494 | 118 | # On Windows, the Visual Studio toolchain needs the LIB and INCLUDE |
ohair@494 | 119 | # environment variables (in Windows path style), and the PATH needs to |
ohair@494 | 120 | # be adjusted to include Visual Studio tools (but this needs to be in |
ohair@494 | 121 | # cygwin/msys style). |
ohair@494 | 122 | export PATH:=@VS_PATH@ |
ohair@494 | 123 | export INCLUDE:=@VS_INCLUDE@ |
ohair@494 | 124 | export LIB:=@VS_LIB@ |
ohair@494 | 125 | endif |
ohair@425 | 126 | |
ohair@425 | 127 | # The sys root where standard headers and libraries are found. |
ohair@425 | 128 | # Usually not needed since the configure script should have |
ohair@425 | 129 | # taken it into account already when setting CFLAGS et al. |
ohair@425 | 130 | SYS_ROOT:=@SYS_ROOT@ |
ohair@425 | 131 | |
ohair@425 | 132 | # Paths to the source code |
ohair@425 | 133 | SRC_ROOT:=@SRC_ROOT@ |
ohair@425 | 134 | ADD_SRC_ROOT:=@ADD_SRC_ROOT@ |
ohair@425 | 135 | OVERRIDE_SRC_ROOT:=@OVERRIDE_SRC_ROOT@ |
ohair@425 | 136 | TOPDIR:=@SRC_ROOT@ |
ohair@425 | 137 | OUTPUT_ROOT:=@OUTPUT_ROOT@ |
ohair@425 | 138 | JDK_TOPDIR:=@JDK_TOPDIR@ |
ohair@425 | 139 | LANGTOOLS_TOPDIR:=@LANGTOOLS_TOPDIR@ |
ohair@425 | 140 | CORBA_TOPDIR:=@CORBA_TOPDIR@ |
ohair@425 | 141 | JAXP_TOPDIR:=@JAXP_TOPDIR@ |
ohair@425 | 142 | JAXWS_TOPDIR:=@JAXWS_TOPDIR@ |
ohair@425 | 143 | HOTSPOT_TOPDIR:=@HOTSPOT_TOPDIR@ |
jjg@645 | 144 | NASHORN_TOPDIR:=@NASHORN_TOPDIR@ |
ohair@425 | 145 | COPYRIGHT_YEAR:=@COPYRIGHT_YEAR@ |
ohair@425 | 146 | |
ohair@478 | 147 | # Location where build customization files may be found |
ohair@478 | 148 | CUSTOM_MAKE_DIR:=@CUSTOM_MAKE_DIR@ |
ohair@478 | 149 | |
ohair@425 | 150 | # Information gathered from the version.numbers file. |
ohair@425 | 151 | JDK_MAJOR_VERSION:=@JDK_MAJOR_VERSION@ |
ohair@425 | 152 | JDK_MINOR_VERSION:=@JDK_MINOR_VERSION@ |
ohair@425 | 153 | JDK_MICRO_VERSION:=@JDK_MICRO_VERSION@ |
ohair@425 | 154 | JDK_UPDATE_VERSION:=@JDK_UPDATE_VERSION@ |
ohair@425 | 155 | JDK_BUILD_NUMBER:=@JDK_BUILD_NUMBER@ |
ohair@425 | 156 | MILESTONE:=@MILESTONE@ |
ohair@425 | 157 | LAUNCHER_NAME:=@LAUNCHER_NAME@ |
ohair@425 | 158 | PRODUCT_NAME:=@PRODUCT_NAME@ |
ohair@425 | 159 | PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@ |
ohair@425 | 160 | JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@ |
ohair@425 | 161 | COMPANY_NAME:=@COMPANY_NAME@ |
ohair@494 | 162 | MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@ |
ohair@494 | 163 | MACOSX_BUNDLE_ID_BASE=@MACOSX_BUNDLE_ID_BASE@ |
ohair@425 | 164 | |
ohair@425 | 165 | # Different version strings generated from the above information. |
ohair@425 | 166 | JDK_VERSION:=@JDK_VERSION@ |
erikj@562 | 167 | RUNTIME_NAME=$(PRODUCT_NAME) $(PRODUCT_SUFFIX) |
ohair@425 | 168 | COOKED_BUILD_NUMBER:=@COOKED_BUILD_NUMBER@ |
erikj@561 | 169 | # These variables need to be generated here so that MILESTONE and |
erikj@561 | 170 | # JDK_BUILD_NUMBER can be overridden on the make command line. |
erikj@561 | 171 | ifeq ($(MILESTONE),) |
erikj@561 | 172 | RELEASE=$(JDK_VERSION)$(BUILD_VARIANT_RELEASE) |
erikj@561 | 173 | else |
erikj@561 | 174 | RELEASE=$(JDK_VERSION)-$(MILESTONE)$(BUILD_VARIANT_RELEASE) |
erikj@561 | 175 | endif |
erikj@561 | 176 | ifeq ($(JDK_BUILD_NUMBER),b00) |
erikj@561 | 177 | USER_RELEASE_SUFFIX=@USER_RELEASE_SUFFIX@ |
erikj@561 | 178 | FULL_VERSION=$(RELEASE)-$(USER_RELEASE_SUFFIX)-$(JDK_BUILD_NUMBER) |
erikj@561 | 179 | else |
erikj@561 | 180 | FULL_VERSION=$(RELEASE)-$(JDK_BUILD_NUMBER) |
erikj@561 | 181 | endif |
erikj@562 | 182 | JRE_RELEASE_VERSION:=$(FULL_VERSION) |
ohair@425 | 183 | |
ohair@425 | 184 | # How to compile the code: release, fastdebug or slowdebug |
ohair@425 | 185 | DEBUG_LEVEL:=@DEBUG_LEVEL@ |
ohair@425 | 186 | |
ohair@425 | 187 | # This is the JDK variant to build. |
ohair@425 | 188 | # The JDK variant is a name for a specific set of modules to be compiled for the JDK. |
ohair@425 | 189 | JDK_VARIANT:=@JDK_VARIANT@ |
ohair@425 | 190 | |
ohair@425 | 191 | # Should we compile support for running with a graphical UI? (ie headful) |
ohair@425 | 192 | # Should we compile support for running without? (ie headless) |
ohair@425 | 193 | SUPPORT_HEADFUL:=@SUPPORT_HEADFUL@ |
ohair@425 | 194 | SUPPORT_HEADLESS:=@SUPPORT_HEADLESS@ |
ohair@425 | 195 | # Legacy defines controlled by the SUPPORT_HEADLESS and SUPPORT_HEADFUL options. |
ohair@425 | 196 | @BUILD_HEADLESS@ |
ohair@425 | 197 | |
ohair@425 | 198 | # These are the libjvms that we want to build. |
ohair@425 | 199 | # The java launcher uses the default. |
dholmes@542 | 200 | # The others can be selected by specifying -client -server -minimal1 -kernel -zero or -zeroshark |
ohair@425 | 201 | # on the java launcher command line. |
ohair@425 | 202 | JVM_VARIANTS:=@JVM_VARIANTS@ |
ohair@425 | 203 | JVM_VARIANT_SERVER:=@JVM_VARIANT_SERVER@ |
ohair@425 | 204 | JVM_VARIANT_CLIENT:=@JVM_VARIANT_CLIENT@ |
dholmes@542 | 205 | JVM_VARIANT_MINIMAL1:=@JVM_VARIANT_MINIMAL1@ |
ohair@425 | 206 | JVM_VARIANT_KERNEL:=@JVM_VARIANT_KERNEL@ |
ohair@425 | 207 | JVM_VARIANT_ZERO:=@JVM_VARIANT_ZERO@ |
ohair@425 | 208 | JVM_VARIANT_ZEROSHARK:=@JVM_VARIANT_ZEROSHARK@ |
ohair@425 | 209 | |
ohair@478 | 210 | # Universal binaries on macosx |
ohair@478 | 211 | MACOSX_UNIVERSAL=@MACOSX_UNIVERSAL@ |
ohair@478 | 212 | |
ohair@425 | 213 | # Legacy setting: -debug or -fastdebug |
ohair@478 | 214 | # Still used in version string... |
ohair@425 | 215 | BUILD_VARIANT_RELEASE:=@BUILD_VARIANT_RELEASE@ |
ohair@425 | 216 | |
ohair@478 | 217 | # JDK_OUTPUTDIR specifies where a working jvm is built. |
ohair@425 | 218 | # You can run $(JDK_OUTPUTDIR)/bin/java |
ohair@425 | 219 | # Though the layout of the contents of $(JDK_OUTPUTDIR) is not |
ohair@425 | 220 | # yet the same as a default installation. |
ohair@478 | 221 | # |
ohair@425 | 222 | # When you run "make install" it will create the standardized |
ohair@478 | 223 | # layout for the jdk and the jre inside the IMAGES_OUTPUTDIR subdir. |
ohair@425 | 224 | # Then it will copy the contents of the jdk into the installation |
ohair@425 | 225 | # directory. |
erikj@458 | 226 | |
ohair@478 | 227 | BUILD_OUTPUT:=@BUILD_OUTPUT@ |
ohair@478 | 228 | LANGTOOLS_OUTPUTDIR=$(BUILD_OUTPUT)/langtools |
ohair@478 | 229 | CORBA_OUTPUTDIR=$(BUILD_OUTPUT)/corba |
ohair@478 | 230 | JAXP_OUTPUTDIR=$(BUILD_OUTPUT)/jaxp |
ohair@478 | 231 | JAXWS_OUTPUTDIR=$(BUILD_OUTPUT)/jaxws |
ohair@478 | 232 | HOTSPOT_OUTPUTDIR=$(BUILD_OUTPUT)/hotspot |
ohair@478 | 233 | JDK_OUTPUTDIR=$(BUILD_OUTPUT)/jdk |
jjg@645 | 234 | NASHORN_OUTPUTDIR=$(BUILD_OUTPUT)/nashorn |
ohair@478 | 235 | IMAGES_OUTPUTDIR=$(BUILD_OUTPUT)/images |
erikj@563 | 236 | JCE_OUTPUTDIR=$(BUILD_OUTPUT)/jce-release |
erikj@458 | 237 | |
ohair@478 | 238 | LANGTOOLS_DIST=$(LANGTOOLS_OUTPUTDIR)/dist |
ohair@478 | 239 | CORBA_DIST=$(CORBA_OUTPUTDIR)/dist |
ohair@478 | 240 | JAXP_DIST=$(JAXP_OUTPUTDIR)/dist |
ohair@478 | 241 | JAXWS_DIST=$(JAXWS_OUTPUTDIR)/dist |
tbell@506 | 242 | HOTSPOT_DIST=@HOTSPOT_DIST@ |
jjg@645 | 243 | NASHORN_DIST=$(NASHORN_OUTPUTDIR)/dist |
tbell@506 | 244 | |
tbell@506 | 245 | BUILD_HOTSPOT=@BUILD_HOTSPOT@ |
ohair@425 | 246 | |
ohair@425 | 247 | # The boot jdk to use |
ohair@425 | 248 | BOOT_JDK:=@BOOT_JDK@ |
ohair@425 | 249 | BOOT_JDK_JVMARGS:=@BOOT_JDK_JVMARGS@ |
ohair@425 | 250 | BOOT_RTJAR:=@BOOT_RTJAR@ |
ohair@478 | 251 | BOOT_TOOLSJAR=$(BOOT_JDK)/lib/tools.jar |
ohair@425 | 252 | |
ohair@425 | 253 | # When compiling Java source to be run by the boot jdk |
ohair@425 | 254 | # use these extra flags, eg -source 6 -target 6 |
ohair@425 | 255 | BOOT_JDK_SOURCETARGET:=@BOOT_JDK_SOURCETARGET@ |
ohair@425 | 256 | |
ohair@425 | 257 | # Information about the build system |
ohair@425 | 258 | NUM_CORES:=@NUM_CORES@ |
ohair@478 | 259 | # Enable sjavac support = use a javac server, |
ohair@478 | 260 | # multi core javac compilation and dependency tracking. |
ohair@478 | 261 | ENABLE_SJAVAC:=@ENABLE_SJAVAC@ |
ohair@478 | 262 | # Store sjavac server synchronization files here, and |
ohair@478 | 263 | # the sjavac server log files. |
ohair@478 | 264 | SJAVAC_SERVER_DIR:=@SJAVAC_SERVER_DIR@ |
ohair@425 | 265 | |
erikj@635 | 266 | # Number of parallel jobs to use for compilation |
erikj@635 | 267 | JOBS?=@JOBS@ |
erikj@635 | 268 | |
ohair@425 | 269 | # The OpenJDK makefiles should be changed to using the standard |
ohair@425 | 270 | # configure output ..._CFLAGS and ..._LIBS. In the meantime we |
ohair@425 | 271 | # extract the information here. |
ohair@425 | 272 | FREETYPE2_LIB_PATH:=@FREETYPE2_LIB_PATH@ |
ohair@425 | 273 | FREETYPE2_LIBS:=@FREETYPE2_LIBS@ |
ohair@425 | 274 | FREETYPE2_CFLAGS:=@FREETYPE2_CFLAGS@ |
ohair@425 | 275 | USING_SYSTEM_FT_LIB=@USING_SYSTEM_FT_LIB@ |
ohair@425 | 276 | CUPS_CFLAGS:=@CUPS_CFLAGS@ |
ohair@425 | 277 | |
ohair@425 | 278 | PACKAGE_PATH=@PACKAGE_PATH@ |
ohair@425 | 279 | |
erikj@445 | 280 | # Source file for cacerts |
erikj@445 | 281 | CACERTS_FILE=@CACERTS_FILE@ |
ohair@425 | 282 | |
ihse@495 | 283 | # Enable unlimited crypto policy |
ihse@495 | 284 | UNLIMITED_CRYPTO=@UNLIMITED_CRYPTO@ |
ihse@495 | 285 | |
ohair@425 | 286 | # Necessary additional compiler flags to compile X11 |
ohair@425 | 287 | X_CFLAGS:=@X_CFLAGS@ |
ohair@425 | 288 | X_LIBS:=@X_LIBS@ |
ohair@425 | 289 | OPENWIN_HOME:=@OPENWIN_HOME@ |
ohair@425 | 290 | |
erikj@637 | 291 | # DirectX SDK |
erikj@637 | 292 | DXSDK_LIB_PATH=@DXSDK_LIB_PATH@ |
erikj@637 | 293 | DXSDK_INCLUDE_PATH=@DXSDK_INCLUDE_PATH@ |
erikj@637 | 294 | |
erikj@621 | 295 | # The lowest required version of macosx to enforce compatiblity for |
erikj@631 | 296 | MACOSX_VERSION_MIN=@MACOSX_VERSION_MIN@ |
erikj@621 | 297 | |
ohair@425 | 298 | # There are two types: CC or CL |
ohair@425 | 299 | # CC is gcc and others behaving reasonably similar. |
ohair@425 | 300 | # CL is cl.exe only. |
ohair@425 | 301 | COMPILER_TYPE:=@COMPILER_TYPE@ |
ohair@425 | 302 | |
ohair@425 | 303 | CC_OUT_OPTION:=@CC_OUT_OPTION@ |
ohair@425 | 304 | EXE_OUT_OPTION:=@EXE_OUT_OPTION@ |
ohair@425 | 305 | LD_OUT_OPTION:=@LD_OUT_OPTION@ |
ohair@425 | 306 | AR_OUT_OPTION:=@AR_OUT_OPTION@ |
ohair@425 | 307 | |
ohair@425 | 308 | # Flags used for overriding the default opt setting for a C/C++ source file. |
erikj@445 | 309 | C_O_FLAG_HIGHEST:=@C_O_FLAG_HIGHEST@ |
ohair@425 | 310 | C_O_FLAG_HI:=@C_O_FLAG_HI@ |
ohair@425 | 311 | C_O_FLAG_NORM:=@C_O_FLAG_NORM@ |
ohair@425 | 312 | C_O_FLAG_NONE:=@C_O_FLAG_NONE@ |
erikj@445 | 313 | CXX_O_FLAG_HIGHEST:=@CXX_O_FLAG_HIGHEST@ |
ohair@425 | 314 | CXX_O_FLAG_HI:=@CXX_O_FLAG_HI@ |
ohair@425 | 315 | CXX_O_FLAG_NORM:=@CXX_O_FLAG_NORM@ |
ohair@425 | 316 | CXX_O_FLAG_NONE:=@CXX_O_FLAG_NONE@ |
ohair@425 | 317 | |
erikj@445 | 318 | C_FLAG_DEPS:=@C_FLAG_DEPS@ |
erikj@445 | 319 | CXX_FLAG_DEPS:=@CXX_FLAG_DEPS@ |
erikj@445 | 320 | |
ohair@425 | 321 | # Tools that potentially need to be cross compilation aware. |
ohair@494 | 322 | CC:=@FIXPATH@ @CCACHE@ @CC@ |
ohair@425 | 323 | |
ohair@425 | 324 | # CFLAGS used to compile the jdk native libraries (C-code) |
ohair@425 | 325 | CFLAGS_JDKLIB:=@CFLAGS_JDKLIB@ |
ohair@425 | 326 | CXXFLAGS_JDKLIB:=@CXXFLAGS_JDKLIB@ |
ohair@425 | 327 | |
ohair@425 | 328 | # CFLAGS used to compile the jdk native launchers (C-code) |
ohair@425 | 329 | CFLAGS_JDKEXE:=@CFLAGS_JDKEXE@ |
ohair@425 | 330 | CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@ |
ohair@425 | 331 | |
ohair@494 | 332 | CXX:=@FIXPATH@ @CCACHE@ @CXX@ |
ohair@425 | 333 | #CXXFLAGS:=@CXXFLAGS@ |
ohair@425 | 334 | |
ohair@425 | 335 | OBJC:=@CCACHE@ @OBJC@ |
ohair@425 | 336 | #OBJCFLAGS:=@OBJCFLAGS@ |
ohair@425 | 337 | |
ohair@494 | 338 | CPP:=@FIXPATH@ @CPP@ |
ohair@425 | 339 | #CPPFLAGS:=@CPPFLAGS@ |
ohair@425 | 340 | |
ohair@478 | 341 | # The linker can be gcc or ld on posix systems, or link.exe on windows systems. |
ohair@494 | 342 | LD:=@FIXPATH@ @LD@ |
ohair@425 | 343 | |
ohair@425 | 344 | # LDFLAGS used to link the jdk native libraries (C-code) |
ohair@425 | 345 | LDFLAGS_JDKLIB:=@LDFLAGS_JDKLIB@ |
ohair@425 | 346 | LDFLAGS_JDKLIB_SUFFIX:=@LDFLAGS_JDKLIB_SUFFIX@ |
ohair@425 | 347 | |
ohair@425 | 348 | # On some platforms the linker cannot be used to create executables, thus |
ohair@425 | 349 | # the need for a separate LDEXE command. |
ohair@494 | 350 | LDEXE:=@FIXPATH@ @LDEXE@ |
ohair@425 | 351 | |
ohair@425 | 352 | # LDFLAGS used to link the jdk native launchers (C-code) |
ohair@425 | 353 | LDFLAGS_JDKEXE:=@LDFLAGS_JDKEXE@ |
ohair@425 | 354 | LDFLAGS_JDKEXE_SUFFIX:=@LDFLAGS_JDKEXE_SUFFIX@ |
ohair@425 | 355 | |
ohair@478 | 356 | # LDFLAGS specific to C++ linking. |
ohair@478 | 357 | LDFLAGS_CXX_JDK:=@LDFLAGS_CXX_JDK@ |
ohair@478 | 358 | |
ohair@425 | 359 | # Sometimes a different linker is needed for c++ libs |
ohair@494 | 360 | LDCXX:=@FIXPATH@ @LDCXX@ |
ohair@425 | 361 | # The flags for linking libstdc++ linker. |
ohair@425 | 362 | LIBCXX:=@LIBCXX@ |
ohair@425 | 363 | |
ohair@425 | 364 | # Sometimes a different linker is needed for c++ executables |
ohair@494 | 365 | LDEXECXX:=@FIXPATH@ @LDEXECXX@ |
ohair@425 | 366 | |
ohair@478 | 367 | # BUILD_CC/BUILD_LD is a compiler/linker that generates code that is runnable on the |
ohair@478 | 368 | # build platform. |
ohair@494 | 369 | BUILD_CC:=@FIXPATH@ @BUILD_CC@ |
ohair@494 | 370 | BUILD_LD:=@FIXPATH@ @BUILD_LD@ |
erikj@458 | 371 | |
ohair@494 | 372 | AS:=@FIXPATH@ @AS@ |
ohair@425 | 373 | |
ohair@478 | 374 | # AR is used to create a static library (is ar in posix, lib.exe in windows) |
ohair@494 | 375 | AR:=@FIXPATH@ @AR@ |
ohair@425 | 376 | ARFLAGS:=@ARFLAGS@ |
ohair@425 | 377 | |
ohair@478 | 378 | NM:=@NM@ |
ohair@478 | 379 | STRIP:=@STRIP@ |
ohair@478 | 380 | MCS:=@MCS@ |
ohair@478 | 381 | |
ohair@478 | 382 | LIPO:=@LIPO@ |
ohair@425 | 383 | |
ohair@425 | 384 | # Command to create a shared library |
ohair@425 | 385 | SHARED_LIBRARY_FLAGS:=@SHARED_LIBRARY_FLAGS@ |
ohair@425 | 386 | |
ohair@425 | 387 | # Options to linker to specify a mapfile. |
ohair@425 | 388 | # (Note absence of := assignment, because we do not want to evaluate the macro body here) |
ohair@425 | 389 | SET_SHARED_LIBRARY_MAPFILE=@SET_SHARED_LIBRARY_MAPFILE@ |
ohair@425 | 390 | |
erikj@445 | 391 | # Options for C/CXX compiler to be used if linking is performed |
erikj@445 | 392 | # using reorder file |
erikj@445 | 393 | C_FLAG_REORDER:=@C_FLAG_REORDER@ |
erikj@445 | 394 | CXX_FLAG_REORDER:=@CXX_FLAG_REORDER@ |
erikj@445 | 395 | |
erikj@458 | 396 | # |
erikj@458 | 397 | # Options for generating debug symbols |
erikj@458 | 398 | ENABLE_DEBUG_SYMBOLS:=@ENABLE_DEBUG_SYMBOLS@ |
erikj@458 | 399 | CFLAGS_DEBUG_SYMBOLS:=@CFLAGS_DEBUG_SYMBOLS@ |
erikj@458 | 400 | CXXFLAGS_DEBUG_SYMBOLS:=@CXXFLAGS_DEBUG_SYMBOLS@ |
erikj@458 | 401 | ZIP_DEBUGINFO_FILES:=@ZIP_DEBUGINFO_FILES@ |
erikj@458 | 402 | |
erikj@458 | 403 | # |
erikj@458 | 404 | # Compress (or not) jars |
erikj@458 | 405 | COMPRESS_JARS=@COMPRESS_JARS@ |
erikj@458 | 406 | |
ohair@425 | 407 | # Options to linker to specify the library name. |
ohair@425 | 408 | # (Note absence of := assignment, because we do not want to evaluate the macro body here) |
ohair@425 | 409 | SET_SHARED_LIBRARY_NAME=@SET_SHARED_LIBRARY_NAME@ |
ohair@425 | 410 | |
ohair@425 | 411 | # Set origin using the linker, ie use the relative path to the dependent library to find the dependees. |
ohair@425 | 412 | # (Note absence of := assignment, because we do not want to evaluate the macro body here) |
ohair@425 | 413 | SET_SHARED_LIBRARY_ORIGIN=@SET_SHARED_LIBRARY_ORIGIN@ |
ohair@478 | 414 | SET_EXECUTABLE_ORIGIN=@SET_EXECUTABLE_ORIGIN@ |
ohair@425 | 415 | |
ohair@425 | 416 | # Different OS:es have different ways of naming shared libraries. |
ohair@425 | 417 | # The SHARED_LIBRARY macro takes "verify" as and argument and returns: |
ohair@425 | 418 | # "libverify.so" or "libverify.dylib" or "verify.dll" depending on platform. |
ohair@425 | 419 | # (Note absence of := assignment, because we do not want to evaluate the macro body here) |
ohair@425 | 420 | SHARED_LIBRARY=@SHARED_LIBRARY@ |
ohair@425 | 421 | STATIC_LIBRARY=@STATIC_LIBRARY@ |
ohair@425 | 422 | LIBRARY_PREFIX:=@LIBRARY_PREFIX@ |
ohair@425 | 423 | SHARED_LIBRARY_SUFFIX:=@SHARED_LIBRARY_SUFFIX@ |
ohair@425 | 424 | STATIC_LIBRARY_SUFFIX:=@STATIC_LIBRARY_SUFFIX@ |
ohair@425 | 425 | EXE_SUFFIX:=@EXE_SUFFIX@ |
ohair@425 | 426 | OBJ_SUFFIX:=@OBJ_SUFFIX@ |
ohair@425 | 427 | |
erikj@445 | 428 | POST_STRIP_CMD:=@POST_STRIP_CMD@ |
erikj@445 | 429 | POST_MCS_CMD:=@POST_MCS_CMD@ |
erikj@445 | 430 | |
ohair@425 | 431 | JAVA_FLAGS:=@BOOT_JDK_JVMARGS@ |
ohair@425 | 432 | |
ohair@494 | 433 | JAVA=@FIXPATH@ $(BOOT_JDK)/bin/java $(JAVA_FLAGS) |
ohair@425 | 434 | |
ohair@494 | 435 | JAVAC=@FIXPATH@ $(BOOT_JDK)/bin/javac |
ohair@478 | 436 | # Hotspot sets this variable before reading the SPEC when compiling sa-jdi.jar. Avoid |
ohair@478 | 437 | # overriding that value by using ?=. |
ohair@478 | 438 | JAVAC_FLAGS?=@JAVAC_FLAGS@ |
ohair@425 | 439 | |
ohair@494 | 440 | JAVAH=@FIXPATH@ $(BOOT_JDK)/bin/javah |
ohair@425 | 441 | |
ohair@494 | 442 | JAR=@FIXPATH@ $(BOOT_JDK)/bin/jar |
ohair@425 | 443 | |
ohair@494 | 444 | RMIC=@FIXPATH@ $(BOOT_JDK)/bin/rmic |
ohair@425 | 445 | |
ohair@494 | 446 | NATIVE2ASCII=@FIXPATH@ $(BOOT_JDK)/bin/native2ascii |
ohair@425 | 447 | |
erikj@563 | 448 | JARSIGNER=@FIXPATH@ $(BOOT_JDK)/bin/jarsigner |
erikj@563 | 449 | |
ohrstrom@607 | 450 | # You run the new javac using the boot jdk with $(BOOT_JDK)/bin/java $(NEW_JAVAC) ... |
ohrstrom@607 | 451 | BOOTSTRAP_JAVAC_JAR:=$(LANGTOOLS_OUTPUTDIR)/dist/bootstrap/lib/javac.jar |
ohrstrom@607 | 452 | BOOTSTRAP_JAVAC_ARGS:="-Xbootclasspath/p:$(BOOTSTRAP_JAVAC_JAR)" -cp $(BOOTSTRAP_JAVAC_JAR) |
ohrstrom@607 | 453 | NEW_JAVAC = $(BOOTSTRAP_JAVAC_ARGS) com.sun.tools.javac.Main |
ohrstrom@607 | 454 | NEW_JAVADOC = $(BOOTSTRAP_JAVAC_ARGS) com.sun.tools.javadoc.Main |
ohrstrom@607 | 455 | |
ohair@425 | 456 | # Base flags for RC |
ohair@425 | 457 | # Guarding this against resetting value. Legacy make files include spec multiple |
ohair@425 | 458 | # times. |
ohair@425 | 459 | ifndef RC_FLAGS |
ohair@425 | 460 | RC_FLAGS:=@RC_FLAGS@ |
ohair@425 | 461 | endif |
ohair@425 | 462 | |
ohair@425 | 463 | # A specific java binary with specific options can be used to run |
ohair@478 | 464 | # the long running background sjavac servers and other long running tasks. |
ohair@494 | 465 | SJAVAC_SERVER_JAVA:=@FIXPATH@ @SJAVAC_SERVER_JAVA@ |
ohair@425 | 466 | |
ohair@425 | 467 | # Tools adhering to a minimal and common standard of posix compliance. |
ohair@425 | 468 | AWK:=@AWK@ |
ohair@478 | 469 | BASENAME:=@BASENAME@ |
ohair@494 | 470 | BASH:=@BASH@ |
ohair@425 | 471 | CAT:=@CAT@ |
ohair@425 | 472 | CCACHE:=@CCACHE@ |
ohair@425 | 473 | # CD is going away, but remains to cater for legacy makefiles. |
ohair@425 | 474 | CD:=cd |
ohair@425 | 475 | CHMOD:=@CHMOD@ |
erikj@562 | 476 | COMM:=@COMM@ |
ohair@425 | 477 | CP:=@CP@ |
erikj@562 | 478 | CPIO:=@CPIO@ |
ohair@425 | 479 | CUT:=@CUT@ |
ohair@425 | 480 | DATE:=@DATE@ |
ohair@425 | 481 | DIFF:=@DIFF@ |
erikj@562 | 482 | DIRNAME:=@DIRNAME@ |
ohair@425 | 483 | FIND:=@FIND@ |
ohair@425 | 484 | FIND_DELETE:=@FIND_DELETE@ |
ohair@425 | 485 | ECHO:=@ECHO@ |
ohair@425 | 486 | EGREP:=@EGREP@ |
ohair@425 | 487 | FGREP:=@FGREP@ |
ohair@425 | 488 | GREP:=@GREP@ |
ohair@425 | 489 | HEAD:=@HEAD@ |
ohair@425 | 490 | LS:=@LS@ |
ohair@425 | 491 | LN:=@LN@ |
ohair@425 | 492 | MKDIR:=@MKDIR@ |
ohair@425 | 493 | MV:=@MV@ |
ohair@425 | 494 | NAWK:=@NAWK@ |
ohair@425 | 495 | PRINTF:=@PRINTF@ |
ohair@425 | 496 | PWD:=@THEPWDCMD@ |
ohair@425 | 497 | RM:=@RM@ |
ohair@425 | 498 | SED:=@SED@ |
ohair@425 | 499 | SH:=@SH@ |
ohair@425 | 500 | SORT:=@SORT@ |
ohair@425 | 501 | TAR:=@TAR@ |
ohair@425 | 502 | TAIL:=@TAIL@ |
ohair@425 | 503 | TEE:=@TEE@ |
ohair@494 | 504 | TIME:=@TIME@ |
ohair@425 | 505 | TR:=@TR@ |
ohair@425 | 506 | TOUCH:=@TOUCH@ |
erikj@562 | 507 | UNIQ:=@UNIQ@ |
ohair@425 | 508 | WC:=@WC@ |
ohair@425 | 509 | XARGS:=@XARGS@ |
ohair@425 | 510 | ZIPEXE:=@ZIP@ |
ohair@425 | 511 | ZIP:=@ZIP@ |
ohair@425 | 512 | UNZIP:=@UNZIP@ |
ohair@494 | 513 | MT:=@FIXPATH@ @MT@ |
ohair@494 | 514 | RC:=@FIXPATH@ @RC@ |
ohair@494 | 515 | DUMPBIN:=@FIXPATH@ @DUMPBIN@ |
ohair@425 | 516 | CYGPATH:=@CYGPATH@ |
ohair@425 | 517 | LDD:=@LDD@ |
ohair@425 | 518 | OTOOL:=@OTOOL@ |
ohair@425 | 519 | READELF:=@READELF@ |
ohair@425 | 520 | EXPR:=@EXPR@ |
ohair@425 | 521 | FILE:=@FILE@ |
erikj@445 | 522 | HG:=@HG@ |
erikj@458 | 523 | OBJCOPY:=@OBJCOPY@ |
ohair@494 | 524 | SETFILE:=@SETFILE@ |
ohair@425 | 525 | |
ohair@494 | 526 | FIXPATH:=@FIXPATH@ |
ohair@425 | 527 | |
ohair@425 | 528 | # Where the build output is stored for your convenience. |
ohair@425 | 529 | BUILD_LOG:=@BUILD_LOG@ |
erikj@458 | 530 | BUILD_LOG_PREVIOUS:=@BUILD_LOG_PREVIOUS@ |
tbell@507 | 531 | # Disable the build log wrapper on sjavac+winapi until |
tbell@507 | 532 | # we have solved how to prevent the log wrapper to wait |
tbell@507 | 533 | # for the background sjavac server process. |
tbell@507 | 534 | ifeq (@ENABLE_SJAVAC@X@OPENJDK_BUILD_OS_API@,yesXwinapi) |
tbell@507 | 535 | BUILD_LOG_WRAPPER:= |
tbell@507 | 536 | else |
tbell@507 | 537 | BUILD_LOG_WRAPPER:=@BUILD_LOG_WRAPPER@ |
tbell@507 | 538 | endif |
ohair@425 | 539 | |
ohair@425 | 540 | # Build setup |
erikj@458 | 541 | ENABLE_JFR=@ENABLE_JFR@ |
omajid@656 | 542 | ENABLE_INTREE_EC=@ENABLE_INTREE_EC@ |
ohair@425 | 543 | USE_EXTERNAL_LIBJPEG:=@USE_EXTERNAL_LIBJPEG@ |
ohair@425 | 544 | USE_EXTERNAL_LIBGIF:=@USE_EXTERNAL_LIBGIF@ |
ohair@425 | 545 | USE_EXTERNAL_LIBZ:=@USE_EXTERNAL_LIBZ@ |
erikj@458 | 546 | LIBZIP_CAN_USE_MMAP:=@LIBZIP_CAN_USE_MMAP@ |
ohair@494 | 547 | MSVCR_DLL:=@MSVCR_DLL@ |
ohair@425 | 548 | |
erikj@458 | 549 | |
ohair@425 | 550 | # ADD_SRCS takes a single argument with source roots |
ohair@425 | 551 | # and appends any corresponding source roots found |
ohair@425 | 552 | # below --with-add-source-root and below |
ohair@425 | 553 | # --with-override-source-root. It is the responsibility |
ohair@425 | 554 | # of the next macro to get rid of superfluous files. |
ohair@425 | 555 | ADD_SRCS=$1 |
ohair@425 | 556 | ifneq (,$(ADD_SRC_ROOT)) |
ohair@425 | 557 | # Append wildcard rule to pickup any matching source roots found below ADD_SRC_ROOT |
ohair@425 | 558 | ADD_SRCS+=$(wildcard $(subst $(SRC_ROOT),$(ADD_SRC_ROOT),$1)) |
ohair@425 | 559 | endif |
ohair@425 | 560 | ifneq (,$(OVERRIDE_SRC_ROOT)) |
ohair@425 | 561 | # Append wildcard rule to pickup any matching source roots found below OVERRIDE_SRC_ROOT |
ohair@425 | 562 | ADD_SRCS+=$(wildcard $(subst $(SRC_ROOT),$(OVERRIDE_SRC_ROOT),$1)) |
ohair@425 | 563 | endif |
ohair@425 | 564 | |
ohair@425 | 565 | # OVR_SRCS creates a filter expression to filter out sources in |
ohair@425 | 566 | # the original source directory that lie inside directories below |
ohair@425 | 567 | # --with-override-source-root. |
ohair@425 | 568 | # Use := here since we want to scan for these files here. To avoid recomputation later. |
ohair@425 | 569 | # We cannot do the scan in configure, since that would force us to rerun configure when |
ohair@425 | 570 | # we add overridden sources. |
ohair@425 | 571 | ifneq (,$(OVERRIDE_SRC_ROOT)) |
ohair@425 | 572 | OVR_SRCS:=$(addsuffix %,$(subst $(OVERRIDE_SRC_ROOT),$(SRC_ROOT),$(sort $(dir $(shell $(FIND) $(OVERRIDE_SRC_ROOT) -type f))))) |
ohair@425 | 573 | else |
ohair@425 | 574 | OVR_SRCS:= |
ohair@425 | 575 | endif |
ohair@425 | 576 | |
ohair@425 | 577 | #################################################### |
ohair@425 | 578 | # |
ohair@425 | 579 | # INSTALLATION |
ohair@425 | 580 | # |
ohair@425 | 581 | |
ohair@425 | 582 | # Common prefix for all installed files. Defaults to /usr/local, |
ohair@425 | 583 | # but /opt/myjdk is another common version. |
ohair@425 | 584 | INSTALL_PREFIX=@prefix@ |
ohair@425 | 585 | |
ohair@425 | 586 | # Directories containing architecture-dependent files should be relative to exec_prefix |
ohair@425 | 587 | INSTALL_EXECPREFIX=@exec_prefix@ |
ohair@425 | 588 | |
ohair@425 | 589 | # java,javac,javah,javap etc are installed here. |
ohair@425 | 590 | INSTALL_BINDIR=@bindir@ |
ohair@425 | 591 | |
ohair@425 | 592 | # Read only architecture-independent data |
ohair@425 | 593 | INSTALL_DATADIR=@datadir@ |
ohair@425 | 594 | |
ohair@425 | 595 | # Root of above. |
ohair@425 | 596 | INSTALL_DATAROOTDIR=@datarootdir@ |
ohair@425 | 597 | |
ohair@425 | 598 | # Doc files, other than info and man. |
ohair@425 | 599 | INSTALL_DOCDIR=@docdir@ |
ohair@425 | 600 | |
ohair@425 | 601 | # Html documentation |
ohair@425 | 602 | INSTALL_HTMLDIR=@htmldir@ |
ohair@425 | 603 | |
ohair@425 | 604 | # Installing C header files, JNI headers for example. |
ohair@425 | 605 | INSTALL_INCLUDEDIR=@includedir@ |
ohair@425 | 606 | |
ohair@425 | 607 | # Installing library files.... |
ohair@425 | 608 | INSTALL_INCLUDEDIR=@libdir@ |
ohair@425 | 609 | |
ohair@425 | 610 | # Executables that other programs run. |
ohair@425 | 611 | INSTALL_LIBEXECDIR=@libexecdir@ |
ohair@425 | 612 | |
ohair@425 | 613 | # Locale-dependent but architecture-independent data, such as message catalogs. |
ohair@425 | 614 | INSTALL_LOCALEDIR=@localedir@ |
ohair@425 | 615 | |
ohair@425 | 616 | # Modifiable single-machine data |
ohair@425 | 617 | INSTALL_LOCALSTATEDIR=@localstatedir@ |
ohair@425 | 618 | |
ohair@425 | 619 | # Man pages |
ohair@425 | 620 | INSTALL_MANDIR=@mandir@ |
ohair@425 | 621 | |
ohair@425 | 622 | # Modifiable architecture-independent data. |
ohair@425 | 623 | INSTALL_SHAREDSTATEDIR=@sharedstatedir@ |
ohair@425 | 624 | |
ohair@425 | 625 | # Read-only single-machine data |
ohair@425 | 626 | INSTALL_SYSCONFDIR=@sysconfdir@ |
ohair@425 | 627 | |
ohair@425 | 628 | |
ohair@425 | 629 | #################################################### |
ohair@425 | 630 | # |
ohair@425 | 631 | # Misc |
ohair@425 | 632 | # |
ohair@425 | 633 | |
erikj@445 | 634 | # Name of Service Agent library |
erikj@445 | 635 | SALIB_NAME=@SALIB_NAME@ |
erikj@445 | 636 | |
erikj@445 | 637 | OS_VERSION_MAJOR:=@OS_VERSION_MAJOR@ |
erikj@445 | 638 | OS_VERSION_MINOR:=@OS_VERSION_MINOR@ |
erikj@445 | 639 | OS_VERSION_MICRO:=@OS_VERSION_MICRO@ |
erikj@445 | 640 | |
erikj@564 | 641 | # Images directory definitions |
erikj@564 | 642 | JDK_IMAGE_SUBDIR:=j2sdk-image |
erikj@564 | 643 | JRE_IMAGE_SUBDIR:=j2re-image |
erikj@564 | 644 | JDK_OVERLAY_IMAGE_SUBDIR:=j2sdk-overlay-image |
erikj@564 | 645 | JRE_OVERLAY_IMAGE_SUBDIR:=j2re-overlay-image |
erikj@564 | 646 | JDK_IMAGE_DIR:=$(IMAGES_OUTPUTDIR)/$(JDK_IMAGE_SUBDIR) |
erikj@564 | 647 | JRE_IMAGE_DIR:=$(IMAGES_OUTPUTDIR)/$(JRE_IMAGE_SUBDIR) |
erikj@564 | 648 | JDK_OVERLAY_IMAGE_DIR:=$(IMAGES_OUTPUTDIR)/$(JDK_OVERLAY_IMAGE_SUBDIR) |
erikj@564 | 649 | JRE_OVERLAY_IMAGE_DIR:=$(IMAGES_OUTPUTDIR)/$(JRE_OVERLAY_IMAGE_SUBDIR) |
erikj@564 | 650 | |
erikj@564 | 651 | # Macosx bundles directory definitions |
erikj@564 | 652 | JDK_BUNDLE_SUBDIR:=j2sdk-bundle/jdk$(JDK_VERSION).jdk/Contents |
erikj@564 | 653 | JRE_BUNDLE_SUBDIR:=j2re-bundle/jre$(JDK_VERSION).jre/Contents |
erikj@564 | 654 | JDK_BUNDLE_DIR:=$(IMAGES_OUTPUTDIR)/$(JDK_BUNDLE_SUBDIR) |
erikj@564 | 655 | JRE_BUNDLE_DIR:=$(IMAGES_OUTPUTDIR)/$(JRE_BUNDLE_SUBDIR) |
erikj@564 | 656 | |
ohair@478 | 657 | # Include the custom-spec.gmk file if it exists |
ohair@478 | 658 | -include $(dir @SPEC@)/custom-spec.gmk |