Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_hotspot
提交
df550cbe
D
dragonwell8_hotspot
项目概览
openanolis
/
dragonwell8_hotspot
通知
2
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_hotspot
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
df550cbe
编写于
3月 19, 2012
作者:
E
erikj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
7141246: build-infra merge: Introduce new JVM_VARIANT* to control which kind of jvm gets built
Reviewed-by: dholmes, ohair
上级
87c409d3
变更
14
隐藏空白更改
内联
并排
Showing
14 changed file
with
204 addition
and
130 deletion
+204
-130
make/Makefile
make/Makefile
+69
-66
make/bsd/Makefile
make/bsd/Makefile
+1
-1
make/bsd/makefiles/buildtree.make
make/bsd/makefiles/buildtree.make
+1
-1
make/bsd/makefiles/defs.make
make/bsd/makefiles/defs.make
+19
-9
make/bsd/makefiles/gcc.make
make/bsd/makefiles/gcc.make
+5
-4
make/bsd/makefiles/vm.make
make/bsd/makefiles/vm.make
+4
-4
make/defs.make
make/defs.make
+21
-0
make/linux/Makefile
make/linux/Makefile
+1
-1
make/linux/makefiles/buildtree.make
make/linux/makefiles/buildtree.make
+1
-1
make/linux/makefiles/defs.make
make/linux/makefiles/defs.make
+22
-12
make/linux/makefiles/gcc.make
make/linux/makefiles/gcc.make
+3
-2
make/linux/makefiles/vm.make
make/linux/makefiles/vm.make
+5
-5
make/solaris/makefiles/defs.make
make/solaris/makefiles/defs.make
+29
-17
make/windows/makefiles/defs.make
make/windows/makefiles/defs.make
+23
-7
未找到文件。
make/Makefile
浏览文件 @
df550cbe
...
...
@@ -271,23 +271,25 @@ KERNEL_DIR=$(KERNEL_BASE_DIR)/$(VM_SUBDIR)
ZERO_DIR
=
$(ZERO_BASE_DIR)
/
$(VM_SUBDIR)
SHARK_DIR
=
$(SHARK_BASE_DIR)
/
$(VM_SUBDIR)
# Misc files and generated files need to come from C1 or C2 area
ifeq
($(ZERO_BUILD), true)
ifeq
($(SHARK_BUILD), true)
MISC_DIR
=
$(SHARK_DIR)
GEN_DIR
=
$(SHARK_BASE_DIR)
/generated
else
MISC_DIR
=
$(ZERO_DIR)
GEN_DIR
=
$(ZERO_BASE_DIR)
/generated
ifeq
($(JVM_VARIANT_SERVER), true)
MISC_DIR
=
$(C2_DIR)
GEN_DIR
=
$(C2_BASE_DIR)
/generated
endif
else
ifeq
($(ARCH_DATA_MODEL), 32
)
MISC_DIR
=
$(C1_DIR)
GEN_DIR
=
$(C1_BASE_DIR)
/generated
else
MISC_DIR
=
$(C2_DIR)
GEN_DIR
=
$(C2_BASE_DIR)
/generated
ifeq
($(JVM_VARIANT_CLIENT), true)
MISC_DIR
=
$(C1_DIR
)
GEN_DIR
=
$(C1_BASE_DIR)
/generated
endif
ifeq
($(JVM_VARIANT_KERNEL), true)
MISC_DIR
=
$(C2_DIR)
GEN_DIR
=
$(C2_BASE_DIR)
/generated
endif
ifeq
($(JVM_VARIANT_ZEROSHARK), true)
MISC_DIR
=
$(SHARK_DIR)
GEN_DIR
=
$(SHARK_BASE_DIR)
/generated
endif
ifeq
($(JVM_VARIANT_ZERO), true)
MISC_DIR
=
$(ZERO_DIR)
GEN_DIR
=
$(ZERO_BASE_DIR)
/generated
endif
# Bin files (windows)
...
...
@@ -332,46 +334,46 @@ endif
# Shared Library
ifneq
($(OSNAME),windows)
ifeq
($(ZERO_BUILD), true)
ifeq
($(SHARK_BUILD), true)
$(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX)
:
$(SHARK_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX)
:
$(SHARK_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
else
$(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX)
:
$(ZERO_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX)
:
$(ZERO_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
ifeq
($(JVM_VARIANT_SERVER), true)
$(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX)
:
$(C2_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX)
:
$(C2_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_SERVER_DIR)/64/%.$(LIBRARY_SUFFIX)
:
$(C2_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_JRE_LIB_ARCH_DIR)/%.debuginfo
:
$(C2_DIR)/%.debuginfo
$
(
install-file
)
$(EXPORT_SERVER_DIR)/%.debuginfo
:
$(C2_DIR)/%.debuginfo
$
(
install-file
)
$(EXPORT_SERVER_DIR)/64/%.debuginfo
:
$(C2_DIR)/%.debuginfo
$
(
install-file
)
endif
ifeq
($(JVM_VARIANT_CLIENT), true)
$(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX)
:
$(C1_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_CLIENT_DIR)/%.$(LIBRARY_SUFFIX)
:
$(C1_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_CLIENT_DIR)/64/%.$(LIBRARY_SUFFIX)
:
$(C1_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_JRE_LIB_ARCH_DIR)/%.debuginfo
:
$(C1_DIR)/%.debuginfo
$
(
install-file
)
$(EXPORT_CLIENT_DIR)/%.debuginfo
:
$(C1_DIR)/%.debuginfo
$
(
install-file
)
$(EXPORT_CLIENT_DIR)/64/%.debuginfo
:
$(C1_DIR)/%.debuginfo
$
(
install-file
)
endif
ifeq
($(JVM_VARIANT_ZEROSHARK), true)
$(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX)
:
$(SHARK_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX)
:
$(SHARK_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
endif
ifeq
($(JVM_VARIANT_ZERO), true)
$(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX)
:
$(ZERO_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX)
:
$(ZERO_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
endif
else
$(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX)
:
$(C1_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_JRE_LIB_ARCH_DIR)/%.$(LIBRARY_SUFFIX)
:
$(C2_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_CLIENT_DIR)/%.$(LIBRARY_SUFFIX)
:
$(C1_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_CLIENT_DIR)/64/%.$(LIBRARY_SUFFIX)
:
$(C1_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_SERVER_DIR)/%.$(LIBRARY_SUFFIX)
:
$(C2_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
$(EXPORT_SERVER_DIR)/64/%.$(LIBRARY_SUFFIX)
:
$(C2_DIR)/%.$(LIBRARY_SUFFIX)
$
(
install-file
)
# Debug info for shared library
$(EXPORT_JRE_LIB_ARCH_DIR)/%.debuginfo
:
$(C1_DIR)/%.debuginfo
$
(
install-file
)
$(EXPORT_JRE_LIB_ARCH_DIR)/%.debuginfo
:
$(C2_DIR)/%.debuginfo
$
(
install-file
)
$(EXPORT_CLIENT_DIR)/%.debuginfo
:
$(C1_DIR)/%.debuginfo
$
(
install-file
)
$(EXPORT_CLIENT_DIR)/64/%.debuginfo
:
$(C1_DIR)/%.debuginfo
$
(
install-file
)
$(EXPORT_SERVER_DIR)/%.debuginfo
:
$(C2_DIR)/%.debuginfo
$
(
install-file
)
$(EXPORT_SERVER_DIR)/64/%.debuginfo
:
$(C2_DIR)/%.debuginfo
$
(
install-file
)
endif
endif
# Jar file (sa-jdi.jar)
...
...
@@ -450,18 +452,19 @@ $(JDK_IMAGE_DIR)/jre/lib/rt.jar:
(
$(CD)
$(JDK_IMAGE_DIR)
&&
$(TAR)
-xf
-
)
test_jdk
:
ifeq
($(ARCH_DATA_MODEL), 32)
ifneq
($(ZERO_BUILD), true)
$(JDK_IMAGE_DIR)/bin/java
-d32
-client
-Xinternalversion
$(JDK_IMAGE_DIR)/bin/java
-d32
-client
-version
endif
$(JDK_IMAGE_DIR)/bin/java
-d32
-server
-Xinternalversion
$(JDK_IMAGE_DIR)/bin/java
-d32
-server
-version
endif
ifeq
($(ARCH_DATA_MODEL), 64)
$(JDK_IMAGE_DIR)/bin/java
-d64
-server
-Xinternalversion
$(JDK_IMAGE_DIR)/bin/java
-d64
-server
-version
endif
ifeq
($(JVM_VARIANT_CLIENT), true)
$(JDK_IMAGE_DIR)/bin/java
-d$(ARCH_DATA_MODEL)
-client
-Xinternalversion
$(JDK_IMAGE_DIR)/bin/java
-d$(ARCH_DATA_MODEL)
-client
-version
endif
ifeq
($(findstring true, $(JVM_VARIANT_SERVER)\
$(JVM_VARIANT_ZERO)$(JVM_VARIANT_ZEROSHARK)),
true)
$(JDK_IMAGE_DIR)/bin/java
-d$(ARCH_DATA_MODEL)
-server
-Xinternalversion
$(JDK_IMAGE_DIR)/bin/java
-d$(ARCH_DATA_MODEL)
-server
-version
endif
ifeq
($(JVM_VARIANT_KERNEL), true)
$(JDK_IMAGE_DIR)/bin/java
-d$(ARCH_DATA_MODEL)
-kernel
-Xinternalversion
$(JDK_IMAGE_DIR)/bin/java
-d$(ARCH_DATA_MODEL)
-kernel
-version
endif
copy_product_jdk
::
$(RM)
-r
$(JDK_IMAGE_DIR)
...
...
make/bsd/Makefile
浏览文件 @
df550cbe
...
...
@@ -188,7 +188,7 @@ VARIANTARCH = $(subst i386,i486,$(ZERO_LIBARCH))
# in the build.sh script:
TARGETS
=
debug jvmg fastdebug optimized profiled product
ifeq
($(
ZERO_BUILD
), true)
ifeq
($(
findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)
), true)
SUBDIR_DOCS
=
$(OSNAME)
_
$(VARIANTARCH)
_docs
else
SUBDIR_DOCS
=
$(OSNAME)
_
$(BUILDARCH)
_docs
...
...
make/bsd/makefiles/buildtree.make
浏览文件 @
df550cbe
...
...
@@ -69,7 +69,7 @@ QUIETLY$(MAKE_VERBOSE) = @
# For now, until the compiler is less wobbly:
TESTFLAGS
=
-Xbatch
-showversion
ifeq
($(
ZERO_BUILD
), true)
ifeq
($(
findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)
), true)
PLATFORM_FILE
=
$(
shell
dirname
$(
shell
dirname
$(
shell
pwd
)))
/platform_zero
else
ifdef
USE_SUNCC
...
...
make/bsd/makefiles/defs.make
浏览文件 @
df550cbe
...
...
@@ -38,7 +38,7 @@ else
endif
# zero
ifeq
($(
ZERO_BUILD
), true)
ifeq
($(
findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)
), true)
ifeq
($(ARCH_DATA_MODEL), 64)
MAKE_ARGS
+=
LP64
=
1
endif
...
...
@@ -124,6 +124,18 @@ ifeq ($(ARCH), ppc)
HS_ARCH
=
ppc
endif
# On 32 bit bsd we build server and client, on 64 bit just server.
ifeq
($(JVM_VARIANTS),)
ifeq
($(ARCH_DATA_MODEL), 32)
JVM_VARIANTS
:=
client,server
JVM_VARIANT_CLIENT
:=
true
JVM_VARIANT_SERVER
:=
true
else
JVM_VARIANTS
:=
server
JVM_VARIANT_SERVER
:=
true
endif
endif
JDK_INCLUDE_SUBDIR
=
bsd
# Library suffix
...
...
@@ -146,16 +158,14 @@ EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
EXPORT_LIST
+=
$(EXPORT_JRE_LIB_DIR)
/wb.jar
if
ndef
BUILD_CLIENT_ONLY
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm.
$(LIBRARY_SUFFIX)
if
eq
($(findstring true, $(JVM_VARIANT_SERVER) $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm.
$(LIBRARY_SUFFIX)
endif
ifneq
($(ZERO_BUILD), true)
ifeq
($(ARCH_DATA_MODEL), 32)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/libjvm.
$(LIBRARY_SUFFIX)
endif
ifeq
($(JVM_VARIANT_CLIENT),true)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/libjvm.
$(LIBRARY_SUFFIX)
endif
# Serviceability Binaries
...
...
make/bsd/makefiles/gcc.make
浏览文件 @
df550cbe
...
...
@@ -105,11 +105,12 @@ VM_PICFLAG/LIBJVM = $(PICFLAG)
VM_PICFLAG/
AOUT
=
VM_PICFLAG
=
$
(
VM_PICFLAG/
$(LINK_INTO)
)
ifeq
($(
ZERO_BUILD
), true)
CFLAGS
+=
$(LIBFFI_CFLAGS)
ifeq
($(
JVM_VARIANT_ZERO
), true)
CFLAGS
+=
$(LIBFFI_CFLAGS)
endif
ifeq
($(SHARK_BUILD), true)
CFLAGS
+=
$(LLVM_CFLAGS)
ifeq
($(JVM_VARIANT_ZEROSHARK), true)
CFLAGS
+=
$(LIBFFI_CFLAGS)
CFLAGS
+=
$(LLVM_CFLAGS)
endif
CFLAGS
+=
$(VM_PICFLAG)
CFLAGS
+=
-fno-rtti
...
...
make/bsd/makefiles/vm.make
浏览文件 @
df550cbe
...
...
@@ -42,7 +42,7 @@ DEP_DIR = $(GENERATED)/dependencies
-include
$(DEP_DIR)/*.d
# read machine-specific adjustments (%%% should do this via buildtree.make?)
ifeq
($(
ZERO_BUILD
), true)
ifeq
($(
findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)
), true)
include
$(MAKEFILES_DIR)/zeroshark.make
else
include
$(MAKEFILES_DIR)/$(BUILDARCH).make
...
...
@@ -271,12 +271,12 @@ else
LIBS_VM
+=
$(LIBS)
endif
ifeq
($(
ZERO_BUILD
), true)
ifeq
($(
JVM_VARIANT_ZERO
), true)
LIBS_VM
+=
$(LIBFFI_LIBS)
endif
ifeq
($(SHARK_BUILD), true)
ifeq
($(JVM_VARIANT_ZEROSHARK), true)
LIBS_VM
+=
$(LIBFFI_LIBS)
$(LLVM_LIBS)
LFLAGS_VM
+=
$(LLVM_LDFLAGS)
LIBS_VM
+=
$(LLVM_LIBS)
endif
...
...
make/defs.make
浏览文件 @
df550cbe
...
...
@@ -55,6 +55,27 @@ define prep-target
@$(RM)
$@
endef
# Default values for JVM_VARIANT* variables if configure hasn't set
# it already.
ifeq
($(JVM_VARIANTS),)
ifeq
($(ZERO_BUILD), true)
ifeq
($(SHARK_BUILD), true)
JVM_VARIANTS
:=
zeroshark
JVM_VARIANT_ZEROSHARK
:=
true
else
JVM_VARIANTS
:=
zero
JVM_VARIANT_ZERO
:=
true
endif
else
# A default is needed
ifeq
($(BUILD_CLIENT_ONLY), true)
JVM_VARIANTS
:=
client
JVM_VARIANT_CLIENT
:=
true
endif
# Further defaults are platform and arch specific
endif
endif
# Directory paths and user name
# Unless GAMMADIR is set on the command line, search upward from
# the current directory for a parent directory containing "src/share/vm".
...
...
make/linux/Makefile
浏览文件 @
df550cbe
...
...
@@ -188,7 +188,7 @@ VARIANTARCH = $(subst i386,i486,$(ZERO_LIBARCH))
# in the build.sh script:
TARGETS
=
debug jvmg fastdebug optimized profiled product
ifeq
($(
ZERO_BUILD
), true)
ifeq
($(
findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)
), true)
SUBDIR_DOCS
=
$(OSNAME)
_
$(VARIANTARCH)
_docs
else
SUBDIR_DOCS
=
$(OSNAME)
_
$(BUILDARCH)
_docs
...
...
make/linux/makefiles/buildtree.make
浏览文件 @
df550cbe
...
...
@@ -66,7 +66,7 @@ QUIETLY$(MAKE_VERBOSE) = @
# For now, until the compiler is less wobbly:
TESTFLAGS
=
-Xbatch
-showversion
ifeq
($(
ZERO_BUILD
), true)
ifeq
($(
findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)
), true)
PLATFORM_FILE
=
$(
shell
dirname
$(
shell
dirname
$(
shell
pwd
)))
/platform_zero
else
ifdef
USE_SUNCC
...
...
make/linux/makefiles/defs.make
浏览文件 @
df550cbe
...
...
@@ -38,7 +38,7 @@ else
endif
# zero
ifeq
($(
ZERO_BUILD
), true)
ifeq
($(
findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)
), true)
ifeq
($(ARCH_DATA_MODEL), 64)
MAKE_ARGS
+=
LP64
=
1
endif
...
...
@@ -114,6 +114,18 @@ ifeq ($(ARCH), ppc)
HS_ARCH
=
ppc
endif
# On 32 bit linux we build server and client, on 64 bit just server.
ifeq
($(JVM_VARIANTS),)
ifeq
($(ARCH_DATA_MODEL), 32)
JVM_VARIANTS
:=
client,server
JVM_VARIANT_CLIENT
:=
true
JVM_VARIANT_SERVER
:=
true
else
JVM_VARIANTS
:=
server
JVM_VARIANT_SERVER
:=
true
endif
endif
# determine if HotSpot is being built in JDK6 or earlier version
JDK6_OR_EARLIER
=
0
ifeq
"$(shell expr \( '$(JDK_MAJOR_VERSION)' != '' \& '$(JDK_MINOR_VERSION)' != '' \& '$(JDK_MICRO_VERSION)' != '' \))" "1"
...
...
@@ -195,22 +207,20 @@ EXPORT_CLIENT_DIR = $(EXPORT_JRE_LIB_ARCH_DIR)/client
EXPORT_LIST
+=
$(EXPORT_JRE_LIB_DIR)
/wb.jar
if
ndef
BUILD_CLIENT_ONLY
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm.
$(LIBRARY_SUFFIX)
if
eq
($(findstring true, $(JVM_VARIANT_SERVER) $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)), true)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm.
$(LIBRARY_SUFFIX)
ifneq
($(OBJCOPY),)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm.debuginfo
endif
endif
ifneq
($(ZERO_BUILD), true)
ifeq
($(ARCH_DATA_MODEL), 32)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/libjvm.
$(LIBRARY_SUFFIX)
ifneq
($(OBJCOPY),)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/libjvm.debuginfo
endif
endif
ifeq
($(JVM_VARIANT_CLIENT),true)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/libjvm.
$(LIBRARY_SUFFIX)
ifneq
($(OBJCOPY),)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/libjvm.debuginfo
endif
endif
# Serviceability Binaries
...
...
make/linux/makefiles/gcc.make
浏览文件 @
df550cbe
...
...
@@ -72,10 +72,11 @@ VM_PICFLAG/LIBJVM = $(PICFLAG)
VM_PICFLAG/
AOUT
=
VM_PICFLAG
=
$
(
VM_PICFLAG/
$(LINK_INTO)
)
ifeq
($(
ZERO_BUILD
), true)
ifeq
($(
JVM_VARIANT_ZERO
), true)
CFLAGS
+=
$(LIBFFI_CFLAGS)
endif
ifeq
($(SHARK_BUILD), true)
ifeq
($(JVM_VARIANT_ZEROSHARK), true)
CFLAGS
+=
$(LIBFFI_CFLAGS)
CFLAGS
+=
$(LLVM_CFLAGS)
endif
CFLAGS
+=
$(VM_PICFLAG)
...
...
make/linux/makefiles/vm.make
浏览文件 @
df550cbe
...
...
@@ -42,7 +42,7 @@ DEP_DIR = $(GENERATED)/dependencies
-include
$(DEP_DIR)/*.d
# read machine-specific adjustments (%%% should do this via buildtree.make?)
ifeq
($(
ZERO_BUILD
), true)
ifeq
($(
findstring true, $(JVM_VARIANT_ZERO) $(JVM_VARIANT_ZEROSHARK)
), true)
include
$(MAKEFILES_DIR)/zeroshark.make
else
include
$(MAKEFILES_DIR)/$(BUILDARCH).make
...
...
@@ -236,7 +236,7 @@ mapfile_reorder : mapfile $(REORDERFILE)
vm.def
:
$(Res_Files) $(Obj_Files)
sh
$(GAMMADIR)
/make/linux/makefiles/build_vm_def.sh
*
.o
>
$@
ifeq
($(
SHARK_BUILD
), true)
ifeq
($(
JVM_VARIANT_ZEROSHARK
), true)
STATIC_CXX
=
false
else
ifeq
($(ZERO_LIBARCH), ppc64)
...
...
@@ -268,12 +268,12 @@ else
LIBS_VM
+=
$(LIBS)
endif
ifeq
($(
ZERO_BUILD
), true)
ifeq
($(
JVM_VARIANT_ZERO
), true)
LIBS_VM
+=
$(LIBFFI_LIBS)
endif
ifeq
($(SHARK_BUILD), true)
ifeq
($(JVM_VARIANT_ZEROSHARK), true)
LIBS_VM
+=
$(LIBFFI_LIBS)
$(LLVM_LIBS)
LFLAGS_VM
+=
$(LLVM_LDFLAGS)
LIBS_VM
+=
$(LLVM_LIBS)
endif
LINK_VM
=
$(LINK_LIB.CC)
...
...
make/solaris/makefiles/defs.make
浏览文件 @
df550cbe
...
...
@@ -59,6 +59,18 @@ else
endif
endif
# On 32 bit solaris we build server and client, on 64 bit just server.
ifeq
($(JVM_VARIANTS),)
ifeq
($(ARCH_DATA_MODEL), 32)
JVM_VARIANTS
:=
client,server
JVM_VARIANT_CLIENT
:=
true
JVM_VARIANT_SERVER
:=
true
else
JVM_VARIANTS
:=
server
JVM_VARIANT_SERVER
:=
true
endif
endif
# determine if HotSpot is being built in JDK6 or earlier version
JDK6_OR_EARLIER
=
0
ifeq
"$(shell expr \( '$(JDK_MAJOR_VERSION)' != '' \& '$(JDK_MINOR_VERSION)' != '' \& '$(JDK_MICRO_VERSION)' != '' \))" "1"
...
...
@@ -153,37 +165,37 @@ EXPORT_LIST += $(EXPORT_JRE_LIB_DIR)/wb.jar
EXPORT_SERVER_DIR
=
$(EXPORT_JRE_LIB_ARCH_DIR)
/server
EXPORT_CLIENT_DIR
=
$(EXPORT_JRE_LIB_ARCH_DIR)
/client
ifneq
($(BUILD_CLIENT_ONLY),true)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_db.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_dtrace.
$(LIBRARY_SUFFIX)
ifeq
($(JVM_VARIANT_SERVER),true)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_db.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_dtrace.
$(LIBRARY_SUFFIX)
ifeq
($(ARCH_DATA_MODEL),32)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/64/libjvm_db.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/64/libjvm_dtrace.
$(LIBRARY_SUFFIX)
endif
ifneq
($(OBJCOPY),)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm.debuginfo
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_db.debuginfo
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/libjvm_dtrace.debuginfo
endif
endif
ifeq
($(
ARCH_DATA_MODEL), 32
)
ifeq
($(
JVM_VARIANT_CLIENT),true
)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/libjvm.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/libjvm_db.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/libjvm_dtrace.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/64/libjvm_db.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/64/libjvm_dtrace.
$(LIBRARY_SUFFIX)
ifeq
($(ARCH_DATA_MODEL),32)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/64/libjvm_db.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/64/libjvm_dtrace.
$(LIBRARY_SUFFIX)
endif
ifneq
($(OBJCOPY),)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/libjvm.debuginfo
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/libjvm_db.debuginfo
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/libjvm_dtrace.debuginfo
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/64/libjvm_db.debuginfo
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/64/libjvm_dtrace.debuginfo
endif
ifneq
($(BUILD_CLIENT_ONLY), true)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/64/libjvm_db.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/64/libjvm_dtrace.
$(LIBRARY_SUFFIX)
ifneq
($(OBJCOPY),)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/64/libjvm_db.debuginfo
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/64/libjvm_dtrace.debuginfo
ifeq
($(ARCH_DATA_MODEL),32)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/64/libjvm_db.debuginfo
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/64/libjvm_dtrace.debuginfo
endif
endif
endif
...
...
make/windows/makefiles/defs.make
浏览文件 @
df550cbe
...
...
@@ -107,6 +107,19 @@ ifneq ($(shell $(ECHO) $(PROCESSOR_IDENTIFIER) | $(GREP) EM64T),)
endif
endif
# On 32 bit windows we build server, client and kernel, on 64 bit just server.
ifeq
($(JVM_VARIANTS),)
ifeq
($(ARCH_DATA_MODEL), 32)
JVM_VARIANTS
:=
client,server,kernel
JVM_VARIANT_CLIENT
:=
true
JVM_VARIANT_SERVER
:=
true
JVM_VARIANT_KERNEL
:=
true
else
JVM_VARIANTS
:=
server
JVM_VARIANT_SERVER
:=
true
endif
endif
JDK_INCLUDE_SUBDIR
=
win32
# Library suffix
...
...
@@ -177,17 +190,20 @@ EXPORT_SERVER_DIR = $(EXPORT_JRE_BIN_DIR)/server
EXPORT_CLIENT_DIR
=
$(EXPORT_JRE_BIN_DIR)
/client
EXPORT_KERNEL_DIR
=
$(EXPORT_JRE_BIN_DIR)
/kernel
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/jvm.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/jvm.pdb
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/jvm.map
EXPORT_LIST
+=
$(EXPORT_LIB_DIR)
/jvm.lib
ifeq
($(ARCH_DATA_MODEL), 32)
ifeq
($(JVM_VARIANT_SERVER),true)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/jvm.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/jvm.pdb
EXPORT_LIST
+=
$(EXPORT_SERVER_DIR)
/jvm.map
EXPORT_LIST
+=
$(EXPORT_LIB_DIR)
/jvm.lib
endif
ifeq
($(JVM_VARIANT_CLIENT),true)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/jvm.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/jvm.pdb
EXPORT_LIST
+=
$(EXPORT_CLIENT_DIR)
/jvm.map
# kernel vm
endif
ifeq
($(JVM_VARIANT_KERNEL),true)
EXPORT_LIST
+=
$(EXPORT_KERNEL_DIR)
/Xusage.txt
EXPORT_LIST
+=
$(EXPORT_KERNEL_DIR)
/jvm.
$(LIBRARY_SUFFIX)
EXPORT_LIST
+=
$(EXPORT_KERNEL_DIR)
/jvm.pdb
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录