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