Thu, 05 Jul 2012 18:27:07 -0700
7182051: Update of latest build-infra Makefiles (missing files)
Reviewed-by: ohair
erikj@459 | 1 | # |
erikj@459 | 2 | # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved. |
erikj@459 | 3 | # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
erikj@459 | 4 | # |
erikj@459 | 5 | # This code is free software; you can redistribute it and/or modify it |
erikj@459 | 6 | # under the terms of the GNU General Public License version 2 only, as |
erikj@459 | 7 | # published by the Free Software Foundation. Oracle designates this |
erikj@459 | 8 | # particular file as subject to the "Classpath" exception as provided |
erikj@459 | 9 | # by Oracle in the LICENSE file that accompanied this code. |
erikj@459 | 10 | # |
erikj@459 | 11 | # This code is distributed in the hope that it will be useful, but WITHOUT |
erikj@459 | 12 | # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
erikj@459 | 13 | # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
erikj@459 | 14 | # version 2 for more details (a copy is included in the LICENSE file that |
erikj@459 | 15 | # accompanied this code). |
erikj@459 | 16 | # |
erikj@459 | 17 | # You should have received a copy of the GNU General Public License version |
erikj@459 | 18 | # 2 along with this work; if not, write to the Free Software Foundation, |
erikj@459 | 19 | # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. |
erikj@459 | 20 | # |
erikj@459 | 21 | # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
erikj@459 | 22 | # or visit www.oracle.com if you need additional information or have any |
erikj@459 | 23 | # questions. |
erikj@459 | 24 | # |
erikj@459 | 25 | |
erikj@459 | 26 | # Configured"@DATE_WHEN_CONFIGURED@ to build for a @OPENJDK_TARGET_SYSTEM@ system, |
erikj@459 | 27 | # using 'configure @CONFIGURE_COMMAND_LINE@' |
erikj@459 | 28 | |
erikj@459 | 29 | # The "human readable" name of this configuration |
erikj@459 | 30 | CONF_NAME="@CONF_NAME@" |
erikj@459 | 31 | |
erikj@459 | 32 | # The built jdk will run in this target system. |
erikj@459 | 33 | OPENJDK_TARGET_SYSTEM="@OPENJDK_TARGET_SYSTEM@" |
erikj@459 | 34 | |
erikj@459 | 35 | OPENJDK_TARGET_OS="@OPENJDK_TARGET_OS@" |
erikj@459 | 36 | OPENJDK_TARGET_OS_FAMILY="@OPENJDK_TARGET_OS_FAMILY@" |
erikj@459 | 37 | OPENJDK_TARGET_OS_API="@OPENJDK_TARGET_OS_API@" |
erikj@459 | 38 | |
erikj@459 | 39 | OPENJDK_TARGET_CPU="@OPENJDK_TARGET_CPU@" |
erikj@459 | 40 | OPENJDK_TARGET_CPU_ARCH="@OPENJDK_TARGET_CPU_ARCH@" |
erikj@459 | 41 | OPENJDK_TARGET_CPU_BITS="@OPENJDK_TARGET_CPU_BITS@" |
erikj@459 | 42 | OPENJDK_TARGET_CPU_ENDIAN="@OPENJDK_TARGET_CPU_ENDIAN@" |
erikj@459 | 43 | |
erikj@459 | 44 | # We are building on this build system. |
erikj@459 | 45 | # When not cross-compiling, it is the same as the target. |
erikj@459 | 46 | OPENJDK_BUILD_SYSTEM="@OPENJDK_BUILD_SYSTEM@" |
erikj@459 | 47 | |
erikj@459 | 48 | OPENJDK_BUILD_OS="@OPENJDK_BUILD_OS@" |
erikj@459 | 49 | OPENJDK_BUILD_OS_FAMILY="@OPENJDK_BUILD_OS_FAMILY@" |
erikj@459 | 50 | OPENJDK_BUILD_OS_API="@OPENJDK_BUILD_OS_API@" |
erikj@459 | 51 | |
erikj@459 | 52 | OPENJDK_BUILD_CPU="@OPENJDK_BUILD_CPU@" |
erikj@459 | 53 | OPENJDK_BUILD_CPU_ARCH="@OPENJDK_BUILD_CPU_ARCH@" |
erikj@459 | 54 | OPENJDK_BUILD_CPU_BITS="@OPENJDK_BUILD_CPU_BITS@" |
erikj@459 | 55 | OPENJDK_BUILD_CPU_ENDIAN="@OPENJDK_BUILD_CPU_ENDIAN@" |
erikj@459 | 56 | |
erikj@459 | 57 | # Legacy OS values for use in release file. |
erikj@459 | 58 | REQUIRED_OS_NAME="@REQUIRED_OS_NAME@" |
erikj@459 | 59 | REQUIRED_OS_VERSION="@REQUIRED_OS_VERSION@" |
erikj@459 | 60 | |
erikj@459 | 61 | # Old name for OPENJDK_TARGET_OS (aix,bsd,hpux,linux,macosx,solaris,windows etc) |
erikj@459 | 62 | PLATFORM="@OPENJDK_TARGET_OS@" |
erikj@459 | 63 | # Old name for OPENJDK_TARGET_CPU, uses i586 and amd64, instead of ia32 and x64. |
erikj@459 | 64 | ARCH="@LEGACY_OPENJDK_TARGET_CPU1@" |
erikj@459 | 65 | # Yet another name for arch used for an extra subdir below the jvm lib. |
erikj@459 | 66 | # Uses i386 and amd64, instead of ia32 and x64. |
erikj@459 | 67 | LIBARCH="@LEGACY_OPENJDK_TARGET_CPU2@" |
erikj@459 | 68 | # Use to switch between solaris and windows subdirs in the jdk. |
erikj@459 | 69 | LEGACY_OPENJDK_TARGET_OS_API="@LEGACY_OPENJDK_TARGET_OS_API@" |
erikj@459 | 70 | # 32 or 64 bit |
erikj@459 | 71 | ARCH_DATA_MODEL="@OPENJDK_TARGET_CPU_BITS@" |
erikj@459 | 72 | # Legacy setting for building for a 64 bit machine. |
erikj@459 | 73 | # If yes then this expands to _LP64=1 |
erikj@459 | 74 | ENDIAN="@OPENJDK_TARGET_CPU_ENDIAN@" |
erikj@459 | 75 | JIGSAW="@JIGSAW@" |
erikj@459 | 76 | LIBM=-lm |
erikj@459 | 77 | LIBDL="@LIBDL@" |
erikj@459 | 78 | |
erikj@459 | 79 | # colon or semicolon |
erikj@459 | 80 | PATH_SEP="@PATH_SEP@" |
erikj@459 | 81 | |
erikj@459 | 82 | # The sys root where standard headers and libraries are found. |
erikj@459 | 83 | # Usually not needed since the configure script should have |
erikj@459 | 84 | # taken it into account already when setting CFLAGS et al. |
erikj@459 | 85 | SYS_ROOT="@SYS_ROOT@" |
erikj@459 | 86 | |
erikj@459 | 87 | # Paths to the source code |
erikj@459 | 88 | SRC_ROOT="@SRC_ROOT@" |
erikj@459 | 89 | ADD_SRC_ROOT="@ADD_SRC_ROOT@" |
erikj@459 | 90 | OVERRIDE_SRC_ROOT="@OVERRIDE_SRC_ROOT@" |
erikj@459 | 91 | TOPDIR="@SRC_ROOT@" |
erikj@459 | 92 | OUTPUT_ROOT="@OUTPUT_ROOT@" |
erikj@459 | 93 | JDK_MAKE_SHARED_DIR="@JDK_TOPDIR@"/makefiles/common/shared |
erikj@459 | 94 | JDK_TOPDIR="@JDK_TOPDIR@" |
erikj@459 | 95 | LANGTOOLS_TOPDIR="@LANGTOOLS_TOPDIR@" |
erikj@459 | 96 | CORBA_TOPDIR="@CORBA_TOPDIR@" |
erikj@459 | 97 | JAXP_TOPDIR="@JAXP_TOPDIR@" |
erikj@459 | 98 | JAXWS_TOPDIR="@JAXWS_TOPDIR@" |
erikj@459 | 99 | HOTSPOT_TOPDIR="@HOTSPOT_TOPDIR@" |
erikj@459 | 100 | COPYRIGHT_YEAR="@COPYRIGHT_YEAR@" |
erikj@459 | 101 | |
erikj@459 | 102 | # Information gathered from the version.numbers file. |
erikj@459 | 103 | JDK_MAJOR_VERSION="@JDK_MAJOR_VERSION@" |
erikj@459 | 104 | JDK_MINOR_VERSION="@JDK_MINOR_VERSION@" |
erikj@459 | 105 | JDK_MICRO_VERSION="@JDK_MICRO_VERSION@" |
erikj@459 | 106 | JDK_UPDATE_VERSION="@JDK_UPDATE_VERSION@" |
erikj@459 | 107 | JDK_BUILD_NUMBER="@JDK_BUILD_NUMBER@" |
erikj@459 | 108 | MILESTONE="@MILESTONE@" |
erikj@459 | 109 | LAUNCHER_NAME="@LAUNCHER_NAME@" |
erikj@459 | 110 | PRODUCT_NAME="@PRODUCT_NAME@" |
erikj@459 | 111 | PRODUCT_SUFFIX="@PRODUCT_SUFFIX@" |
erikj@459 | 112 | JDK_RC_PLATFORM_NAME="@JDK_RC_PLATFORM_NAME@" |
erikj@459 | 113 | COMPANY_NAME="@COMPANY_NAME@" |
erikj@459 | 114 | |
erikj@459 | 115 | # Different version strings generated from the above information. |
erikj@459 | 116 | JDK_VERSION="@JDK_VERSION@" |
erikj@459 | 117 | RUNTIME_NAME="@RUNTIME_NAME@" |
erikj@459 | 118 | FULL_VERSION="@FULL_VERSION@" |
erikj@459 | 119 | JRE_RELEASE_VERSION="@FULL_VERSION@" |
erikj@459 | 120 | RELEASE="@RELEASE@" |
erikj@459 | 121 | COOKED_BUILD_NUMBER="@COOKED_BUILD_NUMBER@" |
erikj@459 | 122 | |
erikj@459 | 123 | # How to compile the code: release, fastdebug or slowdebug |
erikj@459 | 124 | DEBUG_LEVEL="@DEBUG_LEVEL@" |
erikj@459 | 125 | |
erikj@459 | 126 | # This is the JDK variant to build. |
erikj@459 | 127 | # The JDK variant is a name for a specific set of modules to be compiled for the JDK. |
erikj@459 | 128 | JDK_VARIANT="@JDK_VARIANT@" |
erikj@459 | 129 | |
erikj@459 | 130 | # Should we compile support for running with a graphical UI? (ie headful) |
erikj@459 | 131 | # Should we compile support for running without? (ie headless) |
erikj@459 | 132 | SUPPORT_HEADFUL="@SUPPORT_HEADFUL@" |
erikj@459 | 133 | SUPPORT_HEADLESS="@SUPPORT_HEADLESS@" |
erikj@459 | 134 | |
erikj@459 | 135 | # These are the libjvms that we want to build. |
erikj@459 | 136 | # The java launcher uses the default. |
erikj@459 | 137 | # The other can be selected by specifying -client -server -kernel -zero or -zeroshark |
erikj@459 | 138 | # on the java launcher command line. |
erikj@459 | 139 | JVM_VARIANTS="@JVM_VARIANTS@" |
erikj@459 | 140 | JVM_VARIANT_SERVER="@JVM_VARIANT_SERVER@" |
erikj@459 | 141 | JVM_VARIANT_CLIENT="@JVM_VARIANT_CLIENT@" |
erikj@459 | 142 | JVM_VARIANT_KERNEL="@JVM_VARIANT_KERNEL@" |
erikj@459 | 143 | JVM_VARIANT_ZERO="@JVM_VARIANT_ZERO@" |
erikj@459 | 144 | JVM_VARIANT_ZEROSHARK="@JVM_VARIANT_ZEROSHARK@" |
erikj@459 | 145 | |
erikj@459 | 146 | # Legacy setting: OPT or DBG |
erikj@459 | 147 | VARIANT="@VARIANT@" |
erikj@459 | 148 | # Legacy setting: true or false |
erikj@459 | 149 | FASTDEBUG="@FASTDEBUG@" |
erikj@459 | 150 | # Legacy setting: debugging the class files? |
erikj@459 | 151 | DEBUG_CLASSFILES="@DEBUG_CLASSFILES@" |
erikj@459 | 152 | # Legacy setting: -debug or -fastdebug |
erikj@459 | 153 | BUILD_VARIANT_RELEASE="@BUILD_VARIANT_RELEASE@" |
erikj@459 | 154 | |
erikj@459 | 155 | LANGTOOLS_OUTPUTDIR="@LANGTOOLS_OUTPUTDIR@" |
erikj@459 | 156 | CORBA_OUTPUTDIR="@CORBA_OUTPUTDIR@" |
erikj@459 | 157 | JAXP_OUTPUTDIR="@JAXP_OUTPUTDIR@" |
erikj@459 | 158 | JAXWS_OUTPUTDIR="@JAXWS_OUTPUTDIR@" |
erikj@459 | 159 | HOTSPOT_OUTPUTDIR="@HOTSPOT_OUTPUTDIR@" |
erikj@459 | 160 | |
erikj@459 | 161 | # This where a working jvm is built. |
erikj@459 | 162 | # You can run ${JDK_OUTPUTDIR}/bin/java |
erikj@459 | 163 | # Though the layout of the contents of ${JDK_OUTPUTDIR} is not |
erikj@459 | 164 | # yet the same as a default installation. |
erikj@459 | 165 | JDK_OUTPUTDIR="@OUTPUT_ROOT@"/jdk |
erikj@459 | 166 | |
erikj@459 | 167 | # When you run "make install" it will create the standardized |
erikj@459 | 168 | # layout for the jdk and the jre inside the images subdir. |
erikj@459 | 169 | # Then it will copy the contents of the jdk into the installation |
erikj@459 | 170 | # directory. |
erikj@459 | 171 | IMAGES_OUTPUTDIR="@OUTPUT_ROOT@"/images |
erikj@459 | 172 | |
erikj@459 | 173 | LANGTOOLS_DIST="@LANGTOOLS_DIST@" |
erikj@459 | 174 | CORBA_DIST="@CORBA_DIST@" |
erikj@459 | 175 | JAXP_DIST="@JAXP_DIST@" |
erikj@459 | 176 | JAXWS_DIST="@JAXWS_DIST@" |
erikj@459 | 177 | HOTSPOT_DIST="@HOTSPOT_DIST@" |
erikj@459 | 178 | |
erikj@459 | 179 | # Legacy variables used by Release.gmk |
erikj@459 | 180 | JDK_IMAGE_DIR=${IMAGES_OUTPUTDIR}/j2sdk-image |
erikj@459 | 181 | JRE_IMAGE_DIR=${IMAGES_OUTPUTDIR}/j2re-image |
erikj@459 | 182 | |
erikj@459 | 183 | # Can be /sparcv9 or /amd64 on Solaris |
erikj@459 | 184 | ISA_DIR="@LEGACY_OPENJDK_TARGET_CPU3@" |
erikj@459 | 185 | BINDIR="${JDK_OUTPUTDIR}/bin${ISA_DIR}" |
erikj@459 | 186 | |
erikj@459 | 187 | # The boot jdk to use |
erikj@459 | 188 | ALT_BOOTDIR="@BOOT_JDK@" |
erikj@459 | 189 | BOOT_JDK="@BOOT_JDK@" |
erikj@459 | 190 | BOOT_JDK_JVMARGS="@BOOT_JDK_JVMARGS@" |
erikj@459 | 191 | BOOT_RTJAR="@BOOT_RTJAR@" |
erikj@459 | 192 | BOOT_TOOLSJAR="@BOOT_TOOLSJAR@" |
erikj@459 | 193 | |
erikj@459 | 194 | # When compiling Java source to be run by the boot jdk |
erikj@459 | 195 | # use these extra flags, eg -source 6 -target 6 |
erikj@459 | 196 | BOOT_JDK_SOURCETARGET="@BOOT_JDK_SOURCETARGET@" |
erikj@459 | 197 | |
erikj@459 | 198 | # Information about the build system |
erikj@459 | 199 | NUM_CORES="@NUM_CORES@" |
erikj@459 | 200 | # This is used from the jdk build for C/C++ code. |
erikj@459 | 201 | PARALLEL_COMPILE_JOBS="@CONCURRENT_BUILD_JOBS@" |
erikj@459 | 202 | # Store javac server synchronization files here, and |
erikj@459 | 203 | # the javac server log files. |
erikj@459 | 204 | JAVAC_SERVERS="@JAVAC_SERVERS@" |
erikj@459 | 205 | # Should we use a javac server or not? The javac server gives |
erikj@459 | 206 | # an enormous performance improvement since it reduces the |
erikj@459 | 207 | # startup costs of javac and reuses as much as possible of intermediate |
erikj@459 | 208 | # compilation work. But if we want to compile with a non-Java |
erikj@459 | 209 | # javac compiler, like gcj. Then we cannot use javac server and |
erikj@459 | 210 | # this variable is set to false. |
erikj@459 | 211 | JAVAC_USE_REMOTE="@JAVAC_USE_REMOTE@" |
erikj@459 | 212 | # We can block the Javac server to never use more cores than this. |
erikj@459 | 213 | # This is not for performance reasons, but for memory usage, since each |
erikj@459 | 214 | # core requires its own JavaCompiler. We might have 64 cores and 4GB |
erikj@459 | 215 | # of memory, 64 JavaCompilers will currently not fit in a 3GB heap. |
erikj@459 | 216 | # Since there is no sharing of data between the JavaCompilers. |
erikj@459 | 217 | JAVAC_SERVER_CORES="@JAVAC_SERVER_CORES@" |
erikj@459 | 218 | # Should we use dependency tracking between Java packages? true or false. |
erikj@459 | 219 | JAVAC_USE_DEPS="@JAVAC_USE_DEPS@" |
erikj@459 | 220 | # We can invoke javac: SINGLE_THREADED_BATCH or MULTI_CORE_CONCURRENT |
erikj@459 | 221 | JAVAC_USE_MODE="@JAVAC_USE_MODE@" |
erikj@459 | 222 | # Enable not yet complete sjavac support. |
erikj@459 | 223 | ENABLE_SJAVAC="@ENABLE_SJAVAC@" |
erikj@459 | 224 | |
erikj@459 | 225 | # The OpenJDK makefiles should be changed to using the standard |
erikj@459 | 226 | # configure output ..._CFLAGS and ..._LIBS. In the meantime we |
erikj@459 | 227 | # extract the information here. |
erikj@459 | 228 | FREETYPE2_LIB_PATH="@FREETYPE2_LIB_PATH@" |
erikj@459 | 229 | FREETYPE2_LIBS="@FREETYPE2_LIBS@" |
erikj@459 | 230 | FREETYPE2_CFLAGS="@FREETYPE2_CFLAGS@" |
erikj@459 | 231 | USING_SYSTEM_FT_LIB="@USING_SYSTEM_FT_LIB@" |
erikj@459 | 232 | CUPS_CFLAGS="@CUPS_CFLAGS@" |
erikj@459 | 233 | |
erikj@459 | 234 | PACKAGE_PATH="@PACKAGE_PATH@" |
erikj@459 | 235 | |
erikj@459 | 236 | # Source file for cacerts |
erikj@459 | 237 | CACERTS_FILE="@CACERTS_FILE@" |
erikj@459 | 238 | |
erikj@459 | 239 | #MOZILLA_HEADERS_PATH= |
erikj@459 | 240 | |
erikj@459 | 241 | # Necessary additional compiler flags to compile X11 |
erikj@459 | 242 | X_CFLAGS="@X_CFLAGS@" |
erikj@459 | 243 | X_LIBS="@X_LIBS@" |
erikj@459 | 244 | OPENWIN_HOME="@OPENWIN_HOME@" |
erikj@459 | 245 | |
erikj@459 | 246 | # There are two types: CC or CL |
erikj@459 | 247 | # CC is gcc and others behaving reasonably similar. |
erikj@459 | 248 | # CL is cl.exe only. |
erikj@459 | 249 | COMPILER_TYPE="@COMPILER_TYPE@" |
erikj@459 | 250 | |
erikj@459 | 251 | # Flags used for overriding the default opt setting for a C/C++ source file. |
erikj@459 | 252 | C_O_FLAG_HIGHEST="@C_O_FLAG_HIGHEST@" |
erikj@459 | 253 | C_O_FLAG_HI="@C_O_FLAG_HI@" |
erikj@459 | 254 | C_O_FLAG_NORM="@C_O_FLAG_NORM@" |
erikj@459 | 255 | C_O_FLAG_NONE="@C_O_FLAG_NONE@" |
erikj@459 | 256 | CXX_O_FLAG_HIGHEST="@CXX_O_FLAG_HIGHEST@" |
erikj@459 | 257 | CXX_O_FLAG_HI="@CXX_O_FLAG_HI@" |
erikj@459 | 258 | CXX_O_FLAG_NORM="@CXX_O_FLAG_NORM@" |
erikj@459 | 259 | CXX_O_FLAG_NONE="@CXX_O_FLAG_NONE@" |
erikj@459 | 260 | |
erikj@459 | 261 | C_FLAG_DEPS="@C_FLAG_DEPS@" |
erikj@459 | 262 | CXX_FLAG_DEPS="@CXX_FLAG_DEPS@" |
erikj@459 | 263 | |
erikj@459 | 264 | # Tools that potentially need to be cross compilation aware. |
erikj@459 | 265 | CC="@UNCYGDRIVE@ @CCACHE@ @CC@" |
erikj@459 | 266 | |
erikj@459 | 267 | # CFLAGS used to compile the jdk native libraries (C-code) |
erikj@459 | 268 | CFLAGS_JDKLIB="@CFLAGS_JDKLIB@" |
erikj@459 | 269 | CXXFLAGS_JDKLIB="@CXXFLAGS_JDKLIB@" |
erikj@459 | 270 | |
erikj@459 | 271 | # CFLAGS used to compile the jdk native launchers (C-code) |
erikj@459 | 272 | CFLAGS_JDKEXE="@CFLAGS_JDKEXE@" |
erikj@459 | 273 | CXXFLAGS_JDKEXE="@CXXFLAGS_JDKEXE@" |
erikj@459 | 274 | |
erikj@459 | 275 | CXX="@UNCYGDRIVE@ @CCACHE@ @CXX@" |
erikj@459 | 276 | #CXXFLAGS="@CXXFLAGS@" |
erikj@459 | 277 | |
erikj@459 | 278 | OBJC="@CCACHE@ @OBJC@" |
erikj@459 | 279 | #OBJCFLAGS="@OBJCFLAGS@" |
erikj@459 | 280 | |
erikj@459 | 281 | CPP="@UNCYGDRIVE@ @CPP@" |
erikj@459 | 282 | #CPPFLAGS="@CPPFLAGS@" |
erikj@459 | 283 | |
erikj@459 | 284 | # The linker can be gcc or ld on posix systems, or link.exe on winapi systems. |
erikj@459 | 285 | LD="@UNCYGDRIVE@ @LD@" |
erikj@459 | 286 | |
erikj@459 | 287 | # LDFLAGS used to link the jdk native libraries (C-code) |
erikj@459 | 288 | LDFLAGS_JDKLIB="@LDFLAGS_JDKLIB@" |
erikj@459 | 289 | LDFLAGS_JDKLIB_SUFFIX="@LDFLAGS_JDKLIB_SUFFIX@" |
erikj@459 | 290 | |
erikj@459 | 291 | # On some platforms the linker cannot be used to create executables, thus |
erikj@459 | 292 | # the need for a separate LDEXE command. |
erikj@459 | 293 | LDEXE="@UNCYGDRIVE@ @LDEXE@" |
erikj@459 | 294 | |
erikj@459 | 295 | # LDFLAGS used to link the jdk native launchers (C-code) |
erikj@459 | 296 | LDFLAGS_JDKEXE="@LDFLAGS_JDKEXE@" |
erikj@459 | 297 | LDFLAGS_JDKEXE_SUFFIX="@LDFLAGS_JDKEXE_SUFFIX@" |
erikj@459 | 298 | |
erikj@459 | 299 | # Sometimes a different linker is needed for c++ libs |
erikj@459 | 300 | LDCXX="@UNCYGDRIVE@ @LDCXX@" |
erikj@459 | 301 | # The flags for linking libstdc++ linker. |
erikj@459 | 302 | LIBCXX="@LIBCXX@" |
erikj@459 | 303 | |
erikj@459 | 304 | # Sometimes a different linker is needed for c++ executables |
erikj@459 | 305 | LDEXECXX="@UNCYGDRIVE@ @LDEXECXX@" |
erikj@459 | 306 | |
erikj@459 | 307 | # If cross compiling, then define CROSS_COMPILE_ARCH=cpu_name here. |
erikj@459 | 308 | # The HOSTCC should really be named BUILDCC, ie build executable for |
erikj@459 | 309 | # the build platform. Same as CC when not cross compiling. |
erikj@459 | 310 | HOSTCC="@HOSTCC@" |
erikj@459 | 311 | HOSTCXX="@HOSTCXX@" |
erikj@459 | 312 | # And of course, the jdk spells HOSTCC as NIO_CC/HOST_CC |
erikj@459 | 313 | HOST_CC="@HOSTCC@" |
erikj@459 | 314 | NIO_CC="@HOSTCC@" |
erikj@459 | 315 | |
erikj@459 | 316 | AS="@AS@" |
erikj@459 | 317 | ASFLAGS="@ASFLAGS@" |
erikj@459 | 318 | |
erikj@459 | 319 | # AR is used to create a static library (is ar in posix, lib.exe in winapi) |
erikj@459 | 320 | AR="@UNCYGDRIVE@ @AR@" |
erikj@459 | 321 | ARFLAGS="@ARFLAGS@" |
erikj@459 | 322 | |
erikj@459 | 323 | NM="@NM@" |
erikj@459 | 324 | STRIP="@STRIP@" |
erikj@459 | 325 | MCS="@MCS@" |
erikj@459 | 326 | |
erikj@459 | 327 | # Command to create a shared library |
erikj@459 | 328 | SHARED_LIBRARY_FLAGS="@SHARED_LIBRARY_FLAGS@" |
erikj@459 | 329 | |
erikj@459 | 330 | # Options to linker to specify a mapfile. |
erikj@459 | 331 | # (Note absence of = assignment, because we do not want to evaluate the macro body here) |
erikj@459 | 332 | SET_SHARED_LIBRARY_MAPFILE="@SET_SHARED_LIBRARY_MAPFILE@" |
erikj@459 | 333 | |
erikj@459 | 334 | # Options for C/CXX compiler to be used if linking is performed |
erikj@459 | 335 | # using reorder file |
erikj@459 | 336 | C_FLAG_REORDER="@C_FLAG_REORDER@" |
erikj@459 | 337 | CXX_FLAG_REORDER="@CXX_FLAG_REORDER@" |
erikj@459 | 338 | |
erikj@459 | 339 | # |
erikj@459 | 340 | # Options for generating debug symbols |
erikj@459 | 341 | ENABLE_DEBUG_SYMBOLS="@ENABLE_DEBUG_SYMBOLS@" |
erikj@459 | 342 | CFLAGS_DEBUG_SYMBOLS="@CFLAGS_DEBUG_SYMBOLS@" |
erikj@459 | 343 | CXXFLAGS_DEBUG_SYMBOLS="@CXXFLAGS_DEBUG_SYMBOLS@" |
erikj@459 | 344 | ZIP_DEBUGINFO_FILES="@ZIP_DEBUGINFO_FILES@" |
erikj@459 | 345 | |
erikj@459 | 346 | # Options to linker to specify the library name. |
erikj@459 | 347 | # (Note absence of = assignment, because we do not want to evaluate the macro body here) |
erikj@459 | 348 | SET_SHARED_LIBRARY_NAME="@SET_SHARED_LIBRARY_NAME@" |
erikj@459 | 349 | |
erikj@459 | 350 | # Set origin using the linker, ie use the relative path to the dependent library to find the dependees. |
erikj@459 | 351 | # (Note absence of = assignment, because we do not want to evaluate the macro body here) |
erikj@459 | 352 | SET_SHARED_LIBRARY_ORIGIN="@SET_SHARED_LIBRARY_ORIGIN@" |
erikj@459 | 353 | |
erikj@459 | 354 | # Different OS:es have different ways of naming shared libraries. |
erikj@459 | 355 | # The SHARED_LIBRARY macro takes "verify" as and argument and returns: |
erikj@459 | 356 | # "libverify.so" or "libverify.dylib" or "verify.dll" depending on platform. |
erikj@459 | 357 | # (Note absence of = assignment, because we do not want to evaluate the macro body here) |
erikj@459 | 358 | SHARED_LIBRARY="@SHARED_LIBRARY@" |
erikj@459 | 359 | STATIC_LIBRARY="@STATIC_LIBRARY@" |
erikj@459 | 360 | LIBRARY_PREFIX="@LIBRARY_PREFIX@" |
erikj@459 | 361 | SHARED_LIBRARY_SUFFIX="@SHARED_LIBRARY_SUFFIX@" |
erikj@459 | 362 | STATIC_LIBRARY_SUFFIX="@STATIC_LIBRARY_SUFFIX@" |
erikj@459 | 363 | EXE_SUFFIX="@EXE_SUFFIX@" |
erikj@459 | 364 | OBJ_SUFFIX="@OBJ_SUFFIX@" |
erikj@459 | 365 | |
erikj@459 | 366 | POST_STRIP_CMD="@POST_STRIP_CMD@" |
erikj@459 | 367 | POST_MCS_CMD='@POST_MCS_CMD@' |
erikj@459 | 368 | |
erikj@459 | 369 | JAVA_FLAGS="@BOOT_JDK_JVMARGS@" |
erikj@459 | 370 | |
erikj@459 | 371 | JAVA="@UNCYGDRIVE@ @JAVA@ ${JAVA_FLAGS}" |
erikj@459 | 372 | |
erikj@459 | 373 | JAVAC="@UNCYGDRIVE@ @JAVAC@" |
erikj@459 | 374 | JAVAC_FLAGS="@JAVAC_FLAGS@" |
erikj@459 | 375 | |
erikj@459 | 376 | JAVAH="@UNCYGDRIVE@ @JAVAH@" |
erikj@459 | 377 | |
erikj@459 | 378 | JAR="@UNCYGDRIVE@ @JAR@" |
erikj@459 | 379 | |
erikj@459 | 380 | RMIC="@UNCYGDRIVE@ @RMIC@" |
erikj@459 | 381 | |
erikj@459 | 382 | NATIVE2ASCII="@UNCYGDRIVE@ @NATIVE2ASCII@" |
erikj@459 | 383 | |
erikj@459 | 384 | BOOT_JAR_CMD="@UNCYGDRIVE@ @JAR@" |
erikj@459 | 385 | BOOT_JAR_JFLAGS= |
erikj@459 | 386 | |
erikj@459 | 387 | # Tools adhering to a minimal and common standard of posix compliance. |
erikj@459 | 388 | AWK="@AWK@" |
erikj@459 | 389 | CAT="@CAT@" |
erikj@459 | 390 | CCACHE="@CCACHE@" |
erikj@459 | 391 | # CD is going away, but remains to cater for legacy makefiles. |
erikj@459 | 392 | CD=cd |
erikj@459 | 393 | CHMOD="@CHMOD@" |
erikj@459 | 394 | CP="@CP@" |
erikj@459 | 395 | CPIO="@CPIO@" |
erikj@459 | 396 | CUT="@CUT@" |
erikj@459 | 397 | DATE="@DATE@" |
erikj@459 | 398 | DF="@DF@" |
erikj@459 | 399 | DIFF="@DIFF@" |
erikj@459 | 400 | FIND="@FIND@" |
erikj@459 | 401 | FIND_DELETE="@FIND_DELETE@" |
erikj@459 | 402 | ECHO="@ECHO@" |
erikj@459 | 403 | EGREP="@EGREP@" |
erikj@459 | 404 | FGREP="@FGREP@" |
erikj@459 | 405 | GREP="@GREP@" |
erikj@459 | 406 | HEAD="@HEAD@" |
erikj@459 | 407 | LS="@LS@" |
erikj@459 | 408 | LN="@LN@" |
erikj@459 | 409 | MKDIR="@MKDIR@" |
erikj@459 | 410 | MV="@MV@" |
erikj@459 | 411 | NAWK="@NAWK@" |
erikj@459 | 412 | PRINTF="@PRINTF@" |
erikj@459 | 413 | PWD="@THEPWDCMD@" |
erikj@459 | 414 | RM="@RM@" |
erikj@459 | 415 | SED="@SED@" |
erikj@459 | 416 | SH="@SH@" |
erikj@459 | 417 | SORT="@SORT@" |
erikj@459 | 418 | TAR="@TAR@" |
erikj@459 | 419 | TAIL="@TAIL@" |
erikj@459 | 420 | TEE="@TEE@" |
erikj@459 | 421 | TR="@TR@" |
erikj@459 | 422 | TOUCH="@TOUCH@" |
erikj@459 | 423 | WC="@WC@" |
erikj@459 | 424 | XARGS="@XARGS@" |
erikj@459 | 425 | ZIPEXE="@ZIP@" |
erikj@459 | 426 | ZIP="@ZIP@" |
erikj@459 | 427 | UNZIP="@UNZIP@" |
erikj@459 | 428 | MT="@UNCYGDRIVE@ @MT@" |
erikj@459 | 429 | RC="@UNCYGDRIVE@ @RC@" |
erikj@459 | 430 | DUMPBIN="@UNCYGDRIVE@ @DUMPBIN@" |
erikj@459 | 431 | CYGPATH="@CYGPATH@" |
erikj@459 | 432 | LDD="@LDD@" |
erikj@459 | 433 | OTOOL="@OTOOL@" |
erikj@459 | 434 | READELF="@READELF@" |
erikj@459 | 435 | EXPR="@EXPR@" |
erikj@459 | 436 | FILE="@FILE@" |
erikj@459 | 437 | HG="@HG@" |
erikj@459 | 438 | OBJCOPY="@OBJCOPY@" |
erikj@459 | 439 | |
erikj@459 | 440 | UNCYGDRIVE="@UNCYGDRIVE@" |
erikj@459 | 441 | |
erikj@459 | 442 | # Build setup |
erikj@459 | 443 | ENABLE_DOCS="@ENABLE_DOCS@" |
erikj@459 | 444 | GENERATE_DOCS="@ENABLE_DOCS@" |
erikj@459 | 445 | DISABLE_NIMBUS="@DISABLE_NIMBUS@" |
erikj@459 | 446 | USE_EXTERNAL_LIBJPEG="@USE_EXTERNAL_LIBJPEG@" |
erikj@459 | 447 | USE_EXTERNAL_LIBGIF="@USE_EXTERNAL_LIBGIF@" |
erikj@459 | 448 | USE_EXTERNAL_LIBZ="@USE_EXTERNAL_LIBZ@" |
erikj@459 | 449 | LIBZIP_CAN_USE_MMAP="@LIBZIP_CAN_USE_MMAP@" |
erikj@459 | 450 | CHECK_FOR_VCINSTALLDIR="@CHECK_FOR_VCINSTALLDIR@" |
erikj@459 | 451 | MSVCRNN_DLL="@MSVCR100DLL@" |
erikj@459 | 452 | |
erikj@459 | 453 | |
erikj@459 | 454 | #################################################### |
erikj@459 | 455 | # |
erikj@459 | 456 | # Legacy Hotspot support |
erikj@459 | 457 | |
erikj@459 | 458 | HOTSPOT_DIST="@HOTSPOT_DIST@" |
erikj@459 | 459 | HOTSPOT_MAKE_ARGS="@HOTSPOT_MAKE_ARGS@" |
erikj@459 | 460 | # This is used from the libjvm build for C/C++ code. |
erikj@459 | 461 | HOTSPOT_BUILD_JOBS="@CONCURRENT_BUILD_JOBS@" |
erikj@459 | 462 | # Control wether Hotspot runs Queens test after building |
erikj@459 | 463 | TEST_IN_BUILD="@TEST_IN_BUILD@" |
erikj@459 | 464 | |
erikj@459 | 465 | #################################################### |
erikj@459 | 466 | # |
erikj@459 | 467 | # INSTALLATION |
erikj@459 | 468 | # |
erikj@459 | 469 | |
erikj@459 | 470 | # Common prefix for all installed files. Defaults to /usr/local, |
erikj@459 | 471 | # but /opt/myjdk is another common version. |
erikj@459 | 472 | INSTALL_PREFIX="@prefix@" |
erikj@459 | 473 | |
erikj@459 | 474 | # Directories containing architecture-dependent files should be relative to exec_prefix |
erikj@459 | 475 | INSTALL_EXECPREFIX="@exec_prefix@" |
erikj@459 | 476 | |
erikj@459 | 477 | # java,javac,javah,javap etc are installed here. |
erikj@459 | 478 | INSTALL_BINDIR="@bindir@" |
erikj@459 | 479 | |
erikj@459 | 480 | # Read only architecture-independent data |
erikj@459 | 481 | INSTALL_DATADIR="@datadir@" |
erikj@459 | 482 | |
erikj@459 | 483 | # Root of above. |
erikj@459 | 484 | INSTALL_DATAROOTDIR="@datarootdir@" |
erikj@459 | 485 | |
erikj@459 | 486 | # Doc files, other than info and man. |
erikj@459 | 487 | INSTALL_DOCDIR="@docdir@" |
erikj@459 | 488 | |
erikj@459 | 489 | # Html documentation |
erikj@459 | 490 | INSTALL_HTMLDIR="@htmldir@" |
erikj@459 | 491 | |
erikj@459 | 492 | # Installing C header files, JNI headers for example. |
erikj@459 | 493 | INSTALL_INCLUDEDIR="@includedir@" |
erikj@459 | 494 | |
erikj@459 | 495 | # Installing library files.... |
erikj@459 | 496 | INSTALL_INCLUDEDIR="@libdir@" |
erikj@459 | 497 | |
erikj@459 | 498 | # Executables that other programs run. |
erikj@459 | 499 | INSTALL_LIBEXECDIR="@libexecdir@" |
erikj@459 | 500 | |
erikj@459 | 501 | # Locale-dependent but architecture-independent data, such as message catalogs. |
erikj@459 | 502 | INSTALL_LOCALEDIR="@localedir@" |
erikj@459 | 503 | |
erikj@459 | 504 | # Modifiable single-machine data |
erikj@459 | 505 | INSTALL_LOCALSTATEDIR="@localstatedir@" |
erikj@459 | 506 | |
erikj@459 | 507 | # Man pages |
erikj@459 | 508 | INSTALL_MANDIR="@mandir@" |
erikj@459 | 509 | |
erikj@459 | 510 | # Modifiable architecture-independent data. |
erikj@459 | 511 | INSTALL_SHAREDSTATEDIR="@sharedstatedir@" |
erikj@459 | 512 | |
erikj@459 | 513 | # Read-only single-machine data |
erikj@459 | 514 | INSTALL_SYSCONFDIR="@sysconfdir@" |
erikj@459 | 515 | |
erikj@459 | 516 | |
erikj@459 | 517 | #################################################### |
erikj@459 | 518 | # |
erikj@459 | 519 | # Misc |
erikj@459 | 520 | # |
erikj@459 | 521 | |
erikj@459 | 522 | # Name of Service Agent library |
erikj@459 | 523 | SALIB_NAME="@SALIB_NAME@" |
erikj@459 | 524 | |
erikj@459 | 525 | OS_VERSION_MAJOR="@OS_VERSION_MAJOR@" |
erikj@459 | 526 | OS_VERSION_MINOR="@OS_VERSION_MINOR@" |
erikj@459 | 527 | OS_VERSION_MICRO="@OS_VERSION_MICRO@" |