Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
eb182394
D
dragonwell8_jdk
项目概览
openanolis
/
dragonwell8_jdk
通知
4
Star
2
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dragonwell8_jdk
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
eb182394
编写于
10月 17, 2013
作者:
L
lana
浏览文件
操作
浏览文件
下载
差异文件
Merge
上级
4e827953
02e4fb21
变更
69
展开全部
隐藏空白更改
内联
并排
Showing
69 changed file
with
8199 addition
and
7559 deletion
+8199
-7559
.hgtags
.hgtags
+1
-0
make/common/shared/Compiler-msvc.gmk
make/common/shared/Compiler-msvc.gmk
+1
-1
make/common/shared/Defs-versions.gmk
make/common/shared/Defs-versions.gmk
+7
-15
make/common/shared/Sanity.gmk
make/common/shared/Sanity.gmk
+4
-19
make/tools/manifest.mf
make/tools/manifest.mf
+1
-1
makefiles/BuildJdk.gmk
makefiles/BuildJdk.gmk
+19
-19
makefiles/Bundles.gmk
makefiles/Bundles.gmk
+58
-58
makefiles/CompileDemos.gmk
makefiles/CompileDemos.gmk
+271
-270
makefiles/CompileJavaClasses.gmk
makefiles/CompileJavaClasses.gmk
+255
-255
makefiles/CompileLaunchers.gmk
makefiles/CompileLaunchers.gmk
+352
-352
makefiles/CompileNativeLibraries.gmk
makefiles/CompileNativeLibraries.gmk
+2759
-2757
makefiles/CopyFiles.gmk
makefiles/CopyFiles.gmk
+158
-159
makefiles/CopyIntoClasses.gmk
makefiles/CopyIntoClasses.gmk
+74
-74
makefiles/CopySamples.gmk
makefiles/CopySamples.gmk
+7
-7
makefiles/CreateJars.gmk
makefiles/CreateJars.gmk
+544
-544
makefiles/GenerateClasses.gmk
makefiles/GenerateClasses.gmk
+31
-31
makefiles/GenerateData.gmk
makefiles/GenerateData.gmk
+6
-6
makefiles/GenerateSources.gmk
makefiles/GenerateSources.gmk
+18
-18
makefiles/Images.gmk
makefiles/Images.gmk
+399
-395
makefiles/Import.gmk
makefiles/Import.gmk
+57
-57
makefiles/Makefile
makefiles/Makefile
+7
-7
makefiles/PatchList.solaris
makefiles/PatchList.solaris
+1
-2
makefiles/ProfileNames.gmk
makefiles/ProfileNames.gmk
+3
-4
makefiles/Profiles.gmk
makefiles/Profiles.gmk
+83
-84
makefiles/Setup.gmk
makefiles/Setup.gmk
+22
-22
makefiles/SignJars.gmk
makefiles/SignJars.gmk
+22
-22
makefiles/Tools.gmk
makefiles/Tools.gmk
+90
-91
makefiles/gendata/GendataBreakIterator.gmk
makefiles/gendata/GendataBreakIterator.gmk
+29
-29
makefiles/gendata/GendataFontConfig.gmk
makefiles/gendata/GendataFontConfig.gmk
+19
-20
makefiles/gendata/GendataHtml32dtd.gmk
makefiles/gendata/GendataHtml32dtd.gmk
+1
-1
makefiles/gendata/GendataTZDB.gmk
makefiles/gendata/GendataTZDB.gmk
+1
-1
makefiles/gendata/GendataTimeZone.gmk
makefiles/gendata/GendataTimeZone.gmk
+2
-2
makefiles/gensrc/GensrcBuffer.gmk
makefiles/gensrc/GensrcBuffer.gmk
+380
-0
makefiles/gensrc/GensrcCLDR.gmk
makefiles/gensrc/GensrcCLDR.gmk
+2
-2
makefiles/gensrc/GensrcCharacterData.gmk
makefiles/gensrc/GensrcCharacterData.gmk
+19
-19
makefiles/gensrc/GensrcCharsetCoder.gmk
makefiles/gensrc/GensrcCharsetCoder.gmk
+107
-0
makefiles/gensrc/GensrcCharsetMapping.gmk
makefiles/gensrc/GensrcCharsetMapping.gmk
+15
-16
makefiles/gensrc/GensrcExceptions.gmk
makefiles/gensrc/GensrcExceptions.gmk
+7
-7
makefiles/gensrc/GensrcIcons.gmk
makefiles/gensrc/GensrcIcons.gmk
+31
-32
makefiles/gensrc/GensrcJDWP.gmk
makefiles/gensrc/GensrcJDWP.gmk
+6
-6
makefiles/gensrc/GensrcJObjC.gmk
makefiles/gensrc/GensrcJObjC.gmk
+32
-32
makefiles/gensrc/GensrcLocaleDataMetaInfo.gmk
makefiles/gensrc/GensrcLocaleDataMetaInfo.gmk
+32
-32
makefiles/gensrc/GensrcMisc.gmk
makefiles/gensrc/GensrcMisc.gmk
+240
-0
makefiles/gensrc/GensrcProperties.gmk
makefiles/gensrc/GensrcProperties.gmk
+395
-0
makefiles/gensrc/GensrcSwing.gmk
makefiles/gensrc/GensrcSwing.gmk
+24
-24
makefiles/gensrc/GensrcX11Wrappers.gmk
makefiles/gensrc/GensrcX11Wrappers.gmk
+36
-37
makefiles/jpda/jdwp/jdwp.spec
makefiles/jpda/jdwp/jdwp.spec
+1170
-1172
makefiles/jprt.gmk
makefiles/jprt.gmk
+6
-7
makefiles/jprt.properties
makefiles/jprt.properties
+247
-248
makefiles/mapfiles/libawt/mapfile-mawt-vers
makefiles/mapfiles/libawt/mapfile-mawt-vers
+3
-4
makefiles/mapfiles/libawt/mapfile-vers
makefiles/mapfiles/libawt/mapfile-vers
+4
-5
makefiles/mapfiles/libawt/mapfile-vers-linux
makefiles/mapfiles/libawt/mapfile-vers-linux
+6
-7
makefiles/mapfiles/libawt_headless/mapfile-vers
makefiles/mapfiles/libawt_headless/mapfile-vers
+1
-2
makefiles/mapfiles/libawt_xawt/mapfile-vers
makefiles/mapfiles/libawt_xawt/mapfile-vers
+1
-1
makefiles/mapfiles/libfontmanager/mapfile-vers
makefiles/mapfiles/libfontmanager/mapfile-vers
+1
-1
makefiles/mapfiles/libfontmanager/mapfile-vers.openjdk
makefiles/mapfiles/libfontmanager/mapfile-vers.openjdk
+1
-1
makefiles/mapfiles/libj2pcsc/mapfile-vers
makefiles/mapfiles/libj2pcsc/mapfile-vers
+1
-1
makefiles/mapfiles/libjdga/mapfile-vers
makefiles/mapfiles/libjdga/mapfile-vers
+1
-1
makefiles/mapfiles/libjli/mapfile-vers
makefiles/mapfiles/libjli/mapfile-vers
+1
-1
makefiles/mapfiles/libverify/mapfile-vers
makefiles/mapfiles/libverify/mapfile-vers
+1
-1
makefiles/profile-includes.txt
makefiles/profile-includes.txt
+0
-1
makefiles/profile-rtjar-includes.txt
makefiles/profile-rtjar-includes.txt
+34
-36
makefiles/scripts/addNotices.sh
makefiles/scripts/addNotices.sh
+3
-3
makefiles/scripts/genCharsetProvider.sh
makefiles/scripts/genCharsetProvider.sh
+40
-40
makefiles/scripts/genExceptions.sh
makefiles/scripts/genExceptions.sh
+2
-2
makefiles/scripts/localelist.sh
makefiles/scripts/localelist.sh
+47
-50
makefiles/sun/awt/ToBin.java
makefiles/sun/awt/ToBin.java
+1
-1
src/solaris/doc/sun/man/man1/ja/javaws.1
src/solaris/doc/sun/man/man1/ja/javaws.1
+0
-222
src/solaris/doc/sun/man/man1/javaws.1
src/solaris/doc/sun/man/man1/javaws.1
+0
-222
未找到文件。
.hgtags
浏览文件 @
eb182394
...
...
@@ -233,3 +233,4 @@ eea685b9ccaa1980e0a7e07d6a3a84bcc7e9ab82 jdk8-b107
946f3fd5f8bf0ccd180c258d25e5837fa1bf004c jdk8-b109
54e099776f08430d3a7f4feabd9f2ba886b55320 jdk8-b110
719befd87c7b96ae103c05730ca555227bfc0116 jdk8-b111
f002f5f3a16cca62e139cb8eed05ffaeb373587d jdk8-b112
make/common/shared/Compiler-msvc.gmk
浏览文件 @
eb182394
...
...
@@ -53,7 +53,7 @@ ifndef CONFIGURE_BUILD
# The VS2010 compiler is the same one used on both 32bit and 64bit
ifeq ($(CC_MAJORVER), 16)
COMPILER_NAME=Microsoft Visual Studio 10 (16.00.
303
19.01)
COMPILER_NAME=Microsoft Visual Studio 10 (16.00.
402
19.01)
COMPILER_VERSION=VS2010
ifeq ($(WINDOWSSDKDIR),)
WINDOWSSDKDIR := $(error WINDOWSSDKDIR cannot be empty here)
...
...
make/common/shared/Defs-versions.gmk
浏览文件 @
eb182394
...
...
@@ -86,19 +86,17 @@ endif
# REQUIRED_MAKE_VER
# The minimum version of GNU make.
#
# REQUIRED_MKS_VER
# Windows only: If MKS used instead of CYGWIN, the minimum version of MKS.
#
# REQUIRED_OS_VARIANT_NAME
# The OS variation name required.
# Solaris: Solaris or OpenSolaris
# Windows: Windows2000, WindowsXP, Windows2003, etc.
# Windows: Windows2000, WindowsXP, Windows2003,
Windows2008R2,
etc.
# Linux: Fedora, RedHat, SuSE, Ubuntu, etc.
#
# REQUIRED_OS_VARIANT_VERSION
# The version number associated with the above OS variant name.
# Solaris: output of uname -r
# Windows: 5.0 for Windows2000, 5.1 for WindowsXP, 5.2 for Windows2003, etc.
# Windows: 5.0 for Windows2000, 5.1 for WindowsXP,
# 5.2 for Windows2003, 6.1 for Windows2008R2, etc.
# Linux: number for the variant, e.g. 9 for Fedora 9
#
# REQUIRED_OS_VERSION
...
...
@@ -180,21 +178,15 @@ endif
# Windows specific
ifeq ($(PLATFORM), windows)
REQUIRED_OS_NAME = Windows
ifeq ($(ARCH_DATA_MODEL),64)
REQUIRED_OS_VERSION = 5.2
REQUIRED_OS_VARIANT_NAME = Windows2003
else
REQUIRED_OS_VERSION = 5.1
REQUIRED_OS_VARIANT_NAME = WindowsXP
endif
REQUIRED_OS_VERSION = 6.1
REQUIRED_OS_VARIANT_NAME = Windows2008R2
REQUIRED_OS_VARIANT_VERSION = $(REQUIRED_OS_VERSION)
REQUIRED_CYGWIN_VER = 4.0
REQUIRED_MKS_VER = 6.1
ifeq ($(CC_VERSION),msvc)
REQUIRED_COMPILER_NAME = Visual Studio 10
REQUIRED_COMPILER_VERSION = VS2010
REQUIRED_CC_VER = 16.00.
303
19.01
REQUIRED_LINK_VER = 10.00.
303
19.01
REQUIRED_CC_VER = 16.00.
402
19.01
REQUIRED_LINK_VER = 10.00.
402
19.01
endif
ifeq ($(CC_VERSION),gcc)
REQUIRED_CC_VER = 3.4.3
...
...
make/common/shared/Sanity.gmk
浏览文件 @
eb182394
...
...
@@ -121,11 +121,13 @@ ifeq ($(PLATFORM), macosx)
endif
ifeq ($(PLATFORM), windows)
# Windows 2000 is 5.0, Windows XP is 5.1, Windows 2003 is 5.2
# Windows 2000 is 5.0, Windows XP is 5.1,
# Windows 2003 is 5.2, Windows 7 and 2008R2 are 6.1
# Assume 5.0 (Windows 2000) if systeminfo does not help
WINDOWS_MAPPING-5.0 := Windows2000
WINDOWS_MAPPING-5.1 := WindowsXP
WINDOWS_MAPPING-5.2 := Windows2003
WINDOWS_MAPPING-6.1 := Windows2008R2
# What kind of system we are using (Variation is the common name)
_OS_VERSION := \
$(shell systeminfo 2> $(DEV_NULL) | \
...
...
@@ -180,7 +182,6 @@ include $(JDK_MAKE_SHARED_DIR)/Sanity-Settings.gmk
sane-linux \
sane-cygwin \
sane-cygwin-shell \
sane-mks \
sane-arch_data_model \
sane-os_patch_level \
sane-classpath \
...
...
@@ -317,7 +318,7 @@ ifndef OPENJDK
endif # OPENJDK
ifeq ($(PLATFORM), windows)
sane-os_version:: sane-cygwin sane-
mks sane-
cygwin-shell
sane-os_version:: sane-cygwin sane-cygwin-shell
endif
######################################################
...
...
@@ -386,22 +387,6 @@ sane-cygwin-shell:
endif
endif
######################################################
# Check the Windows mks version
######################################################
ifeq ($(PLATFORM), windows)
MKS_CHECK :=$(call CheckVersions,$(MKS_VER),$(REQUIRED_MKS_VER))
sane-mks:
ifdef USING_MKS
ifeq ($(MKS_CHECK),missing)
@$(call OfficialErrorMessage,MKS version,$(MKS_VER),$(REQUIRED_MKS_VER))
endif
ifeq ($(MKS_CHECK),older)
@$(call OfficialErrorMessage,MKS version,$(MKS_VER),$(REQUIRED_MKS_VER))
endif
endif
endif
######################################################
# Get list of installed patches (this file has a particular format)
######################################################
...
...
make/tools/manifest.mf
浏览文件 @
eb182394
Manifest-Version: 1.0
Specification-Title: Java Platform API Specification
Specification-Version: 1.
7
Specification-Version: 1.
8
Specification-Vendor: Oracle Corporation
Implementation-Title: Java Runtime Environment
Implementation-Version: @@RELEASE@@
...
...
makefiles/BuildJdk.gmk
浏览文件 @
eb182394
...
...
@@ -47,13 +47,13 @@ include ProfileNames.gmk
import: import-only
import-only:
#
Import (corba jaxp jaxws langtools hotspot)
#
Import (corba jaxp jaxws langtools hotspot)
+$(MAKE) -f Import.gmk
gensrc: import gensrc-only
gensrc-only:
+$(MAKE) -f Generate
Java
Sources.gmk
#
Ok, now gensrc is fully populated.
+$(MAKE) -f GenerateSources.gmk
#
Ok, now gensrc is fully populated.
gendata: gensrc gendata-only
gendata-only:
...
...
@@ -62,8 +62,8 @@ gendata-only:
classes: gendata classes-only
classes-only:
+$(MAKE) -f CompileJavaClasses.gmk
#
The classes are now built and
#
any javah files have now been generated.
#
The classes are now built and
#
any javah files have now been generated.
libs: classes libs-only
libs-only:
...
...
@@ -71,23 +71,23 @@ libs-only:
launchers: libs launchers-only
launchers-only:
#
Finally compile the launchers.
#
Finally compile the launchers.
+$(MAKE) -f CompileLaunchers.gmk
genclasses: launchers genclasses-only
genclasses-only:
#
Generate classes that have other sources. Needs
#
to execute launchers.
#
Generate classes that have other sources. Needs
#
to execute launchers.
+$(MAKE) -f GenerateClasses.gmk
jdk: genclasses
#
Now we have a complete jdk, which you can run.
#
It is not yet wrapped up as an installed image.
#
Now we have a complete jdk, which you can run.
#
It is not yet wrapped up as an installed image.
demos:
#
The demos are compiled against this jdk.
#
The demos are compiled against this jdk.
+$(MAKE) -f CompileDemos.gmk
#
Now copy the sample sources into the jdk.
#
Now copy the sample sources into the jdk.
+$(MAKE) -f CopySamples.gmk
# Create the final jdk and jre images, to be wrapped up
...
...
@@ -96,9 +96,9 @@ demos:
images:
+$(MAKE) PROFILE="" -f CreateJars.gmk
+$(MAKE) PROFILE="" -f Images.gmk
ifeq ($(OPENJDK_TARGET_OS), macosx)
+$(MAKE) -f Bundles.gmk
endif
ifeq ($(OPENJDK_TARGET_OS), macosx)
+$(MAKE) -f Bundles.gmk
endif
overlay-images:
+$(MAKE) -f CompileLaunchers.gmk OVERLAY_IMAGES=true
...
...
@@ -114,8 +114,8 @@ profiles: $(ALL_PROFILES)
sign-jars:
+$(MAKE) -f SignJars.gmk
BINARIES
:=
$(notdir $(wildcard $(JDK_IMAGE_DIR)/bin/*))
INSTALLDIR
:=
openjdk-$(RELEASE)
BINARIES
:=
$(notdir $(wildcard $(JDK_IMAGE_DIR)/bin/*))
INSTALLDIR
:=
openjdk-$(RELEASE)
# Install the jdk image, in a very crude way. Not taking into
# account, how to install properly on macosx or windows etc.
...
...
@@ -126,8 +126,8 @@ install:
$(RM) -r $(INSTALL_PREFIX)/jvm/$(INSTALLDIR)/*
$(CP) -rp $(JDK_IMAGE_DIR)/* $(INSTALL_PREFIX)/jvm/$(INSTALLDIR)
$(MKDIR) -p $(INSTALL_PREFIX)/bin
$(RM) $(addprefix $(INSTALL_PREFIX)/bin/,$(BINARIES))
$(foreach b,
$(BINARIES),
$(LN) -s $(INSTALL_PREFIX)/jvm/$(INSTALLDIR)/bin/$b $(INSTALL_PREFIX)/bin/$b &&) true
$(RM) $(addprefix $(INSTALL_PREFIX)/bin/,
$(BINARIES))
$(foreach b,
$(BINARIES),
$(LN) -s $(INSTALL_PREFIX)/jvm/$(INSTALLDIR)/bin/$b $(INSTALL_PREFIX)/bin/$b &&) true
# The all target builds the JDK, but not the images
all: jdk
...
...
makefiles/Bundles.gmk
浏览文件 @
eb182394
...
...
@@ -31,108 +31,108 @@ default: bundles
# Only macosx has bundles defined.
ifeq ($(OPENJDK_TARGET_OS), macosx)
bundles: jre-bundle jdk-bundle
bundles: jre-bundle jdk-bundle
# JDK_BUNDLE_DIR and JRE_BUNDLE_DIR are defined in SPEC.
# JDK_BUNDLE_DIR and JRE_BUNDLE_DIR are defined in SPEC.
MACOSX_SRC := $(JDK_TOPDIR)/src/macosx
MACOSX_SRC := $(JDK_TOPDIR)/src/macosx
# All these OPENJDK checks are needed since there is no coherency between
# these values in open and closed. Should probably be fixed.
ifndef OPENJDK
# All these OPENJDK checks are needed since there is no coherency between
# these values in open and closed. Should probably be fixed.
ifndef OPENJDK
BUNDLE_ID := $(MACOSX_BUNDLE_ID_BASE).$(JDK_MINOR_VERSION)u$(JDK_UPDATE_VERSION)
else
else
BUNDLE_ID := $(MACOSX_BUNDLE_ID_BASE)
endif
BUNDLE_ID_JRE := $(BUNDLE_ID).jre
BUNDLE_ID_JDK := $(BUNDLE_ID).jdk
endif
BUNDLE_ID_JRE := $(BUNDLE_ID).jre
BUNDLE_ID_JDK := $(BUNDLE_ID).jdk
BUNDLE_NAME := $(MACOSX_BUNDLE_NAME_BASE) $(JDK_MINOR_VERSION)
BUNDLE_NAME_JRE := $(BUNDLE_NAME)
BUNDLE_NAME_JDK := $(BUNDLE_NAME)
BUNDLE_NAME := $(MACOSX_BUNDLE_NAME_BASE) $(JDK_MINOR_VERSION)
BUNDLE_NAME_JRE := $(BUNDLE_NAME)
BUNDLE_NAME_JDK := $(BUNDLE_NAME)
ifndef OPENJDK
ifndef OPENJDK
BUNDLE_INFO := $(MACOSX_BUNDLE_NAME_BASE) $(JDK_VERSION)
else
else
BUNDLE_INFO := $(MACOSX_BUNDLE_NAME_BASE) ($(JDK_VERSION))
endif
BUNDLE_INFO_JRE := $(BUNDLE_INFO)
BUNDLE_INFO_JDK := $(BUNDLE_INFO)
endif
BUNDLE_INFO_JRE := $(BUNDLE_INFO)
BUNDLE_INFO_JDK := $(BUNDLE_INFO)
BUNDLE_PLATFORM_VERSION := $(JDK_MAJOR_VERSION).$(JDK_MINOR_VERSION)
BUNDLE_VERSION := $(JDK_VERSION)
ifeq ($(COMPANY_NAME),
N/A)
BUNDLE_PLATFORM_VERSION := $(JDK_MAJOR_VERSION).$(JDK_MINOR_VERSION)
BUNDLE_VERSION := $(JDK_VERSION)
ifeq ($(COMPANY_NAME),
N/A)
BUNDLE_VENDOR := UNDEFINED
else
else
BUNDLE_VENDOR := $(COMPANY_NAME)
endif
endif
JDK_FILE_LIST := $(shell $(FIND) $(JDK_IMAGE_DIR))
JRE_FILE_LIST := $(shell $(FIND) $(JRE_IMAGE_DIR))
JDK_FILE_LIST := $(shell $(FIND) $(JDK_IMAGE_DIR))
JRE_FILE_LIST := $(shell $(FIND) $(JRE_IMAGE_DIR))
JDK_TARGET_LIST := $(subst $(JDK_IMAGE_DIR)/,$(JDK_BUNDLE_DIR)/Home/,$(JDK_FILE_LIST))
JRE_TARGET_LIST := $(subst $(JRE_IMAGE_DIR)/,$(JRE_BUNDLE_DIR)/Home/,$(JRE_FILE_LIST))
JDK_TARGET_LIST := $(subst $(JDK_IMAGE_DIR)/,$(JDK_BUNDLE_DIR)/Home/,$(JDK_FILE_LIST))
JRE_TARGET_LIST := $(subst $(JRE_IMAGE_DIR)/,$(JRE_BUNDLE_DIR)/Home/,$(JRE_FILE_LIST))
# The old builds implementation of this did not preserve symlinks so
# make sure they are followed and the contents copied instead.
# To fix this, remove -L
# Copy empty directories (jre/lib/applet).
$(JDK_BUNDLE_DIR)/Home/%: $(JDK_IMAGE_DIR)/%
# The old builds implementation of this did not preserve symlinks so
# make sure they are followed and the contents copied instead.
# To fix this, remove -L
# Copy empty directories (jre/lib/applet).
$(JDK_BUNDLE_DIR)/Home/%: $(JDK_IMAGE_DIR)/%
$(ECHO) Copying $(patsubst $(OUTPUT_ROOT)/%,%,$@)
$(MKDIR) -p $(@D)
if [ -d "$<" ]; then $(MKDIR) -p $@; else $(CP) -f -R -L '$<' '$@'; fi
$(JRE_BUNDLE_DIR)/Home/%: $(JRE_IMAGE_DIR)/%
$(JRE_BUNDLE_DIR)/Home/%: $(JRE_IMAGE_DIR)/%
$(ECHO) Copying $(patsubst $(OUTPUT_ROOT)/%,%,$@)
$(MKDIR) -p $(@D)
if [ -d "$<" ]; then $(MKDIR) -p $@; else $(CP) -f -R -L '$<' '$@'; fi
$(JDK_BUNDLE_DIR)/MacOS/libjli.dylib:
$(JDK_BUNDLE_DIR)/MacOS/libjli.dylib:
$(ECHO) Creating link $(patsubst $(OUTPUT_ROOT)/%,%,$@)
$(MKDIR) -p $(@D)
$(RM) $@
$(LN) -s ../Home/jre/lib/jli/libjli.dylib $@
$(JRE_BUNDLE_DIR)/MacOS/libjli.dylib:
$(JRE_BUNDLE_DIR)/MacOS/libjli.dylib:
$(ECHO) Creating link $(patsubst $(OUTPUT_ROOT)/%,%,$@)
$(MKDIR) -p $(@D)
$(RM) $@
$(LN) -s ../Home/lib/jli/libjli.dylib $@
$(JDK_BUNDLE_DIR)/Info.plist: $(SPEC)
$(JDK_BUNDLE_DIR)/Info.plist: $(SPEC)
$(ECHO) Creating $(patsubst $(OUTPUT_ROOT)/%,%,$@)
$(MKDIR) -p $(@D)
$(SED)
-e "s/@@ID@@/$(BUNDLE_ID_JDK)/g" \
-e "s/@@NAME@@/$(BUNDLE_NAME_JDK)/g" \
-e "s/@@INFO@@/$(BUNDLE_INFO_JDK)/g" \
-e "s/@@PLATFORM_VERSION@@/$(BUNDLE_PLATFORM_VERSION)/g" \
-e "s/@@VERSION@@/$(BUNDLE_VERSION)/g" \
-e "s/@@VENDOR@@/$(BUNDLE_VENDOR)/g" \
< $(MACOSX_SRC)/bundle/JDK-Info.plist > $@
$(JRE_BUNDLE_DIR)/Info.plist: $(SPEC)
$(SED) -e "s/@@ID@@/$(BUNDLE_ID_JDK)/g" \
-e "s/@@NAME@@/$(BUNDLE_NAME_JDK)/g" \
-e "s/@@INFO@@/$(BUNDLE_INFO_JDK)/g" \
-e "s/@@PLATFORM_VERSION@@/$(BUNDLE_PLATFORM_VERSION)/g" \
-e "s/@@VERSION@@/$(BUNDLE_VERSION)/g" \
-e "s/@@VENDOR@@/$(BUNDLE_VENDOR)/g" \
< $(MACOSX_SRC)/bundle/JDK-Info.plist > $@
$(JRE_BUNDLE_DIR)/Info.plist: $(SPEC)
$(ECHO) Creating $(patsubst $(OUTPUT_ROOT)/%,%,$@)
$(MKDIR) -p $(@D)
$(SED)
-e "s/@@ID@@/$(BUNDLE_ID_JRE)/g" \
-e "s/@@NAME@@/$(BUNDLE_NAME_JRE)/g" \
-e "s/@@INFO@@/$(BUNDLE_INFO_JRE)/g" \
-e "s/@@PLATFORM_VERSION@@/$(BUNDLE_PLATFORM_VERSION)/g" \
-e "s/@@VERSION@@/$(BUNDLE_VERSION)/g" \
-e "s/@@VENDOR@@/$(BUNDLE_VENDOR)/g" \
< $(MACOSX_SRC)/bundle/JRE-Info.plist > $@
jdk-bundle: $(JDK_TARGET_LIST) $(JDK_BUNDLE_DIR)/MacOS/libjli.dylib \
$(JDK_BUNDLE_DIR)/Info.plist
$(SED) -e "s/@@ID@@/$(BUNDLE_ID_JRE)/g" \
-e "s/@@NAME@@/$(BUNDLE_NAME_JRE)/g" \
-e "s/@@INFO@@/$(BUNDLE_INFO_JRE)/g" \
-e "s/@@PLATFORM_VERSION@@/$(BUNDLE_PLATFORM_VERSION)/g" \
-e "s/@@VERSION@@/$(BUNDLE_VERSION)/g" \
-e "s/@@VENDOR@@/$(BUNDLE_VENDOR)/g" \
< $(MACOSX_SRC)/bundle/JRE-Info.plist > $@
jdk-bundle: $(JDK_TARGET_LIST) $(JDK_BUNDLE_DIR)/MacOS/libjli.dylib \
$(JDK_BUNDLE_DIR)/Info.plist
$(SETFILE) -a B $(dir $(JDK_BUNDLE_DIR))
jre-bundle: $(JRE_TARGET_LIST) $(JRE_BUNDLE_DIR)/MacOS/libjli.dylib \
$(JRE_BUNDLE_DIR)/Info.plist
jre-bundle: $(JRE_TARGET_LIST) $(JRE_BUNDLE_DIR)/MacOS/libjli.dylib \
$(JRE_BUNDLE_DIR)/Info.plist
$(SETFILE) -a B $(dir $(JRE_BUNDLE_DIR))
else # Not macosx
bundles:
bundles:
$(ECHO) "No bundles defined for $(OPENJDK_TARGET_OS)"
endif # macosx
...
...
makefiles/CompileDemos.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/CompileJavaClasses.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/CompileLaunchers.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/CompileNativeLibraries.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/CopyFiles.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/CopyIntoClasses.gmk
浏览文件 @
eb182394
...
...
@@ -31,56 +31,56 @@ COPY_PATTERNS = .icu _dict
XMLSECURITY_RESOURCEDIR = $(JDK_TOPDIR)/src/share/classes/com/sun/org/apache/xml/internal/security/resource
COPY_FILES += \
$(XMLSECURITY_RESOURCEDIR)/config.dtd \
$(XMLSECURITY_RESOURCEDIR)/config.xml
$(XMLSECURITY_RESOURCEDIR)/config.dtd \
$(XMLSECURITY_RESOURCEDIR)/config.xml
# Copy sun/tools related files into the classes directory.
# Extra jstat files
JSTAT_RESOURCEDIR = $(JDK_TOPDIR)/src/share/classes/sun/tools/jstat/resources
COPY_FILES += \
$(JSTAT_RESOURCEDIR)/jstat_options \
$(JSTAT_RESOURCEDIR)/jstat_unsupported_options
$(JSTAT_RESOURCEDIR)/jstat_options \
$(JSTAT_RESOURCEDIR)/jstat_unsupported_options
# Extra jhat files
JHAT_RESOURCEDIR = $(JDK_TOPDIR)/src/share/classes/com/sun/tools/hat/resources
COPY_FILES += \
$(JHAT_RESOURCEDIR)/hat.js \
$(JHAT_RESOURCEDIR)/oqlhelp.html \
$(JHAT_RESOURCEDIR)/platform_names.txt
$(JHAT_RESOURCEDIR)/hat.js \
$(JHAT_RESOURCEDIR)/oqlhelp.html \
$(JHAT_RESOURCEDIR)/platform_names.txt
# Extra jrunscript files
JRUNSCRIPT_RESOURCEDIR = $(JDK_TOPDIR)/src/share/classes/com/sun/tools/script/shell
COPY_FILES += \
$(JRUNSCRIPT_RESOURCEDIR)/init.js \
$(JRUNSCRIPT_RESOURCEDIR)/messages.properties
$(JRUNSCRIPT_RESOURCEDIR)/init.js \
$(JRUNSCRIPT_RESOURCEDIR)/messages.properties
# Extra jvmstat files
COPY_FILES += \
$(JDK_TOPDIR)/src/share/classes/sun/jvmstat/perfdata/resources/aliasmap
$(JDK_TOPDIR)/src/share/classes/sun/jvmstat/perfdata/resources/aliasmap
# JConsole resources
JCONSOLE_RESOURCES_DIR = $(JDK_TOPDIR)/src/share/classes/sun/tools/jconsole/resources
COPY_FILES += \
$(wildcard $(JCONSOLE_RESOURCES_DIR)/*.png) \
$(wildcard $(JCONSOLE_RESOURCES_DIR)/*.gif)
$(wildcard $(JCONSOLE_RESOURCES_DIR)/*.png) \
$(wildcard $(JCONSOLE_RESOURCES_DIR)/*.gif)
# Print resources
PRINT_RESOURCES_DIR = $(JDK_TOPDIR)/src/share/classes/sun/print/resources
COPY_FILES += \
$(wildcard $(PRINT_RESOURCES_DIR)/*.png)
$(wildcard $(PRINT_RESOURCES_DIR)/*.png)
# IDN resources
COPY_FILES += \
$(JDK_TOPDIR)/src/share/classes/sun/net/idn/uidna.spp
$(JDK_TOPDIR)/src/share/classes/sun/net/idn/uidna.spp
#
# Swing plaf resources
#
SWING_PLAF_WINDOWS_RESOURCES_DIR = $(JDK_TOPDIR)/src/share/classes/com/sun/java/swing/plaf/windows
COPY_FILES += \
$(wildcard $(SWING_PLAF_WINDOWS_RESOURCES_DIR)/icons/*.gif) \
$(wildcard $(SWING_PLAF_WINDOWS_RESOURCES_DIR)/icons/*.png)
$(wildcard $(SWING_PLAF_WINDOWS_RESOURCES_DIR)/icons/*.gif) \
$(wildcard $(SWING_PLAF_WINDOWS_RESOURCES_DIR)/icons/*.png)
ifndef OPENJDK
SWING_PLAF_WINDOWS_RESOURCES_DIR_CLOSED = $(JDK_TOPDIR)/src/closed/share/classes/com/sun/java/swing/plaf/windows
...
...
@@ -88,18 +88,18 @@ ifndef OPENJDK
COPY_FILES := $(filter-out $(SWING_PLAF_WINDOWS_RESOURCES_DIR)/icons/JavaCup32.png, $(COPY_FILES))
# Alter JavaCup32.png from ClosedJDK
COPY_FILES += \
$(SWING_PLAF_WINDOWS_RESOURCES_DIR_CLOSED)/icons/JavaCup32.png
$(SWING_PLAF_WINDOWS_RESOURCES_DIR_CLOSED)/icons/JavaCup32.png
endif
ifndef OPENJDK
JFR_CONFIGURATION_DIR_CLOSED = $(JDK_TOPDIR)/src/closed/share/classes/oracle/jrockit/jfr/settings
COPY_FILES += \
$(JFR_CONFIGURATION_DIR_CLOSED)/jfc.xsd
$(JFR_CONFIGURATION_DIR_CLOSED)/jfc.xsd
endif
SWING_PLAF_BASIC_RESOURCES_DIR = $(JDK_TOPDIR)/src/share/classes/javax/swing/plaf/basic
COPY_FILES += \
$(wildcard $(SWING_PLAF_BASIC_RESOURCES_DIR)/icons/*.png)
$(wildcard $(SWING_PLAF_BASIC_RESOURCES_DIR)/icons/*.png)
ifndef OPENJDK
SWING_PLAF_BASIC_RESOURCES_DIR_CLOSED = $(JDK_TOPDIR)/src/closed/share/classes/javax/swing/plaf/basic
...
...
@@ -107,44 +107,44 @@ ifndef OPENJDK
COPY_FILES := $(filter-out $(SWING_PLAF_BASIC_RESOURCES_DIR)/icons/JavaCup16.png, $(COPY_FILES))
# Alter JavaCup16.png from ClosedJDK
COPY_FILES += \
$(SWING_PLAF_BASIC_RESOURCES_DIR_CLOSED)/icons/JavaCup16.png
$(SWING_PLAF_BASIC_RESOURCES_DIR_CLOSED)/icons/JavaCup16.png
endif
ifdef OPENJDK
SWING_PLAF_MOTIF_RESOURCES_DIR = $(JDK_TOPDIR)/src/share/classes/com/sun/java/swing/plaf/motif
COPY_FILES += \
$(wildcard $(SWING_PLAF_MOTIF_RESOURCES_DIR)/icons/*.gif) \
$(wildcard $(SWING_PLAF_MOTIF_RESOURCES_DIR)/icons/*.png)
$(wildcard $(SWING_PLAF_MOTIF_RESOURCES_DIR)/icons/*.gif) \
$(wildcard $(SWING_PLAF_MOTIF_RESOURCES_DIR)/icons/*.png)
else
SWING_PLAF_MOTIF_RESOURCES_DIR_CLOSED = $(JDK_TOPDIR)/src/closed/share/classes/com/sun/java/swing/plaf/motif
COPY_FILES += \
$(wildcard $(SWING_PLAF_MOTIF_RESOURCES_DIR_CLOSED)/icons/*.gif) \
$(wildcard $(SWING_PLAF_MOTIF_RESOURCES_DIR_CLOSED)/icons/*.png)
$(wildcard $(SWING_PLAF_MOTIF_RESOURCES_DIR_CLOSED)/icons/*.gif) \
$(wildcard $(SWING_PLAF_MOTIF_RESOURCES_DIR_CLOSED)/icons/*.png)
endif
SWING_PLAF_METAL_RESOURCES_DIR = $(JDK_TOPDIR)/src/share/classes/javax/swing/plaf/metal
COPY_FILES += \
$(wildcard $(SWING_PLAF_METAL_RESOURCES_DIR)/icons/*.gif) \
$(wildcard $(SWING_PLAF_METAL_RESOURCES_DIR)/icons/*.png) \
$(wildcard $(SWING_PLAF_METAL_RESOURCES_DIR)/icons/ocean/*.gif) \
$(wildcard $(SWING_PLAF_METAL_RESOURCES_DIR)/icons/ocean/*.png) \
$(wildcard $(SWING_PLAF_METAL_RESOURCES_DIR)/sounds/*.wav)
$(wildcard $(SWING_PLAF_METAL_RESOURCES_DIR)/icons/*.gif) \
$(wildcard $(SWING_PLAF_METAL_RESOURCES_DIR)/icons/*.png) \
$(wildcard $(SWING_PLAF_METAL_RESOURCES_DIR)/icons/ocean/*.gif) \
$(wildcard $(SWING_PLAF_METAL_RESOURCES_DIR)/icons/ocean/*.png) \
$(wildcard $(SWING_PLAF_METAL_RESOURCES_DIR)/sounds/*.wav)
ifneq ($(OPENJDK_TARGET_OS), windows)
# Only copy GTK resources on Solaris/Linux
SWING_PLAF_GTK_RESOURCES_DIR = $(JDK_TOPDIR)/src/share/classes/com/sun/java/swing/plaf/gtk
COPY_FILES += \
$(wildcard $(SWING_PLAF_GTK_RESOURCES_DIR)/icons/*.gif) \
$(wildcard $(SWING_PLAF_GTK_RESOURCES_DIR)/icons/*.png) \
$(wildcard $(SWING_PLAF_GTK_RESOURCES_DIR)/resources/metacity/SwingFallbackTheme/metacity-1/*.xml)
$(wildcard $(SWING_PLAF_GTK_RESOURCES_DIR)/icons/*.gif) \
$(wildcard $(SWING_PLAF_GTK_RESOURCES_DIR)/icons/*.png) \
$(wildcard $(SWING_PLAF_GTK_RESOURCES_DIR)/resources/metacity/SwingFallbackTheme/metacity-1/*.xml)
endif
# END: Swing plaf resources
SWING_BEANINFO_RESOURCES_SRC_DIR = $(JDK_TOPDIR)/make/tools/swing-beans/beaninfo/images
SWING_BEANINFO_RESOURCES_SRC = $(wildcard $(SWING_BEANINFO_RESOURCES_SRC_DIR)/*.gif)
OUT_BEANINFO_RESOURCES = $(patsubst $(SWING_BEANINFO_RESOURCES_SRC_DIR)%,\
$(JDK_OUTPUTDIR)/classes/javax/swing/beaninfo/images/%,
\
$(SWING_BEANINFO_RESOURCES_SRC))
OUT_BEANINFO_RESOURCES = $(patsubst $(SWING_BEANINFO_RESOURCES_SRC_DIR)%,
\
$(JDK_OUTPUTDIR)/classes/javax/swing/beaninfo/images/%,
\
$(SWING_BEANINFO_RESOURCES_SRC))
COPY_EXTRA += $(OUT_BEANINFO_RESOURCES)
# END: Swing beaninfo resources
...
...
@@ -152,8 +152,8 @@ COPY_EXTRA += $(OUT_BEANINFO_RESOURCES)
# Swing text resources
SWING_TEXT_RESOURCEDIR = $(JDK_TOPDIR)/src/share/classes/javax/swing/text
COPY_FILES += \
$(SWING_TEXT_RESOURCEDIR)/html/default.css \
$(wildcard $(SWING_TEXT_RESOURCEDIR)/rtf/charsets/*.txt)
$(SWING_TEXT_RESOURCEDIR)/html/default.css \
$(wildcard $(SWING_TEXT_RESOURCEDIR)/rtf/charsets/*.txt)
##########################################################################################
#
...
...
@@ -166,57 +166,57 @@ COPY_FILES += \
# are uncommented and the configuration file is stored in the output META-INF directory.
# Make sure the output directory is created.
$(eval $(call MakeDir,$(JDK_OUTPUTDIR)/classes/META-INF/services))
$(eval $(call MakeDir,
$(JDK_OUTPUTDIR)/classes/META-INF/services))
# Find all META-INF/services/* files
ALL_META-INF_DIRS_share
:=
$(shell $(FIND) $(JDK_TOPDIR)/src/share/classes -type d -a -name META-INF)
ALL_META-INF_DIRS_targetapi
:=
$(shell $(FIND) $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes -type d -a -name META-INF)
ALL_META-INF_DIRS_share
:=
$(shell $(FIND) $(JDK_TOPDIR)/src/share/classes -type d -a -name META-INF)
ALL_META-INF_DIRS_targetapi
:=
$(shell $(FIND) $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes -type d -a -name META-INF)
# Platform specific overrides shared
ifneq ($(ALL_META-INF_DIRS_targetapi),)
ALL_META-INF_DIRS:=
$(ALL_META-INF_DIRS_targetapi) \
$(filter-out %$(patsubst $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes%,%,$(ALL_META-INF_DIRS_targetapi)),
\
$(ALL_META-INF_DIRS_share))
ifneq ($(ALL_META-INF_DIRS_targetapi),
)
ALL_META-INF_DIRS :=
$(ALL_META-INF_DIRS_targetapi) \
$(filter-out %$(patsubst $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes%,%,$(ALL_META-INF_DIRS_targetapi)),
\
$(ALL_META-INF_DIRS_share))
else
ALL_META-INF_DIRS:=
$(ALL_META-INF_DIRS_share)
ALL_META-INF_DIRS :=
$(ALL_META-INF_DIRS_share)
endif
ifndef OPENJDK
ALL_META-INF_DIRS += $(JDK_TOPDIR)/src/closed/share/classes/sun/java2d/cmm/kcms/META-INF
ALL_META-INF_DIRS += $(JDK_TOPDIR)/src/closed/share/classes/sun/java2d/cmm/kcms/META-INF
endif
SRC_SERVICES_FILES
:=$(wildcard $(addsuffix /services/*,
$(ALL_META-INF_DIRS)))
SRC_SERVICES_FILES
:= $(wildcard $(addsuffix /services/*,
$(ALL_META-INF_DIRS)))
ifdef OPENJDK
SRC_SERVICES_FILES:=$(filter-out %sun/dc/META-INF/services/sun.java2d.pipe.RenderingEngine,
$(SRC_SERVICES_FILES))
SRC_SERVICES_FILES:=$(filter-out %sun/java2d/cmm/kcms/META-INF/services/sun.java2d.cmm.CMMServiceProvider,
$(SRC_SERVICES_FILES))
SRC_SERVICES_FILES := $(filter-out %sun/dc/META-INF/services/sun.java2d.pipe.RenderingEngine,
$(SRC_SERVICES_FILES))
SRC_SERVICES_FILES := $(filter-out %sun/java2d/cmm/kcms/META-INF/services/sun.java2d.cmm.CMMServiceProvider,
$(SRC_SERVICES_FILES))
else
SRC_SERVICES_FILES:=$(filter-out %sun/java2d/pisces/META-INF/services/sun.java2d.pipe.RenderingEngine,
$(SRC_SERVICES_FILES))
SRC_SERVICES_FILES:=$(filter-out %sun/java2d/cmm/lcms/META-INF/services/sun.java2d.cmm.CMMServiceProvider,
$(SRC_SERVICES_FILES))
SRC_SERVICES_FILES := $(filter-out %sun/java2d/pisces/META-INF/services/sun.java2d.pipe.RenderingEngine,
$(SRC_SERVICES_FILES))
SRC_SERVICES_FILES := $(filter-out %sun/java2d/cmm/lcms/META-INF/services/sun.java2d.cmm.CMMServiceProvider,
$(SRC_SERVICES_FILES))
endif
# The number of services files are relatively few. If the increase in numbers, then
# we have to use ListPathsSafelyNow here.
# Change $(JDK_TOPDIR)/src/.../META-INF/services/yyyy into $(JDK_OUTPUTDIR)/classes/META-INF/services/yyyy
# The \n in the printf command is needed to make sed work on Solaris.
OUT_SERVICES_FILES
:=$(addprefix $(JDK_OUTPUTDIR)/classes/META-INF/services/,
\
$(shell $(PRINTF) "$(SRC_SERVICES_FILES)\n" | $(SED) -e 's|/[^ ]*/META-INF/services/||g'))
OUT_SERVICES_FILES_COLON
:=$(addsuffix :,
$(OUT_SERVICES_FILES))
OUT_SERVICES_FILES
:= $(addprefix $(JDK_OUTPUTDIR)/classes/META-INF/services/,
\
$(shell $(PRINTF) "$(SRC_SERVICES_FILES)\n" | $(SED) -e 's|/[^ ]*/META-INF/services/||g'))
OUT_SERVICES_FILES_COLON
:= $(addsuffix :,
$(OUT_SERVICES_FILES))
# Exception handling for print services with no META-INF directory
SRC_SERVICES_FILES_PRINT = $(wildcard $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes/sun/print/services/*)
OUT_SERVICES_FILES_PRINT = $(addprefix $(JDK_OUTPUTDIR)/classes/META-INF/services/,\
$(patsubst $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes/sun/print/services/%,%,
\
$(SRC_SERVICES_FILES_PRINT)))
OUT_SERVICES_FILES_PRINT_COLON = $(addsuffix :,$(OUT_SERVICES_FILES_PRINT))
RULES_SERVICES_PRINT = $(join $(OUT_SERVICES_FILES_PRINT_COLON),$(SRC_SERVICES_FILES_PRINT))
OUT_SERVICES_FILES_PRINT = $(addprefix $(JDK_OUTPUTDIR)/classes/META-INF/services/,
\
$(patsubst $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes/sun/print/services/%, %,
\
$(SRC_SERVICES_FILES_PRINT)))
OUT_SERVICES_FILES_PRINT_COLON = $(addsuffix :,
$(OUT_SERVICES_FILES_PRINT))
RULES_SERVICES_PRINT = $(join $(OUT_SERVICES_FILES_PRINT_COLON),
$(SRC_SERVICES_FILES_PRINT))
# Now setup the dependency rules to generate a META-INF/services/... from the correct source.
META-INF_RULES_SERVICES
:=$(RULES_SERVICES_PRINT) $(join $(OUT_SERVICES_FILES_COLON),
$(SRC_SERVICES_FILES))
META-INF_RULES_SERVICES
:= $(RULES_SERVICES_PRINT) $(join $(OUT_SERVICES_FILES_COLON),
$(SRC_SERVICES_FILES))
# Eval the newly created rules to incorporate them into the make tree.
define addto_meta-inf_services
$1
$1
echo $(LOG_INFO) Installing META-INF/services/$$(@F)
$(CAT) $$< | $(SED) -e "s/^#\[$(OPENJDK_TARGET_OS)\]//" > $$@
endef
$(foreach i,
$(META-INF_RULES_SERVICES),$(eval $(call addto_meta-inf_services,
$i)))
$(foreach i,
$(META-INF_RULES_SERVICES), $(eval $(call addto_meta-inf_services,
$i)))
# Here is the generic rule, whose receipt the above rules will trigger.
COPY_EXTRA += $(OUT_SERVICES_FILES)
...
...
@@ -224,7 +224,7 @@ COPY_EXTRA += $(OUT_SERVICES_FILES_PRINT)
###
$(JDK_OUTPUTDIR)/classes/sun/nio/cs/ext/sjis0213.dat
: $(JDK_OUTPUTDIR)/gensrc/sun/nio/cs/ext/sjis0213.dat
$(JDK_OUTPUTDIR)/classes/sun/nio/cs/ext/sjis0213.dat: $(JDK_OUTPUTDIR)/gensrc/sun/nio/cs/ext/sjis0213.dat
$(call install-file)
COPY_EXTRA += $(JDK_OUTPUTDIR)/classes/sun/nio/cs/ext/sjis0213.dat
...
...
@@ -234,17 +234,17 @@ COPY_EXTRA += $(JDK_OUTPUTDIR)/classes/sun/nio/cs/ext/sjis0213.dat
JAVAX_SOUND_SRC := $(JDK_TOPDIR)/src/share/classes/com/sun/media/sound/services
JAVAX_SOUND_SRC_FILES := \
javax.sound.midi.spi.MidiDeviceProvider \
javax.sound.midi.spi.MidiFileReader \
javax.sound.midi.spi.MidiFileWriter \
javax.sound.midi.spi.SoundbankReader \
javax.sound.sampled.spi.AudioFileReader \
javax.sound.sampled.spi.AudioFileWriter \
javax.sound.sampled.spi.FormatConversionProvider \
javax.sound.sampled.spi.MixerProvider
javax.sound.midi.spi.MidiDeviceProvider \
javax.sound.midi.spi.MidiFileReader \
javax.sound.midi.spi.MidiFileWriter \
javax.sound.midi.spi.SoundbankReader \
javax.sound.sampled.spi.AudioFileReader \
javax.sound.sampled.spi.AudioFileWriter \
javax.sound.sampled.spi.FormatConversionProvider \
javax.sound.sampled.spi.MixerProvider
COPY_EXTRA += $(addprefix $(JDK_OUTPUTDIR)/classes/META-INF/services/,$(JAVAX_SOUND_SRC_FILES))
COPY_EXTRA += $(addprefix $(JDK_OUTPUTDIR)/classes/META-INF/services/,
$(JAVAX_SOUND_SRC_FILES))
JAVAX_SOUND_RULES := $(foreach F,
$(JAVAX_SOUND_SRC_FILES),
$(JDK_OUTPUTDIR)/classes/META-INF/services/$(notdir $F):$(JAVAX_SOUND_SRC)/$F)
JAVAX_SOUND_RULES := $(foreach F,
$(JAVAX_SOUND_SRC_FILES),
$(JDK_OUTPUTDIR)/classes/META-INF/services/$(notdir $F):$(JAVAX_SOUND_SRC)/$F)
$(foreach R,
$(JAVAX_SOUND_RULES),$(eval $(call addto_meta-inf_services,
$R)))
$(foreach R,
$(JAVAX_SOUND_RULES), $(eval $(call addto_meta-inf_services,
$R)))
makefiles/CopySamples.gmk
浏览文件 @
eb182394
...
...
@@ -41,15 +41,15 @@ SAMPLE_TARGET := $(subst $(SAMPLE_SOURCE_DIR),$(SAMPLE_TARGET_DIR),$(SAMPLE_SOUR
ifndef OPENJDK
# Exclude Main.java in EbayClient dir
SAMPLE_CLOSED_SOURCE := $(shell $(FIND) $(SAMPLE_CLOSED_SOURCE_DIR) -type f -print | $(GREP) -v EbayClient/Main.java)
SAMPLE_CLOSED_TARGET := $(subst $(SAMPLE_CLOSED_SOURCE_DIR),$(SAMPLE_TARGET_DIR),$(SAMPLE_CLOSED_SOURCE))
SAMPLE_TARGET += $(SAMPLE_CLOSED_TARGET)
SAMPLE_CLOSED_SOURCE := $(shell $(FIND) $(SAMPLE_CLOSED_SOURCE_DIR) -type f -print | $(GREP) -v EbayClient/Main.java)
SAMPLE_CLOSED_TARGET := $(subst $(SAMPLE_CLOSED_SOURCE_DIR),$(SAMPLE_TARGET_DIR),$(SAMPLE_CLOSED_SOURCE))
SAMPLE_TARGET += $(SAMPLE_CLOSED_TARGET)
endif
ifneq (, $(filter $(OPENJDK_TARGET_OS), solaris macosx))
SAMPLE_SOLARIS_SOURCE := $(shell $(FIND) $(SAMPLE_SOLARIS_SOURCE_DIR) -type f -print)
SAMPLE_SOLARIS_TARGET := $(subst $(SAMPLE_SOLARIS_SOURCE_DIR),$(SAMPLE_TARGET_DIR),$(SAMPLE_SOLARIS_SOURCE))
SAMPLE_TARGET += $(SAMPLE_SOLARIS_TARGET)
SAMPLE_SOLARIS_SOURCE := $(shell $(FIND) $(SAMPLE_SOLARIS_SOURCE_DIR) -type f -print)
SAMPLE_SOLARIS_TARGET := $(subst $(SAMPLE_SOLARIS_SOURCE_DIR),$(SAMPLE_TARGET_DIR),$(SAMPLE_SOLARIS_SOURCE))
SAMPLE_TARGET += $(SAMPLE_SOLARIS_TARGET)
endif
$(SAMPLE_TARGET_DIR)/dtrace/%: $(SAMPLE_SOLARIS_SOURCE_DIR)/dtrace/%
...
...
@@ -63,6 +63,6 @@ $(SAMPLE_TARGET_DIR)/%: $(SAMPLE_SOURCE_DIR)/%
COPY_FILES += $(SAMPLE_TARGET)
all: $(COPY_FILES)
all: $(COPY_FILES)
.PHONY: all
makefiles/CreateJars.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GenerateClasses.gmk
浏览文件 @
eb182394
...
...
@@ -57,58 +57,58 @@ BTRMIC_ARGS := "-Xbootclasspath/p:$(BTRMIC_CP)" -cp "$(BTRMIC_CP)"
RMIC := $(JAVA) $(BTRMIC_ARGS) sun.rmi.rmic.Main
CLASSES_DIR := $(JDK_OUTPUTDIR)/classes
# NOTE: If the smart javac dependency management is reintroduced, these classes risk
# NOTE: If the smart javac dependency management is reintroduced, these classes risk
# interfering with the dependency checking. In that case they will need to be kept separate.
STUB_CLASSES_DIR := $(JDK_OUTPUTDIR)/classes
RMIC_GENSRC_DIR := $(JDK_OUTPUTDIR)/gendocsrc_rmic
GENCLASSES :=
GENCLASSES :=
##########################################################################################
#
# Generate RMI stubs
#
$(eval $(call SetupRMICompilation,RMI_12,\
CLASSES:=sun.rmi.server.Activation$$$$ActivationSystemImpl
\
java.rmi.activation.ActivationGroup
\
com.sun.jndi.rmi.registry.ReferenceWrapper,
\
CLASSES_DIR:=$(CLASSES_DIR),
\
STUB_CLASSES_DIR:=$(STUB_CLASSES_DIR),
\
RUN_V12:=
true))
$(eval $(call SetupRMICompilation,RMI_12,
\
CLASSES := sun.rmi.server.Activation$$$$ActivationSystemImpl
\
java.rmi.activation.ActivationGroup
\
com.sun.jndi.rmi.registry.ReferenceWrapper,
\
CLASSES_DIR := $(CLASSES_DIR),
\
STUB_CLASSES_DIR := $(STUB_CLASSES_DIR),
\
RUN_V12 :=
true))
GENCLASSES += $(RMI_12)
$(eval $(call SetupRMICompilation,RMI_11,\
CLASSES:=sun.rmi.registry.RegistryImpl
\
sun.rmi.transport.DGCImpl,
\
CLASSES_DIR:=$(CLASSES_DIR),
\
STUB_CLASSES_DIR:=$(STUB_CLASSES_DIR),
\
RUN_V11:=
true))
$(eval $(call SetupRMICompilation,RMI_11,
\
CLASSES := sun.rmi.registry.RegistryImpl
\
sun.rmi.transport.DGCImpl,
\
CLASSES_DIR := $(CLASSES_DIR),
\
STUB_CLASSES_DIR := $(STUB_CLASSES_DIR),
\
RUN_V11 :=
true))
GENCLASSES += $(RMI_11)
# For RMI/IIOP call rmic a second time with -standardPackage option
# so that *_tie classes are generated in package without the prefix
# org.omg.stub (6375696)
JMAN_RMI_CLASSES
:=javax.management.remote.rmi.RMIConnectionImpl
\
javax.management.remote.rmi.RMIServerImpl
$(eval $(call SetupRMICompilation,RMI_IIOP,\
CLASSES:=$(JMAN_RMI_CLASSES),
\
CLASSES_DIR:=$(CLASSES_DIR),
\
STUB_CLASSES_DIR:=$(STUB_CLASSES_DIR),
\
RUN_V12:=true,
\
RUN_IIOP:=true,
\
RUN_IIOP_STDPKG:=
true))
JMAN_RMI_CLASSES
:= javax.management.remote.rmi.RMIConnectionImpl
\
javax.management.remote.rmi.RMIServerImpl
$(eval $(call SetupRMICompilation,RMI_IIOP,
\
CLASSES := $(JMAN_RMI_CLASSES),
\
CLASSES_DIR := $(CLASSES_DIR),
\
STUB_CLASSES_DIR := $(STUB_CLASSES_DIR),
\
RUN_V12 := true,
\
RUN_IIOP := true,
\
RUN_IIOP_STDPKG :=
true))
GENCLASSES += $(RMI_IIOP)
# Keep generated RMI/JRMP Stub source files and copy them to RMIC_GENSRC_DIR
# so that javadoc can include them in the API (4997471)
$(eval $(call SetupRMICompilation,RMI_SRC,\
CLASSES:=$(JMAN_RMI_CLASSES),
\
CLASSES_DIR:=$(CLASSES_DIR),
\
STUB_CLASSES_DIR:=$(RMIC_GENSRC_DIR),
\
RUN_V12:=true,
\
KEEP_GENERATED:=
true))
GENCLASSES += $(filter %.java,$(RMI_SRC))
$(eval $(call SetupRMICompilation,RMI_SRC,
\
CLASSES := $(JMAN_RMI_CLASSES),
\
CLASSES_DIR := $(CLASSES_DIR),
\
STUB_CLASSES_DIR := $(RMIC_GENSRC_DIR),
\
RUN_V12 := true,
\
KEEP_GENERATED :=
true))
GENCLASSES += $(filter %.java,
$(RMI_SRC))
##########################################################################################
...
...
makefiles/GenerateData.gmk
浏览文件 @
eb182394
...
...
@@ -38,16 +38,16 @@ include Tools.gmk
# These are written directly into classes dir.
GENDATA :=
include GendataBreakIterator.gmk
include
gendata/
GendataBreakIterator.gmk
GENDATA += $(BREAK_ITERATOR)
include GendataFontConfig.gmk
include
gendata/
GendataFontConfig.gmk
GENDATA += $(GENDATA_FONT_CONFIG)
include GendataTZDB.gmk
include
gendata/
GendataTZDB.gmk
GENDATA += $(GENDATA_TZDB)
include GendataHtml32dtd.gmk
include
gendata/
GendataHtml32dtd.gmk
GENDATA += $(GENDATA_HTML32DTD)
##########################################################################################
...
...
@@ -75,9 +75,9 @@ GENDATA += $(GENDATA_CURDATA)
##########################################################################################
$(GENDATA)
: $(BUILD_TOOLS)
$(GENDATA): $(BUILD_TOOLS)
$(JDK_OUTPUTDIR)/classes/_the.gendata
: $(GENDATA)
$(JDK_OUTPUTDIR)/classes/_the.gendata: $(GENDATA)
$(TOUCH) $@
all: $(JDK_OUTPUTDIR)/classes/_the.gendata
...
...
makefiles/Generate
Java
Sources.gmk
→
makefiles/GenerateSources.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/Images.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/Import.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/Makefile
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/PatchList.solaris
浏览文件 @
eb182394
...
...
@@ -19,7 +19,7 @@ RUNTIME 5.8 Sparc 108921-16 x86 108922-16 REQ "CDE patch"
RUNTIME 5.8 Sparc 108773-18 x86 108774-18 REQ "X input method patch"
RUNTIME 5.8 Sparc 110386-03 x86 none REQ "RBAC Feature Patch"
RUNTIME 5.8 Sparc 111023-02 x86 none REQ "/kernel/fs/mntfs and /kernel/fs/sparcv9/mntfs patch"
RUNTIME 5.8 Sparc 112472-01 x86 112473-01 OPT "Font2DTest2 patch"
RUNTIME 5.8 Sparc 112472-01 x86 112473-01 OPT "Font2DTest2 patch"
RUNTIME 5.8 Sparc 112438-01 x86 112439-01 REQ "/kernel/drv/random patch"
COMPILER 5.8 Sparc 109505-06 x86 109502-03 REQ "For C 5.0, C++ 5.0"
...
...
@@ -28,4 +28,3 @@ COMPILER 5.8 Sparc 109508-03 x86 109509-03 REQ "For Forte Development 6 upd
COMPILER 5.8 Sparc 109510-03 x86 109511-03 REQ "For Forte 6.1 Debugger"
COMPILER 5.8 Sparc 109516-02 x86 109517-02 REQ "For Forte 6.1 Performance Analyzer"
COMPILER 5.8 Sparc 110480-01 x86 110481-01 REQ "For Forte TeamWare"
makefiles/ProfileNames.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/Profiles.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/Setup.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/SignJars.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/Tools.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GendataBreakIterator.gmk
→
makefiles/
gendata/
GendataBreakIterator.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GendataFontConfig.gmk
→
makefiles/
gendata/
GendataFontConfig.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GendataHtml32dtd.gmk
→
makefiles/
gendata/
GendataHtml32dtd.gmk
浏览文件 @
eb182394
...
...
@@ -23,7 +23,7 @@
# questions.
#
GENDATA_HTML32DTD :=
GENDATA_HTML32DTD :=
HTML32DTD = $(JDK_OUTPUTDIR)/classes/javax/swing/text/html/parser/html32.bdtd
$(HTML32DTD): $(BUILD_TOOLS)
...
...
makefiles/GendataTZDB.gmk
→
makefiles/
gendata/
GendataTZDB.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GendataTimeZone.gmk
→
makefiles/
gendata/
GendataTimeZone.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcBuffer.gmk
→
makefiles/
gensrc/
GensrcBuffer.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcCLDR.gmk
→
makefiles/
gensrc/
GensrcCLDR.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcCharacterData.gmk
→
makefiles/
gensrc/
GensrcCharacterData.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcCharsetCoder.gmk
→
makefiles/
gensrc/
GensrcCharsetCoder.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcCharsetMapping.gmk
→
makefiles/
gensrc/
GensrcCharsetMapping.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcExceptions.gmk
→
makefiles/
gensrc/
GensrcExceptions.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcIcons.gmk
→
makefiles/
gensrc/
GensrcIcons.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcJDWP.gmk
→
makefiles/
gensrc/
GensrcJDWP.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcJObjC.gmk
→
makefiles/
gensrc/
GensrcJObjC.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcLocaleDataMetaInfo.gmk
→
makefiles/
gensrc/
GensrcLocaleDataMetaInfo.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcMisc.gmk
→
makefiles/
gensrc/
GensrcMisc.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcProperties.gmk
→
makefiles/
gensrc/
GensrcProperties.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcSwing.gmk
→
makefiles/
gensrc/
GensrcSwing.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/GensrcX11Wrappers.gmk
→
makefiles/
gensrc/
GensrcX11Wrappers.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/jpda/jdwp/jdwp.spec
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/jprt.gmk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/jprt.properties
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/mapfiles/libawt/mapfile-mawt-vers
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/mapfiles/libawt/mapfile-vers
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/mapfiles/libawt/mapfile-vers-linux
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/mapfiles/libawt_headless/mapfile-vers
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/mapfiles/libawt_xawt/mapfile-vers
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/mapfiles/libfontmanager/mapfile-vers
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/mapfiles/libfontmanager/mapfile-vers.openjdk
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/mapfiles/libj2pcsc/mapfile-vers
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/mapfiles/libjdga/mapfile-vers
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/mapfiles/libjli/mapfile-vers
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/mapfiles/libverify/mapfile-vers
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/profile-includes.txt
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/profile-rtjar-includes.txt
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/scripts/addNotices.sh
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/scripts/genCharsetProvider.sh
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/scripts/genExceptions.sh
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/scripts/localelist.sh
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
makefiles/sun/awt/ToBin.java
浏览文件 @
eb182394
此差异已折叠。
点击以展开。
src/solaris/doc/sun/man/man1/ja/javaws.1
已删除
100644 → 0
浏览文件 @
4e827953
此差异已折叠。
点击以展开。
src/solaris/doc/sun/man/man1/javaws.1
已删除
100644 → 0
浏览文件 @
4e827953
此差异已折叠。
点击以展开。
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录