Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openanolis
dragonwell8_jdk
提交
1bbf3d0d
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看板
提交
1bbf3d0d
编写于
10月 28, 2009
作者:
O
ohair
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
6888709: Change use of -DX=\""Y\"" to -DX='"Y"', consistently for all platforms
Reviewed-by: jjg, tbell
上级
9f51ce4a
变更
6
显示空白变更内容
内联
并排
Showing
6 changed file
with
16 addition
and
26 deletion
+16
-26
make/common/Defs.gmk
make/common/Defs.gmk
+1
-6
make/common/Program.gmk
make/common/Program.gmk
+3
-9
make/java/main/java/Makefile
make/java/main/java/Makefile
+1
-1
make/java/main/javaw/Makefile
make/java/main/javaw/Makefile
+2
-1
make/javax/sound/Makefile
make/javax/sound/Makefile
+1
-1
make/launchers/Makefile.launcher
make/launchers/Makefile.launcher
+8
-8
未找到文件。
make/common/Defs.gmk
浏览文件 @
1bbf3d0d
...
@@ -667,12 +667,7 @@ LDLIBS = $(OTHER_LDLIBS) $(LDLIBS_$(VARIANT)) $(LDLIBS_COMMON)
...
@@ -667,12 +667,7 @@ LDLIBS = $(OTHER_LDLIBS) $(LDLIBS_$(VARIANT)) $(LDLIBS_COMMON)
LINTFLAGS = $(LINTFLAGS_$(VARIANT)) $(LINTFLAGS_COMMON) \
LINTFLAGS = $(LINTFLAGS_$(VARIANT)) $(LINTFLAGS_COMMON) \
$(OTHER_LINTFLAGS)
$(OTHER_LINTFLAGS)
# this should be moved into Defs-<platform>.gmk.....
VERSION_DEFINES = -DRELEASE='"$(RELEASE)"'
ifeq ($(PLATFORM), windows)
VERSION_DEFINES = -DRELEASE="\"$(RELEASE)\""
else
VERSION_DEFINES = -DRELEASE='"$(RELEASE)"'
endif
# Note: As a rule, GNU Make rules should not appear in any of the
# Note: As a rule, GNU Make rules should not appear in any of the
# Defs*.gmk files. These were added for Kestrel-Solaris and do address
# Defs*.gmk files. These were added for Kestrel-Solaris and do address
...
...
make/common/Program.gmk
浏览文件 @
1bbf3d0d
...
@@ -236,13 +236,13 @@ endif # files
...
@@ -236,13 +236,13 @@ endif # files
endif # INCREMENTAL_BUILD
endif # INCREMENTAL_BUILD
ifdef JAVA_ARGS
ifdef JAVA_ARGS
OTHER_CPPFLAGS += -DJAVA_ARGS=
$(JAVA_ARGS)
OTHER_CPPFLAGS += -DJAVA_ARGS=
'$(JAVA_ARGS)'
OTHER_CPPFLAGS += -DLAUNCHER_NAME=
\"$(LAUNCHER_NAME)\"
OTHER_CPPFLAGS += -DLAUNCHER_NAME=
'"$(LAUNCHER_NAME)"'
endif
endif
ifeq ($(PLATFORM), windows)
ifeq ($(PLATFORM), windows)
ifdef RELEASE
ifdef RELEASE
OTHER_CPPFLAGS += -DVERSION=
"$(RELEASE)"
OTHER_CPPFLAGS += -DVERSION=
'"$(RELEASE)"'
endif
endif
endif
endif
...
@@ -258,14 +258,8 @@ endif
...
@@ -258,14 +258,8 @@ endif
OTHER_INCLUDES += -I$(LAUNCHER_SHARE_SRC)/bin -I$(LAUNCHER_PLATFORM_SRC)/bin
OTHER_INCLUDES += -I$(LAUNCHER_SHARE_SRC)/bin -I$(LAUNCHER_PLATFORM_SRC)/bin
OTHER_INCLUDES += -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3
OTHER_INCLUDES += -I$(SHARE_SRC)/native/java/util/zip/zlib-1.1.3
# this may not be necessary...
ifeq ($(PLATFORM), windows)
OTHER_CPPFLAGS += -DPROGNAME="\"$(PROGRAM)\""
VERSION_DEFINES += -DFULL_VERSION="\"$(FULL_VERSION)\""
else
OTHER_CPPFLAGS += -DPROGNAME='"$(PROGRAM)"'
OTHER_CPPFLAGS += -DPROGNAME='"$(PROGRAM)"'
VERSION_DEFINES += -DFULL_VERSION='"$(FULL_VERSION)"'
VERSION_DEFINES += -DFULL_VERSION='"$(FULL_VERSION)"'
endif
VERSION_DEFINES += -DJDK_MAJOR_VERSION='"$(JDK_MAJOR_VERSION)"' \
VERSION_DEFINES += -DJDK_MAJOR_VERSION='"$(JDK_MAJOR_VERSION)"' \
-DJDK_MINOR_VERSION='"$(JDK_MINOR_VERSION)"'
-DJDK_MINOR_VERSION='"$(JDK_MINOR_VERSION)"'
...
...
make/java/main/java/Makefile
浏览文件 @
1bbf3d0d
...
@@ -57,7 +57,7 @@ endif
...
@@ -57,7 +57,7 @@ endif
#
#
include
$(BUILDDIR)/common/Program.gmk
include
$(BUILDDIR)/common/Program.gmk
OTHER_CPPFLAGS
+=
-DEXPAND_CLASSPATH_WILDCARDS
OTHER_CPPFLAGS
+=
-DEXPAND_CLASSPATH_WILDCARDS
OTHER_CPPFLAGS
+=
-DLAUNCHER_NAME
=
\"
$(LAUNCHER_NAME)
\"
OTHER_CPPFLAGS
+=
-DLAUNCHER_NAME
=
'"
$(LAUNCHER_NAME)
"'
ifeq
($(PLATFORM), solaris)
ifeq
($(PLATFORM), solaris)
LDFLAGS
+=
-R
$(OPENWIN_LIB)
LDFLAGS
+=
-R
$(OPENWIN_LIB)
...
...
make/java/main/javaw/Makefile
浏览文件 @
1bbf3d0d
...
@@ -62,4 +62,5 @@ endif
...
@@ -62,4 +62,5 @@ endif
#
#
include
$(BUILDDIR)/common/Program.gmk
include
$(BUILDDIR)/common/Program.gmk
OTHER_CPPFLAGS
+=
-DEXPAND_CLASSPATH_WILDCARDS
OTHER_CPPFLAGS
+=
-DEXPAND_CLASSPATH_WILDCARDS
OTHER_CPPFLAGS
+=
-DLAUNCHER_NAME
=
\"
$(LAUNCHER_NAME)
\"
OTHER_CPPFLAGS
+=
-DLAUNCHER_NAME
=
'"
$(LAUNCHER_NAME)
"'
make/javax/sound/Makefile
浏览文件 @
1bbf3d0d
...
@@ -128,7 +128,7 @@ endif # PLATFORM solaris
...
@@ -128,7 +128,7 @@ endif # PLATFORM solaris
# for dynamic inclusion of extra sound libs: these
# for dynamic inclusion of extra sound libs: these
# JNI libs will be loaded from Platform.java
# JNI libs will be loaded from Platform.java
CPPFLAGS
+=
-DEXTRA_SOUND_JNI_LIBS
=
"
\"
$(EXTRA_SOUND_JNI_LIBS)
\"
"
CPPFLAGS
+=
-DEXTRA_SOUND_JNI_LIBS
=
'"
$(EXTRA_SOUND_JNI_LIBS)
"'
# integrate MIDI i/o in jsound lib
# integrate MIDI i/o in jsound lib
ifeq
($(INCLUDE_MIDI),TRUE)
ifeq
($(INCLUDE_MIDI),TRUE)
...
...
make/launchers/Makefile.launcher
浏览文件 @
1bbf3d0d
...
@@ -137,15 +137,15 @@ ifeq ($(PROGRAM),jdb)
...
@@ -137,15 +137,15 @@ ifeq ($(PROGRAM),jdb)
# PROGRAM, JAVA_ARGS, and APP_CLASSPATH are used in src/share/bin/java.c
# PROGRAM, JAVA_ARGS, and APP_CLASSPATH are used in src/share/bin/java.c
# SA is currently not available on windows (for any ARCH), or linux-ia64:
# SA is currently not available on windows (for any ARCH), or linux-ia64:
ifneq
($(ARCH), ia64)
ifneq
($(ARCH), ia64)
JDB_CLASSPATH
=
"{
\"
/lib/tools.jar
\"
,
\"
/lib/sa-jdi.jar
\"
,
\"
/classes
\"
}"
JDB_CLASSPATH
=
{
"/lib/tools.jar"
,
"/lib/sa-jdi.jar"
,
"/classes"
}
OTHER_CPPFLAGS
+=
-DAPP_CLASSPATH
=
$(JDB_CLASSPATH)
OTHER_CPPFLAGS
+=
-DAPP_CLASSPATH
=
'
$(JDB_CLASSPATH)
'
endif
endif
endif
endif
# jconsole only
# jconsole only
ifeq
($(PROGRAM),jconsole)
ifeq
($(PROGRAM),jconsole)
JCONSOLE_CLASSPATH
=
"{
\"
/lib/jconsole.jar
\"
,
\"
/lib/tools.jar
\"
,
\"
/classes
\"
}"
JCONSOLE_CLASSPATH
=
{
"/lib/jconsole.jar"
,
"/lib/tools.jar"
,
"/classes"
}
OTHER_CPPFLAGS
+=
-DAPP_CLASSPATH
=
$(JCONSOLE_CLASSPATH)
OTHER_CPPFLAGS
+=
-DAPP_CLASSPATH
=
'
$(JCONSOLE_CLASSPATH)
'
ifeq
($(PLATFORM), windows)
ifeq
($(PLATFORM), windows)
OTHER_CPPFLAGS
+=
-DJAVAW
OTHER_CPPFLAGS
+=
-DJAVAW
LDLIBS_COMMON
+=
user32.lib
LDLIBS_COMMON
+=
user32.lib
...
@@ -163,8 +163,8 @@ endif
...
@@ -163,8 +163,8 @@ endif
# SA tools need special app classpath
# SA tools need special app classpath
ifeq
($(SA_TOOL),true)
ifeq
($(SA_TOOL),true)
SA_CLASSPATH
=
"{
\"
/lib/tools.jar
\"
,
\"
/lib/sa-jdi.jar
\"
,
\"
/classes
\"
}"
SA_CLASSPATH
=
{
"/lib/tools.jar"
,
"/lib/sa-jdi.jar"
,
"/classes"
}
OTHER_CPPFLAGS
+=
-DAPP_CLASSPATH
=
$(SA_CLASSPATH)
OTHER_CPPFLAGS
+=
-DAPP_CLASSPATH
=
'
$(SA_CLASSPATH)
'
endif
endif
# Wildcards
# Wildcards
...
@@ -173,11 +173,11 @@ ifeq ($(WILDCARDS),true)
...
@@ -173,11 +173,11 @@ ifeq ($(WILDCARDS),true)
endif
endif
# Always tell native code what the main class is
# Always tell native code what the main class is
OTHER_CPPFLAGS
+=
-DMAIN_CLASS
=
\"
$(MAIN_CLASS)
\"
OTHER_CPPFLAGS
+=
-DMAIN_CLASS
=
'"
$(MAIN_CLASS)
"'
# Construct initializer for initial arguments to java
# Construct initializer for initial arguments to java
ALL_ARGS
=
-J-ms8m
$(MAIN_JAVA_ARGS)
$(MAIN_CLASS)
$(MAIN_ARGS)
ALL_ARGS
=
-J-ms8m
$(MAIN_JAVA_ARGS)
$(MAIN_CLASS)
$(MAIN_ARGS)
JAVA_ARGS
=
"{
$
(ALL_ARGS:%=
\"
%
\"
,) }"
JAVA_ARGS
=
{
$
(
ALL_ARGS:%
=
"%"
,
)
}
# Always report launcher info
# Always report launcher info
build
:
launcher_info
build
:
launcher_info
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录