0N/A# Copyright (c) 2006, 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.
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# The common definitions for hotspot solaris builds.
5N/A# Include the top level
defs.make under make directory instead of this one.
8N/A# Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name
0N/AARCH:=$(shell uname -p)
4N/A ifeq ($(ARCH_DATA_MODEL), 64)
4N/A PLATFORM=solaris-sparcv9
4N/A VM_PLATFORM=solaris_sparcv9
0N/A PLATFORM=solaris-sparc
0N/A VM_PLATFORM=solaris_sparc
0N/A ifeq ($(ARCH_DATA_MODEL), 64)
0N/A PLATFORM=solaris-amd64
0N/A VM_PLATFORM=solaris_amd64
0N/A PLATFORM=solaris-i586
0N/A VM_PLATFORM=solaris_i486
0N/AJDK_INCLUDE_SUBDIR=solaris
0N/A# FIXUP: The subdirectory for a debug build is NOT the same on all platforms
0N/A# client and server subdirectories have symbolic links to ../libjsig.$(LIBRARY_SUFFIX)
0N/AEXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX)
0N/AEXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server
0N/AEXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
0N/Aifneq ($(BUILD_CLIENT_ONLY),true)
0N/AEXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.$(LIBRARY_SUFFIX)
0N/AEXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_db.$(LIBRARY_SUFFIX)
0N/AEXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_dtrace.$(LIBRARY_SUFFIX)
0N/Aifeq ($(ARCH_DATA_MODEL), 32)
0N/A EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.$(LIBRARY_SUFFIX)
0N/A EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_db.$(LIBRARY_SUFFIX)
4N/A EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_dtrace.$(LIBRARY_SUFFIX)
5N/A EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_db.$(LIBRARY_SUFFIX)
4N/A EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_dtrace.$(LIBRARY_SUFFIX)
4N/A ifneq ($(BUILD_CLIENT_ONLY), true)
4N/A EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_db.$(LIBRARY_SUFFIX)
4N/A EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_dtrace.$(LIBRARY_SUFFIX)
4N/AEXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX)