Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell11
提交
468cc379
D
dragonwell11
项目概览
openanolis
/
dragonwell11
通知
7
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell11
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
468cc379
编写于
10月 16, 2013
作者:
K
katleman
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
ed9113fe
0c8ba6a2
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
26 addition
and
26 deletion
+26
-26
jaxp/makefiles/BuildJaxp.gmk
jaxp/makefiles/BuildJaxp.gmk
+19
-19
jaxp/makefiles/Makefile
jaxp/makefiles/Makefile
+7
-7
未找到文件。
jaxp/makefiles/BuildJaxp.gmk
浏览文件 @
468cc379
...
...
@@ -30,25 +30,25 @@ default: all
include MakeBase.gmk
include JavaCompilation.gmk
DISABLE_JAXP_WARNINGS
:=
-Xlint:all,-deprecation,-unchecked,-rawtypes,-cast,-serial,-dep-ann,-static,-fallthrough
DISABLE_JAXP_WARNINGS
:=
-Xlint:all,-deprecation,-unchecked,-rawtypes,-cast,-serial,-dep-ann,-static,-fallthrough
# The generate new bytecode uses the new compiler for to generate bytecode
# for the new jdk that is being built. The code compiled by this setup
# cannot necessarily be run with the boot jdk.
$(eval $(call SetupJavaCompiler,GENERATE_NEWBYTECODE_DEBUG,\
JVM:=$(JAVA),
\
JAVAC:=$(NEW_JAVAC),
\
FLAGS:=-XDignore.symbol.file=true $(DISABLE_JAXP_WARNINGS) -g,
\
SERVER_DIR:=$(SJAVAC_SERVER_DIR),
\
SERVER_JVM:=
$(SJAVAC_SERVER_JAVA)))
$(eval $(call SetupJavaCompiler,GENERATE_NEWBYTECODE_DEBUG,
\
JVM := $(JAVA),
\
JAVAC := $(NEW_JAVAC),
\
FLAGS := -XDignore.symbol.file=true $(DISABLE_JAXP_WARNINGS) -g,
\
SERVER_DIR := $(SJAVAC_SERVER_DIR),
\
SERVER_JVM :=
$(SJAVAC_SERVER_JAVA)))
$(eval $(call SetupJavaCompilation,BUILD_JAXP,\
SETUP:=GENERATE_NEWBYTECODE_DEBUG,
\
SRC:=$(JAXP_TOPDIR)/src,
\
BIN:=$(JAXP_OUTPUTDIR)/classes,
\
SRCZIP:=
$(JAXP_OUTPUTDIR)/dist/lib/src.zip))
$(eval $(call SetupJavaCompilation,BUILD_JAXP,
\
SETUP := GENERATE_NEWBYTECODE_DEBUG,
\
SRC := $(JAXP_TOPDIR)/src,
\
BIN := $(JAXP_OUTPUTDIR)/classes,
\
SRCZIP :=
$(JAXP_OUTPUTDIR)/dist/lib/src.zip))
# Imitate the property cleaning mechanism in the old build. This will likely be replaced
# Imitate the property cleaning mechanism in the old build. This will likely be replaced
# by the unified functionality in JavaCompilation.gmk, but keep it the same as old build
# for now, even though it actually breaks properties containing # in the value.
# Using nawk to avoid solaris sed.
...
...
@@ -59,13 +59,13 @@ $(JAXP_OUTPUTDIR)/classes/%.properties: $(JAXP_TOPDIR)/src/%.properties
$(MV) $@.tmp $@
SRC_PROP_FILES := $(shell $(FIND) $(JAXP_TOPDIR)/src -name "*.properties")
TARGET_PROP_FILES := $(patsubst $(JAXP_TOPDIR)/src/%,
$(JAXP_OUTPUTDIR)/classes/%,
$(SRC_PROP_FILES))
TARGET_PROP_FILES := $(patsubst $(JAXP_TOPDIR)/src/%,
$(JAXP_OUTPUTDIR)/classes/%,
$(SRC_PROP_FILES))
$(eval $(call SetupArchive,ARCHIVE_JAXP,
$(BUILD_JAXP) $(TARGET_PROP_FILES),
\
SRCS:=$(JAXP_OUTPUTDIR)/classes,
\
SUFFIXES:=.class .properties,
\
JAR:=
$(JAXP_OUTPUTDIR)/dist/lib/classes.jar))
$(eval $(call SetupArchive,ARCHIVE_JAXP,
$(BUILD_JAXP) $(TARGET_PROP_FILES),
\
SRCS := $(JAXP_OUTPUTDIR)/classes,
\
SUFFIXES := .class .properties,
\
JAR :=
$(JAXP_OUTPUTDIR)/dist/lib/classes.jar))
all: $(JAXP_OUTPUTDIR)/dist/lib/classes.jar $(JAXP_OUTPUTDIR)/dist/lib/src.zip
.PHONY: default all
.PHONY: default all
jaxp/makefiles/Makefile
浏览文件 @
468cc379
...
...
@@ -24,19 +24,19 @@
#
# Locate this Makefile
ifeq
($(filter /%,
$(lastword $(MAKEFILE_LIST))),
)
makefile_path
:=
$(CURDIR)
/
$(
lastword
$(MAKEFILE_LIST)
)
ifeq
($(filter /%,
$(lastword $(MAKEFILE_LIST))),
)
makefile_path
:=
$(CURDIR)
/
$(
lastword
$(MAKEFILE_LIST)
)
else
makefile_path
:=
$(
lastword
$(MAKEFILE_LIST)
)
makefile_path
:=
$(
lastword
$(MAKEFILE_LIST)
)
endif
repo_dir
:=
$(
patsubst
%/makefiles/Makefile,%,
$(makefile_path)
)
repo_dir
:=
$(
patsubst
%/makefiles/Makefile, %,
$(makefile_path)
)
# What is the name of this subsystem (langtools, corba, etc)?
subsystem_name
:=
$(
notdir
$(repo_dir)
)
subsystem_name
:=
$(
notdir
$(repo_dir)
)
# Try to locate top-level makefile
top_level_makefile
:=
$(repo_dir)
/../common/makefiles/Makefile
ifneq
($(wildcard $(top_level_makefile)),)
top_level_makefile
:=
$(repo_dir)
/../common/makefiles/Makefile
ifneq
($(wildcard $(top_level_makefile)),
)
$(info
Will
run
$(subsystem_name)
target
on
top-level
Makefile)
$(info WARNING
:
This is a non-recommended way of building!)
$(info
===================================================)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录