Merge
This commit is contained in:
commit
3a9f936f33
@ -242,3 +242,4 @@ a4afb0a8d55ef75aef5b0d77b434070468fb89f8 jdk8-b117
|
|||||||
0a6db1aac998cdc88e52f9adb97d40ca5b0f1da6 jdk8-b118
|
0a6db1aac998cdc88e52f9adb97d40ca5b0f1da6 jdk8-b118
|
||||||
9e90215673be68a3e77a9e444e4232076373734d jdk8-b119
|
9e90215673be68a3e77a9e444e4232076373734d jdk8-b119
|
||||||
cd3825b2983045784d6fc6d1729c799b08215752 jdk8-b120
|
cd3825b2983045784d6fc6d1729c799b08215752 jdk8-b120
|
||||||
|
1e1f86d5d4e22c15a9bf9f1581acddb8c59abae2 jdk9-b00
|
||||||
|
@ -1 +1 @@
|
|||||||
project=jdk8
|
project=jdk9
|
||||||
|
6
Makefile
6
Makefile
@ -66,7 +66,7 @@ else
|
|||||||
# First, find out the valid targets
|
# First, find out the valid targets
|
||||||
# Run the makefile with an arbitrary SPEC using -p -q (quiet dry-run and dump rules) to find
|
# Run the makefile with an arbitrary SPEC using -p -q (quiet dry-run and dump rules) to find
|
||||||
# available PHONY targets. Use this list as valid targets to pass on to the repeated calls.
|
# available PHONY targets. Use this list as valid targets to pass on to the repeated calls.
|
||||||
all_phony_targets=$(filter-out $(global_targets) bundles bundles-only final-images-only, $(strip $(shell \
|
all_phony_targets=$(filter-out $(global_targets), $(strip $(shell \
|
||||||
cd $(root_dir) && $(MAKE) -p -q FRC SPEC=$(firstword $(SPEC)) | \
|
cd $(root_dir) && $(MAKE) -p -q FRC SPEC=$(firstword $(SPEC)) | \
|
||||||
grep ^.PHONY: | head -n 1 | cut -d " " -f 2-)))
|
grep ^.PHONY: | head -n 1 | cut -d " " -f 2-)))
|
||||||
|
|
||||||
@ -79,10 +79,6 @@ else
|
|||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Include this after a potential spec file has been included so that the bundles target
|
|
||||||
# has access to the spec variables.
|
|
||||||
include $(root_dir)/make/Jprt.gmk
|
|
||||||
|
|
||||||
# Here are "global" targets, i.e. targets that can be executed without specifying a single configuration.
|
# Here are "global" targets, i.e. targets that can be executed without specifying a single configuration.
|
||||||
# If you addd more global targets, please update the variable global_targets in MakeHelpers.
|
# If you addd more global targets, please update the variable global_targets in MakeHelpers.
|
||||||
|
|
||||||
|
@ -3865,7 +3865,7 @@ fi
|
|||||||
#CUSTOM_AUTOCONF_INCLUDE
|
#CUSTOM_AUTOCONF_INCLUDE
|
||||||
|
|
||||||
# Do not change or remove the following line, it is needed for consistency checks:
|
# Do not change or remove the following line, it is needed for consistency checks:
|
||||||
DATE_WHEN_GENERATED=1384422786
|
DATE_WHEN_GENERATED=1389186094
|
||||||
|
|
||||||
###############################################################################
|
###############################################################################
|
||||||
#
|
#
|
||||||
@ -29625,7 +29625,7 @@ fi
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DARCH='\"$OPENJDK_TARGET_CPU_LEGACY\"' -D$OPENJDK_TARGET_CPU_LEGACY"
|
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DARCH='\"$OPENJDK_TARGET_CPU_LEGACY\"' -D$OPENJDK_TARGET_CPU_LEGACY"
|
||||||
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DRELEASE='\"$RELEASE\"'"
|
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DRELEASE='\"\$(RELEASE)\"'"
|
||||||
|
|
||||||
CCXXFLAGS_JDK="$CCXXFLAGS_JDK \
|
CCXXFLAGS_JDK="$CCXXFLAGS_JDK \
|
||||||
-I${JDK_OUTPUTDIR}/include \
|
-I${JDK_OUTPUTDIR}/include \
|
||||||
|
@ -936,7 +936,7 @@ AC_DEFUN_ONCE([TOOLCHAIN_SETUP_COMPILER_FLAGS_FOR_JDK],
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DARCH='\"$OPENJDK_TARGET_CPU_LEGACY\"' -D$OPENJDK_TARGET_CPU_LEGACY"
|
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DARCH='\"$OPENJDK_TARGET_CPU_LEGACY\"' -D$OPENJDK_TARGET_CPU_LEGACY"
|
||||||
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DRELEASE='\"$RELEASE\"'"
|
CCXXFLAGS_JDK="$CCXXFLAGS_JDK -DRELEASE='\"\$(RELEASE)\"'"
|
||||||
|
|
||||||
CCXXFLAGS_JDK="$CCXXFLAGS_JDK \
|
CCXXFLAGS_JDK="$CCXXFLAGS_JDK \
|
||||||
-I${JDK_OUTPUTDIR}/include \
|
-I${JDK_OUTPUTDIR}/include \
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
JDK_MAJOR_VERSION=1
|
JDK_MAJOR_VERSION=1
|
||||||
JDK_MINOR_VERSION=8
|
JDK_MINOR_VERSION=9
|
||||||
JDK_MICRO_VERSION=0
|
JDK_MICRO_VERSION=0
|
||||||
JDK_UPDATE_VERSION=
|
JDK_UPDATE_VERSION=
|
||||||
LAUNCHER_NAME=openjdk
|
LAUNCHER_NAME=openjdk
|
||||||
|
@ -265,7 +265,6 @@ COMMON_JAVADOCFLAGS = \
|
|||||||
-quiet \
|
-quiet \
|
||||||
-use \
|
-use \
|
||||||
-keywords \
|
-keywords \
|
||||||
-Xdoclint:none \
|
|
||||||
-Xprofilespath $(JDK_TOPDIR)/make/profile-rtjar-includes.txt \
|
-Xprofilespath $(JDK_TOPDIR)/make/profile-rtjar-includes.txt \
|
||||||
$(ADDITIONAL_JAVADOCFLAGS)
|
$(ADDITIONAL_JAVADOCFLAGS)
|
||||||
|
|
||||||
@ -381,6 +380,7 @@ $(COREAPI_INDEX_FILE): $(COREAPI_OPTIONS_FILE) $(COREAPI_PACKAGES_FILE)
|
|||||||
$(COREAPI_OPTIONS_FILE): $(COREAPI_OVERVIEW)
|
$(COREAPI_OPTIONS_FILE): $(COREAPI_OVERVIEW)
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ISO-8859-1) ; \
|
$(call OptionPair,-encoding,ISO-8859-1) ; \
|
||||||
$(call OptionPair,-tag,beaninfo:X) ; \
|
$(call OptionPair,-tag,beaninfo:X) ; \
|
||||||
@ -456,6 +456,7 @@ $(DOCLETAPI_INDEX_FILE): $(DOCLETAPI_OPTIONS_FILE) $(DOCLETAPI_PACKAGES_FILE) co
|
|||||||
$(DOCLETAPI_OPTIONS_FILE):
|
$(DOCLETAPI_OPTIONS_FILE):
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
$(call OptionOnly,-breakiterator) ; \
|
$(call OptionOnly,-breakiterator) ; \
|
||||||
@ -512,6 +513,7 @@ $(TAGLETAPI_INDEX_FILE): $(TAGLETAPI_OPTIONS_FILE) $(TAGLETAPI_PACKAGES_FILE) co
|
|||||||
$(TAGLETAPI_OPTIONS_FILE):
|
$(TAGLETAPI_OPTIONS_FILE):
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
$(call OptionOnly,-nonavbar) ; \
|
$(call OptionOnly,-nonavbar) ; \
|
||||||
@ -563,6 +565,7 @@ $(DOMAPI_INDEX_FILE): $(DOMAPI_OPTIONS_FILE) $(DOMAPI_PACKAGES_FILE) coredocs
|
|||||||
$(DOMAPI_OPTIONS_FILE):
|
$(DOMAPI_OPTIONS_FILE):
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
$(call OptionOnly,-splitIndex) ; \
|
$(call OptionOnly,-splitIndex) ; \
|
||||||
@ -625,6 +628,7 @@ $(JDI_INDEX_FILE): $(JDI_OPTIONS_FILE) $(JDI_PACKAGES_FILE) coredocs
|
|||||||
$(JDI_OPTIONS_FILE): $(JDI_OVERVIEW)
|
$(JDI_OPTIONS_FILE): $(JDI_OVERVIEW)
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
$(call OptionPair,-overview,$(JDI_OVERVIEW)) ; \
|
$(call OptionPair,-overview,$(JDI_OVERVIEW)) ; \
|
||||||
@ -712,6 +716,7 @@ $(JAAS_INDEX_FILE): $(JAAS_OPTIONS_FILE) $(JAAS_PACKAGES_FILE) coredocs
|
|||||||
$(JAAS_OPTIONS_FILE): $(JAAS_OVERVIEW)
|
$(JAAS_OPTIONS_FILE): $(JAAS_OVERVIEW)
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
$(call OptionPair,-overview,$(JAAS_OVERVIEW)) ; \
|
$(call OptionPair,-overview,$(JAAS_OVERVIEW)) ; \
|
||||||
@ -764,6 +769,7 @@ $(JGSS_INDEX_FILE): $(JGSS_OPTIONS_FILE) $(JGSS_PACKAGES_FILE) coredocs
|
|||||||
$(JGSS_OPTIONS_FILE): $(JGSS_OVERVIEW)
|
$(JGSS_OPTIONS_FILE): $(JGSS_OVERVIEW)
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
$(call OptionOnly,-nodeprecatedlist) ; \
|
$(call OptionOnly,-nodeprecatedlist) ; \
|
||||||
@ -816,6 +822,7 @@ $(SMARTCARDIO_INDEX_FILE): $(SMARTCARDIO_OPTIONS_FILE) $(SMARTCARDIO_PACKAGES_FI
|
|||||||
$(SMARTCARDIO_OPTIONS_FILE):
|
$(SMARTCARDIO_OPTIONS_FILE):
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
$(call OptionOnly,-nodeprecatedlist) ; \
|
$(call OptionOnly,-nodeprecatedlist) ; \
|
||||||
@ -866,6 +873,7 @@ $(HTTPSERVER_INDEX_HTML): $(HTTPSERVER_OPTIONS_FILE) $(HTTPSERVER_PACKAGES_FILE)
|
|||||||
$(HTTPSERVER_OPTIONS_FILE):
|
$(HTTPSERVER_OPTIONS_FILE):
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
$(call OptionOnly,-nodeprecatedlist) ; \
|
$(call OptionOnly,-nodeprecatedlist) ; \
|
||||||
@ -926,6 +934,7 @@ $(MGMT_INDEX_FILE): $(MGMT_OPTIONS_FILE) $(MGMT_PACKAGES_FILE) coredocs
|
|||||||
$(MGMT_OPTIONS_FILE): $(MGMT_OVERVIEW)
|
$(MGMT_OPTIONS_FILE): $(MGMT_OVERVIEW)
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
$(call OptionOnly,-nodeprecatedlist) ; \
|
$(call OptionOnly,-nodeprecatedlist) ; \
|
||||||
@ -977,6 +986,7 @@ $(ATTACH_INDEX_HTML): $(ATTACH_OPTIONS_FILE) $(ATTACH_PACKAGES_FILE) coredocs
|
|||||||
$(ATTACH_OPTIONS_FILE):
|
$(ATTACH_OPTIONS_FILE):
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
$(call OptionOnly,-nodeprecatedlist) ; \
|
$(call OptionOnly,-nodeprecatedlist) ; \
|
||||||
@ -1027,6 +1037,7 @@ $(JCONSOLE_INDEX_HTML): $(JCONSOLE_OPTIONS_FILE) $(JCONSOLE_PACKAGES_FILE) cored
|
|||||||
$(JCONSOLE_OPTIONS_FILE):
|
$(JCONSOLE_OPTIONS_FILE):
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
$(call OptionOnly,-nodeprecatedlist) ; \
|
$(call OptionOnly,-nodeprecatedlist) ; \
|
||||||
@ -1079,6 +1090,7 @@ $(TREEAPI_INDEX_HTML): $(TREEAPI_OPTIONS_FILE) $(TREEAPI_PACKAGES_FILE) coredocs
|
|||||||
$(TREEAPI_OPTIONS_FILE):
|
$(TREEAPI_OPTIONS_FILE):
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
$(call OptionPair,-doctitle,$(TREEAPI_DOCTITLE)) ; \
|
$(call OptionPair,-doctitle,$(TREEAPI_DOCTITLE)) ; \
|
||||||
@ -1130,6 +1142,7 @@ $(SCTPAPI_INDEX_HTML): $(SCTPAPI_OPTIONS_FILE) $(SCTPAPI_PACKAGES_FILE) coredocs
|
|||||||
$(SCTPAPI_OPTIONS_FILE):
|
$(SCTPAPI_OPTIONS_FILE):
|
||||||
$(prep-target)
|
$(prep-target)
|
||||||
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
@($(call OptionOnly,$(COMMON_JAVADOCFLAGS)) ; \
|
||||||
|
$(call OptionOnly,-Xdoclint:none) ; \
|
||||||
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
$(call OptionPair,-sourcepath,$(RELEASEDOCS_SOURCEPATH)) ; \
|
||||||
$(call OptionPair,-encoding,ascii) ; \
|
$(call OptionPair,-encoding,ascii) ; \
|
||||||
$(call OptionOnly,-nodeprecatedlist) ; \
|
$(call OptionOnly,-nodeprecatedlist) ; \
|
||||||
|
170
make/Jprt.gmk
170
make/Jprt.gmk
@ -23,148 +23,7 @@
|
|||||||
# questions.
|
# questions.
|
||||||
#
|
#
|
||||||
|
|
||||||
# This file is included by the root NewerMakefile and contains targets
|
# This file is contains targets utilities needed by JPRT.
|
||||||
# and utilities needed by JPRT.
|
|
||||||
|
|
||||||
# Utilities used in this Makefile. Most of this makefile executes without
|
|
||||||
# the context of a spec file from configure.
|
|
||||||
CAT=cat
|
|
||||||
CMP=cmp
|
|
||||||
CP=cp
|
|
||||||
ECHO=echo
|
|
||||||
MKDIR=mkdir
|
|
||||||
PRINTF=printf
|
|
||||||
PWD=pwd
|
|
||||||
# Insure we have a path that looks like it came from pwd
|
|
||||||
# (This is mostly for Windows sake and drive letters)
|
|
||||||
define UnixPath # path
|
|
||||||
$(shell (cd "$1" && $(PWD)))
|
|
||||||
endef
|
|
||||||
|
|
||||||
BUILD_DIR_ROOT:=$(root_dir)/build
|
|
||||||
|
|
||||||
ifdef OPENJDK
|
|
||||||
OPEN_BUILD=true
|
|
||||||
else
|
|
||||||
OPEN_BUILD := $(if $(or $(wildcard $(root_dir)/jdk/src/closed), \
|
|
||||||
$(wildcard $(root_dir)/jdk/make/closed), \
|
|
||||||
$(wildcard $(root_dir)/jdk/test/closed), \
|
|
||||||
$(wildcard $(root_dir)/hotspot/src/closed), \
|
|
||||||
$(wildcard $(root_dir)/hotspot/make/closed), \
|
|
||||||
$(wildcard $(root_dir)/hotspot/test/closed)), \
|
|
||||||
false,true)
|
|
||||||
endif
|
|
||||||
|
|
||||||
HOTSPOT_AVAILABLE := $(if $(wildcard $(root_dir)/hotspot),true,false)
|
|
||||||
|
|
||||||
###########################################################################
|
|
||||||
# To help in adoption of the new configure&&make build process, a bridge
|
|
||||||
# build will use the old settings to run configure and do the build.
|
|
||||||
|
|
||||||
# Build with the configure bridge. After running configure, restart make
|
|
||||||
# to parse the new spec file.
|
|
||||||
BRIDGE_TARGETS := all
|
|
||||||
# Add bootcycle-images target if legacy variable is set.
|
|
||||||
ifeq ($(SKIP_BOOT_CYCLE),false)
|
|
||||||
BRIDGE_TARGETS += bootcycle-images
|
|
||||||
endif
|
|
||||||
bridgeBuild: bridge2configure
|
|
||||||
@cd $(root_dir) && $(MAKE) -f Makefile $(BRIDGE_TARGETS)
|
|
||||||
|
|
||||||
# Bridge from old Makefile ALT settings to configure options
|
|
||||||
bridge2configure: $(BUILD_DIR_ROOT)/.bridge2configureOpts
|
|
||||||
bash ./configure $(strip $(shell $(CAT) $<))
|
|
||||||
|
|
||||||
# Create a file with configure options created from old Makefile mechanisms.
|
|
||||||
$(BUILD_DIR_ROOT)/.bridge2configureOpts: $(BUILD_DIR_ROOT)/.bridge2configureOptsLatest
|
|
||||||
$(RM) $@
|
|
||||||
$(CP) $< $@
|
|
||||||
|
|
||||||
# Use this file to only change when obvious things have changed
|
|
||||||
$(BUILD_DIR_ROOT)/.bridge2configureOptsLatest: FRC
|
|
||||||
$(RM) $@.tmp
|
|
||||||
$(MKDIR) -p $(BUILD_DIR_ROOT)
|
|
||||||
@$(ECHO) " --with-debug-level=$(if $(DEBUG_LEVEL),$(DEBUG_LEVEL),release) " >> $@.tmp
|
|
||||||
ifdef ARCH_DATA_MODEL
|
|
||||||
@$(ECHO) " --with-target-bits=$(ARCH_DATA_MODEL) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifeq ($(ARCH_DATA_MODEL),32)
|
|
||||||
@$(ECHO) " --with-jvm-variants=client,server " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_PARALLEL_COMPILE_JOBS
|
|
||||||
@$(ECHO) " --with-num-cores=$(ALT_PARALLEL_COMPILE_JOBS) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_BOOTDIR
|
|
||||||
@$(ECHO) " --with-boot-jdk=$(call UnixPath,$(ALT_BOOTDIR)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_CUPS_HEADERS_PATH
|
|
||||||
@$(ECHO) " --with-cups-include=$(call UnixPath,$(ALT_CUPS_HEADERS_PATH)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_FREETYPE_HEADERS_PATH
|
|
||||||
@$(ECHO) " --with-freetype=$(call UnixPath,$(ALT_FREETYPE_HEADERS_PATH)/..) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ENABLE_SJAVAC
|
|
||||||
@$(ECHO) " --enable-sjavac" >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifeq ($(HOTSPOT_AVAILABLE),false)
|
|
||||||
ifdef ALT_JDK_IMPORT_PATH
|
|
||||||
@$(ECHO) " --with-import-hotspot=$(call UnixPath,$(ALT_JDK_IMPORT_PATH)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
ifeq ($(OPEN_BUILD),true)
|
|
||||||
@$(ECHO) " --enable-openjdk-only " >> $@.tmp
|
|
||||||
else
|
|
||||||
# Todo: move to closed?
|
|
||||||
ifdef ALT_MOZILLA_HEADERS_PATH
|
|
||||||
@$(ECHO) " --with-mozilla-headers=$(call UnixPath,$(ALT_MOZILLA_HEADERS_PATH)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_JUNIT_DIR
|
|
||||||
@$(ECHO) " --with-junit-dir=$(call UnixPath,$(ALT_JUNIT_DIR)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ANT_HOME
|
|
||||||
@$(ECHO) " --with-ant-home=$(call UnixPath,$(ANT_HOME)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_JAVAFX_ZIP_DIR
|
|
||||||
@$(ECHO) " --with-javafx-zip-dir=$(call UnixPath,$(ALT_JAVAFX_ZIP_DIR)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_JMC_ZIP_DIR
|
|
||||||
@$(ECHO) " --with-jmc-zip-dir=$(call UnixPath,$(ALT_JMC_ZIP_DIR)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_WIXDIR
|
|
||||||
@$(ECHO) " --with-wix=$(call UnixPath,$(ALT_WIXDIR)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_INSTALL_LZMA_PATH
|
|
||||||
@$(ECHO) " --with-lzma-path=$(call UnixPath,$(ALT_INSTALL_LZMA_PATH)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_INSTALL_UPX_PATH
|
|
||||||
@$(ECHO) " --with-upx-path=$(call UnixPath,$(ALT_INSTALL_UPX_PATH)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_INSTALL_UPX_FILENAME
|
|
||||||
@$(ECHO) " --with-upx-filename=$(call UnixPath,$(ALT_INSTALL_UPX_FILENAME)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_CCSS_SIGNING_DIR
|
|
||||||
@$(ECHO) " --with-ccss-signing=$(call UnixPath,$(ALT_CCSS_SIGNING_DIR)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_SLASH_JAVA
|
|
||||||
@$(ECHO) " --with-java-devtools=$(call UnixPath,$(ALT_SLASH_JAVA)/devtools) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
ifdef ALT_SPARKLE_FRAMEWORK_DIR
|
|
||||||
@$(ECHO) " --with-sparkle-framework=$(call UnixPath,$(ALT_SPARKLE_FRAMEWORK_DIR)) " >> $@.tmp
|
|
||||||
endif
|
|
||||||
endif
|
|
||||||
@if [ -f $@ ] ; then \
|
|
||||||
if ! $(CMP) $@ $@.tmp > /dev/null ; then \
|
|
||||||
$(CP) $@.tmp $@ ; \
|
|
||||||
fi ; \
|
|
||||||
else \
|
|
||||||
$(CP) $@.tmp $@ ; \
|
|
||||||
fi
|
|
||||||
$(RM) $@.tmp
|
|
||||||
|
|
||||||
PHONY_LIST += bridge2configure bridgeBuild
|
|
||||||
|
|
||||||
###########################################################################
|
|
||||||
# JPRT targets
|
|
||||||
|
|
||||||
ifndef JPRT_ARCHIVE_BUNDLE
|
ifndef JPRT_ARCHIVE_BUNDLE
|
||||||
JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/j2sdk-image.zip
|
JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/j2sdk-image.zip
|
||||||
@ -173,23 +32,6 @@ ifndef JPRT_ARCHIVE_INSTALL_BUNDLE
|
|||||||
JPRT_ARCHIVE_INSTALL_BUNDLE=/tmp/jprt_bundles/product-install.zip
|
JPRT_ARCHIVE_INSTALL_BUNDLE=/tmp/jprt_bundles/product-install.zip
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# These targets execute in a SPEC free context, before calling bridgeBuild
|
|
||||||
# to generate the SPEC.
|
|
||||||
jprt_build_product: DEBUG_LEVEL=release
|
|
||||||
jprt_build_product: BUILD_DIRNAME=*-release
|
|
||||||
jprt_build_product: jprt_build_generic
|
|
||||||
|
|
||||||
jprt_build_fastdebug: DEBUG_LEVEL=fastdebug
|
|
||||||
jprt_build_fastdebug: BUILD_DIRNAME=*-fastdebug
|
|
||||||
jprt_build_fastdebug: jprt_build_generic
|
|
||||||
|
|
||||||
jprt_build_debug: DEBUG_LEVEL=slowdebug
|
|
||||||
jprt_build_debug: BUILD_DIRNAME=*-debug
|
|
||||||
jprt_build_debug: jprt_build_generic
|
|
||||||
|
|
||||||
jprt_build_generic: BRIDGE_TARGETS+=jprt_bundle
|
|
||||||
jprt_build_generic: bridgeBuild
|
|
||||||
|
|
||||||
# This target must be called in the context of a SPEC file
|
# This target must be called in the context of a SPEC file
|
||||||
jprt_bundle: $(JPRT_ARCHIVE_BUNDLE)
|
jprt_bundle: $(JPRT_ARCHIVE_BUNDLE)
|
||||||
@$(call CheckIfMakeAtEnd)
|
@$(call CheckIfMakeAtEnd)
|
||||||
@ -235,14 +77,6 @@ final-images-only: start-make
|
|||||||
@$(call TargetExit)
|
@$(call TargetExit)
|
||||||
|
|
||||||
|
|
||||||
# Keep track of phony targets
|
|
||||||
PHONY_LIST += jprt_build_product jprt_build_fastdebug jprt_build_debug \
|
|
||||||
jprt_build_generic bundles jprt_bundle \
|
|
||||||
final-images final-images-only
|
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
# Phony targets
|
# Phony targets
|
||||||
.PHONY: $(PHONY_LIST)
|
.PHONY: jprt_bundle bundles bundles-only final-images final-images-only
|
||||||
|
|
||||||
# Force target
|
|
||||||
FRC:
|
|
||||||
|
@ -242,4 +242,6 @@ clean-test:
|
|||||||
.PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-docs clean-test clean-overlay-images clean-bootcycle-build
|
.PHONY: clean-langtools clean-corba clean-jaxp clean-jaxws clean-hotspot clean-jdk clean-nashorn clean-images clean-docs clean-test clean-overlay-images clean-bootcycle-build
|
||||||
.PHONY: profiles profiles-only profiles-oscheck
|
.PHONY: profiles profiles-only profiles-oscheck
|
||||||
|
|
||||||
|
include $(root_dir)/make/Jprt.gmk
|
||||||
|
|
||||||
FRC: # Force target
|
FRC: # Force target
|
||||||
|
@ -50,7 +50,7 @@ BUILDTIMESDIR=$(OUTPUT_ROOT)/tmp/buildtimes
|
|||||||
|
|
||||||
# Global targets are possible to run either with or without a SPEC. The prototypical
|
# Global targets are possible to run either with or without a SPEC. The prototypical
|
||||||
# global target is "help".
|
# global target is "help".
|
||||||
global_targets=help jprt% bridgeBuild bridge2configure
|
global_targets=help
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
# Functions
|
# Functions
|
||||||
|
@ -26,7 +26,7 @@
|
|||||||
# Properties for jprt
|
# Properties for jprt
|
||||||
|
|
||||||
# Locked down to jdk8
|
# Locked down to jdk8
|
||||||
jprt.tools.default.release=jdk8
|
jprt.tools.default.release=jdk9
|
||||||
|
|
||||||
# Unix toolkit to use for building on windows
|
# Unix toolkit to use for building on windows
|
||||||
jprt.windows.jdk8.build.unix.toolkit=cygwin
|
jprt.windows.jdk8.build.unix.toolkit=cygwin
|
||||||
@ -151,3 +151,23 @@ jprt.test.targets=${jprt.vm.${jprt.my.test.set}.test.targets}
|
|||||||
# Directories to be excluded from the source bundles
|
# Directories to be excluded from the source bundles
|
||||||
jprt.bundle.exclude.src.dirs=build dist webrev
|
jprt.bundle.exclude.src.dirs=build dist webrev
|
||||||
|
|
||||||
|
# Instruct jprt to use configure when building
|
||||||
|
jprt.build.use.configure=true
|
||||||
|
jprt.build.flavor.product.target=jprt_bundle
|
||||||
|
jprt.build.flavor.fastdebug.target=jprt_bundle
|
||||||
|
jprt.build.flavor.debug.target=jprt_bundle
|
||||||
|
|
||||||
|
# Add these configure args to all builds
|
||||||
|
jprt.build.configure.args= \
|
||||||
|
--with-boot-jdk=$ALT_BOOTDIR \
|
||||||
|
--with-jobs=$ALT_PARALLEL_COMPILE_JOBS
|
||||||
|
|
||||||
|
# Add these configure args to 32 bit builds
|
||||||
|
jprt.i586.build.configure.args= \
|
||||||
|
--with-target-bits=32 \
|
||||||
|
--with-jvm-variants=client,server
|
||||||
|
|
||||||
|
# Use these configure args to define debug level.
|
||||||
|
jprt.product.build.configure.args=--with-debug-level=release
|
||||||
|
jprt.fastdebug.build.configure.args=--with-debug-level=fastdebug
|
||||||
|
jprt.debug.build.configure.args=--with-debug-level=slowdebug
|
||||||
|
Loading…
Reference in New Issue
Block a user