Makefile revision 2362
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# Copyright (c) 1997, 2009, Oracle and/or its affiliates. All rights reserved.
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# This code is free software; you can redistribute it and/or modify it
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# under the terms of the GNU General Public License version 2 only, as
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# published by the Free Software Foundation. Oracle designates this
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# particular file as subject to the "Classpath" exception as provided
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# by Oracle in the LICENSE file that accompanied this code.
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# This code is distributed in the hope that it will be useful, but WITHOUT
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# version 2 for more details (a copy is included in the LICENSE file that
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# accompanied this code).
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# You should have received a copy of the GNU General Public License version
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# 2 along with this work; if not, write to the Free Software Foundation,
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# or visit www.oracle.com if you need additional information or have any
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# questions.
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# Imports files exported by a hotspot build or provided from an external
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# location into the OUTPUTDIR, and also primes the OUTPUTDIR with files
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# that are provided inside this workspace.
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# IMPORT_LIST contains the list of destination files that are copied
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# from external places (outside this workspace).
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# INTERNAL_IMPORT_LIST is the list of destination files from BUILDDIR.
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzorJVMDB_NAME = $(LIB_PREFIX)jvm$(DB_SUFFIX).$(LIBRARY_SUFFIX)
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# Needed to do file copy
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# List of files created here or coming from BUILDDIR area (this workspace)
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# List of files coming from outside this workspace
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzorIMPORT_LIST = $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVM_NAME) \
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# Hotspot client is only available on 32-bit non-Zero builds
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME) \
9f47982d4f9350397f1f62f04f1ba744ad5b6fa5lgentis# Windows vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv Windows
9f47982d4f9350397f1f62f04f1ba744ad5b6fa5lgentis# NOTE: These might actually come from BUILDDIR, depends on the settings.
9f47982d4f9350397f1f62f04f1ba744ad5b6fa5lgentis$(BINDIR)/$(MSVCRNN_DLL): $(MSVCRNN_DLL_PATH)/$(MSVCRNN_DLL)
9f47982d4f9350397f1f62f04f1ba744ad5b6fa5lgentis# Get the hotspot .map and .pdb files for client and server
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# Add .map and .pdb files to the import path for client and kernel VMs.
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# These are only available on 32-bit windows builds.
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMMAP_NAME) \
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor IMPORT_LIST += $(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVMMAP_NAME) \
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor$(LIBDIR)/$(JVMLIB_NAME): $(HOTSPOT_LIB_PATH)/$(JVMLIB_NAME)
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# it is OK for the .map and .pdb files to not exist, so do not force a
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# dependency on them from the bootstrap location, and allow the copy to fail.
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Windows
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzorelse # PLATFORM
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# NOT Windows vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv NOT Windows
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_NAME)
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzorIMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(LIBJSIG_NAME)
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# solaris vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv solaris
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor IMPORT_LIST += $(LIB_LOCATION)/$(SERVER_LOCATION)/64/$(JVMDB_NAME)
9f47982d4f9350397f1f62f04f1ba744ad5b6fa5lgentisIMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_NAME)
9f47982d4f9350397f1f62f04f1ba744ad5b6fa5lgentis IMPORT_LIST += $(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_NAME)
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# For backwards compatability, make a link of the 32-bit client JVM to $(LIBDIR)
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor$(LIB_LOCATION)/$(JVM_NAME): $(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME)
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor# solaris ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ solaris
248c22116f7ffa751fe090613f579f7c5bf111f8lgentis# NOT Windows ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ NOT Windows
248c22116f7ffa751fe090613f579f7c5bf111f8lgentis$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVM_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVM_NAME)
8c7a70cc3f10ec5402377663f1ab14828871670elgentis$(LIB_LOCATION)/$(KERNEL_LOCATION)/$(JVM_NAME): $(HOTSPOT_KERNEL_PATH)/$(JVM_NAME)
8c7a70cc3f10ec5402377663f1ab14828871670elgentis$(LIB_LOCATION)/$(LIBJSIG_NAME): $(HOTSPOT_IMPORT_PATH)/$(ARCH_VM_SUBDIR)/$(LIBJSIG_NAME)
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor$(LIB_LOCATION)/$(CLIENT_LOCATION)/$(JVMDB_NAME): $(HOTSPOT_CLIENT_PATH)/$(JVMDB_NAME)
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor$(LIB_LOCATION)/$(CLIENT_LOCATION)/64/$(JVMDB_NAME): $(HOTSPOT_CLIENT_PATH)/64/$(JVMDB_NAME)
9cdb7f54a546d03a0004bf9f5f0e6c33740fb300gryzor$(LIB_LOCATION)/$(SERVER_LOCATION)/$(JVMDB_NAME): $(HOTSPOT_SERVER_PATH)/$(JVMDB_NAME)
INTERNAL_IMPORT_LIST += \