ohair@425: # ohair@425: # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. ohair@425: # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. ohair@425: # ohair@425: # This code is free software; you can redistribute it and/or modify it ohair@425: # under the terms of the GNU General Public License version 2 only, as ohair@425: # published by the Free Software Foundation. Oracle designates this ohair@425: # particular file as subject to the "Classpath" exception as provided ohair@425: # by Oracle in the LICENSE file that accompanied this code. ohair@425: # ohair@425: # This code is distributed in the hope that it will be useful, but WITHOUT ohair@425: # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or ohair@425: # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License ohair@425: # version 2 for more details (a copy is included in the LICENSE file that ohair@425: # accompanied this code). ohair@425: # ohair@425: # You should have received a copy of the GNU General Public License version ohair@425: # 2 along with this work; if not, write to the Free Software Foundation, ohair@425: # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. ohair@425: # ohair@425: # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ohair@425: # or visit www.oracle.com if you need additional information or have any ohair@425: # questions. ohair@425: # ohair@425: ohair@425: # Configured @DATE_WHEN_CONFIGURED@ to build for a @HOST@ system, ohair@425: # using ./configure @CONFIGURE_COMMAND_LINE@ ohair@425: ohair@425: # When calling macros, the spaces between arguments are ohair@425: # often semantically important! Sometimes we need to subst ohair@425: # spaces and commas, therefore we need the following macros. ohair@425: X:= ohair@425: SPACE:=$(X) $(X) ohair@425: COMMA:=, ohair@425: HASH:=\# ohair@425: SQUOTE:=' ohair@425: #' ohair@425: DQUOTE:=" ohair@425: #" ohair@425: define NEWLINE:= ohair@425: endef ohair@425: ohair@425: ohair@425: # Pass along the verbosity setting. ohair@425: ifeq (,$(findstring VERBOSE=,$(MAKE))) ohair@425: MAKE:=$(MAKE) $(VERBOSE) VERBOSE="$(VERBOSE)" ohair@425: endif ohair@425: ohair@425: # No implicit variables or rules! ohair@425: ifeq (,$(findstring -R,$(MAKE))) ohair@425: MAKE:=$(MAKE) -R ohair@425: endif ohair@425: ohair@425: # Specify where the spec file is. ohair@425: ifeq (,$(findstring SPEC=,$(MAKE))) ohair@425: MAKE:=$(MAKE) SPEC=@SPEC@ ohair@425: endif ohair@425: ohair@425: # Specify where the common include directory for makefiles is. ohair@425: ifeq (,$(findstring -I @SRC_ROOT@/common/makefiles,$(MAKE))) ohair@425: MAKE:=$(MAKE) -I @SRC_ROOT@/common/makefiles ohair@425: endif ohair@425: ohair@425: # A self-referential reference to this file. ohair@425: SPEC:=@SPEC@ ohair@425: ohair@425: # The built jdk will run in this host system. ohair@425: HOST:=@HOST@ ohair@425: HOST_OS:=@HOST_OS@ ohair@425: HOST_OS_FAMILY:=@HOST_OS_FAMILY@ ohair@425: HOST_OS_API:=@HOST_OS_API@ ohair@425: ohair@425: HOST_CPU:=@HOST_CPU@ ohair@425: HOST_CPU_ARCH:=@HOST_CPU_ARCH@ ohair@425: HOST_CPU_BITS:=@HOST_CPU_BITS@ ohair@425: HOST_CPU_ENDIAN:=@HOST_CPU_ENDIAN@ ohair@425: ohair@425: # We are building on this build system. ohair@425: # When not cross-compiling, it is the same as the host. ohair@425: BUILD:=@BUILD@ ohair@425: BUILD_OS:=@BUILD_OS@ ohair@425: BUILD_OS_FAMILY:=@BUILD_OS_FAMILY@ ohair@425: BUILD_OS_API:=@BUILD_OS_API@ ohair@425: ohair@425: BUILD_CPU:=@BUILD_CPU@ ohair@425: BUILD_CPU_ARCH:=@BUILD_CPU_ARCH@ ohair@425: BUILD_CPU_BITS:=@BUILD_CPU_BITS@ ohair@425: BUILD_CPU_ENDIAN:=@BUILD_CPU_ENDIAN@ ohair@425: ohair@425: # Old name for HOST_OS (aix,bsd,hpux,linux,macosx,solaris,windows etc) ohair@425: PLATFORM:=@HOST_OS@ ohair@425: # Old name for HOST_CPU, uses i586 and amd64, instead of ia32 and x64. ohair@425: ARCH:=@LEGACY_HOST_CPU1@ ohair@425: # Yet another name for arch used for an extra subdir below the jvm lib. ohair@425: # Uses i386 and amd64, instead of ia32 and x64. ohair@425: LIBARCH:=@LEGACY_HOST_CPU2@ ohair@425: # Use to switch between solaris and windows subdirs in the jdk. ohair@425: LEGACY_HOST_OS_API:=@LEGACY_HOST_OS_API@ ohair@425: # 32 or 64 bit ohair@425: ARCH_DATA_MODEL:=@HOST_CPU_BITS@ ohair@425: # Legacy setting for building for a 64 bit machine. ohair@425: # If yes then this expands to _LP64:=1 ohair@425: @LP64@ ohair@425: ENDIAN:=@HOST_CPU_ENDIAN@ ohair@425: @SET_OPENJDK@ ohair@425: JIGSAW:=@JIGSAW@ ohair@425: LIBM:=-lm ohair@425: ohair@425: # colon or semicolon ohair@425: PATH_SEP:=@PATH_SEP@ ohair@425: ohair@425: # Set special env variables, to be passed to external tools. ohair@425: # Used for cygwin setups. ohair@425: @SETUPDEVENV@ ohair@425: ohair@425: # The sys root where standard headers and libraries are found. ohair@425: # Usually not needed since the configure script should have ohair@425: # taken it into account already when setting CFLAGS et al. ohair@425: SYS_ROOT:=@SYS_ROOT@ ohair@425: ohair@425: # Paths to the source code ohair@425: SRC_ROOT:=@SRC_ROOT@ ohair@425: ADD_SRC_ROOT:=@ADD_SRC_ROOT@ ohair@425: OVERRIDE_SRC_ROOT:=@OVERRIDE_SRC_ROOT@ ohair@425: TOPDIR:=@SRC_ROOT@ ohair@425: OUTPUT_ROOT:=@OUTPUT_ROOT@ ohair@425: JDK_MAKE_SHARED_DIR:=@JDK_TOPDIR@/makefiles/common/shared ohair@425: JDK_TOPDIR:=@JDK_TOPDIR@ ohair@425: LANGTOOLS_TOPDIR:=@LANGTOOLS_TOPDIR@ ohair@425: CORBA_TOPDIR:=@CORBA_TOPDIR@ ohair@425: JAXP_TOPDIR:=@JAXP_TOPDIR@ ohair@425: JAXWS_TOPDIR:=@JAXWS_TOPDIR@ ohair@425: HOTSPOT_TOPDIR:=@HOTSPOT_TOPDIR@ ohair@425: COPYRIGHT_YEAR:=@COPYRIGHT_YEAR@ ohair@425: ohair@425: # Information gathered from the version.numbers file. ohair@425: JDK_MAJOR_VERSION:=@JDK_MAJOR_VERSION@ ohair@425: JDK_MINOR_VERSION:=@JDK_MINOR_VERSION@ ohair@425: JDK_MICRO_VERSION:=@JDK_MICRO_VERSION@ ohair@425: JDK_UPDATE_VERSION:=@JDK_UPDATE_VERSION@ ohair@425: JDK_BUILD_NUMBER:=@JDK_BUILD_NUMBER@ ohair@425: MILESTONE:=@MILESTONE@ ohair@425: LAUNCHER_NAME:=@LAUNCHER_NAME@ ohair@425: PRODUCT_NAME:=@PRODUCT_NAME@ ohair@425: PRODUCT_SUFFIX:=@PRODUCT_SUFFIX@ ohair@425: JDK_RC_PLATFORM_NAME:=@JDK_RC_PLATFORM_NAME@ ohair@425: COMPANY_NAME:=@COMPANY_NAME@ ohair@425: ohair@425: # Different version strings generated from the above information. ohair@425: JDK_VERSION:=@JDK_VERSION@ ohair@425: RUNTIME_NAME:=@RUNTIME_NAME@ ohair@425: FULL_VERSION:=@FULL_VERSION@ ohair@425: JRE_RELEASE_VERSION:=@FULL_VERSION@ ohair@425: RELEASE:=@RELEASE@ ohair@425: COOKED_BUILD_NUMBER:=@COOKED_BUILD_NUMBER@ ohair@425: ohair@425: # How to compile the code: release, fastdebug or slowdebug ohair@425: DEBUG_LEVEL:=@DEBUG_LEVEL@ ohair@425: ohair@425: # This is the JDK variant to build. ohair@425: # The JDK variant is a name for a specific set of modules to be compiled for the JDK. ohair@425: JDK_VARIANT:=@JDK_VARIANT@ ohair@425: ohair@425: # Legacy defines controlling the JDK variant embedded. ohair@425: @JAVASE_EMBEDDED@ ohair@425: @MINIMIZE_RAM_USAGE@ ohair@425: ohair@425: # Should we compile support for running with a graphical UI? (ie headful) ohair@425: # Should we compile support for running without? (ie headless) ohair@425: SUPPORT_HEADFUL:=@SUPPORT_HEADFUL@ ohair@425: SUPPORT_HEADLESS:=@SUPPORT_HEADLESS@ ohair@425: # Legacy defines controlled by the SUPPORT_HEADLESS and SUPPORT_HEADFUL options. ohair@425: @BUILD_HEADLESS@ ohair@425: @BUILD_HEADLESS_ONLY@ ohair@425: ohair@425: # These are the libjvms that we want to build. ohair@425: # The java launcher uses the default. ohair@425: # The other can be selected by specifying -client -server -kernel -zero or -zeroshark ohair@425: # on the java launcher command line. ohair@425: DEFAULT_JVM_VARIANT:=@DEFAULT_JVM_VARIANT@ ohair@425: JVM_VARIANTS:=@JVM_VARIANTS@ ohair@425: JVM_VARIANT_SERVER:=@JVM_VARIANT_SERVER@ ohair@425: JVM_VARIANT_CLIENT:=@JVM_VARIANT_CLIENT@ ohair@425: JVM_VARIANT_KERNEL:=@JVM_VARIANT_KERNEL@ ohair@425: JVM_VARIANT_ZERO:=@JVM_VARIANT_ZERO@ ohair@425: JVM_VARIANT_ZEROSHARK:=@JVM_VARIANT_ZEROSHARK@ ohair@425: ohair@425: # Legacy setting: OPT or DBG ohair@425: VARIANT:=@VARIANT@ ohair@425: # Legacy setting: true or false ohair@425: FASTDEBUG:=@FASTDEBUG@ ohair@425: # Legacy setting: debugging the class files? ohair@425: DEBUG_CLASSFILES:=@DEBUG_CLASSFILES@ ohair@425: # Legacy setting: -debug or -fastdebug ohair@425: BUILD_VARIANT_RELEASE:=@BUILD_VARIANT_RELEASE@ ohair@425: ohair@425: LANGTOOLS_OUTPUTDIR:=@OUTPUT_ROOT@/langtools ohair@425: LANGTOOLS_DIST:=@OUTPUT_ROOT@/langtools/dist ohair@425: LANGTOOLS_MAKE_ARGS:=@LANGTOOLS_MAKE_ARGS@ ohair@425: ohair@425: CORBA_OUTPUTDIR:=@OUTPUT_ROOT@/corba ohair@425: CORBA_DIST:=@OUTPUT_ROOT@/corba/dist ohair@425: CORBA_MAKE_ARGS:=@CORBA_MAKE_ARGS@ ohair@425: ohair@425: JAXP_OUTPUTDIR:=@OUTPUT_ROOT@/jaxp ohair@425: JAXP_DIST:=@OUTPUT_ROOT@/jaxp/dist ohair@425: JAXP_MAKE_ARGS:=@JAXP_MAKE_ARGS@ ohair@425: ohair@425: JAXWS_OUTPUTDIR:=@OUTPUT_ROOT@/jaxws ohair@425: JAXWS_DIST:=@OUTPUT_ROOT@/jaxws/dist ohair@425: JAXWS_MAKE_ARGS:=@JAXWS_MAKE_ARGS@ ohair@425: ohair@425: HOTSPOT_OUTPUTDIR:=@OUTPUT_ROOT@/hotspot ohair@425: HOTSPOT_DIST:=@OUTPUT_ROOT@/hotspot/dist ohair@425: HOTSPOT_MAKE_ARGS:=@HOTSPOT_MAKE_ARGS@ ohair@425: ohair@425: # This where a working jvm is built. ohair@425: # You can run $(JDK_OUTPUTDIR)/bin/java ohair@425: # Though the layout of the contents of $(JDK_OUTPUTDIR) is not ohair@425: # yet the same as a default installation. ohair@425: HOTSPOT_IMPORT_PATH:=@OUTPUT_ROOT@/hotspot/dist ohair@425: JDK_OUTPUTDIR:=@OUTPUT_ROOT@/jdk ohair@425: JDK_MAKE_ARGS:=@JDK_MAKE_ARGS@ ohair@425: ohair@425: # When you run "make install" it will create the standardized ohair@425: # layout for the jdk and the jre inside the images subdir. ohair@425: # Then it will copy the contents of the jdk into the installation ohair@425: # directory. ohair@425: IMAGES_OUTPUTDIR:=@OUTPUT_ROOT@/images ohair@425: IMAGES_MAKE_ARGS:=@IMAGES_MAKE_ARGS@ ohair@425: # Legacy variables used by Release.gmk ohair@425: JDK_IMAGE_DIR:=$(IMAGES_OUTPUTDIR)/j2sdk-image ohair@425: JRE_IMAGE_DIR:=$(IMAGES_OUTPUTDIR)/j2re-image ohair@425: ohair@425: # Can be /sparcv9 or /amd64 on Solaris ohair@425: ISA_DIR:=@LEGACY_HOST_CPU3@ ohair@425: BINDIR:=$(JDK_OUTPUTDIR)/bin$(ISA_DIR) ohair@425: ohair@425: # The boot jdk to use ohair@425: ALT_BOOTDIR:=@BOOT_JDK@ ohair@425: BOOT_JDK:=@BOOT_JDK@ ohair@425: BOOT_JDK_JVMARGS:=@BOOT_JDK_JVMARGS@ ohair@425: BOOT_JAVAC_ARGS:=@BOOT_JAVAC_ARGS@ ohair@425: BOOT_RTJAR:=@BOOT_RTJAR@ ohair@425: BOOT_TOOLSJAR:=@BOOT_TOOLSJAR@ ohair@425: ohair@425: # When compiling Java source to be run by the boot jdk ohair@425: # use these extra flags, eg -source 6 -target 6 ohair@425: BOOT_JDK_SOURCETARGET:=@BOOT_JDK_SOURCETARGET@ ohair@425: ohair@425: # Information about the build system ohair@425: NUM_CORES:=@NUM_CORES@ ohair@425: # This is used from the libjvm build for C/C++ code. ohair@425: HOTSPOT_BUILD_JOBS:=@CONCURRENT_BUILD_JOBS@ ohair@425: # This is used from the jdk build for C/C++ code. ohair@425: PARALLEL_COMPILE_JOBS:=@CONCURRENT_BUILD_JOBS@ ohair@425: # Store javac server synchronization files here, and ohair@425: # the javac server log files. ohair@425: JAVAC_SERVERS:=@JAVAC_SERVERS@ ohair@425: # Should we use a javac server or not? The javac server gives ohair@425: # an enormous performance improvement since it reduces the ohair@425: # startup costs of javac and reuses as much as possible of intermediate ohair@425: # compilation work. But if we want to compile with a non-Java ohair@425: # javac compiler, like gcj. Then we cannot use javac server and ohair@425: # this variable is set to false. ohair@425: JAVAC_USE_REMOTE:=@JAVAC_USE_REMOTE@ ohair@425: # We can block the Javac server to never use more cores than this. ohair@425: # This is not for performance reasons, but for memory usage, since each ohair@425: # core requires its own JavaCompiler. We might have 64 cores and 4GB ohair@425: # of memory, 64 JavaCompilers will currently not fit in a 3GB heap. ohair@425: # Since there is no sharing of data between the JavaCompilers. ohair@425: JAVAC_SERVER_CORES:=@JAVAC_SERVER_CORES@ ohair@425: # Should we use dependency tracking between Java packages? true or false. ohair@425: JAVAC_USE_DEPS:=@JAVAC_USE_DEPS@ ohair@425: # We can invoke javac: SINGLE_THREADED_BATCH or MULTI_CORE_CONCURRENT ohair@425: JAVAC_USE_MODE:=@JAVAC_USE_MODE@ ohair@425: ohair@425: # The OpenJDK makefiles should be changed to using the standard ohair@425: # configure output ..._CFLAGS and ..._LIBS. In the meantime we ohair@425: # extract the information here. ohair@425: FREETYPE2_LIB_PATH:=@FREETYPE2_LIB_PATH@ ohair@425: FREETYPE2_LIBS:=@FREETYPE2_LIBS@ ohair@425: FREETYPE2_CFLAGS:=@FREETYPE2_CFLAGS@ ohair@425: USING_SYSTEM_FT_LIB=@USING_SYSTEM_FT_LIB@ ohair@425: ALT_CUPS_HEADERS_PATH:=$(patsubst -I%,%,$(filter -I%,@CUPS_CFLAGS@)) ohair@425: CUPS_CFLAGS:=@CUPS_CFLAGS@ ohair@425: ohair@425: PACKAGE_PATH=@PACKAGE_PATH@ ohair@425: ohair@425: CACERTS_FILE:=$(SRC_ROOT)/jdk/src/share/lib/security/cacerts ohair@425: #CACERTS_INT=$(CLOSED_SHARE_SRC)/lib/security/cacerts.internal ohair@425: ohair@425: #MOZILLA_HEADERS_PATH:= ohair@425: ohair@425: # Necessary additional compiler flags to compile X11 ohair@425: X_CFLAGS:=@X_CFLAGS@ ohair@425: X_LIBS:=@X_LIBS@ ohair@425: OPENWIN_HOME:=@OPENWIN_HOME@ ohair@425: ohair@425: # There are two types: CC or CL ohair@425: # CC is gcc and others behaving reasonably similar. ohair@425: # CL is cl.exe only. ohair@425: COMPILER_TYPE:=@COMPILER_TYPE@ ohair@425: ohair@425: CC_OUT_OPTION:=@CC_OUT_OPTION@ ohair@425: EXE_OUT_OPTION:=@EXE_OUT_OPTION@ ohair@425: LD_OUT_OPTION:=@LD_OUT_OPTION@ ohair@425: AR_OUT_OPTION:=@AR_OUT_OPTION@ ohair@425: ohair@425: # Flags used for overriding the default opt setting for a C/C++ source file. ohair@425: C_O_FLAG_HI:=@C_O_FLAG_HI@ ohair@425: C_O_FLAG_NORM:=@C_O_FLAG_NORM@ ohair@425: C_O_FLAG_NONE:=@C_O_FLAG_NONE@ ohair@425: CXX_O_FLAG_HI:=@CXX_O_FLAG_HI@ ohair@425: CXX_O_FLAG_NORM:=@CXX_O_FLAG_NORM@ ohair@425: CXX_O_FLAG_NONE:=@CXX_O_FLAG_NONE@ ohair@425: ohair@425: # Tools that potentially need to be cross compilation aware. ohair@425: CC:=@UNCYGDRIVE@ @CCACHE@ @CC@ ohair@425: ohair@425: # CFLAGS used to compile the jdk native libraries (C-code) ohair@425: CFLAGS_JDKLIB:=@CFLAGS_JDKLIB@ ohair@425: CXXFLAGS_JDKLIB:=@CXXFLAGS_JDKLIB@ ohair@425: ohair@425: # CFLAGS used to compile the jdk native launchers (C-code) ohair@425: CFLAGS_JDKEXE:=@CFLAGS_JDKEXE@ ohair@425: CXXFLAGS_JDKEXE:=@CXXFLAGS_JDKEXE@ ohair@425: ohair@425: CXX:=@UNCYGDRIVE@ @CCACHE@ @CXX@ ohair@425: #CXXFLAGS:=@CXXFLAGS@ ohair@425: ohair@425: OBJC:=@CCACHE@ @OBJC@ ohair@425: #OBJCFLAGS:=@OBJCFLAGS@ ohair@425: ohair@425: CPP:=@UNCYGDRIVE@ @CPP@ ohair@425: #CPPFLAGS:=@CPPFLAGS@ ohair@425: ohair@425: # The linker can be gcc or ld on posix systems, or link.exe on winapi systems. ohair@425: LD:=@UNCYGDRIVE@ @LD@ ohair@425: ohair@425: # LDFLAGS used to link the jdk native libraries (C-code) ohair@425: LDFLAGS_JDKLIB:=@LDFLAGS_JDKLIB@ ohair@425: LDFLAGS_JDKLIB_SUFFIX:=@LDFLAGS_JDKLIB_SUFFIX@ ohair@425: ohair@425: # On some platforms the linker cannot be used to create executables, thus ohair@425: # the need for a separate LDEXE command. ohair@425: LDEXE:=@UNCYGDRIVE@ @LDEXE@ ohair@425: ohair@425: # LDFLAGS used to link the jdk native launchers (C-code) ohair@425: LDFLAGS_JDKEXE:=@LDFLAGS_JDKEXE@ ohair@425: LDFLAGS_JDKEXE_SUFFIX:=@LDFLAGS_JDKEXE_SUFFIX@ ohair@425: ohair@425: # Sometimes a different linker is needed for c++ libs ohair@425: LDCXX:=@UNCYGDRIVE@ @LDCXX@ ohair@425: # The flags for linking libstdc++ linker. ohair@425: LIBCXX:=@LIBCXX@ ohair@425: ohair@425: # Sometimes a different linker is needed for c++ executables ohair@425: LDEXECXX:=@UNCYGDRIVE@ @LDEXECXX@ ohair@425: ohair@425: # If cross compiling, then define CROSS_COMPILE_ARCH:=cpu_name here. ohair@425: @DEFINE_CROSS_COMPILE_ARCH@ ohair@425: # The HOSTCC should really be named BUILDCC, ie build executable for ohair@425: # the build platform. Same as CC when not cross compiling. ohair@425: HOSTCC:=@HOSTCC@ ohair@425: HOSTCXX:=@HOSTCXX@ ohair@425: # And of course, the jdk spells HOSTCC as NIO_CC/HOST_CC ohair@425: HOST_CC:=@HOSTCC@ ohair@425: NIO_CC:=@HOSTCC@ ohair@425: ohair@425: AS:=@AS@ ohair@425: ASFLAGS:=@ASFLAGS@ ohair@425: ohair@425: # AR is used to create a static library (is ar in posix, lib.exe in winapi) ohair@425: AR:=@UNCYGDRIVE@ @AR@ ohair@425: ARFLAGS:=@ARFLAGS@ ohair@425: ohair@425: NM:=@NM@ ohair@425: STRIP:=@STRIP@ ohair@425: MCS:=@MCS@ ohair@425: ohair@425: # Command to create a shared library ohair@425: SHARED_LIBRARY_FLAGS:=@SHARED_LIBRARY_FLAGS@ ohair@425: ohair@425: # Options to linker to specify a mapfile. ohair@425: # (Note absence of := assignment, because we do not want to evaluate the macro body here) ohair@425: SET_SHARED_LIBRARY_MAPFILE=@SET_SHARED_LIBRARY_MAPFILE@ ohair@425: ohair@425: # Options to linker to specify the library name. ohair@425: # (Note absence of := assignment, because we do not want to evaluate the macro body here) ohair@425: SET_SHARED_LIBRARY_NAME=@SET_SHARED_LIBRARY_NAME@ ohair@425: ohair@425: # Set origin using the linker, ie use the relative path to the dependent library to find the dependees. ohair@425: # (Note absence of := assignment, because we do not want to evaluate the macro body here) ohair@425: SET_SHARED_LIBRARY_ORIGIN=@SET_SHARED_LIBRARY_ORIGIN@ ohair@425: ohair@425: # Different OS:es have different ways of naming shared libraries. ohair@425: # The SHARED_LIBRARY macro takes "verify" as and argument and returns: ohair@425: # "libverify.so" or "libverify.dylib" or "verify.dll" depending on platform. ohair@425: # (Note absence of := assignment, because we do not want to evaluate the macro body here) ohair@425: SHARED_LIBRARY=@SHARED_LIBRARY@ ohair@425: STATIC_LIBRARY=@STATIC_LIBRARY@ ohair@425: LIBRARY_PREFIX:=@LIBRARY_PREFIX@ ohair@425: SHARED_LIBRARY_SUFFIX:=@SHARED_LIBRARY_SUFFIX@ ohair@425: STATIC_LIBRARY_SUFFIX:=@STATIC_LIBRARY_SUFFIX@ ohair@425: EXE_SUFFIX:=@EXE_SUFFIX@ ohair@425: OBJ_SUFFIX:=@OBJ_SUFFIX@ ohair@425: ohair@425: JAVA_FLAGS:=@BOOT_JDK_JVMARGS@ ohair@425: ohair@425: JAVA=@UNCYGDRIVE@ @JAVA@ $(JAVA_FLAGS) ohair@425: ohair@425: JAVAC:=@UNCYGDRIVE@ @JAVAC@ ohair@425: JAVAC_FLAGS:=@JAVAC_FLAGS@ ohair@425: ohair@425: JAVAH:=@UNCYGDRIVE@ @JAVAH@ ohair@425: ohair@425: JAR:=@UNCYGDRIVE@ @JAR@ ohair@425: ohair@425: RMIC:=@UNCYGDRIVE@ @RMIC@ ohair@425: ohair@425: BOOT_JAR_CMD:=@UNCYGDRIVE@ @JAR@ ohair@425: BOOT_JAR_JFLAGS:= ohair@425: ohair@425: # Base flags for RC ohair@425: # Guarding this against resetting value. Legacy make files include spec multiple ohair@425: # times. ohair@425: ifndef RC_FLAGS ohair@425: RC_FLAGS:=@RC_FLAGS@ ohair@425: endif ohair@425: ohair@425: # A specific java binary with specific options can be used to run ohair@425: # the long running background javac server and other long running tasks. ohair@425: SERVER_JAVA:=@UNCYGDRIVE@ @SERVER_JAVA@ ohair@425: ohair@425: # Tools adhering to a minimal and common standard of posix compliance. ohair@425: AWK:=@AWK@ ohair@425: CAT:=@CAT@ ohair@425: CCACHE:=@CCACHE@ ohair@425: # CD is going away, but remains to cater for legacy makefiles. ohair@425: CD:=cd ohair@425: CHMOD:=@CHMOD@ ohair@425: CP:=@CP@ ohair@425: CPIO:=@CPIO@ ohair@425: CUT:=@CUT@ ohair@425: DATE:=@DATE@ ohair@425: DF:=@DF@ ohair@425: DIFF:=@DIFF@ ohair@425: FIND:=@FIND@ ohair@425: FIND_DELETE:=@FIND_DELETE@ ohair@425: ECHO:=@ECHO@ ohair@425: EGREP:=@EGREP@ ohair@425: FGREP:=@FGREP@ ohair@425: GREP:=@GREP@ ohair@425: HEAD:=@HEAD@ ohair@425: LS:=@LS@ ohair@425: LN:=@LN@ ohair@425: MKDIR:=@MKDIR@ ohair@425: MV:=@MV@ ohair@425: NAWK:=@NAWK@ ohair@425: PRINTF:=@PRINTF@ ohair@425: PWD:=@THEPWDCMD@ ohair@425: RM:=@RM@ ohair@425: SED:=@SED@ ohair@425: SH:=@SH@ ohair@425: SORT:=@SORT@ ohair@425: TAR:=@TAR@ ohair@425: TAIL:=@TAIL@ ohair@425: TEE:=@TEE@ ohair@425: TR:=@TR@ ohair@425: TOUCH:=@TOUCH@ ohair@425: WC:=@WC@ ohair@425: XARGS:=@XARGS@ ohair@425: ZIPEXE:=@ZIP@ ohair@425: ZIP:=@ZIP@ ohair@425: UNZIP:=@UNZIP@ ohair@425: MT:=@UNCYGDRIVE@ @MT@ ohair@425: RC:=@UNCYGDRIVE@ @RC@ ohair@425: DUMPBIN:=@UNCYGDRIVE@ @DUMPBIN@ ohair@425: CYGPATH:=@CYGPATH@ ohair@425: LDD:=@LDD@ ohair@425: OTOOL:=@OTOOL@ ohair@425: READELF:=@READELF@ ohair@425: EXPR:=@EXPR@ ohair@425: FILE:=@FILE@ ohair@425: ohair@425: UNCYGDRIVE:=@UNCYGDRIVE@ ohair@425: ohair@425: # Where the build output is stored for your convenience. ohair@425: BUILD_LOG:=@BUILD_LOG@ ohair@425: BUILD_LOG_WRAPPER:=@BUILD_LOG_WRAPPER@ ohair@425: ohair@425: # Build setup ohair@425: ENABLE_DOCS:=@ENABLE_DOCS@ ohair@425: GENERATE_DOCS:=@ENABLE_DOCS@ ohair@425: DISABLE_NIMBUS:=@DISABLE_NIMBUS@ ohair@425: USE_EXTERNAL_LIBJPEG:=@USE_EXTERNAL_LIBJPEG@ ohair@425: USE_EXTERNAL_LIBGIF:=@USE_EXTERNAL_LIBGIF@ ohair@425: USE_EXTERNAL_LIBZ:=@USE_EXTERNAL_LIBZ@ ohair@425: CHECK_FOR_VCINSTALLDIR=@CHECK_FOR_VCINSTALLDIR@ ohair@425: MSVCRNN_DLL:=@MSVCR100DLL@ ohair@425: ohair@425: # ADD_SRCS takes a single argument with source roots ohair@425: # and appends any corresponding source roots found ohair@425: # below --with-add-source-root and below ohair@425: # --with-override-source-root. It is the responsibility ohair@425: # of the next macro to get rid of superfluous files. ohair@425: ADD_SRCS=$1 ohair@425: ifneq (,$(ADD_SRC_ROOT)) ohair@425: # Append wildcard rule to pickup any matching source roots found below ADD_SRC_ROOT ohair@425: ADD_SRCS+=$(wildcard $(subst $(SRC_ROOT),$(ADD_SRC_ROOT),$1)) ohair@425: endif ohair@425: ifneq (,$(OVERRIDE_SRC_ROOT)) ohair@425: # Append wildcard rule to pickup any matching source roots found below OVERRIDE_SRC_ROOT ohair@425: ADD_SRCS+=$(wildcard $(subst $(SRC_ROOT),$(OVERRIDE_SRC_ROOT),$1)) ohair@425: endif ohair@425: ohair@425: # OVR_SRCS creates a filter expression to filter out sources in ohair@425: # the original source directory that lie inside directories below ohair@425: # --with-override-source-root. ohair@425: # Use := here since we want to scan for these files here. To avoid recomputation later. ohair@425: # We cannot do the scan in configure, since that would force us to rerun configure when ohair@425: # we add overridden sources. ohair@425: ifneq (,$(OVERRIDE_SRC_ROOT)) ohair@425: OVR_SRCS:=$(addsuffix %,$(subst $(OVERRIDE_SRC_ROOT),$(SRC_ROOT),$(sort $(dir $(shell $(FIND) $(OVERRIDE_SRC_ROOT) -type f))))) ohair@425: else ohair@425: OVR_SRCS:= ohair@425: endif ohair@425: ohair@425: #################################################### ohair@425: # ohair@425: # INSTALLATION ohair@425: # ohair@425: ohair@425: # Common prefix for all installed files. Defaults to /usr/local, ohair@425: # but /opt/myjdk is another common version. ohair@425: INSTALL_PREFIX=@prefix@ ohair@425: ohair@425: # Directories containing architecture-dependent files should be relative to exec_prefix ohair@425: INSTALL_EXECPREFIX=@exec_prefix@ ohair@425: ohair@425: # java,javac,javah,javap etc are installed here. ohair@425: INSTALL_BINDIR=@bindir@ ohair@425: ohair@425: # Read only architecture-independent data ohair@425: INSTALL_DATADIR=@datadir@ ohair@425: ohair@425: # Root of above. ohair@425: INSTALL_DATAROOTDIR=@datarootdir@ ohair@425: ohair@425: # Doc files, other than info and man. ohair@425: INSTALL_DOCDIR=@docdir@ ohair@425: ohair@425: # Html documentation ohair@425: INSTALL_HTMLDIR=@htmldir@ ohair@425: ohair@425: # Installing C header files, JNI headers for example. ohair@425: INSTALL_INCLUDEDIR=@includedir@ ohair@425: ohair@425: # Installing library files.... ohair@425: INSTALL_INCLUDEDIR=@libdir@ ohair@425: ohair@425: # Executables that other programs run. ohair@425: INSTALL_LIBEXECDIR=@libexecdir@ ohair@425: ohair@425: # Locale-dependent but architecture-independent data, such as message catalogs. ohair@425: INSTALL_LOCALEDIR=@localedir@ ohair@425: ohair@425: # Modifiable single-machine data ohair@425: INSTALL_LOCALSTATEDIR=@localstatedir@ ohair@425: ohair@425: # Man pages ohair@425: INSTALL_MANDIR=@mandir@ ohair@425: ohair@425: # Modifiable architecture-independent data. ohair@425: INSTALL_SHAREDSTATEDIR=@sharedstatedir@ ohair@425: ohair@425: # Read-only single-machine data ohair@425: INSTALL_SYSCONFDIR=@sysconfdir@ ohair@425: ohair@425: ohair@425: #################################################### ohair@425: # ohair@425: # Misc ohair@425: # ohair@425: ohair@425: # Control wether Hotspot runs Queens test after building ohair@425: TEST_IN_BUILD=@TEST_IN_BUILD@