Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8
提交
c956b01a
D
dragonwell8
项目概览
openanolis
/
dragonwell8
通知
5
Star
3
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
c956b01a
编写于
2月 13, 2013
作者:
L
lana
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
63d5c215
4f0ff38e
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
71 addition
and
28 deletion
+71
-28
.hgtags
.hgtags
+1
-0
common/autoconf/generated-configure.sh
common/autoconf/generated-configure.sh
+9
-2
common/autoconf/spec.gmk.in
common/autoconf/spec.gmk.in
+6
-0
common/makefiles/IdlCompilation.gmk
common/makefiles/IdlCompilation.gmk
+1
-1
common/makefiles/JavaCompilation.gmk
common/makefiles/JavaCompilation.gmk
+8
-8
common/makefiles/Jprt.gmk
common/makefiles/Jprt.gmk
+35
-10
common/makefiles/Main.gmk
common/makefiles/Main.gmk
+8
-1
common/makefiles/javadoc/Javadoc.gmk
common/makefiles/javadoc/Javadoc.gmk
+3
-6
未找到文件。
.hgtags
浏览文件 @
c956b01a
...
@@ -197,3 +197,4 @@ c1be681d80a1f1c848dc671d664fccb19e046a12 jdk8-b72
...
@@ -197,3 +197,4 @@ c1be681d80a1f1c848dc671d664fccb19e046a12 jdk8-b72
93b9664f97eeb6f89397a8842318ebacaac9feb9 jdk8-b73
93b9664f97eeb6f89397a8842318ebacaac9feb9 jdk8-b73
b43aa5bd8ca5c8121336495382d35ecfa7a71536 jdk8-b74
b43aa5bd8ca5c8121336495382d35ecfa7a71536 jdk8-b74
2a713921952cbd77a1e699626976cb6cdfe3e57e jdk8-b75
2a713921952cbd77a1e699626976cb6cdfe3e57e jdk8-b75
278af9fc67e7eba2884936b49ec07345f423aabb jdk8-b76
common/autoconf/generated-configure.sh
浏览文件 @
c956b01a
...
@@ -3723,7 +3723,7 @@ fi
...
@@ -3723,7 +3723,7 @@ fi
#CUSTOM_AUTOCONF_INCLUDE
#CUSTOM_AUTOCONF_INCLUDE
# Do not change or remove the following line, it is needed for consistency checks:
# Do not change or remove the following line, it is needed for consistency checks:
DATE_WHEN_GENERATED=1359
376859
DATE_WHEN_GENERATED=1359
971740
###############################################################################
###############################################################################
#
#
...
@@ -10778,7 +10778,8 @@ if test "x$with_milestone" = xyes; then
...
@@ -10778,7 +10778,8 @@ if test "x$with_milestone" = xyes; then
as_fn_error $? "Milestone must have a value" "$LINENO" 5
as_fn_error $? "Milestone must have a value" "$LINENO" 5
elif test "x$with_milestone" != x; then
elif test "x$with_milestone" != x; then
MILESTONE="$with_milestone"
MILESTONE="$with_milestone"
else
fi
if test "x$MILESTONE" = x; then
MILESTONE=internal
MILESTONE=internal
fi
fi
...
@@ -29247,6 +29248,12 @@ fi
...
@@ -29247,6 +29248,12 @@ fi
fi
fi
# AC_PATH_XTRA creates X_LIBS and sometimes adds -R flags. When cross compiling
# this doesn't make sense so we remove it.
if test "x$COMPILE_TYPE" = xcross; then
X_LIBS=`$ECHO $X_LIBS | $SED 's/-R \{0,1\}[^ ]*//g'`
fi
if test "x$no_x" = xyes && test "x$X11_NOT_NEEDED" != xyes; then
if test "x$no_x" = xyes && test "x$X11_NOT_NEEDED" != xyes; then
# Print a helpful message on how to acquire the necessary build dependency.
# Print a helpful message on how to acquire the necessary build dependency.
common/autoconf/spec.gmk.in
浏览文件 @
c956b01a
...
@@ -434,6 +434,12 @@ NATIVE2ASCII=@FIXPATH@ $(BOOT_JDK)/bin/native2ascii
...
@@ -434,6 +434,12 @@ NATIVE2ASCII=@FIXPATH@ $(BOOT_JDK)/bin/native2ascii
JARSIGNER=@FIXPATH@ $(BOOT_JDK)/bin/jarsigner
JARSIGNER=@FIXPATH@ $(BOOT_JDK)/bin/jarsigner
# You run the new javac using the boot jdk with $(BOOT_JDK)/bin/java $(NEW_JAVAC) ...
BOOTSTRAP_JAVAC_JAR:=$(LANGTOOLS_OUTPUTDIR)/dist/bootstrap/lib/javac.jar
BOOTSTRAP_JAVAC_ARGS:="-Xbootclasspath/p:$(BOOTSTRAP_JAVAC_JAR)" -cp $(BOOTSTRAP_JAVAC_JAR)
NEW_JAVAC = $(BOOTSTRAP_JAVAC_ARGS) com.sun.tools.javac.Main
NEW_JAVADOC = $(BOOTSTRAP_JAVAC_ARGS) com.sun.tools.javadoc.Main
# Base flags for RC
# Base flags for RC
# Guarding this against resetting value. Legacy make files include spec multiple
# Guarding this against resetting value. Legacy make files include spec multiple
# times.
# times.
...
...
common/makefiles/IdlCompilation.gmk
浏览文件 @
c956b01a
...
@@ -71,7 +71,7 @@ define add_idl_package
...
@@ -71,7 +71,7 @@ define add_idl_package
$4
$4
$(RM) -f $$(addprefix $3/$$($4_TMPDIR)/,$6)
$(RM) -f $$(addprefix $3/$$($4_TMPDIR)/,$6)
$(CP) -rp $3/$$($4_TMPDIR)/* $3
$(CP) -rp $3/$$($4_TMPDIR)/* $3
($(CD) $3/$$($4_TMPDIR)
; find . -type f | sed 's!\./!$3/!g' | awk
'{ print $$$$1 ": $4" }' > $5)
($(CD) $3/$$($4_TMPDIR)
&& $(FIND) . -type f | $(SED) 's!\./!$3/!g' | $(NAWK)
'{ print $$$$1 ": $4" }' > $5)
$(RM) -rf $3/$$($4_TMPDIR)
$(RM) -rf $3/$$($4_TMPDIR)
endef
endef
...
...
common/makefiles/JavaCompilation.gmk
浏览文件 @
c956b01a
...
@@ -42,8 +42,8 @@ endif
...
@@ -42,8 +42,8 @@ endif
FALSE_FIND_PATTERN:=-name FILE_NAME_THAT_DOESNT_EXIST
FALSE_FIND_PATTERN:=-name FILE_NAME_THAT_DOESNT_EXIST
define SetupJavaCompiler
define SetupJavaCompiler
# param 1 is for example
BOOT_JAVAC or NEW_JAVAC
# param 1 is for example
GENERATE_OLD_BYTECODE or GENERATE_NEW_JDKBYTECODE
# This is the name
later used to decide which java compiler to use
.
# This is the name
of the compiler setup
.
# param 2-9 are named args.
# param 2-9 are named args.
# JVM:=The jvm used to run the javac/javah command
# JVM:=The jvm used to run the javac/javah command
# JAVAC:=The javac jar and bootstrap classpath changes, or just bin/javac if JVM is left out
# JAVAC:=The javac jar and bootstrap classpath changes, or just bin/javac if JVM is left out
...
@@ -143,8 +143,8 @@ define SetupArchive
...
@@ -143,8 +143,8 @@ define SetupArchive
ifneq (,$2)
ifneq (,$2)
$1_DEPS:=$2
$1_DEPS:=$2
else
else
$1_DEPS:=$$(filter $$(addprefix %,$$($1_
FIND_PATTERN
S)),\
$1_DEPS:=$$(filter $$(addprefix %,$$($1_
SUFFIXE
S)),\
$$(call CacheFind
$$($1_SRCS)))
$$(call CacheFind
,
$$($1_SRCS)))
ifneq (,$$($1_GREP_INCLUDE_PATTERNS))
ifneq (,$$($1_GREP_INCLUDE_PATTERNS))
$1_DEPS:=$$(filter $$(addsuffix %,$$($1_GREP_INCLUDE_PATTERNS)),$$($1_DEPS))
$1_DEPS:=$$(filter $$(addsuffix %,$$($1_GREP_INCLUDE_PATTERNS)),$$($1_DEPS))
endif
endif
...
@@ -487,10 +487,10 @@ define SetupJavaCompilation
...
@@ -487,10 +487,10 @@ define SetupJavaCompilation
# Using sjavac to compile.
# Using sjavac to compile.
$1 := $$($1_ALL_COPY_TARGETS) $$($1_ALL_COPY_CLEAN_TARGETS) $$($1_BIN)/javac_state
$1 := $$($1_ALL_COPY_TARGETS) $$($1_ALL_COPY_CLEAN_TARGETS) $$($1_BIN)/javac_state
# Create SJAVAC variable
,
# Create SJAVAC variable
form JAVAC variable. Expects $1_JAVAC to be
#
expects $1_JAVAC to be "bootclasspathprepend -jar ...javac.jar
"
#
"bootclasspathprepend -cp .../javac.jar com.sun.tools.javac.Main
"
# and
it is rewritten into "bootclasspathprepend com.sun.tools.sjavac.Main"
# and
javac is simply replaced with sjavac.
$1_SJAVAC:=$$(
word 1,$$($1_JAVAC)) -cp $$(word 3,$$($1_JAVAC)) com.sun.tools.sjavac.Main
$1_SJAVAC:=$$(
subst com.sun.tools.javac.Main,com.sun.tools.sjavac.Main,$$($1_JAVAC))
# Set the $1_REMOTE to spawn a background javac server.
# Set the $1_REMOTE to spawn a background javac server.
$1_REMOTE:=--server:portfile=$$($1_SJAVAC_PORTFILE),id=$1,sjavac=$$(subst $$(SPACE),%20,$$(subst $$(COMMA),%2C,$$(strip $$($1_SERVER_JVM) $$($1_SJAVAC))))
$1_REMOTE:=--server:portfile=$$($1_SJAVAC_PORTFILE),id=$1,sjavac=$$(subst $$(SPACE),%20,$$(subst $$(COMMA),%2C,$$(strip $$($1_SERVER_JVM) $$($1_SJAVAC))))
...
...
common/makefiles/Jprt.gmk
浏览文件 @
c956b01a
...
@@ -179,27 +179,52 @@ jprt_bundle: $(JPRT_ARCHIVE_BUNDLE)
...
@@ -179,27 +179,52 @@ jprt_bundle: $(JPRT_ARCHIVE_BUNDLE)
$(JPRT_ARCHIVE_BUNDLE): bundles
$(JPRT_ARCHIVE_BUNDLE): bundles
$(MKDIR) -p $(@D)
$(MKDIR) -p $(@D)
$(RM) $@
$(RM) $@
$(CP) $(BUILD_OUTPUT)/bundles/
j2sdk-image
.zip $@
$(CP) $(BUILD_OUTPUT)/bundles/
$(JDK_IMAGE_SUBDIR)
.zip $@
# This target must be called in the context of a SPEC file
bundles: all
@$(call TargetEnter)
$(MKDIR) -p $(BUILD_OUTPUT)/bundles
ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_BITS),solaris-64)
ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_BITS),solaris-64)
$(CD) $(JDK_OVERLAY_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2sdk-image.zip .
SRC_JDK_IMAGE_DIR := $(JDK_OVERLAY_IMAGE_DIR)
$(CD) $(JRE_OVERLAY_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2re-image.zip .
SRC_JRE_IMAGE_DIR := $(JRE_OVERLAY_IMAGE_DIR)
else
else
$(CD) $(JDK_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2sdk-image.zip .
SRC_JDK_IMAGE_DIR := $(JDK_IMAGE_DIR)
$(CD) $(JRE_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/j2re-image.zip .
SRC_JRE_IMAGE_DIR := $(JRE_IMAGE_DIR)
endif
SRC_JDK_BUNDLE_DIR := $(JDK_BUNDLE_DIR)
SRC_JRE_BUNDLE_DIR := $(JRE_BUNDLE_DIR)
# Bundle up the images
bundles: all bundles-only
bundles-only: start-make
@$(call TargetEnter)
$(MKDIR) -p $(BUILD_OUTPUT)/bundles
$(CD) $(SRC_JDK_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/$(JDK_IMAGE_SUBDIR).zip .
$(CD) $(SRC_JRE_IMAGE_DIR) && $(ZIP) -q -r $(BUILD_OUTPUT)/bundles/$(JRE_IMAGE_SUBDIR).zip .
if [ -d $(BUILD_OUTPUT)/install/bundles ] ; then \
if [ -d $(BUILD_OUTPUT)/install/bundles ] ; then \
$(CD) $(BUILD_OUTPUT)/install/bundles && $(ZIP) -q -r $(JPRT_ARCHIVE_INSTALL_BUNDLE) . ; \
$(CD) $(BUILD_OUTPUT)/install/bundles && $(ZIP) -q -r $(JPRT_ARCHIVE_INSTALL_BUNDLE) . ; \
fi
fi
@$(call TargetExit)
# Copy images to one unified location regardless of platform etc.
final-images: all final-images-only
final-images-only: start-make
@$(call TargetEnter)
$(RM) -r $(BUILD_OUTPUT)/final-images
$(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JDK_IMAGE_SUBDIR)
$(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JRE_IMAGE_SUBDIR)
$(CP) -R -P $(SRC_JDK_IMAGE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JDK_IMAGE_SUBDIR)/
$(CP) -R -P $(SRC_JRE_IMAGE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JRE_IMAGE_SUBDIR)/
ifeq ($(OPENJDK_TARGET_OS),macosx)
$(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JDK_BUNDLE_SUBDIR)
$(MKDIR) -p $(BUILD_OUTPUT)/final-images/$(JRE_BUNDLE_SUBDIR)
$(CP) -R -P $(SRC_JDK_BUNDLE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JDK_BUNDLE_SUBDIR)/
$(CP) -R -P $(SRC_JRE_BUNDLE_DIR)/* $(BUILD_OUTPUT)/final-images/$(JRE_BUNDLE_SUBDIR)/
endif
endif
@$(call TargetExit)
@$(call TargetExit)
# Keep track of phony targets
# Keep track of phony targets
PHONY_LIST += jprt_build_product jprt_build_fastdebug jprt_build_debug \
PHONY_LIST += jprt_build_product jprt_build_fastdebug jprt_build_debug \
jprt_build_generic bundles jprt_bundle
jprt_build_generic bundles jprt_bundle \
final-images final-images-only
###########################################################################
###########################################################################
# Phony targets
# Phony targets
...
...
common/makefiles/Main.gmk
浏览文件 @
c956b01a
...
@@ -75,7 +75,14 @@ ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_BITS),solaris-64)
...
@@ -75,7 +75,14 @@ ifeq ($(OPENJDK_TARGET_OS)-$(OPENJDK_TARGET_CPU_BITS),solaris-64)
all: overlay-images
all: overlay-images
endif
endif
start-make:
# Setup a rule for SPEC file that fails if executed. This check makes sure the configuration
# is up to date after changes to configure
$(SPEC): $(wildcard $(SRC_ROOT)/common/autoconf/*)
@$(ECHO) ERROR: $(SPEC) is not up to date
@$(ECHO) Please rerun configure!
@if test "x$(IGNORE_OLD_CONFIG)" != "xtrue"; then exit 1; fi
start-make: $(SPEC)
@$(call AtMakeStart)
@$(call AtMakeStart)
langtools: langtools-only
langtools: langtools-only
...
...
common/makefiles/javadoc/Javadoc.gmk
浏览文件 @
c956b01a
...
@@ -46,14 +46,11 @@ HOTSPOT_DOCS_IMPORT_PATH=$(HOTSPOT_OUTPUTDIR)/docs
...
@@ -46,14 +46,11 @@ HOTSPOT_DOCS_IMPORT_PATH=$(HOTSPOT_OUTPUTDIR)/docs
BUILD_NUMBER=$(JDK_BUILD_NUMBER)
BUILD_NUMBER=$(JDK_BUILD_NUMBER)
BOOT_JAVA_CMD=$(JAVA)
JAVADOC_CMD = $(JAVA) \
JAVADOC_JAR = $(LANGTOOLS_DIST)/bootstrap/lib/javadoc.jar
JAVADOC_CMD = $(BOOT_JAVA_CMD) \
-Xmx1024m \
-Xmx1024m \
-Djava.awt.headless=true \
-Djava.awt.headless=true \
"-Xbootclasspath/p:$(JAVADOC_JAR)"
\
$(NEW_JAVADOC)
\
-jar $(JAVADOC_JAR)
-bootclasspath $(JDK_OUTPUTDIR)/classes
-bootclasspath $(JDK_OUTPUTDIR)/classes
# Copyright year for beginning of Java and some of the apis
# Copyright year for beginning of Java and some of the apis
# (Needed when creating the javadocs)
# (Needed when creating the javadocs)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录