Defs-linux.gmk revision 3419
0N/A# Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A# This code is free software; you can redistribute it and/or modify it 0N/A# under the terms of the GNU General Public License version 2 only, as 0N/A# published by the Free Software Foundation. Oracle designates this 0N/A# particular file as subject to the "Classpath" exception as provided 0N/A# by Oracle in the LICENSE file that accompanied this code. 0N/A# This code is distributed in the hope that it will be useful, but WITHOUT 0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A# version 2 for more details (a copy is included in the LICENSE file that 0N/A# accompanied this code). 0N/A# You should have received a copy of the GNU General Public License version 0N/A# 2 along with this work; if not, write to the Free Software Foundation, 0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 0N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 0N/A# Definitions for Linux. 0N/A# Default for COMPILER_WARNINGS_FATAL on Linux (C & C++ compiler warnings) # Linux should use parallel compilation for best build times # Indication that we are doing an incremental build. # This may trigger the creation of make depend files. # FullPath just makes sure it never ends with a / and no duplicates # OptFullPath: Absolute path name of a dir that might not initially exist. $(shell if [ "$1" != "" -a -d "$1" ]; then (cd $1 && pwd); else echo "$1"; fi) # Location on system where jdk installs might be # UNIXCOMMAND_PATH: path to where the most common Unix commands are. # NOTE: Must end with / so that it could be empty, allowing PATH usage. # USRBIN_PATH: path to where the most common Unix commands are. # NOTE: Must end with / so that it could be empty, allowing PATH usage. # UNIXCCS_PATH: path to where the Solaris ported UNIX commands can be found # NOTE: Must end with / so that it could be empty, allowing PATH usage. # SLASH_JAVA: location of all network accessable files # JDK_DEVTOOLS_DIR: common path for all the java devtools # COMPILER_PATH: path to where the compiler and tools are installed. # NOTE: Must end with / so that it could be empty, allowing PATH usage. # DEVTOOLS_PATH: for other tools required for building (such as zip, etc.) # NOTE: Must end with / so that it could be empty, allowing PATH usage. # _BOOTDIR1: First choice for a Bootstrap JDK, previous released JDK. # _BOOTDIR2: Second choice # Always build headless on Linux # GCC29_COMPILER_PATH: is the path to where the gcc 2.9 compiler is installed # NOTE: Must end with / so that it could be empty, allowing PATH usage. # Import JDK images allow for partial builds, components not built are # imported (or copied from) these import areas when needed. # BUILD_JDK_IMPORT_PATH: location of JDK install trees to import for # multiple platforms, e.g. windows-i586, solaris-sparc, linux-586, etc. # JDK_IMPORT_PATH: location of JDK install tree (this version) to import # HOTSPOT_IMPORT_PATH: location of hotspot pre-built files # HOTSPOT_CLIENT_PATH: location of client jvm library file. # HOTSPOT_SERVER_PATH: location of server jvm library file. # Special define for checking the binaries # Macro to check it's input file for banned dependencies and verify the # binary built properly. Relies on process exit code. $(ECHO) "Checking for mapfile use in: $1" && \ $(ECHO) "WARNING: File was not built with a mapfile: $1"; \ $(ECHO) "Library loads for: $1" && \ $(ECHO) "RUNPATH for: $1" && \