6548261: Use of SE in make/common/Defs-windows.gmk
Reviewed-by: darcy
This commit is contained in:
parent
575988272e
commit
c65bf79ac2
@ -404,7 +404,6 @@ ifdef JDK_UPDATE_VERSION
|
||||
else
|
||||
JDK_UPDATE_VER := 0
|
||||
endif
|
||||
JDK_VER = $(JDK_MINOR_VERSION),$(JDK_MICRO_VERSION),$(JDK_UPDATE_VER),$(COOKED_BUILD_NUMBER)
|
||||
|
||||
RC_FLAGS = /l 0x409 /r
|
||||
|
||||
@ -414,15 +413,23 @@ else
|
||||
RC_FLAGS += $(MS_RC_DEBUG_OPTION)
|
||||
endif
|
||||
|
||||
ifndef COPYRIGHT_YEAR
|
||||
COPYRIGHT_YEAR = 2007
|
||||
endif
|
||||
# Values for the RC variables defined in RC_FLAGS
|
||||
JDK_RC_BUILD_ID = $(FULL_VERSION)
|
||||
JDK_RC_COMPANY = $(COMPANY_NAME)
|
||||
JDK_RC_COMPONENT = $(PRODUCT_NAME) $(JDK_RC_PLATFORM_NAME) binary
|
||||
JDK_RC_VER = \
|
||||
$(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION).$(JDK_UPDATE_VER).$(COOKED_BUILD_NUMBER)
|
||||
JDK_RC_COPYRIGHT = Copyright \xA9 $(COPYRIGHT_YEAR)
|
||||
JDK_RC_NAME = \
|
||||
$(PRODUCT_NAME) $(JDK_RC_PLATFORM_NAME) $(JDK_MINOR_VERSION) $(JDK_UPDATE_META_TAG)
|
||||
JDK_RC_FVER = \
|
||||
$(JDK_MINOR_VERSION),$(JDK_MICRO_VERSION),$(JDK_UPDATE_VER),$(COOKED_BUILD_NUMBER)
|
||||
|
||||
# J2SE name required here
|
||||
RC_FLAGS += -d "J2SE_BUILD_ID=$(FULL_VERSION)" \
|
||||
-d "J2SE_COMPANY=$(COMPANY_NAME)" \
|
||||
-d "J2SE_COMPONENT=$(PRODUCT_NAME) Platform SE binary" \
|
||||
-d "J2SE_VER=$(JDK_MINOR_VERSION).$(JDK_MICRO_VERSION).$(JDK_UPDATE_VER).$(COOKED_BUILD_NUMBER)" \
|
||||
-d "J2SE_COPYRIGHT=Copyright \xA9 $(COPYRIGHT_YEAR)" \
|
||||
-d "J2SE_NAME=$(PRODUCT_NAME) Platform SE $(JDK_MINOR_VERSION) $(JDK_UPDATE_META_TAG)" \
|
||||
-d "J2SE_FVER=$(JDK_VER)"
|
||||
RC_FLAGS += -d "J2SE_BUILD_ID=$(JDK_RC_BUILD_ID)" \
|
||||
-d "J2SE_COMPANY=$(JDK_RC_COMPANY)" \
|
||||
-d "J2SE_COMPONENT=$(JDK_RC_COMPONENT)" \
|
||||
-d "J2SE_VER=$(JDK_RC_VER)" \
|
||||
-d "J2SE_COPYRIGHT=$(JDK_RC_COPYRIGHT)" \
|
||||
-d "J2SE_NAME=$(JDK_RC_NAME)" \
|
||||
-d "J2SE_FVER=$(JDK_RC_FVER)"
|
||||
|
@ -703,7 +703,7 @@ endif
|
||||
ifdef ALT_COPYRIGHT_YEAR
|
||||
COPYRIGHT_YEAR = $(ALT_COPYRIGHT_YEAR)
|
||||
else
|
||||
COPYRIGHT_YEAR = $(shell $(DATE) '+%Y')
|
||||
COPYRIGHT_YEAR := $(shell $(DATE) '+%Y')
|
||||
endif
|
||||
|
||||
# Install of imported file (JDK_IMPORT_PATH, or some other external location)
|
||||
|
@ -188,16 +188,18 @@ ifndef MILESTONE
|
||||
endif
|
||||
|
||||
# Default names
|
||||
LAUNCHER_NAME = java
|
||||
PRODUCT_NAME = Java(TM)
|
||||
PRODUCT_SUFFIX = SE Runtime Environment
|
||||
COMPANY_NAME = Sun Microsystems, Inc.
|
||||
|
||||
ifdef OPENJDK
|
||||
LAUNCHER_NAME = openjdk
|
||||
PRODUCT_NAME = OpenJDK
|
||||
PRODUCT_SUFFIX = Runtime Environment
|
||||
COMPANY_NAME =
|
||||
JDK_RC_PLATFORM_NAME = Platform
|
||||
COMPANY_NAME = N/A
|
||||
else
|
||||
LAUNCHER_NAME = java
|
||||
PRODUCT_NAME = Java(TM)
|
||||
PRODUCT_SUFFIX = SE Runtime Environment
|
||||
JDK_RC_PLATFORM_NAME = Platform SE
|
||||
COMPANY_NAME = Sun Microsystems, Inc.
|
||||
endif
|
||||
|
||||
RUNTIME_NAME = $(PRODUCT_NAME) $(PRODUCT_SUFFIX)
|
||||
|
Loading…
Reference in New Issue
Block a user