common/autoconf/spec.gmk.in

Fri, 07 Sep 2018 10:22:27 +0800

author
aoqi
date
Fri, 07 Sep 2018 10:22:27 +0800
changeset 2188
d75ef5fa5b02
parent 2165
381d14ae2867
child 2316
64a3eeabf6e5
permissions
-rw-r--r--

#7535 BUILDER_NAME supports Fedora 23-29

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

mercurial