defs.make revision 2796
0N/A#
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#
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#
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#
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#
0N/A# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
0N/A# or visit www.oracle.com if you need additional information or have any
0N/A# questions.
0N/A#
0N/A#
0N/A
0N/A# The common definitions for hotspot solaris builds.
5N/A# Include the top level defs.make under make directory instead of this one.
5N/A# This file is included into make/defs.make.
0N/A
8N/A# Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name
0N/ASLASH_JAVA ?= /java
0N/AARCH:=$(shell uname -p)
0N/APATH_SEP = :
8N/Aifeq ($(LP64), 1)
0N/A ARCH_DATA_MODEL=64
0N/Aelse
4N/A ARCH_DATA_MODEL=32
4N/Aendif
4N/A
8N/Aifeq ($(ARCH),sparc)
4N/A ifeq ($(ARCH_DATA_MODEL), 64)
4N/A MAKE_ARGS += LP64=1
4N/A PLATFORM=solaris-sparcv9
4N/A VM_PLATFORM=solaris_sparcv9
4N/A else
0N/A PLATFORM=solaris-sparc
0N/A VM_PLATFORM=solaris_sparc
0N/A endif
0N/A HS_ARCH=sparc
0N/Aelse
0N/A ifeq ($(ARCH_DATA_MODEL), 64)
0N/A MAKE_ARGS += LP64=1
0N/A PLATFORM=solaris-amd64
0N/A VM_PLATFORM=solaris_amd64
0N/A HS_ARCH=x86
0N/A else
0N/A PLATFORM=solaris-i586
0N/A VM_PLATFORM=solaris_i486
5N/A HS_ARCH=x86
0N/A endif
0N/Aendif
0N/A
0N/AJDK_INCLUDE_SUBDIR=solaris
0N/A
0N/A# Library suffix
0N/ALIBRARY_SUFFIX=so
0N/A
0N/A# FIXUP: The subdirectory for a debug build is NOT the same on all platforms
0N/AVM_DEBUG=jvmg
0N/A
0N/AEXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html
0N/A
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/A
0N/AEXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server
0N/AEXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
0N/A
0N/Aifneq ($(BUILD_CLIENT_ONLY),true)
0N/AEXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
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/Aendif
0N/Aifeq ($(ARCH_DATA_MODEL), 32)
4N/A EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
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/A endif
4N/Aendif
4N/A
4N/AEXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX)
4N/AEXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar
4N/A