Makefile revision 0
0N/A# Copyright 1997-2007 Sun Microsystems, Inc. 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. Sun designates this 0N/A# particular file as subject to the "Classpath" exception as provided 0N/A# by Sun 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 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, 0N/A# CA 95054 USA or visit www.sun.com if you need additional information or 0N/A# have any questions. 0N/A# Imports files exported by a hotspot build or provided from an external 0N/A# location into the OUTPUTDIR, and also primes the OUTPUTDIR with files 0N/A# that are provided inside this workspace. 0N/A# IMPORT_LIST contains the list of destination files that are copied 0N/A# from external places (outside this workspace). 0N/A# INTERNAL_IMPORT_LIST is the list of destination files from BUILDDIR. 0N/A# Needed to do file copy 0N/A# List of files created here or coming from BUILDDIR area (this workspace) 0N/A# List of files coming from outside this workspace 0N/A# INCLUDE_SA is false on platforms where SA is not supported. 0N/A# On platforms where it is supported, we want to allow it to 0N/A# not be present, at least temporarily. So, 0N/A# in the HOTSPOT_IMPORT_PATH, then we won't build SA. 0N/A# Hotspot client is only available on 32-bit builds 0N/A# Windows vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Windows 0N/A# NOTE: These might actually come from BUILDDIR, depends on the settings. 0N/A# Get the hotspot .map and .pdb files for client and server 0N/A# Hotspot client is only available on 32-bit builds 0N/A# it is OK for the .map and .pdb files to not exist, so do not force a 0N/A# dependency on them from the bootstrap location, and allow the copy to fail. 0N/A# Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Windows 0N/A# NOT Windows vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv NOT Windows 0N/A# solaris vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv solaris 0N/A# For backwards compatability, make a link of the 32-bit client JVM to $(LIBDIR) 0N/A# solaris ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ solaris 0N/A# NOT Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ NOT Windows 0N/A# The Serviceability Agent is built in the Hotspot workspace. 0N/A# It contains two files: 0N/A# This goes into the same dir as the other 0N/A# Specific to OpenJDK building 0N/A# Construct classlist file 0N/A# Lucida font files are not included in the OpenJDK distribution. 0N/A# Get names of font files 0N/A# Copy font files into OUTPUTDIR area 0N/A# Import internal files (ones that are stashed in this source tree) 0N/A# Import files from the JDK that we are not building 0N/A# Get component information variables and rules 0N/A# Security files we need to import 0N/A# Unzip zip file $2 into directory $1 (if $2 exists) 0N/A# Warning: $2 must be absolute path not relative 0N/Aif [ -f $
2 ] ;
then \
0N/A# If sec-bin exists, unpack it into the build directory 0N/A# Also, the library recompile build indirectly depends on two SSL classes, 0N/A# so copy those as well FIXUP 0N/A# if sec-windows-bin exists, unpack it into the build directory 0N/A# if JGSS files exists, unpack it into the build directory 0N/A# Import all files from other components 0N/A# Do pretty much everything 0N/A# Clean up what we imported (except for component files)