Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8
提交
3e4626ea
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看板
提交
3e4626ea
编写于
1月 02, 2013
作者:
E
erikj
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8005347: build-infra: Verify 'gnumake source' at the top level works ok
Reviewed-by: tbell, ohair, dholmes
上级
eca666dd
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
153 addition
and
57 deletion
+153
-57
common/autoconf/basics.m4
common/autoconf/basics.m4
+3
-1
common/autoconf/closed.version.numbers
common/autoconf/closed.version.numbers
+0
-32
common/autoconf/generated-configure.sh
common/autoconf/generated-configure.sh
+132
-12
common/autoconf/jdk-options.m4
common/autoconf/jdk-options.m4
+10
-8
common/autoconf/spec.gmk.in
common/autoconf/spec.gmk.in
+7
-3
common/autoconf/version-numbers
common/autoconf/version-numbers
+1
-1
未找到文件。
common/autoconf/basics.m4
浏览文件 @
3e4626ea
#
#
# Copyright (c) 2011, 201
2
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 201
3
, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# This code is free software; you can redistribute it and/or modify it
# This code is free software; you can redistribute it and/or modify it
...
@@ -234,7 +234,9 @@ BASIC_REQUIRE_PROG(BASH, bash)
...
@@ -234,7 +234,9 @@ BASIC_REQUIRE_PROG(BASH, bash)
BASIC_REQUIRE_PROG(CAT, cat)
BASIC_REQUIRE_PROG(CAT, cat)
BASIC_REQUIRE_PROG(CHMOD, chmod)
BASIC_REQUIRE_PROG(CHMOD, chmod)
BASIC_REQUIRE_PROG(CMP, cmp)
BASIC_REQUIRE_PROG(CMP, cmp)
BASIC_REQUIRE_PROG(COMM, comm)
BASIC_REQUIRE_PROG(CP, cp)
BASIC_REQUIRE_PROG(CP, cp)
BASIC_REQUIRE_PROG(CPIO, cpio)
BASIC_REQUIRE_PROG(CUT, cut)
BASIC_REQUIRE_PROG(CUT, cut)
BASIC_REQUIRE_PROG(DATE, date)
BASIC_REQUIRE_PROG(DATE, date)
BASIC_REQUIRE_PROG(DIFF, [gdiff diff])
BASIC_REQUIRE_PROG(DIFF, [gdiff diff])
...
...
common/autoconf/closed.version.numbers
已删除
100644 → 0
浏览文件 @
eca666dd
#
# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#
LAUNCHER_NAME=java
PRODUCT_NAME="Java(TM)"
PRODUCT_SUFFIX="SE Runtime Environment"
JDK_RC_PLATFORM_NAME="Platform SE"
COMPANY_NAME="Oracle Corporation"
# Might need better names for these
MACOSX_BUNDLE_NAME_BASE="Java SE"
MACOSX_BUNDLE_ID_BASE="com.oracle.java"
common/autoconf/generated-configure.sh
浏览文件 @
3e4626ea
...
@@ -754,7 +754,6 @@ JAVAC_CHECK
...
@@ -754,7 +754,6 @@ JAVAC_CHECK
COOKED_BUILD_NUMBER
COOKED_BUILD_NUMBER
USER_RELEASE_SUFFIX
USER_RELEASE_SUFFIX
JDK_VERSION
JDK_VERSION
RUNTIME_NAME
COPYRIGHT_YEAR
COPYRIGHT_YEAR
MACOSX_BUNDLE_ID_BASE
MACOSX_BUNDLE_ID_BASE
MACOSX_BUNDLE_NAME_BASE
MACOSX_BUNDLE_NAME_BASE
...
@@ -783,7 +782,6 @@ OS_VERSION_MICRO
...
@@ -783,7 +782,6 @@ OS_VERSION_MICRO
OS_VERSION_MINOR
OS_VERSION_MINOR
OS_VERSION_MAJOR
OS_VERSION_MAJOR
PKG_CONFIG
PKG_CONFIG
COMM
TIME
TIME
STAT
STAT
HG
HG
...
@@ -899,7 +897,9 @@ DIRNAME
...
@@ -899,7 +897,9 @@ DIRNAME
DIFF
DIFF
DATE
DATE
CUT
CUT
CPIO
CP
CP
COMM
CMP
CMP
CHMOD
CHMOD
CAT
CAT
...
@@ -2986,7 +2986,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
...
@@ -2986,7 +2986,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
# Include these first...
# Include these first...
#
#
# Copyright (c) 2011, 201
2
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 201
3
, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# This code is free software; you can redistribute it and/or modify it
# This code is free software; you can redistribute it and/or modify it
...
@@ -3401,7 +3401,7 @@ pkgadd_help() {
...
@@ -3401,7 +3401,7 @@ pkgadd_help() {
#
#
# Copyright (c) 2011, 201
2
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 201
3
, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# This code is free software; you can redistribute it and/or modify it
# This code is free software; you can redistribute it and/or modify it
...
@@ -3433,6 +3433,10 @@ pkgadd_help() {
...
@@ -3433,6 +3433,10 @@ pkgadd_help() {
###############################################################################
#
# Setup version numbers
#
...
@@ -3682,7 +3686,7 @@ fi
...
@@ -3682,7 +3686,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=1357
045896
DATE_WHEN_GENERATED=1357
120071
###############################################################################
###############################################################################
#
#
...
@@ -4009,6 +4013,65 @@ $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
...
@@ -4009,6 +4013,65 @@ $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
for ac_prog in comm
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_path_COMM+set}" = set; then :
$as_echo_n "(cached) " >&6
else
case $COMM in
[\\/]* | ?:[\\/]*)
ac_cv_path_COMM="$COMM" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_COMM="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
COMM=$ac_cv_path_COMM
if test -n "$COMM"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $COMM" >&5
$as_echo "$COMM" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
test -n "$COMM" && break
done
if test "x$COMM" = x; then
if test "xcomm" = x; then
PROG_NAME=comm
else
PROG_NAME=comm
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
$as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
as_fn_error $? "Cannot continue" "$LINENO" 5
fi
for ac_prog in cp
for ac_prog in cp
do
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
# Extract the first word of "$ac_prog", so it can be a program name with args.
...
@@ -4068,6 +4131,65 @@ $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
...
@@ -4068,6 +4131,65 @@ $as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
for ac_prog in cpio
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
$as_echo_n "checking for $ac_word... " >&6; }
if test "${ac_cv_path_CPIO+set}" = set; then :
$as_echo_n "(cached) " >&6
else
case $CPIO in
[\\/]* | ?:[\\/]*)
ac_cv_path_CPIO="$CPIO" # Let the user override the test with a path.
;;
*)
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
for as_dir in $PATH
do
IFS=$as_save_IFS
test -z "$as_dir" && as_dir=.
for ac_exec_ext in '' $ac_executable_extensions; do
if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
ac_cv_path_CPIO="$as_dir/$ac_word$ac_exec_ext"
$as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
break 2
fi
done
done
IFS=$as_save_IFS
;;
esac
fi
CPIO=$ac_cv_path_CPIO
if test -n "$CPIO"; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPIO" >&5
$as_echo "$CPIO" >&6; }
else
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
fi
test -n "$CPIO" && break
done
if test "x$CPIO" = x; then
if test "xcpio" = x; then
PROG_NAME=cpio
else
PROG_NAME=cpio
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: Could not find $PROG_NAME!" >&5
$as_echo "$as_me: Could not find $PROG_NAME!" >&6;}
as_fn_error $? "Cannot continue" "$LINENO" 5
fi
for ac_prog in cut
for ac_prog in cut
do
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
# Extract the first word of "$ac_prog", so it can be a program name with args.
...
@@ -10607,11 +10729,9 @@ COMPRESS_JARS=false
...
@@ -10607,11 +10729,9 @@ COMPRESS_JARS=false
# Source the version numbers
# Source the version numbers
. $AUTOCONF_DIR/version.numbers
. $AUTOCONF_DIR/version-numbers
if test "x$OPENJDK" = "xfalse"; then
. $AUTOCONF_DIR/closed.version.numbers
fi
# Get the settings from parameters
# Check whether --with-milestone was given.
# Check whether --with-milestone was given.
if test "${with_milestone+set}" = set; then :
if test "${with_milestone+set}" = set; then :
...
@@ -10637,6 +10757,9 @@ if test "x$with_build_number" = xyes; then
...
@@ -10637,6 +10757,9 @@ if test "x$with_build_number" = xyes; then
elif test "x$with_build_number" != x; then
elif test "x$with_build_number" != x; then
JDK_BUILD_NUMBER="$with_build_number"
JDK_BUILD_NUMBER="$with_build_number"
fi
fi
if test "x$JDK_BUILD_NUMBER" = x; then
JDK_BUILD_NUMBER=b00
fi
# Now set the JDK version, milestone, build number etc.
# Now set the JDK version, milestone, build number etc.
...
@@ -10656,9 +10779,6 @@ fi
...
@@ -10656,9 +10779,6 @@ fi
COPYRIGHT_YEAR=`date +'%Y'`
COPYRIGHT_YEAR=`date +'%Y'`
RUNTIME_NAME="$PRODUCT_NAME $PRODUCT_SUFFIX"
if test "x$JDK_UPDATE_VERSION" != x; then
if test "x$JDK_UPDATE_VERSION" != x; then
JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}_${JDK_UPDATE_VERSION}"
JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}_${JDK_UPDATE_VERSION}"
else
else
common/autoconf/jdk-options.m4
浏览文件 @
3e4626ea
#
#
# Copyright (c) 2011, 201
2
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 201
3
, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# This code is free software; you can redistribute it and/or modify it
# This code is free software; you can redistribute it and/or modify it
...
@@ -369,14 +369,16 @@ COMPRESS_JARS=false
...
@@ -369,14 +369,16 @@ COMPRESS_JARS=false
AC_SUBST(COMPRESS_JARS)
AC_SUBST(COMPRESS_JARS)
])
])
###############################################################################
#
# Setup version numbers
#
AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VERSION_NUMBERS],
AC_DEFUN_ONCE([JDKOPT_SETUP_JDK_VERSION_NUMBERS],
[
[
# Source the version numbers
# Source the version numbers
. $AUTOCONF_DIR/version.numbers
. $AUTOCONF_DIR/version-numbers
if test "x$OPENJDK" = "xfalse"; then
. $AUTOCONF_DIR/closed.version.numbers
fi
# Get the settings from parameters
AC_ARG_WITH(milestone, [AS_HELP_STRING([--with-milestone],
AC_ARG_WITH(milestone, [AS_HELP_STRING([--with-milestone],
[Set milestone value for build @<:@internal@:>@])])
[Set milestone value for build @<:@internal@:>@])])
if test "x$with_milestone" = xyes; then
if test "x$with_milestone" = xyes; then
...
@@ -394,6 +396,9 @@ if test "x$with_build_number" = xyes; then
...
@@ -394,6 +396,9 @@ if test "x$with_build_number" = xyes; then
elif test "x$with_build_number" != x; then
elif test "x$with_build_number" != x; then
JDK_BUILD_NUMBER="$with_build_number"
JDK_BUILD_NUMBER="$with_build_number"
fi
fi
if test "x$JDK_BUILD_NUMBER" = x; then
JDK_BUILD_NUMBER=b00
fi
# Now set the JDK version, milestone, build number etc.
# Now set the JDK version, milestone, build number etc.
AC_SUBST(JDK_MAJOR_VERSION)
AC_SUBST(JDK_MAJOR_VERSION)
...
@@ -413,9 +418,6 @@ AC_SUBST(MACOSX_BUNDLE_ID_BASE)
...
@@ -413,9 +418,6 @@ AC_SUBST(MACOSX_BUNDLE_ID_BASE)
COPYRIGHT_YEAR=`date +'%Y'`
COPYRIGHT_YEAR=`date +'%Y'`
AC_SUBST(COPYRIGHT_YEAR)
AC_SUBST(COPYRIGHT_YEAR)
RUNTIME_NAME="$PRODUCT_NAME $PRODUCT_SUFFIX"
AC_SUBST(RUNTIME_NAME)
if test "x$JDK_UPDATE_VERSION" != x; then
if test "x$JDK_UPDATE_VERSION" != x; then
JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}_${JDK_UPDATE_VERSION}"
JDK_VERSION="${JDK_MAJOR_VERSION}.${JDK_MINOR_VERSION}.${JDK_MICRO_VERSION}_${JDK_UPDATE_VERSION}"
else
else
...
...
common/autoconf/spec.gmk.in
浏览文件 @
3e4626ea
#
#
# Copyright (c) 2011, 201
2
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 201
3
, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# This code is free software; you can redistribute it and/or modify it
# This code is free software; you can redistribute it and/or modify it
...
@@ -163,8 +163,7 @@ MACOSX_BUNDLE_ID_BASE=@MACOSX_BUNDLE_ID_BASE@
...
@@ -163,8 +163,7 @@ MACOSX_BUNDLE_ID_BASE=@MACOSX_BUNDLE_ID_BASE@
# Different version strings generated from the above information.
# Different version strings generated from the above information.
JDK_VERSION:=@JDK_VERSION@
JDK_VERSION:=@JDK_VERSION@
RUNTIME_NAME:=@RUNTIME_NAME@
RUNTIME_NAME=$(PRODUCT_NAME) $(PRODUCT_SUFFIX)
JRE_RELEASE_VERSION:=@FULL_VERSION@
COOKED_BUILD_NUMBER:=@COOKED_BUILD_NUMBER@
COOKED_BUILD_NUMBER:=@COOKED_BUILD_NUMBER@
# These variables need to be generated here so that MILESTONE and
# These variables need to be generated here so that MILESTONE and
# JDK_BUILD_NUMBER can be overridden on the make command line.
# JDK_BUILD_NUMBER can be overridden on the make command line.
...
@@ -179,6 +178,7 @@ ifeq ($(JDK_BUILD_NUMBER),b00)
...
@@ -179,6 +178,7 @@ ifeq ($(JDK_BUILD_NUMBER),b00)
else
else
FULL_VERSION=$(RELEASE)-$(JDK_BUILD_NUMBER)
FULL_VERSION=$(RELEASE)-$(JDK_BUILD_NUMBER)
endif
endif
JRE_RELEASE_VERSION:=$(FULL_VERSION)
# How to compile the code: release, fastdebug or slowdebug
# How to compile the code: release, fastdebug or slowdebug
DEBUG_LEVEL:=@DEBUG_LEVEL@
DEBUG_LEVEL:=@DEBUG_LEVEL@
...
@@ -451,10 +451,13 @@ CCACHE:=@CCACHE@
...
@@ -451,10 +451,13 @@ CCACHE:=@CCACHE@
# CD is going away, but remains to cater for legacy makefiles.
# CD is going away, but remains to cater for legacy makefiles.
CD:=cd
CD:=cd
CHMOD:=@CHMOD@
CHMOD:=@CHMOD@
COMM:=@COMM@
CP:=@CP@
CP:=@CP@
CPIO:=@CPIO@
CUT:=@CUT@
CUT:=@CUT@
DATE:=@DATE@
DATE:=@DATE@
DIFF:=@DIFF@
DIFF:=@DIFF@
DIRNAME:=@DIRNAME@
FIND:=@FIND@
FIND:=@FIND@
FIND_DELETE:=@FIND_DELETE@
FIND_DELETE:=@FIND_DELETE@
ECHO:=@ECHO@
ECHO:=@ECHO@
...
@@ -479,6 +482,7 @@ TEE:=@TEE@
...
@@ -479,6 +482,7 @@ TEE:=@TEE@
TIME:=@TIME@
TIME:=@TIME@
TR:=@TR@
TR:=@TR@
TOUCH:=@TOUCH@
TOUCH:=@TOUCH@
UNIQ:=@UNIQ@
WC:=@WC@
WC:=@WC@
XARGS:=@XARGS@
XARGS:=@XARGS@
ZIPEXE:=@ZIP@
ZIPEXE:=@ZIP@
...
...
common/autoconf/version
.
numbers
→
common/autoconf/version
-
numbers
浏览文件 @
3e4626ea
#
#
# Copyright (c) 2011, 201
2
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2011, 201
3
, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
#
# This code is free software; you can redistribute it and/or modify it
# This code is free software; you can redistribute it and/or modify it
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录