1 #
2 # Copyright (c) 2006, 2012, Oracle and/or its affiliates. All rights reserved.
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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 # or visit www.oracle.com if you need additional information or have any
21 # questions.
22 #
129 ifeq ($(ARCH_DATA_MODEL), 32)
130 JVM_VARIANTS:=client,server
131 JVM_VARIANT_CLIENT:=true
132 JVM_VARIANT_SERVER:=true
133 else
134 JVM_VARIANTS:=server
135 JVM_VARIANT_SERVER:=true
136 endif
137 endif
138
139 JDK_INCLUDE_SUBDIR=bsd
140
141 # Library suffix
142 OS_VENDOR:=$(shell uname -s)
143 ifeq ($(OS_VENDOR),Darwin)
144 LIBRARY_SUFFIX=dylib
145 else
146 LIBRARY_SUFFIX=so
147 endif
148
149 # FIXUP: The subdirectory for a debug build is NOT the same on all platforms
150 VM_DEBUG=jvmg
151
152 EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html
153
154 # client and server subdirectories have symbolic links to ../libjsig.so
155 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX)
156 EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server
157 EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
158 EXPORT_MINIMAL_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/minimal
159
160 ifeq ($(findstring true, $(JVM_VARIANT_SERVER) $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true)
161 EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
162 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.$(LIBRARY_SUFFIX)
163 endif
164
165 ifeq ($(JVM_VARIANT_CLIENT),true)
166 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
167 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.$(LIBRARY_SUFFIX)
168 endif
169
170 ifeq ($(JVM_VARIANT_MINIMAL1),true)
171 EXPORT_LIST += $(EXPORT_MINIMAL_DIR)/Xusage.txt
|
1 #
2 # Copyright (c) 2006, 2013, Oracle and/or its affiliates. All rights reserved.
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 Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 # or visit www.oracle.com if you need additional information or have any
21 # questions.
22 #
129 ifeq ($(ARCH_DATA_MODEL), 32)
130 JVM_VARIANTS:=client,server
131 JVM_VARIANT_CLIENT:=true
132 JVM_VARIANT_SERVER:=true
133 else
134 JVM_VARIANTS:=server
135 JVM_VARIANT_SERVER:=true
136 endif
137 endif
138
139 JDK_INCLUDE_SUBDIR=bsd
140
141 # Library suffix
142 OS_VENDOR:=$(shell uname -s)
143 ifeq ($(OS_VENDOR),Darwin)
144 LIBRARY_SUFFIX=dylib
145 else
146 LIBRARY_SUFFIX=so
147 endif
148
149 EXPORT_LIST += $(EXPORT_DOCS_DIR)/platform/jvmti/jvmti.html
150
151 # client and server subdirectories have symbolic links to ../libjsig.so
152 EXPORT_LIST += $(EXPORT_JRE_LIB_ARCH_DIR)/libjsig.$(LIBRARY_SUFFIX)
153 EXPORT_SERVER_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/server
154 EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
155 EXPORT_MINIMAL_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/minimal
156
157 ifeq ($(findstring true, $(JVM_VARIANT_SERVER) $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true)
158 EXPORT_LIST += $(EXPORT_SERVER_DIR)/Xusage.txt
159 EXPORT_LIST += $(EXPORT_SERVER_DIR)/libjvm.$(LIBRARY_SUFFIX)
160 endif
161
162 ifeq ($(JVM_VARIANT_CLIENT),true)
163 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/Xusage.txt
164 EXPORT_LIST += $(EXPORT_CLIENT_DIR)/libjvm.$(LIBRARY_SUFFIX)
165 endif
166
167 ifeq ($(JVM_VARIANT_MINIMAL1),true)
168 EXPORT_LIST += $(EXPORT_MINIMAL_DIR)/Xusage.txt
|