1 #
   2 # Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any
  23 # questions.
  24 #
  25 
  26 # Configured @DATE_WHEN_CONFIGURED@ to build
  27 # for target system @OPENJDK_TARGET_OS@-@OPENJDK_TARGET_CPU@
  28 #   (called @OPENJDK_TARGET_AUTOCONF_NAME@ by autoconf)
  29 # on build system @OPENJDK_BUILD_OS@-@OPENJDK_BUILD_CPU@
  30 #   (called @OPENJDK_BUILD_AUTOCONF_NAME@ by autoconf)
  31 # using 'configure @CONFIGURE_COMMAND_LINE@'
  32 
  33 # The command line given to configure.
  34 CONFIGURE_COMMAND_LINE:=@CONFIGURE_COMMAND_LINE@
  35 
  36 # A self-referential reference to this file.
  37 SPEC:=@SPEC@
  38 
  39 # SPACE is defined in MakeBase.gmk, but it is also used in := rules here for some
  40 # toolchains, and is needed if MakeBase.gmk is not included before this file.
  41 X:=
  42 SPACE:=$(X) $(X)
  43 
  44 # What make to use for main processing, after bootstrapping top-level Makefile.
  45 MAKE := @MAKE@
  46 
  47 # The default make arguments
  48 MAKE_ARGS = $(MAKE_LOG_FLAGS) -r -R -I $(TOPDIR)/make/common SPEC=$(SPEC) \
  49     MAKE_LOG_FLAGS="$(MAKE_LOG_FLAGS)" LOG_LEVEL=$(LOG_LEVEL)
  50 
  51 OUTPUT_SYNC_SUPPORTED:=@OUTPUT_SYNC_SUPPORTED@
  52 OUTPUT_SYNC:=@OUTPUT_SYNC@
  53 
  54 # Override the shell with bash
  55 BASH:=@BASH@
  56 BASH_ARGS:=@BASH_ARGS@
  57 SHELL:=$(BASH) $(BASH_ARGS)
  58 
  59 # The "human readable" name of this configuration
  60 CONF_NAME:=@CONF_NAME@
  61 
  62 # The built jdk will run in this target system.
  63 OPENJDK_TARGET_OS:=@OPENJDK_TARGET_OS@
  64 OPENJDK_TARGET_OS_TYPE:=@OPENJDK_TARGET_OS_TYPE@
  65 OPENJDK_TARGET_OS_ENV:=@OPENJDK_TARGET_OS_ENV@
  66 
  67 OPENJDK_TARGET_CPU:=@OPENJDK_TARGET_CPU@
  68 OPENJDK_TARGET_CPU_ARCH:=@OPENJDK_TARGET_CPU_ARCH@
  69 OPENJDK_TARGET_CPU_BITS:=@OPENJDK_TARGET_CPU_BITS@
  70 OPENJDK_TARGET_CPU_ENDIAN:=@OPENJDK_TARGET_CPU_ENDIAN@
  71 
  72 COMPILE_TYPE:=@COMPILE_TYPE@
  73 
  74 # Legacy support
  75 OPENJDK_TARGET_CPU_ISADIR:=@OPENJDK_TARGET_CPU_ISADIR@
  76 OPENJDK_TARGET_CPU_LIBDIR:=@OPENJDK_TARGET_CPU_LIBDIR@
  77 OPENJDK_TARGET_CPU_LEGACY:=@OPENJDK_TARGET_CPU_LEGACY@
  78 OPENJDK_TARGET_CPU_LEGACY_LIB:=@OPENJDK_TARGET_CPU_LEGACY_LIB@
  79 OPENJDK_TARGET_CPU_OSARCH:=@OPENJDK_TARGET_CPU_OSARCH@
  80 OPENJDK_TARGET_CPU_JLI_CFLAGS:=@OPENJDK_TARGET_CPU_JLI_CFLAGS@
  81 OPENJDK_TARGET_OS_EXPORT_DIR:=@OPENJDK_TARGET_OS_EXPORT_DIR@
  82 
  83 # We are building on this build system.
  84 # When not cross-compiling, it is the same as the target.
  85 OPENJDK_BUILD_OS:=@OPENJDK_BUILD_OS@
  86 OPENJDK_BUILD_OS_TYPE:=@OPENJDK_BUILD_OS_TYPE@
  87 OPENJDK_BUILD_OS_ENV:=@OPENJDK_BUILD_OS_ENV@
  88 
  89 OPENJDK_BUILD_CPU:=@OPENJDK_BUILD_CPU@
  90 OPENJDK_BUILD_CPU_ARCH:=@OPENJDK_BUILD_CPU_ARCH@
  91 OPENJDK_BUILD_CPU_BITS:=@OPENJDK_BUILD_CPU_BITS@
  92 OPENJDK_BUILD_CPU_ENDIAN:=@OPENJDK_BUILD_CPU_ENDIAN@
  93 
  94 # Legacy OS values for use in release file.
  95 REQUIRED_OS_NAME:=@REQUIRED_OS_NAME@
  96 REQUIRED_OS_VERSION:=@REQUIRED_OS_VERSION@
  97 
  98 @SET_OPENJDK@
  99 LIBM:=@LIBM@
 100 LIBDL:=@LIBDL@
 101 
 102 # colon or semicolon
 103 PATH_SEP:=@PATH_SEP@
 104 
 105 # Save the original path before replacing it with the Visual Studio tools
 106 ORIGINAL_PATH:=@ORIGINAL_PATH@
 107 ifeq ($(OPENJDK_TARGET_OS), windows)
 108   # On Windows, the Visual Studio toolchain needs the PATH to be adjusted
 109   # to include Visual Studio tools (this needs to be in cygwin/msys style).
 110   export PATH:=@VS_PATH@
 111 endif
 112 
 113 SYSROOT_CFLAGS := @SYSROOT_CFLAGS@
 114 SYSROOT_LDFLAGS := @SYSROOT_LDFLAGS@
 115 
 116 # The top-level directory of the forest (SRC_ROOT is a traditional alias)
 117 TOPDIR:=@TOPDIR@
 118 # These two versions of TOPDIR are used in string comparisons
 119 ORIGINAL_TOPDIR:=@ORIGINAL_TOPDIR@
 120 CANONICAL_TOPDIR:=@CANONICAL_TOPDIR@
 121 SRC_ROOT:=@TOPDIR@
 122 
 123 OUTPUT_ROOT:=@OUTPUT_ROOT@
 124 JDK_TOPDIR:=@JDK_TOPDIR@
 125 LANGTOOLS_TOPDIR:=@LANGTOOLS_TOPDIR@
 126 CORBA_TOPDIR:=@CORBA_TOPDIR@
 127 JAXP_TOPDIR:=@JAXP_TOPDIR@
 128 JAXWS_TOPDIR:=@JAXWS_TOPDIR@
 129 HOTSPOT_TOPDIR:=@HOTSPOT_TOPDIR@
 130 NASHORN_TOPDIR:=@NASHORN_TOPDIR@
 131 COPYRIGHT_YEAR:=@COPYRIGHT_YEAR@
 132 
 133 # Information gathered from the version.numbers file.
 134 JDK_MAJOR_VERSION:=@JDK_MAJOR_VERSION@
 135 JDK_MINOR_VERSION:=@JDK_MINOR_VERSION@
 136 JDK_MICRO_VERSION:=@JDK_MICRO_VERSION@
 137 JDK_UPDATE_VERSION:=@JDK_UPDATE_VERSION@
 138 JDK_BUILD_NUMBER:=@JDK_BUILD_NUMBER@
 139 MILESTONE:=@MILESTONE@
 140 LAUNCHER_NAME:=@LAUNCHER_NAME@
 141 PRODUCT_NAME:=@PRODUCT_NAME@
 142 PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@
 143 JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@
 144 COMPANY_NAME:=@COMPANY_NAME@
 145 MACOSX_BUNDLE_NAME_BASE=@MACOSX_BUNDLE_NAME_BASE@
 146 MACOSX_BUNDLE_ID_BASE=@MACOSX_BUNDLE_ID_BASE@
 147 USER_RELEASE_SUFFIX=@USER_RELEASE_SUFFIX@
 148 
 149 # Different version strings generated from the above information.
 150 JDK_VERSION:=@JDK_VERSION@
 151 RUNTIME_NAME=$(PRODUCT_NAME) $(PRODUCT_SUFFIX)
 152 COOKED_BUILD_NUMBER:=@COOKED_BUILD_NUMBER@
 153 # These variables need to be generated here so that MILESTONE and
 154 # JDK_BUILD_NUMBER can be overridden on the make command line.
 155 ifeq ($(MILESTONE), fcs)
 156   RELEASE=$(JDK_VERSION)$(BUILD_VARIANT_RELEASE)
 157 else
 158   RELEASE=$(JDK_VERSION)-$(MILESTONE)$(BUILD_VARIANT_RELEASE)
 159 endif
 160 
 161 ifneq ($(USER_RELEASE_SUFFIX), )
 162   FULL_VERSION=$(RELEASE)-$(USER_RELEASE_SUFFIX)-$(JDK_BUILD_NUMBER)
 163 else
 164   FULL_VERSION=$(RELEASE)-$(JDK_BUILD_NUMBER)
 165 endif
 166 JRE_RELEASE_VERSION:=$(FULL_VERSION)
 167 JDK_VERSION_FOR_MANIFEST := $(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION).$(if $(JDK_UPDATE_VERSION),$(JDK_UPDATE_VERSION),0).$(COOKED_BUILD_NUMBER)
 168 
 169 # How to compile the code: release, fastdebug or slowdebug
 170 DEBUG_LEVEL:=@DEBUG_LEVEL@
 171 
 172 # This is the JDK variant to build.
 173 # The JDK variant is a name for a specific set of modules to be compiled for the JDK.
 174 JDK_VARIANT:=@JDK_VARIANT@
 175 
 176 # Should we compile support for running with a graphical UI? (ie headful)
 177 # Should we compile support for running without? (ie headless)
 178 SUPPORT_HEADFUL:=@SUPPORT_HEADFUL@
 179 SUPPORT_HEADLESS:=@SUPPORT_HEADLESS@
 180 # Legacy defines controlled by the SUPPORT_HEADLESS and SUPPORT_HEADFUL options.
 181 @BUILD_HEADLESS@
 182 
 183 # These are the libjvms that we want to build.
 184 # The java launcher uses the default.
 185 # The others can be selected by specifying -client -server -minimal1 -kernel -zero or -zeroshark
 186 # on the java launcher command line.
 187 JVM_VARIANTS:=@JVM_VARIANTS@
 188 JVM_VARIANT_SERVER:=@JVM_VARIANT_SERVER@
 189 JVM_VARIANT_CLIENT:=@JVM_VARIANT_CLIENT@
 190 JVM_VARIANT_MINIMAL1:=@JVM_VARIANT_MINIMAL1@
 191 JVM_VARIANT_KERNEL:=@JVM_VARIANT_KERNEL@
 192 JVM_VARIANT_ZERO:=@JVM_VARIANT_ZERO@
 193 JVM_VARIANT_ZEROSHARK:=@JVM_VARIANT_ZEROSHARK@
 194 JVM_VARIANT_CORE:=@JVM_VARIANT_CORE@
 195 
 196 # Universal binaries on macosx
 197 MACOSX_UNIVERSAL=@MACOSX_UNIVERSAL@
 198 
 199 # Legacy setting: -debug or -fastdebug
 200 # Still used in version string...
 201 BUILD_VARIANT_RELEASE:=@BUILD_VARIANT_RELEASE@
 202 
 203 # JDK_OUTPUTDIR specifies where a working jvm is built.
 204 # You can run $(JDK_OUTPUTDIR)/bin/java
 205 # Though the layout of the contents of $(JDK_OUTPUTDIR) is not
 206 # yet the same as a default installation.
 207 #
 208 # When you run "make install" it will create the standardized
 209 # layout for the jdk and the jre inside the IMAGES_OUTPUTDIR subdir.
 210 # Then it will copy the contents of the jdk into the installation
 211 # directory.
 212 
 213 BUILD_OUTPUT:=@BUILD_OUTPUT@
 214 # Colon left out to be able to override IMAGES_OUTPUTDIR for bootcycle-images
 215 SUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/support
 216 BUILDTOOLS_OUTPUTDIR=$(BUILD_OUTPUT)/buildtools
 217 
 218 HOTSPOT_OUTPUTDIR=$(BUILD_OUTPUT)/hotspot
 219 JDK_OUTPUTDIR=$(BUILD_OUTPUT)/jdk
 220 IMAGES_OUTPUTDIR=$(BUILD_OUTPUT)/images
 221 TESTMAKE_OUTPUTDIR=$(BUILD_OUTPUT)/test-make
 222 MAKESUPPORT_OUTPUTDIR=$(BUILD_OUTPUT)/make-support
 223 # This does not get overridden in a bootcycle build
 224 CONFIGURESUPPORT_OUTPUTDIR:=@CONFIGURESUPPORT_OUTPUTDIR@
 225 
 226 HOTSPOT_DIST=@HOTSPOT_DIST@
 227 
 228 BUILD_HOTSPOT=@BUILD_HOTSPOT@
 229 
 230 # The boot jdk to use. This is overridden in bootcycle-spec.gmk. Make sure to keep
 231 # it in sync.
 232 BOOT_JDK:=@BOOT_JDK@
 233 
 234 # When compiling Java source to be run by the boot jdk
 235 # use these extra flags, eg -source 6 -target 6
 236 BOOT_JDK_SOURCETARGET:=@BOOT_JDK_SOURCETARGET@
 237 
 238 # Information about the build system
 239 NUM_CORES:=@NUM_CORES@
 240 MEMORY_SIZE:=@MEMORY_SIZE@
 241 # Enable sjavac support = use a javac server,
 242 # multi core javac compilation and dependency tracking.
 243 ENABLE_SJAVAC:=@ENABLE_SJAVAC@
 244 ENABLE_JAVAC_SERVER:=@ENABLE_JAVAC_SERVER@
 245 # Store sjavac server synchronization files here, and
 246 # the sjavac server log files.
 247 SJAVAC_SERVER_DIR=$(MAKESUPPORT_OUTPUTDIR)/javacservers
 248 
 249 # Number of parallel jobs to use for compilation
 250 JOBS?=@JOBS@
 251 
 252 FREETYPE_LIBS:=@FREETYPE_LIBS@
 253 FREETYPE_CFLAGS:=@FREETYPE_CFLAGS@
 254 FREETYPE_BUNDLE_LIB_PATH=@FREETYPE_BUNDLE_LIB_PATH@
 255 CUPS_CFLAGS:=@CUPS_CFLAGS@
 256 ALSA_LIBS:=@ALSA_LIBS@
 257 ALSA_CFLAGS:=@ALSA_CFLAGS@
 258 
 259 PACKAGE_PATH=@PACKAGE_PATH@
 260 
 261 # Source file for cacerts
 262 CACERTS_FILE=@CACERTS_FILE@
 263 
 264 # Enable unlimited crypto policy
 265 UNLIMITED_CRYPTO=@UNLIMITED_CRYPTO@
 266 
 267 GCOV_ENABLED=@GCOV_ENABLED@
 268 
 269 # Necessary additional compiler flags to compile X11
 270 X_CFLAGS:=@X_CFLAGS@
 271 X_LIBS:=@X_LIBS@
 272 
 273 # The lowest required version of macosx to enforce compatiblity for
 274 MACOSX_VERSION_MIN=@MACOSX_VERSION_MIN@
 275 
 276 # Toolchain type: gcc, clang, solstudio, lxc, microsoft...
 277 TOOLCHAIN_TYPE:=@TOOLCHAIN_TYPE@
 278 
 279 # Option used to tell the compiler whether to create 32- or 64-bit executables
 280 COMPILER_TARGET_BITS_FLAG:=@COMPILER_TARGET_BITS_FLAG@
 281 COMPILER_SUPPORTS_TARGET_BITS_FLAG=@COMPILER_SUPPORTS_TARGET_BITS_FLAG@
 282 
 283 CC_OUT_OPTION:=@CC_OUT_OPTION@
 284 EXE_OUT_OPTION:=@EXE_OUT_OPTION@
 285 LD_OUT_OPTION:=@LD_OUT_OPTION@
 286 AR_OUT_OPTION:=@AR_OUT_OPTION@
 287 
 288 # Flags used for overriding the default opt setting for a C/C++ source file.
 289 C_O_FLAG_HIGHEST:=@C_O_FLAG_HIGHEST@
 290 C_O_FLAG_HI:=@C_O_FLAG_HI@
 291 C_O_FLAG_NORM:=@C_O_FLAG_NORM@
 292 C_O_FLAG_NONE:=@C_O_FLAG_NONE@
 293 CXX_O_FLAG_HIGHEST:=@CXX_O_FLAG_HIGHEST@
 294 CXX_O_FLAG_HI:=@CXX_O_FLAG_HI@
 295 CXX_O_FLAG_NORM:=@CXX_O_FLAG_NORM@
 296 CXX_O_FLAG_NONE:=@CXX_O_FLAG_NONE@
 297 
 298 C_FLAG_DEPS:=@C_FLAG_DEPS@
 299 CXX_FLAG_DEPS:=@CXX_FLAG_DEPS@
 300 
 301 DISABLE_WARNING_PREFIX := @DISABLE_WARNING_PREFIX@
 302 CFLAGS_WARNINGS_ARE_ERRORS:=@CFLAGS_WARNINGS_ARE_ERRORS@
 303 
 304 # A global flag (true or false) determining if native warnings are considered errors.
 305 WARNINGS_AS_ERRORS := @WARNINGS_AS_ERRORS@
 306 
 307 CFLAGS_CCACHE:=@CFLAGS_CCACHE@
 308 
 309 # Tools that potentially need to be cross compilation aware.
 310 CC:=@FIXPATH@ @CCACHE@ @CC@
 311 
 312 # CFLAGS used to compile the jdk native libraries (C-code)
 313 CFLAGS_JDKLIB:=@CFLAGS_JDKLIB@
 314 CXXFLAGS_JDKLIB:=@CXXFLAGS_JDKLIB@
 315 
 316 # CFLAGS used to compile the jdk native launchers (C-code)
 317 CFLAGS_JDKEXE:=@CFLAGS_JDKEXE@
 318 CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@
 319 
 320 CXX:=@FIXPATH@ @CCACHE@ @CXX@
 321 #CXXFLAGS:=@CXXFLAGS@
 322 
 323 CPP:=@FIXPATH@ @CPP@
 324 #CPPFLAGS:=@CPPFLAGS@
 325 
 326 # The linker can be gcc or ld on unix systems, or link.exe on windows systems.
 327 LD:=@FIXPATH@ @LD@
 328 
 329 # Xcode SDK path
 330 SDKROOT:=@SDKROOT@
 331 
 332 # The linker on older SuSE distros (e.g. on SLES 10) complains with:
 333 # "Invalid version tag `SUNWprivate_1.1'. Only anonymous version tag is allowed in executable."
 334 # if feeded with a version script which contains named tags.
 335 USING_BROKEN_SUSE_LD:=@USING_BROKEN_SUSE_LD@
 336 
 337 # LDFLAGS used to link the jdk native libraries (C-code)
 338 LDFLAGS_JDKLIB:=@LDFLAGS_JDKLIB@
 339 JDKLIB_LIBS:=@JDKLIB_LIBS@
 340 
 341 # LDFLAGS used to link the jdk native launchers (C-code)
 342 LDFLAGS_JDKEXE:=@LDFLAGS_JDKEXE@
 343 JDKEXE_LIBS:=@JDKEXE_LIBS@
 344 
 345 # LDFLAGS specific to C++ linking.
 346 LDFLAGS_CXX_JDK:=@LDFLAGS_CXX_JDK@
 347 
 348 # Sometimes a different linker is needed for c++ libs
 349 LDCXX:=@FIXPATH@ @LDCXX@
 350 # The flags for linking libstdc++ linker.
 351 LIBCXX:=@LIBCXX@
 352 
 353 # Compiler and linker flags used when building native tests
 354 CFLAGS_TESTLIB:=@CFLAGS_TESTLIB@
 355 CXXFLAGS_TESTLIB:=@CXXFLAGS_TESTLIB@
 356 CFLAGS_TESTEXE:=@CFLAGS_TESTEXE@
 357 CXXFLAGS_TESTEXE:=@CXXFLAGS_TESTEXE@
 358 LDFLAGS_TESTLIB:=@LDFLAGS_TESTLIB@
 359 LDFLAGS_TESTEXE:=@LDFLAGS_TESTEXE@
 360 
 361 # BUILD_CC/BUILD_LD is a compiler/linker that generates code that is runnable on the
 362 # build platform.
 363 BUILD_CC:=@FIXPATH@ @BUILD_CC@
 364 BUILD_LD:=@FIXPATH@ @BUILD_LD@
 365 BUILD_SYSROOT_CFLAGS:=@BUILD_SYSROOT_CFLAGS@
 366 BUILD_SYSROOT_LDFLAGS:=@BUILD_SYSROOT_LDFLAGS@
 367 
 368 AS:=@FIXPATH@ @AS@
 369 
 370 # AR is used to create a static library (is ar in unix, lib.exe in windows)
 371 AR:=@FIXPATH@ @AR@
 372 ARFLAGS:=@ARFLAGS@
 373 
 374 NM:=@NM@
 375 GNM:=@GNM@
 376 STRIP:=@STRIP@
 377 
 378 LIPO:=@LIPO@
 379 
 380 # Options to linker to specify a mapfile.
 381 # (Note absence of := assignment, because we do not want to evaluate the macro body here)
 382 SET_SHARED_LIBRARY_MAPFILE=@SET_SHARED_LIBRARY_MAPFILE@
 383 
 384 # Options for C/CXX compiler to be used if linking is performed
 385 #   using reorder file
 386 C_FLAG_REORDER:=@C_FLAG_REORDER@
 387 CXX_FLAG_REORDER:=@CXX_FLAG_REORDER@
 388 
 389 #
 390 # Options for generating debug symbols
 391 ENABLE_DEBUG_SYMBOLS:=@ENABLE_DEBUG_SYMBOLS@
 392 CFLAGS_DEBUG_SYMBOLS:=@CFLAGS_DEBUG_SYMBOLS@
 393 CXXFLAGS_DEBUG_SYMBOLS:=@CXXFLAGS_DEBUG_SYMBOLS@
 394 ZIP_DEBUGINFO_FILES:=@ZIP_DEBUGINFO_FILES@
















 395 
 396 #
 397 # Compress (or not) jars
 398 COMPRESS_JARS=@COMPRESS_JARS@
 399 
 400 # Options to linker to specify the library name.
 401 # (Note absence of := assignment, because we do not want to evaluate the macro body here)
 402 SET_SHARED_LIBRARY_NAME=@SET_SHARED_LIBRARY_NAME@
 403 
 404 # Set origin using the linker, ie use the relative path to the dependent library to find the dependees.
 405 # (Note absence of := assignment, because we do not want to evaluate the macro body here)
 406 SET_SHARED_LIBRARY_ORIGIN=@SET_SHARED_LIBRARY_ORIGIN@
 407 SET_EXECUTABLE_ORIGIN=@SET_EXECUTABLE_ORIGIN@
 408 
 409 # Different OS:es have different ways of naming shared libraries.
 410 # The SHARED_LIBRARY macro takes "verify" as and argument and returns:
 411 #    "libverify.so" or "libverify.dylib" or "verify.dll" depending on platform.
 412 # (Note absence of := assignment, because we do not want to evaluate the macro body here)
 413 SHARED_LIBRARY=@SHARED_LIBRARY@
 414 STATIC_LIBRARY=@STATIC_LIBRARY@
 415 LIBRARY_PREFIX:=@LIBRARY_PREFIX@
 416 SHARED_LIBRARY_SUFFIX:=@SHARED_LIBRARY_SUFFIX@
 417 STATIC_LIBRARY_SUFFIX:=@STATIC_LIBRARY_SUFFIX@
 418 EXE_SUFFIX:=@EXE_SUFFIX@
 419 OBJ_SUFFIX:=@OBJ_SUFFIX@
 420 STATIC_BUILD:=@STATIC_BUILD@
 421 
 422 STRIPFLAGS:=@STRIPFLAGS@
 423 
 424 JAVA_FLAGS:=@JAVA_FLAGS@
 425 JAVA_FLAGS_BIG:=@JAVA_FLAGS_BIG@
 426 JAVA_FLAGS_SMALL:=@JAVA_FLAGS_SMALL@
 427 JAVA_TOOL_FLAGS_SMALL:=@JAVA_TOOL_FLAGS_SMALL@
 428 SJAVAC_SERVER_JAVA_FLAGS:=@SJAVAC_SERVER_JAVA_FLAGS@
 429 
 430 # The *_CMD variables are defined separately to be easily overridden in bootcycle-spec.gmk
 431 # for bootcycle-images build. Make sure to keep them in sync. Do not use the *_CMD
 432 # versions of the variables directly.
 433 JAVA_CMD:=@JAVA@
 434 JAVAC_CMD:=@JAVAC@
 435 JAVAH_CMD:=@JAVAH@
 436 JAR_CMD:=@JAR@
 437 JARSIGNER_CMD:=@JARSIGNER@
 438 SJAVAC_SERVER_JAVA_CMD:=@SJAVAC_SERVER_JAVA@
 439 # These variables are meant to be used. They are defined with = instead of := to make
 440 # it possible to override only the *_CMD variables.
 441 JAVA=@FIXPATH@ $(JAVA_CMD) $(JAVA_FLAGS_BIG) $(JAVA_FLAGS)
 442 JAVA_SMALL=@FIXPATH@ $(JAVA_CMD) $(JAVA_FLAGS_SMALL) $(JAVA_FLAGS)
 443 JAVAC=@FIXPATH@ $(JAVAC_CMD)
 444 JAVAH=@FIXPATH@ $(JAVAH_CMD)
 445 JAR=@FIXPATH@ $(JAR_CMD)
 446 JARSIGNER=@FIXPATH@ $(JARSIGNER_CMD)
 447 # A specific java binary with specific options can be used to run
 448 # the long running background sjavac servers and other long running tasks.
 449 SJAVAC_SERVER_JAVA=@FIXPATH@ $(SJAVAC_SERVER_JAVA_CMD) $(SJAVAC_SERVER_JAVA_FLAGS)
 450 
 451 # Hotspot sets this variable before reading the SPEC when compiling sa-jdi.jar. Avoid
 452 # overriding that value by using ?=.
 453 JAVAC_FLAGS?=@JAVAC_FLAGS@
 454 
 455 # You run the new javac using the boot jdk with $(BOOT_JDK)/bin/java $(NEW_JAVAC) ...
 456 # Use = assignment to be able to override in bootcycle-spec.gmk
 457 INTERIM_LANGTOOLS_JAR = $(BUILDTOOLS_OUTPUTDIR)/interim_langtools.jar
 458 INTERIM_LANGTOOLS_ARGS = "-Xbootclasspath/p:$(INTERIM_LANGTOOLS_JAR)" -cp $(INTERIM_LANGTOOLS_JAR)
 459 NEW_JAVAC   = $(INTERIM_LANGTOOLS_ARGS) com.sun.tools.javac.Main
 460 NEW_JAVADOC = $(INTERIM_LANGTOOLS_ARGS) com.sun.tools.javadoc.Main
 461 
 462 # Base flags for RC
 463 # Guarding this against resetting value. Legacy make files include spec multiple
 464 # times.
 465 ifndef RC_FLAGS
 466   RC_FLAGS:=@RC_FLAGS@
 467 endif
 468 
 469 # Tools adhering to a minimal and common standard of posix compliance.
 470 AWK:=@AWK@
 471 BASENAME:=@BASENAME@
 472 CAT:=@CAT@
 473 CCACHE:=@CCACHE@
 474 # CD is going away, but remains to cater for legacy makefiles.
 475 CD:=cd
 476 CHMOD:=@CHMOD@
 477 CODESIGN:=@CODESIGN@
 478 COMM:=@COMM@
 479 CP:=@CP@
 480 CPIO:=@CPIO@
 481 CUT:=@CUT@
 482 DATE:=@DATE@
 483 DIFF:=@DIFF@
 484 DIRNAME:=@DIRNAME@
 485 DSYMUTIL:=@DSYMUTIL@
 486 FIND:=@FIND@
 487 FIND_DELETE:=@FIND_DELETE@
 488 ECHO:=@ECHO@
 489 EGREP:=@EGREP@
 490 FGREP:=@FGREP@
 491 GREP:=@GREP@
 492 HEAD:=@HEAD@
 493 LS:=@LS@
 494 LN:=@LN@
 495 MKDIR:=@MKDIR@
 496 MV:=@MV@
 497 NAWK:=@NAWK@
 498 NICE:=@NICE@
 499 PATCH:=@PATCH@
 500 PRINTF:=@PRINTF@
 501 PWD:=@THEPWDCMD@
 502 RM:=@RM@
 503 RMDIR:=@RMDIR@
 504 SED:=@SED@
 505 SH:=@SH@
 506 SORT:=@SORT@
 507 TAR:=@TAR@
 508 TAIL:=@TAIL@
 509 TEE:=@TEE@
 510 TIME:=@TIME@
 511 IS_GNU_TIME:=@IS_GNU_TIME@
 512 TR:=@TR@
 513 TOUCH:=@TOUCH@
 514 UNIQ:=@UNIQ@
 515 WC:=@WC@
 516 XARGS:=@XARGS@
 517 ZIPEXE:=@ZIP@
 518 ZIP:=@ZIP@
 519 UNZIP:=@UNZIP@
 520 MT:=@FIXPATH@ @MT@
 521 RC:=@FIXPATH@ @RC@
 522 DUMPBIN:=@FIXPATH@ @DUMPBIN@
 523 CYGPATH:=@CYGPATH@
 524 LDD:=@LDD@
 525 OTOOL:=@OTOOL@
 526 READELF:=@READELF@
 527 EXPR:=@EXPR@
 528 FILE:=@FILE@
 529 HG:=@HG@
 530 OBJCOPY:=@OBJCOPY@
 531 SETFILE:=@SETFILE@
 532 XATTR:=@XATTR@
 533 JT_HOME:=@JT_HOME@
 534 JTREGEXE:=@JTREGEXE@
 535 XCODEBUILD=@XCODEBUILD@
 536 FIXPATH:=@FIXPATH@
 537 
 538 # Build setup
 539 ENABLE_JFR=@ENABLE_JFR@
 540 ENABLE_INTREE_EC=@ENABLE_INTREE_EC@
 541 USE_EXTERNAL_LIBJPEG:=@USE_EXTERNAL_LIBJPEG@
 542 USE_EXTERNAL_LIBGIF:=@USE_EXTERNAL_LIBGIF@
 543 USE_EXTERNAL_LIBZ:=@USE_EXTERNAL_LIBZ@
 544 LIBZIP_CAN_USE_MMAP:=@LIBZIP_CAN_USE_MMAP@
 545 MSVCR_DLL:=@MSVCR_DLL@
 546 MSVCP_DLL:=@MSVCP_DLL@
 547 
 548 ####################################################
 549 #
 550 # INSTALLATION
 551 #
 552 
 553 # Common prefix for all installed files. Defaults to /usr/local,
 554 # but /opt/myjdk is another common version.
 555 INSTALL_PREFIX=@prefix@
 556 
 557 # Directories containing architecture-dependent files should be relative to exec_prefix
 558 INSTALL_EXECPREFIX=@exec_prefix@
 559 
 560 # java,javac,javah,javap etc are installed here.
 561 INSTALL_BINDIR=@bindir@
 562 
 563 # Read only architecture-independent data
 564 INSTALL_DATADIR=@datadir@
 565 
 566 # Root of above.
 567 INSTALL_DATAROOTDIR=@datarootdir@
 568 
 569 # Doc files, other than info and man.
 570 INSTALL_DOCDIR=@docdir@
 571 
 572 # Html documentation
 573 INSTALL_HTMLDIR=@htmldir@
 574 
 575 # Installing C header files, JNI headers for example.
 576 INSTALL_INCLUDEDIR=@includedir@
 577 
 578 # Installing library files....
 579 INSTALL_INCLUDEDIR=@libdir@
 580 
 581 # Executables that other programs run.
 582 INSTALL_LIBEXECDIR=@libexecdir@
 583 
 584 # Locale-dependent but architecture-independent data, such as message catalogs.
 585 INSTALL_LOCALEDIR=@localedir@
 586 
 587 # Modifiable single-machine data
 588 INSTALL_LOCALSTATEDIR=@localstatedir@
 589 
 590 # Man pages
 591 INSTALL_MANDIR=@mandir@
 592 
 593 # Modifiable architecture-independent data.
 594 INSTALL_SHAREDSTATEDIR=@sharedstatedir@
 595 
 596 # Read-only single-machine data
 597 INSTALL_SYSCONFDIR=@sysconfdir@
 598 
 599 ####################################################
 600 #
 601 # Libraries
 602 #
 603 
 604 USE_EXTERNAL_LCMS:=@USE_EXTERNAL_LCMS@
 605 LCMS_CFLAGS:=@LCMS_CFLAGS@
 606 LCMS_LIBS:=@LCMS_LIBS@
 607 
 608 USE_EXTERNAL_LIBPNG:=@USE_EXTERNAL_LIBPNG@
 609 PNG_LIBS:=@PNG_LIBS@
 610 PNG_CFLAGS:=@PNG_CFLAGS@
 611 
 612 
 613 ####################################################
 614 #
 615 # Misc
 616 #
 617 
 618 # Name of Service Agent library
 619 SALIB_NAME=@SALIB_NAME@
 620 
 621 INCLUDE_SA=@INCLUDE_SA@
 622 
 623 OS_VERSION_MAJOR:=@OS_VERSION_MAJOR@
 624 OS_VERSION_MINOR:=@OS_VERSION_MINOR@
 625 OS_VERSION_MICRO:=@OS_VERSION_MICRO@
 626 
 627 # Images directory definitions
 628 JDK_IMAGE_SUBDIR:=jdk
 629 JRE_IMAGE_SUBDIR:=jre
 630 
 631 # Colon left out to be able to override output dir for bootcycle-images
 632 JDK_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_IMAGE_SUBDIR)
 633 JRE_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_IMAGE_SUBDIR)
 634 
 635 # Test image, as above
 636 TEST_IMAGE_SUBDIR:=test
 637 TEST_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(TEST_IMAGE_SUBDIR)
 638 
 639 # Symbols image
 640 SYMBOLS_IMAGE_SUBDIR:=symbols
 641 SYMBOLS_IMAGE_DIR=$(IMAGES_OUTPUTDIR)/$(SYMBOLS_IMAGE_SUBDIR)
 642 
 643 # Macosx bundles directory definitions
 644 JDK_MACOSX_BUNDLE_SUBDIR=jdk-bundle/jdk$(JDK_VERSION).jdk/Contents
 645 JRE_MACOSX_BUNDLE_SUBDIR=jre-bundle/jre$(JDK_VERSION).jre/Contents
 646 JDK_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JDK_MACOSX_BUNDLE_SUBDIR)
 647 JRE_MACOSX_BUNDLE_DIR=$(IMAGES_OUTPUTDIR)/$(JRE_MACOSX_BUNDLE_SUBDIR)
 648 
 649 # This macro is called to allow inclusion of closed source counterparts.
 650 # Unless overridden in closed sources, it expands to nothing.
 651 # Usage: This function is called in an open makefile, with the following
 652 # arguments:
 653 # $1 the name of the repo, or empty if the top-level repo.
 654 # $2 the name of the makefile
 655 define IncludeCustomExtension
 656 endef
 657 
 658 # Include the custom-spec.gmk file if it exists
 659 -include $(dir @SPEC@)/custom-spec.gmk
--- EOF ---