Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
f31da2d5
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看板
提交
f31da2d5
编写于
9月 12, 2013
作者:
V
vadim
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
8008022: Upgrade Direct X SDK used to build JDK
Reviewed-by: erikj, prr, ihse
上级
931a40c9
变更
13
隐藏空白更改
内联
并排
Showing
13 changed file
with
5 addition
and
130 deletion
+5
-130
make/Makefile
make/Makefile
+0
-12
make/common/Defs-windows.gmk
make/common/Defs-windows.gmk
+0
-2
make/common/Sanity.gmk
make/common/Sanity.gmk
+0
-1
make/common/shared/Defs-versions.gmk
make/common/shared/Defs-versions.gmk
+0
-4
make/common/shared/Defs-windows.gmk
make/common/shared/Defs-windows.gmk
+1
-46
make/common/shared/Sanity-Settings.gmk
make/common/shared/Sanity-Settings.gmk
+0
-4
make/common/shared/Sanity.gmk
make/common/shared/Sanity.gmk
+0
-47
make/javax/sound/jsoundds/Makefile
make/javax/sound/jsoundds/Makefile
+1
-2
make/jdk_generic_profile.sh
make/jdk_generic_profile.sh
+0
-1
make/netbeans/awt2d/README
make/netbeans/awt2d/README
+1
-4
make/sun/awt/Makefile
make/sun/awt/Makefile
+0
-1
make/sun/jawt/Makefile
make/sun/jawt/Makefile
+0
-1
makefiles/CompileNativeLibraries.gmk
makefiles/CompileNativeLibraries.gmk
+2
-5
未找到文件。
make/Makefile
浏览文件 @
f31da2d5
...
...
@@ -99,7 +99,6 @@ COMPILER_PATH.desc = Compiler install directory
CACERTS_FILE.desc
=
Location of certificates file
DEVTOOLS_PATH.desc
=
Directory containing zip and unzip
CUPS_HEADERS_PATH.desc
=
Include directory location
for
CUPS header files
DXSDK_PATH.desc
=
Root directory of DirectX SDK
# Make variables to print out (description and value)
VARIABLE_PRINTVAL_LIST
+=
\
...
...
@@ -128,17 +127,6 @@ VARIABLE_CHECKDIR_LIST += \
VARIABLE_CHECKFIL_LIST
+=
\
CACERTS_FILE
# Some are windows specific
ifeq
($(PLATFORM), windows)
VARIABLE_PRINTVAL_LIST
+=
\
DXSDK_PATH
VARIABLE_CHECKDIR_LIST
+=
\
DXSDK_PATH
endif
# For pattern rules below, so all are treated the same
DO_PRINTVAL_LIST
=
$(VARIABLE_PRINTVAL_LIST:%=%.printval)
DO_CHECKDIR_LIST
=
$(VARIABLE_CHECKDIR_LIST:%=%.checkdir)
...
...
make/common/Defs-windows.gmk
浏览文件 @
f31da2d5
...
...
@@ -78,8 +78,6 @@ ifeq ($(COMPILER_VERSION), VS2010)
MS_RUNTIME_LIBRARIES = $(MSVCRNN_DLL)
endif
EXTRA_LFLAGS += -LIBPATH:$(DXSDK_LIB_PATH)
# Full Debug Symbols has been enabled on Windows since JDK1.4.1.
# The Full Debug Symbols (FDS) default for VARIANT == OPT builds is
# enabled with debug info files ZIP'ed to save space. For VARIANT !=
...
...
make/common/Sanity.gmk
浏览文件 @
f31da2d5
...
...
@@ -65,7 +65,6 @@ sanity-base: pre-sanity \
sane-libCrun \
sane-unixccs_path \
sane-msdevtools_path \
sane-dxsdk \
sane-compiler \
sane-cacerts \
sane-ant_version \
...
...
make/common/shared/Defs-versions.gmk
浏览文件 @
f31da2d5
...
...
@@ -74,9 +74,6 @@ endif
# REQUIRED_CYGWIN_VER
# Windows only: If CYGWIN is used, the minimum CYGWIN version.
#
# REQUIRED_DXSDK_VER
# Windows only: The version of DirectX SDK expected.
#
# REQUIRED_FREETYPE_VERSION
# If we are using freetype, the freetype version expected.
#
...
...
@@ -193,7 +190,6 @@ ifeq ($(PLATFORM), windows)
REQUIRED_OS_VARIANT_VERSION = $(REQUIRED_OS_VERSION)
REQUIRED_CYGWIN_VER = 4.0
REQUIRED_MKS_VER = 6.1
REQUIRED_DXSDK_VER = 0x0900
ifeq ($(CC_VERSION),msvc)
REQUIRED_COMPILER_NAME = Visual Studio 10
REQUIRED_COMPILER_VERSION = VS2010
...
...
make/common/shared/Defs-windows.gmk
浏览文件 @
f31da2d5
...
...
@@ -79,7 +79,7 @@ override INCREMENTAL_BUILD = false
# The ALT values should never really have spaces or use \.
# Suspect these environment variables to have spaces and/or \ characters:
# SYSTEMROOT, SystemRoot, WINDIR, windir, PROGRAMFILES, ProgramFiles,
#
DXSDK_DIR,
MSTOOLS, Mstools, MSSDK, MSSdk, VCnnCOMNTOOLS,
# MSTOOLS, Mstools, MSSDK, MSSdk, VCnnCOMNTOOLS,
# MSVCDIR, MSVCDir.
# So use $(subst \,/,) on them first adding quotes and placing them in
# their own variable assigned with :=, then use FullPath.
...
...
@@ -255,18 +255,6 @@ ifneq ($(word 1,$(_program_files)),$(_program_files))
_program_files:=
endif
# DirectX SDK
ifdef ALT_DXSDK_DRIVE
_dx_sdk_dir =$(ALT_DXSDK_DRIVE):/DXSDK
else
ifdef DXSDK_DIR
xDXSDK_DIR :="$(subst \,/,$(DXSDK_DIR))"
else
xDXSDK_DIR :="$(_system_drive)/DXSDK"
endif
_dx_sdk_dir :=$(call FullPath,$(xDXSDK_DIR))
endif
# Use of the Visual Studio compilers requires certain env variables be set:
# PATH should include the path to cl.exe
# INCLUDE should be defined
...
...
@@ -489,39 +477,6 @@ ifeq ($(_NEEDS_MSVCRNN), true)
MSVCRNN_DLL_PATH:=$(call AltCheckValue,MSVCRNN_DLL_PATH)
endif
# DXSDK_PATH: path to Microsoft DirectX SDK Include and Lib
ifdef ALT_DXSDK_PATH
xALT_DXSDK_PATH :="$(subst \,/,$(ALT_DXSDK_PATH))"
DXSDK_PATH :=$(call FullPath,$(xALT_DXSDK_PATH))
else
_DXSDK_PATH1 :=$(_dx_sdk_dir)
_DXSDK_PATH2 :=$(JDK_DEVTOOLS_DIR)/windows/dxsdk
DXSDK_PATH :=$(call DirExists,$(_DXSDK_PATH1),$(_DXSDK_PATH2),$(_dx_sdk_dir))
endif
DXSDK_PATH :=$(call AltCheckSpaces,DXSDK_PATH)
DXSDK_PATH:=$(call AltCheckValue,DXSDK_PATH)
# DXSDK_INCLUDE_PATH: path to Microsoft DirectX SDK Include
ifdef ALT_DXSDK_INCLUDE_PATH
xALT_DXSDK_INCLUDE_PATH :="$(subst \,/,$(ALT_DXSDK_INCLUDE_PATH))"
DXSDK_INCLUDE_PATH :=$(call FullPath,$(xALT_DXSDK_INCLUDE_PATH))
else
DXSDK_INCLUDE_PATH =$(subst //,/,$(DXSDK_PATH)/Include)
endif
# DXSDK_LIB_PATH: path to Microsoft DirectX SDK Lib
ifdef ALT_DXSDK_LIB_PATH
xALT_DXSDK_LIB_PATH :="$(subst \,/,$(ALT_DXSDK_LIB_PATH))"
DXSDK_LIB_PATH :=$(call FullPath,$(xALT_DXSDK_LIB_PATH))
else
ifeq ($(ARCH_DATA_MODEL), 64)
# 64bit libs are located in "Lib/x64" subdir
DXSDK_LIB_PATH =$(subst //,/,$(DXSDK_PATH)/Lib/x64)
else
DXSDK_LIB_PATH =$(subst //,/,$(DXSDK_PATH)/Lib)
endif
endif
# DEPLOY_MSSDK: Microsoft SDK for this platform (for deploy)
ifdef ALT_DEPLOY_MSSDK
xALT_DEPLOY_MSSDK :="$(subst \,/,$(ALT_DEPLOY_MSSDK))"
...
...
make/common/shared/Sanity-Settings.gmk
浏览文件 @
f31da2d5
...
...
@@ -234,10 +234,6 @@ endif
ALL_SETTINGS+=$(call addAltSetting,HOTSPOT_SERVER_PATH)
ifeq ($(PLATFORM),windows)
ALL_SETTINGS+=$(call addAltSetting,HOTSPOT_LIB_PATH)
ALL_SETTINGS+=$(call addRequiredSetting,DXSDK_VER)
ALL_SETTINGS+=$(call addAltSetting,DXSDK_PATH)
ALL_SETTINGS+=$(call addAltSetting,DXSDK_INCLUDE_PATH)
ALL_SETTINGS+=$(call addAltSetting,DXSDK_LIB_PATH)
ALL_SETTINGS+=$(call addAltSetting,WINDOWSSDKDIR)
ALL_SETTINGS+=$(call addRequiredSetting,RC)
ALL_SETTINGS+=$(call addRequiredSetting,REBASE)
...
...
make/common/shared/Sanity.gmk
浏览文件 @
f31da2d5
...
...
@@ -143,8 +143,6 @@ ifeq ($(PLATFORM), windows)
_CYGWIN_VER := $(SYSTEM_UNAME)
CYGWIN_VER :=$(call GetVersion,$(_CYGWIN_VER))
endif
DXSDK_VER := $(shell $(EGREP) DIRECT3D_VERSION $(DXSDK_INCLUDE_PATH)/d3d9.h 2>&1 | \
$(EGREP) "\#define" | $(NAWK) '{print $$3}')
endif
# Get the version numbers of what we are using
...
...
@@ -1300,51 +1298,6 @@ sane-unzip_version:
"" >> $(WARNING_FILE) ; \
fi
######################################################
# Check for windows DirectX sdk directory
######################################################
sane-dxsdk:
ifeq ($(PLATFORM), windows)
@if [ ! -r $(DXSDK_INCLUDE_PATH)/d3d9.h ]; then \
$(ECHO) "ERROR: You do not have access to a valid DirectX SDK Include dir.\n" \
" The value of DXSDK_INCLUDE_PATH must point a valid DX SDK dir.\n" \
" Please check your access to \n" \
" $(DXSDK_INCLUDE_PATH) \n" \
" and/or check your value of ALT_DXSDK_PATH or ALT_DXSDK_INCLUDE_PATH.\n" \
" Microsoft DirectX 9 SDK (Summer 2004 Update or newer) can be downloaded from the following location:\n" \
" http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp\n" \
" Or http://www.microsoft.com/directx\n" \
"" >> $(ERROR_FILE) ; \
else \
if [ ! "$(DXSDK_VER)" = "$(REQUIRED_DXSDK_VER)" ]; then \
$(ECHO) "ERROR: The DirectX SDK must be version $(REQUIRED_DXSDK_VER).\n" \
" $(YOU_ARE_USING) DirectX SDK version: $(DXSDK_VER)\n" \
" The DirectX SDK was obtained from the following location: \n" \
" $(DXSDK_PATH) \n" \
" Please change your DirectX SDK. \n" \
" Microsoft DirectX 9 SDK (Summer 2004 Update or newer) can be downloaded from the following location:\n" \
" http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp\n" \
" Or http://www.microsoft.com/directx\n" \
"" >> $(ERROR_FILE) ; \
else \
if [ -r $(DXSDK_INCLUDE_PATH)/basetsd.h ]; then \
if [ `$(EGREP) -c __int3264 $(DXSDK_INCLUDE_PATH)/basetsd.h` -ne 0 ]; then \
$(ECHO) "WARNING: The DirectX SDK Include directory contains a newer basetsd.h,\n" \
" which may indicate that you're using an incorrect version of DirectX SDK.\n" \
" This may result in a build failure.\n" \
" The DirectX SDK Include dir was obtained from the following location:\n" \
" $(DXSDK_INCLUDE_PATH) \n" \
" Please change your DirectX SDK to version 9 (Summer 2004 Update or newer).\n" \
" Microsoft DirectX 9 SDK can be downloaded from the following location:\n" \
" http://msdn.microsoft.com/library/default.asp?url=/downloads/list/directx.asp\n" \
" Or http://www.microsoft.com/directx\n" \
"" >> $(WARNING_FILE) ; \
fi \
fi \
fi \
fi
endif
######################################################
# Check the linker version(s)
######################################################
...
...
make/javax/sound/jsoundds/Makefile
浏览文件 @
f31da2d5
...
...
@@ -55,8 +55,7 @@ FILES_export = \
LDLIBS
+=
dsound.lib winmm.lib user32.lib ole32.lib
CPPFLAGS
+=
\
-DUSE_DAUDIO
=
TRUE
\
-I
$(SHARE_SRC)
/native/com/sun/media/sound
\
-I
$(DXSDK_INCLUDE_PATH)
-I
$(SHARE_SRC)
/native/com/sun/media/sound
#
# Add to the ambient VPATH.
...
...
make/jdk_generic_profile.sh
浏览文件 @
f31da2d5
...
...
@@ -80,7 +80,6 @@
# ALT_BOOTDIR
# Windows Only:
# ALT_UNIXCOMMAND_PATH
# ALT_DXSDK_PATH
# ALT_MSVCRNN_DLL_PATH
#
#############################################################################
...
...
make/netbeans/awt2d/README
浏览文件 @
f31da2d5
...
...
@@ -39,7 +39,6 @@ Here are the steps:
(on Windows):
#>env | grep ALT
ALT_JDK_IMPORT_PATH=c:/devtools/java/jdk1.7.0
ALT_DXSDK_PATH=c:/devtools/DirectX/DXSDK_Dec06
ALT_BOOTDIR=c:/DevTools/java/jdk1.6.0
If your build is a FASTDEBUG build, don't forget
...
...
@@ -50,7 +49,6 @@ Here are the steps:
accordingly:
make.options=\
ALT_JDK_IMPORT_PATH=c:/devtools/java/jdk1.7.0 \
ALT_DXSDK_PATH=c:/devtools/DirectX/DXSDK_Dec06 \
ALT_BOOTDIR=c:/DevTools/java/jdk1.6.0 \
FASTDEBUG=true
make=c:/devtools/cygwin/bin/make
...
...
@@ -175,7 +173,6 @@ Notes on using CND (C/C++ pack) with this project and NetBeans.
../../build/windows-i586/tmp/sun/sun.awt/splashscreen/CClassHeaders;
../../build/windows-i586/tmp/sun/sun.font/fontmanager/CClassHeaders;
../../build/windows-i586/tmp/sun/sun.font/t2k/CClassHeaders;
C:/DevTools/DirectX/DXSDK_Dec06/Include;
C:/devtools/VS2003/SDK/v1.1/include;
C:/devtools/VS2003/VC7/ATLMFC/INCLUDE;
C:/devtools/VS2003/VC7/INCLUDE;
...
...
@@ -188,7 +185,7 @@ Notes on using CND (C/C++ pack) with this project and NetBeans.
Note that most paths are relative to the native project directory -
this helps if you decide to relocate the workspace later. The ones that
aren't relative are paths to external include directories, like those
of the Platform SDK
, DirectX SDK
.
of the Platform SDK.
On Unix platforms these may be directories like /usr/include.
The parser must know some defines to correctly parse the source files,
...
...
make/sun/awt/Makefile
浏览文件 @
f31da2d5
...
...
@@ -564,7 +564,6 @@ OTHER_INCLUDES += -I$(CLASSHDRDIR)/../../java/jvm \
-I
$(OBJDIR)
\
-I
$(SHARE_SRC)
/native/common
\
-I
$(WINAWT_native)
\
-I
$(DXSDK_INCLUDE_PATH)
\
-I
$(SHARE_SRC)
/native/sun/awt/image/cvutils
\
-I
$(SHARE_SRC)
/native/sun/awt/image
\
-I
$(SHARE_SRC)
/native/sun/java2d/loops
\
...
...
make/sun/jawt/Makefile
浏览文件 @
f31da2d5
...
...
@@ -69,7 +69,6 @@ OTHER_CXXFLAGS += $(GX_OPTION) -DUNICODE -D_UNICODE
# Other extra flags needed for compiling.
#
CPPFLAGS
+=
-I
$(SHARE_SRC)
/native/common
\
-I
$(DXSDK_INCLUDE_PATH)
\
-I
$(PLATFORM_SRC)
/native/sun/windows
\
-I
$(CLASSHDRDIR)
/../../awt/CClassHeaders
\
-I
$(SHARE_SRC)
/native/sun/awt/debug
\
...
...
makefiles/CompileNativeLibraries.gmk
浏览文件 @
f31da2d5
...
...
@@ -472,7 +472,6 @@ ifeq ($(OPENJDK_TARGET_OS),windows)
$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/windows \
$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/java2d/windows \
$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/java2d/d3d
LIBAWT_CFLAGS+=-I$(DXSDK_INCLUDE_PATH)
else
LIBAWT_DIRS+=\
$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/java2d/x11
...
...
@@ -1482,8 +1481,7 @@ ifeq ($(OPENJDK_TARGET_OS), windows)
-I$(JDK_TOPDIR)/src/share/native/sun/awt/debug \
-I$(JDK_TOPDIR)/src/share/native/sun/java2d \
-I$(JDK_TOPDIR)/src/share/native/sun/awt/image/cvutils \
-I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/java2d/windows \
-I$(DXSDK_INCLUDE_PATH), \
-I$(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/native/sun/java2d/windows, \
LDFLAGS:=$(LDFLAGS_JDKLIB) $(KERNEL32_LIB) $(LDFLAGS_CXX_JDK) \
advapi32.lib $(WIN_AWT_LIB),\
LDFLAGS_SUFFIX:=$(LDFLAGS_JDKLIB_SUFFIX),\
...
...
@@ -2961,8 +2959,7 @@ $(eval $(call SetupNativeCompilation,BUILD_LIBJSOUNDDS,\
OPTIMIZATION:=LOW, \
CFLAGS:=$(CFLAGS_JDKLIB) \
$(LIBJSOUND_CFLAGS) \
-DUSE_DAUDIO=TRUE \
-I$(DXSDK_INCLUDE_PATH), \
-DUSE_DAUDIO=TRUE, \
LDFLAGS:=$(LDFLAGS_JDKLIB) $(LDFLAGS_CXX_JDK) \
$(call SET_SHARED_LIBRARY_ORIGIN),\
LDFLAGS_SUFFIX:=$(LDFLAGS_JDKLIB_SUFFIX) dsound.lib winmm.lib user32.lib ole32.lib,\
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录