Mercurial > hg > graal-jvmci-8
annotate make/solaris/makefiles/defs.make @ 3960:f08d439fab8c
7089790: integrate bsd-port changes
Reviewed-by: kvn, twisti, jrose
Contributed-by: Kurt Miller <kurt@intricatesoftware.com>, Greg Lewis <glewis@eyesbeyond.com>, Jung-uk Kim <jkim@freebsd.org>, Christos Zoulas <christos@zoulas.com>, Landon Fuller <landonf@plausible.coop>, The FreeBSD Foundation <board@freebsdfoundation.org>, Michael Franz <mvfranz@gmail.com>, Roger Hoover <rhoover@apple.com>, Alexander Strange <astrange@apple.com>
author | never |
---|---|
date | Sun, 25 Sep 2011 16:03:29 -0700 |
parents | 4aa5974a06dd |
children | 5d871c1ff17c |
rev | line source |
---|---|
0 | 1 # |
2042
0a8e0d4345b3
7010068: Update all 2010 Oracle-changed OpenJDK files to have the proper copyright dates - first pass
trims
parents:
1681
diff
changeset
|
2 # Copyright (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved. |
0 | 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 # | |
5 # This code is free software; you can redistribute it and/or modify it | |
6 # under the terms of the GNU General Public License version 2 only, as | |
7 # published by the Free Software Foundation. | |
8 # | |
9 # This code is distributed in the hope that it will be useful, but WITHOUT | |
10 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 # version 2 for more details (a copy is included in the LICENSE file that | |
13 # accompanied this code). | |
14 # | |
15 # You should have received a copy of the GNU General Public License version | |
16 # 2 along with this work; if not, write to the Free Software Foundation, | |
17 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. | |
18 # | |
1552
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1015
diff
changeset
|
19 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1015
diff
changeset
|
20 # or visit www.oracle.com if you need additional information or have any |
c18cbe5936b8
6941466: Oracle rebranding changes for Hotspot repositories
trims
parents:
1015
diff
changeset
|
21 # questions. |
0 | 22 # |
23 # | |
24 | |
25 # The common definitions for hotspot solaris builds. | |
26 # Include the top level defs.make under make directory instead of this one. | |
27 # This file is included into make/defs.make. | |
28 | |
29 # Need PLATFORM (os-arch combo names) for jdk and hotspot, plus libarch name | |
30 SLASH_JAVA ?= /java | |
31 ARCH:=$(shell uname -p) | |
32 PATH_SEP = : | |
33 ifeq ($(LP64), 1) | |
34 ARCH_DATA_MODEL=64 | |
35 else | |
36 ARCH_DATA_MODEL=32 | |
37 endif | |
38 | |
39 ifeq ($(ARCH),sparc) | |
40 ifeq ($(ARCH_DATA_MODEL), 64) | |
41 MAKE_ARGS += LP64=1 | |
42 PLATFORM=solaris-sparcv9 | |
43 VM_PLATFORM=solaris_sparcv9 | |
44 else | |
45 PLATFORM=solaris-sparc | |
46 VM_PLATFORM=solaris_sparc | |
47 endif | |
48 HS_ARCH=sparc | |
49 else | |
50 ifeq ($(ARCH_DATA_MODEL), 64) | |
51 MAKE_ARGS += LP64=1 | |
52 PLATFORM=solaris-amd64 | |
53 VM_PLATFORM=solaris_amd64 | |
54 HS_ARCH=x86 | |
55 else | |
56 PLATFORM=solaris-i586 | |
57 VM_PLATFORM=solaris_i486 | |
58 HS_ARCH=x86 | |
59 endif | |
60 endif | |
61 | |
62 JDK_INCLUDE_SUBDIR=solaris | |
63 | |
3960 | 64 # Library suffix |
65 LIBRARY_SUFFIX=so | |
66 | |
0 | 67 # FIXUP: The subdirectory for a debug build is NOT the same on all platforms |
68 VM_DEBUG=jvmg | |
69 | |
70 EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html | |
1015
23862fc517bb
6722084: JPRT make file doesn't create required symbolic link to libjvm.so
kvn
parents:
196
diff
changeset
|
71 |
3960 | 72 # client and server subdirectories have symbolic links to ../libjsig.$(LIBRARY_SUFFIX) |
73 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX) | |
1015
23862fc517bb
6722084: JPRT make file doesn't create required symbolic link to libjvm.so
kvn
parents:
196
diff
changeset
|
74 |
0 | 75 EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server |
3846 | 76 EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client |
77 | |
1681
126ea7725993
6953477: Increase portability and flexibility of building Hotspot
bobv
parents:
1579
diff
changeset
|
78 ifneq ($(BUILD_CLIENT_ONLY),true) |
0 | 79 EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt |
3960 | 80 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.$(LIBRARY_SUFFIX) |
81 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_db.$(LIBRARY_SUFFIX) | |
82 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_dtrace.$(LIBRARY_SUFFIX) | |
1681
126ea7725993
6953477: Increase portability and flexibility of building Hotspot
bobv
parents:
1579
diff
changeset
|
83 endif |
0 | 84 ifeq ($(ARCH_DATA_MODEL), 32) |
85 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt | |
3960 | 86 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.$(LIBRARY_SUFFIX) |
87 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_db.$(LIBRARY_SUFFIX) | |
88 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_dtrace.$(LIBRARY_SUFFIX) | |
89 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_db.$(LIBRARY_SUFFIX) | |
90 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_dtrace.$(LIBRARY_SUFFIX) | |
1681
126ea7725993
6953477: Increase portability and flexibility of building Hotspot
bobv
parents:
1579
diff
changeset
|
91 ifneq ($(BUILD_CLIENT_ONLY), true) |
3960 | 92 EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_db.$(LIBRARY_SUFFIX) |
93 EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_dtrace.$(LIBRARY_SUFFIX) | |
1681
126ea7725993
6953477: Increase portability and flexibility of building Hotspot
bobv
parents:
1579
diff
changeset
|
94 endif |
0 | 95 endif |
96 | |
3960 | 97 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.$(LIBRARY_SUFFIX) |
0 | 98 EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar |