defs.make revision 1601
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico#
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# Copyright (c) 2006, 2008, Oracle and/or its affiliates. All rights reserved.
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico#
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# This code is free software; you can redistribute it and/or modify it
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# under the terms of the GNU General Public License version 2 only, as
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# published by the Free Software Foundation.
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico#
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# This code is distributed in the hope that it will be useful, but WITHOUT
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# version 2 for more details (a copy is included in the LICENSE file that
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# accompanied this code).
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico#
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# You should have received a copy of the GNU General Public License version
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# 2 along with this work; if not, write to the Free Software Foundation,
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico#
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# or visit www.oracle.com if you need additional information or have any
040e298be5b23e77e33309d65449072183c82d5cacspike# questions.
040e298be5b23e77e33309d65449072183c82d5cacspike#
040e298be5b23e77e33309d65449072183c82d5cacspike#
040e298be5b23e77e33309d65449072183c82d5cacspike
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# The common definitions for hotspot solaris builds.
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# Include the top level defs.make under make directory instead of this one.
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# This file is included into make/defs.make.
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoSLASH_JAVA ?= /java
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoARCH:=$(shell uname -p)
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoPATH_SEP = :
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoifeq ($(LP64), 1)
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico ARCH_DATA_MODEL=64
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoelse
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico ARCH_DATA_MODEL=32
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoendif
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoifeq ($(ARCH),sparc)
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico ifeq ($(ARCH_DATA_MODEL), 64)
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico MAKE_ARGS += LP64=1
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico PLATFORM=solaris-sparcv9
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico VM_PLATFORM=solaris_sparcv9
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico else
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico PLATFORM=solaris-sparc
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico VM_PLATFORM=solaris_sparc
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico endif
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico HS_ARCH=sparc
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoelse
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico ifeq ($(ARCH_DATA_MODEL), 64)
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico MAKE_ARGS += LP64=1
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico PLATFORM=solaris-amd64
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico VM_PLATFORM=solaris_amd64
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico HS_ARCH=x86
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico else
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico PLATFORM=solaris-i586
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico VM_PLATFORM=solaris_i486
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico HS_ARCH=x86
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico endif
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoendif
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoJDK_INCLUDE_SUBDIR=solaris
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico# FIXUP: The subdirectory for a debug build is NOT the same on all platforms
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoVM_DEBUG=jvmg
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoEXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico
040e298be5b23e77e33309d65449072183c82d5cacspike# client and server subdirectories have symbolic links to ../libjsig.so
040e298be5b23e77e33309d65449072183c82d5cacspikeEXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.so
12a239f8730c2bb6e3738d5e75b3237877594d07Martin Owens
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoEXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoifneq ($(BUILD_CLIENT_ONLY),true)
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoEXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoEXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.so
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoEXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_db.so
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoEXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_dtrace.so
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoendif
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoifeq ($(ARCH_DATA_MODEL), 32)
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.so
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_db.so
040e298be5b23e77e33309d65449072183c82d5cacspike EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_dtrace.so
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_db.so
040e298be5b23e77e33309d65449072183c82d5cacspike EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_dtrace.so
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico ifneq ($(BUILD_CLIENT_ONLY), true)
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_db.so
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_dtrace.so
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico endif
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoendif
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoEXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so
1ef3c8b1b935901dd133c337031a7300334db424JazzyNicoEXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar
1ef3c8b1b935901dd133c337031a7300334db424JazzyNico