hotspot/make/solaris/makefiles/defs.make
author kvn
Sat, 06 Aug 2011 08:28:08 -0700
changeset 10259 fc6e02d351c4
parent 7662 5f31baaff55b
child 10565 dc90c239f4ec
child 10559 a94d067da388
permissions -rw-r--r--
7075559: JPRT windows_x64 build failure Summary: use SA_CLASSDIR variable instead of dirsctory saclasses. Reviewed-by: kamg, dcubed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
#
7662
5f31baaff55b 7010068: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - first pass
trims
parents: 6176
diff changeset
     2
# Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     3
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
# This code is free software; you can redistribute it and/or modify it
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
# under the terms of the GNU General Public License version 2 only, as
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
# published by the Free Software Foundation.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
# This code is distributed in the hope that it will be useful, but WITHOUT
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
# version 2 for more details (a copy is included in the LICENSE file that
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
# accompanied this code).
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
# You should have received a copy of the GNU General Public License version
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
# 2 along with this work; if not, write to the Free Software Foundation,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
#
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4018
diff changeset
    19
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4018
diff changeset
    20
# or visit www.oracle.com if you need additional information or have any
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 4018
diff changeset
    21
# questions.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    22
#  
489c9b5090e2 Initial load
duke
parents:
diff changeset
    23
#
489c9b5090e2 Initial load
duke
parents:
diff changeset
    24
489c9b5090e2 Initial load
duke
parents:
diff changeset
    25
# The common definitions for hotspot solaris builds.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    26
# Include the top level defs.make under make directory instead of this one.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    27
# This file is included into make/defs.make.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    28
489c9b5090e2 Initial load
duke
parents:
diff changeset
    29
# Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name
489c9b5090e2 Initial load
duke
parents:
diff changeset
    30
SLASH_JAVA ?= /java
489c9b5090e2 Initial load
duke
parents:
diff changeset
    31
ARCH:=$(shell uname -p)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    32
PATH_SEP = :
489c9b5090e2 Initial load
duke
parents:
diff changeset
    33
ifeq ($(LP64), 1)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    34
  ARCH_DATA_MODEL=64
489c9b5090e2 Initial load
duke
parents:
diff changeset
    35
else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    36
  ARCH_DATA_MODEL=32
489c9b5090e2 Initial load
duke
parents:
diff changeset
    37
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    38
489c9b5090e2 Initial load
duke
parents:
diff changeset
    39
ifeq ($(ARCH),sparc)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    40
  ifeq ($(ARCH_DATA_MODEL), 64)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    41
    MAKE_ARGS += LP64=1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    42
    PLATFORM=solaris-sparcv9
489c9b5090e2 Initial load
duke
parents:
diff changeset
    43
    VM_PLATFORM=solaris_sparcv9
489c9b5090e2 Initial load
duke
parents:
diff changeset
    44
  else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    45
    PLATFORM=solaris-sparc
489c9b5090e2 Initial load
duke
parents:
diff changeset
    46
    VM_PLATFORM=solaris_sparc
489c9b5090e2 Initial load
duke
parents:
diff changeset
    47
  endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    48
  HS_ARCH=sparc
489c9b5090e2 Initial load
duke
parents:
diff changeset
    49
else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    50
  ifeq ($(ARCH_DATA_MODEL), 64)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    51
    MAKE_ARGS += LP64=1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    52
    PLATFORM=solaris-amd64
489c9b5090e2 Initial load
duke
parents:
diff changeset
    53
    VM_PLATFORM=solaris_amd64
489c9b5090e2 Initial load
duke
parents:
diff changeset
    54
    HS_ARCH=x86
489c9b5090e2 Initial load
duke
parents:
diff changeset
    55
  else
489c9b5090e2 Initial load
duke
parents:
diff changeset
    56
    PLATFORM=solaris-i586
489c9b5090e2 Initial load
duke
parents:
diff changeset
    57
    VM_PLATFORM=solaris_i486
489c9b5090e2 Initial load
duke
parents:
diff changeset
    58
    HS_ARCH=x86
489c9b5090e2 Initial load
duke
parents:
diff changeset
    59
  endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    60
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    61
489c9b5090e2 Initial load
duke
parents:
diff changeset
    62
JDK_INCLUDE_SUBDIR=solaris
489c9b5090e2 Initial load
duke
parents:
diff changeset
    63
489c9b5090e2 Initial load
duke
parents:
diff changeset
    64
# FIXUP: The subdirectory for a debug build is NOT the same on all platforms
489c9b5090e2 Initial load
duke
parents:
diff changeset
    65
VM_DEBUG=jvmg
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
489c9b5090e2 Initial load
duke
parents:
diff changeset
    67
EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html
4018
a73b8aa8e89d 6722084: JPRT make file doesn't create required symbolic link to libjvm.so
kvn
parents: 670
diff changeset
    68
a73b8aa8e89d 6722084: JPRT make file doesn't create required symbolic link to libjvm.so
kvn
parents: 670
diff changeset
    69
# client and server subdirectories have symbolic links to ../libjsig.so
a73b8aa8e89d 6722084: JPRT make file doesn't create required symbolic link to libjvm.so
kvn
parents: 670
diff changeset
    70
EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.so
a73b8aa8e89d 6722084: JPRT make file doesn't create required symbolic link to libjvm.so
kvn
parents: 670
diff changeset
    71
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server
10259
fc6e02d351c4 7075559: JPRT windows_x64 build failure
kvn
parents: 7662
diff changeset
    73
EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
fc6e02d351c4 7075559: JPRT windows_x64 build failure
kvn
parents: 7662
diff changeset
    74
6176
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5702
diff changeset
    75
ifneq ($(BUILD_CLIENT_ONLY),true)
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.so
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_db.so
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_dtrace.so
6176
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5702
diff changeset
    80
endif
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
ifeq ($(ARCH_DATA_MODEL), 32)
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
  EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
  EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.so 
489c9b5090e2 Initial load
duke
parents:
diff changeset
    84
  EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_db.so 
6176
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5702
diff changeset
    85
  EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_dtrace.so
5691
3b7ff7652596 6490487: java support on 64 bit solaris x86 machines is broken.
never
parents: 4018
diff changeset
    86
  EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_db.so
3b7ff7652596 6490487: java support on 64 bit solaris x86 machines is broken.
never
parents: 4018
diff changeset
    87
  EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_dtrace.so
6176
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5702
diff changeset
    88
  ifneq ($(BUILD_CLIENT_ONLY), true)
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5702
diff changeset
    89
    EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_db.so
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5702
diff changeset
    90
    EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_dtrace.so
4d9030fe341f 6953477: Increase portability and flexibility of building Hotspot
bobv
parents: 5702
diff changeset
    91
  endif
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    92
endif
489c9b5090e2 Initial load
duke
parents:
diff changeset
    93
489c9b5090e2 Initial load
duke
parents:
diff changeset
    94
EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so
489c9b5090e2 Initial load
duke
parents:
diff changeset
    95
EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar