Mercurial > hg > truffle
annotate make/solaris/makefiles/defs.make @ 1497:96d554193f72
6944822: Fix for 6938627 exposes problem with hard-coded buffer sizes
Summary: Make tmpdir buffer sizes MAX_PATH+1
Reviewed-by: dholmes, coleenp
Contributed-by: andreas.kohn@fredhopper.com
author | coleenp |
---|---|
date | Mon, 19 Apr 2010 18:58:31 -0400 |
parents | 23862fc517bb |
children | c18cbe5936b8 1747f04ad0c4 |
rev | line source |
---|---|
0 | 1 # |
196 | 2 # Copyright 2006-2008 Sun Microsystems, Inc. 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 # | |
19 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, | |
20 # CA 95054 USA or visit www.sun.com if you need additional information or | |
21 # have any questions. | |
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 | |
64 # FIXUP: The subdirectory for a debug build is NOT the same on all platforms | |
65 VM_DEBUG=jvmg | |
66 | |
67 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
|
68 |
23862fc517bb
6722084: JPRT make file doesn't create required symbolic link to libjvm.so
kvn
parents:
196
diff
changeset
|
69 # client and server subdirectories have symbolic links to ../libjsig.so |
23862fc517bb
6722084: JPRT make file doesn't create required symbolic link to libjvm.so
kvn
parents:
196
diff
changeset
|
70 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.so |
23862fc517bb
6722084: JPRT make file doesn't create required symbolic link to libjvm.so
kvn
parents:
196
diff
changeset
|
71 |
0 | 72 EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server |
73 EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt | |
74 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.so | |
75 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_db.so | |
76 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm_dtrace.so | |
77 ifeq ($(ARCH_DATA_MODEL), 32) | |
78 EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client | |
79 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt | |
80 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.so | |
81 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_db.so | |
82 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm_dtrace.so | |
83 ifeq ($(ARCH),sparc) | |
84 EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_db.so | |
85 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_db.so | |
86 EXPORT_LIST += $(EXPORT_SERVER_DIR)/64/libjvm_dtrace.so | |
87 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/64/libjvm_dtrace.so | |
88 endif | |
89 endif | |
90 | |
91 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libsaproc.so | |
92 EXPORT_LIST += $(EXPORT_LIB_DIR)/sa-jdi.jar |