Makefile revision 4632
1N/A# Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. 1N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1N/A# This code is free software; you can redistribute it and/or modify it 1N/A# under the terms of the GNU General Public License version 2 only, as 1N/A# published by the Free Software Foundation. Oracle designates this 1N/A# particular file as subject to the "Classpath" exception as provided 1N/A# by Oracle in the LICENSE file that accompanied this code. 1N/A# This code is distributed in the hope that it will be useful, but WITHOUT 1N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1N/A# version 2 for more details (a copy is included in the LICENSE file that 1N/A# accompanied this code). 1N/A# You should have received a copy of the GNU General Public License version 1N/A# 2 along with this work; if not, write to the Free Software Foundation, 1N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 1N/A# Imports files exported by a hotspot build or provided from an external 1N/A# location into the OUTPUTDIR, and also primes the OUTPUTDIR with files 1N/A# that are provided inside this workspace. 1N/A# IMPORT_LIST contains the list of destination files that are copied 1N/A# from external places (outside this workspace). 1N/A# INTERNAL_IMPORT_LIST is the list of destination files from BUILDDIR. 1N/A# Needed to do file copy 1N/A# List of files created here or coming from BUILDDIR area (this workspace) 1N/A# List of files coming from outside this workspace 1N/A # the import JDK may not contain .debuginfo files 1N/A# Hotspot client is only available on 32-bit non-Zero builds 1N/A # the import JDK may not contain .debuginfo files 1N/A# Windows vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Windows 1N/A# Get the hotspot .map and .pdb files for client and server 1N/A# Add .map and .pdb files to the import path for client and kernel VMs. 1N/A# These are only available on 32-bit windows builds. 1N/A# it is OK for the .map and .pdb files to not exist, so do not force a 1N/A# dependency on them from the bootstrap location, and allow the copy to fail. 1N/A# Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Windows 1N/A# NOT Windows vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv NOT Windows 1N/A # the import JDK may not contain .debuginfo files 1N/A # the import JDK may not contain the target of the symlink 1N/A # the import JDK may not contain .debuginfo files 1N/A # The conditional can be removed when import JDKs contain these files. 1N/A # the import JDK may not contain .debuginfo files 1N/A # the import JDK may not contain the target of the symlink 1N/A# solaris vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv solaris 1N/A # the import JDK may not contain .debuginfo files 1N/A# The conditional can be removed when import JDKs contain these files. 1N/A # the import JDK may not contain .debuginfo files 1N/A # The conditional can be removed when import JDKs contain these files. 1N/A # the import JDK may not contain .debuginfo files 1N/A # The conditional can be removed when import JDKs contain these files. 1N/A # the import JDK may not contain .debuginfo files 1N/A# For backwards compatability, make a link of the 32-bit client JVM to $(LIBDIR) 1N/A# solaris ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ solaris 1N/A# NOT Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ NOT Windows 1N/A# Specific to non-OpenJDK building 1N/A# Construct classlist file 1N/A# Import internal files (ones that are stashed in this source tree) 1N/A# Import files from the JDK that we are not building 1N/A# Get component information variables and rules 1N/A# Security files we need to import 1N/A# Unzip zip file $2 into directory $1 (if $2 exists) 1N/A# Warning: $2 must be absolute path not relative 1N/Aif [ -f $
2 ] ;
then \
1N/A# If sec-bin exists, unpack it into the build directory 1N/A# Also, the library recompile build indirectly depends on two SSL classes, 1N/A# so copy those as well FIXUP 1N/A# if sec-windows-bin exists, unpack it into the build directory 1N/A# if JGSS files exists, unpack it into the build directory 1N/A# Import all files from other components 1N/A# Do pretty much everything 1N/A# Clean up what we imported (except for component files)