Merge
This commit is contained in:
commit
0b60e378d4
@ -28,6 +28,23 @@
|
|||||||
# not contain rules.
|
# not contain rules.
|
||||||
#
|
#
|
||||||
|
|
||||||
|
# Indicate that we are visiting a separate repo or component
|
||||||
|
define MakeStart
|
||||||
|
$(PRINTF) "\n\n%s\n%s\n##### %-60.60s #####\n%s\n" \
|
||||||
|
"########################################################################" \
|
||||||
|
"########################################################################" \
|
||||||
|
"Entering $1 for target $2" \
|
||||||
|
"########################################################################"
|
||||||
|
endef
|
||||||
|
|
||||||
|
define MakeFinish
|
||||||
|
$(PRINTF) "%s\n##### %-60.60s #####\n%s\n%s\n\n" \
|
||||||
|
"########################################################################" \
|
||||||
|
"Leaving $1 for target $2" \
|
||||||
|
"########################################################################" \
|
||||||
|
"########################################################################"
|
||||||
|
endef
|
||||||
|
|
||||||
ifdef OPENJDK
|
ifdef OPENJDK
|
||||||
ifneq ($(OPENJDK),true)
|
ifneq ($(OPENJDK),true)
|
||||||
x:=$(error "OPENJDK (if defined) can only be set to true")
|
x:=$(error "OPENJDK (if defined) can only be set to true")
|
||||||
|
@ -40,13 +40,17 @@ endif
|
|||||||
corba: corba-build
|
corba: corba-build
|
||||||
corba-build:
|
corba-build:
|
||||||
$(MKDIR) -p $(CORBA_OUTPUTDIR)
|
$(MKDIR) -p $(CORBA_OUTPUTDIR)
|
||||||
|
@$(call MakeStart, corba, all)
|
||||||
($(CD) $(CORBA_TOPDIR)/make && \
|
($(CD) $(CORBA_TOPDIR)/make && \
|
||||||
$(MAKE) $(CORBA_BUILD_ARGUMENTS) all)
|
$(MAKE) $(CORBA_BUILD_ARGUMENTS) all)
|
||||||
|
@$(call MakeFinish, corba, all)
|
||||||
|
|
||||||
corba-clobber::
|
corba-clobber::
|
||||||
$(MKDIR) -p $(CORBA_OUTPUTDIR)
|
$(MKDIR) -p $(CORBA_OUTPUTDIR)
|
||||||
|
@$(call MakeStart, corba, clobber)
|
||||||
($(CD) $(CORBA_TOPDIR)/make && \
|
($(CD) $(CORBA_TOPDIR)/make && \
|
||||||
$(MAKE) $(CORBA_BUILD_ARGUMENTS) clobber)
|
$(MAKE) $(CORBA_BUILD_ARGUMENTS) clobber)
|
||||||
|
@$(call MakeFinish, corba, clobber)
|
||||||
|
|
||||||
.PHONY: corba corba-build corba-clobber
|
.PHONY: corba corba-build corba-clobber
|
||||||
|
|
||||||
|
@ -121,14 +121,18 @@ endif
|
|||||||
|
|
||||||
deploy-build:
|
deploy-build:
|
||||||
ifeq ($(BUILD_DEPLOY), true)
|
ifeq ($(BUILD_DEPLOY), true)
|
||||||
|
@$(call MakeStart, deploy, $(DEPLOY_BUILD_TARGETS))
|
||||||
($(CD) $(DEPLOY_TOPDIR)/make && \
|
($(CD) $(DEPLOY_TOPDIR)/make && \
|
||||||
$(MAKE) $(DEPLOY_BUILD_TARGETS) $(DEPLOY_BUILD_ARGUMENTS))
|
$(MAKE) $(DEPLOY_BUILD_TARGETS) $(DEPLOY_BUILD_ARGUMENTS))
|
||||||
|
@$(call MakeFinish, deploy, $(DEPLOY_BUILD_TARGETS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
deploy-clobber::
|
deploy-clobber::
|
||||||
ifeq ($(BUILD_DEPLOY), true)
|
ifeq ($(BUILD_DEPLOY), true)
|
||||||
|
@$(call MakeStart, deploy, clobber)
|
||||||
($(CD) $(DEPLOY_TOPDIR)/make && \
|
($(CD) $(DEPLOY_TOPDIR)/make && \
|
||||||
$(MAKE) clobber $(DEPLOY_BUILD_ARGUMENTS))
|
$(MAKE) clobber $(DEPLOY_BUILD_ARGUMENTS))
|
||||||
|
@$(call MakeFinish, deploy, clobber)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
deploy-sanity::
|
deploy-sanity::
|
||||||
|
@ -88,8 +88,10 @@ endif
|
|||||||
hotspot-build::
|
hotspot-build::
|
||||||
$(MKDIR) -p $(HOTSPOT_OUTPUTDIR)
|
$(MKDIR) -p $(HOTSPOT_OUTPUTDIR)
|
||||||
$(MKDIR) -p $(HOTSPOT_EXPORT_PATH)
|
$(MKDIR) -p $(HOTSPOT_EXPORT_PATH)
|
||||||
|
@$(call MakeStart, hotspot, $(HOTSPOT_TARGET))
|
||||||
$(CD) $(HOTSPOT_TOPDIR)/make && \
|
$(CD) $(HOTSPOT_TOPDIR)/make && \
|
||||||
$(MAKE) $(HOTSPOT_BUILD_ARGUMENTS) $(HOTSPOT_TARGET)
|
$(MAKE) $(HOTSPOT_BUILD_ARGUMENTS) $(HOTSPOT_TARGET)
|
||||||
|
@$(call MakeFinish, hotspot, $(HOTSPOT_TARGET))
|
||||||
|
|
||||||
#####################
|
#####################
|
||||||
# .PHONY
|
# .PHONY
|
||||||
|
@ -57,38 +57,48 @@ install: install-build
|
|||||||
|
|
||||||
install-build:
|
install-build:
|
||||||
ifeq ($(BUILD_INSTALL), true)
|
ifeq ($(BUILD_INSTALL), true)
|
||||||
|
@$(call MakeStart, install, $(INSTALL_BUILD_TARGETS))
|
||||||
($(CD) $(INSTALL_TOPDIR)/make && \
|
($(CD) $(INSTALL_TOPDIR)/make && \
|
||||||
$(MAKE) $(INSTALL_BUILD_TARGETS) $(INSTALL_BUILD_ARGUMENTS))
|
$(MAKE) $(INSTALL_BUILD_TARGETS) $(INSTALL_BUILD_ARGUMENTS))
|
||||||
|
@$(call MakeFinish, install, $(INSTALL_BUILD_TARGETS))
|
||||||
endif
|
endif
|
||||||
|
|
||||||
update-patcher:
|
update-patcher:
|
||||||
ifeq ($(BUILD_INSTALL), true)
|
ifeq ($(BUILD_INSTALL), true)
|
||||||
if [ -r $(INSTALL_TOPDIR)/make/update/Makefile ]; then \
|
if [ -r $(INSTALL_TOPDIR)/make/update/Makefile ]; then \
|
||||||
|
$(call MakeStart, install update, all); \
|
||||||
( $(CD) $(INSTALL_TOPDIR)/make/update && \
|
( $(CD) $(INSTALL_TOPDIR)/make/update && \
|
||||||
$(MAKE) all $(INSTALL_BUILD_ARGUMENTS) ); \
|
$(MAKE) all $(INSTALL_BUILD_ARGUMENTS) ); \
|
||||||
|
$(call MakeFinish, install, all); \
|
||||||
fi
|
fi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
update-patchgen:
|
update-patchgen:
|
||||||
ifeq ($(BUILD_INSTALL), true)
|
ifeq ($(BUILD_INSTALL), true)
|
||||||
if [ -r $(INSTALL_TOPDIR)/make/update/Makefile ]; then \
|
if [ -r $(INSTALL_TOPDIR)/make/update/Makefile ]; then \
|
||||||
|
$(call MakeStart, install update, patchgen); \
|
||||||
( $(CD) $(INSTALL_TOPDIR)/make/update && \
|
( $(CD) $(INSTALL_TOPDIR)/make/update && \
|
||||||
$(MAKE) patchgen $(INSTALL_BUILD_ARGUMENTS) ); \
|
$(MAKE) patchgen $(INSTALL_BUILD_ARGUMENTS) ); \
|
||||||
|
$(call MakeFinish, install, patchgen); \
|
||||||
fi
|
fi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
installer:
|
installer:
|
||||||
ifeq ($(BUILD_INSTALL), true)
|
ifeq ($(BUILD_INSTALL), true)
|
||||||
if [ -r $(INSTALL_TOPDIR)/make/installer/Makefile ]; then \
|
if [ -r $(INSTALL_TOPDIR)/make/installer/Makefile ]; then \
|
||||||
|
$(call MakeStart, install installer, all); \
|
||||||
( $(CD) $(INSTALL_TOPDIR)/make/installer && \
|
( $(CD) $(INSTALL_TOPDIR)/make/installer && \
|
||||||
$(MAKE) all $(INSTALL_BUILD_ARGUMENTS) ); \
|
$(MAKE) all $(INSTALL_BUILD_ARGUMENTS) ); \
|
||||||
|
$(call MakeFinish, install, all); \
|
||||||
fi
|
fi
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install-clobber:
|
install-clobber:
|
||||||
ifeq ($(BUILD_INSTALL), true)
|
ifeq ($(BUILD_INSTALL), true)
|
||||||
|
@$(call MakeStart, install, clobber)
|
||||||
($(CD) $(INSTALL_TOPDIR)/make && \
|
($(CD) $(INSTALL_TOPDIR)/make && \
|
||||||
$(MAKE) clobber $(INSTALL_BUILD_ARGUMENTS))
|
$(MAKE) clobber $(INSTALL_BUILD_ARGUMENTS))
|
||||||
|
@$(call MakeFinish, install, clobber)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
install-sanity::
|
install-sanity::
|
||||||
|
@ -40,13 +40,17 @@ endif
|
|||||||
jaxp: jaxp-build
|
jaxp: jaxp-build
|
||||||
jaxp-build:
|
jaxp-build:
|
||||||
$(MKDIR) -p $(JAXP_OUTPUTDIR)
|
$(MKDIR) -p $(JAXP_OUTPUTDIR)
|
||||||
|
@$(call MakeStart, jaxp, all)
|
||||||
($(CD) $(JAXP_TOPDIR)/make && \
|
($(CD) $(JAXP_TOPDIR)/make && \
|
||||||
$(MAKE) $(JAXP_BUILD_ARGUMENTS) all)
|
$(MAKE) $(JAXP_BUILD_ARGUMENTS) all)
|
||||||
|
@$(call MakeFinish, jaxp, all)
|
||||||
|
|
||||||
jaxp-clobber::
|
jaxp-clobber::
|
||||||
$(MKDIR) -p $(JAXP_OUTPUTDIR)
|
$(MKDIR) -p $(JAXP_OUTPUTDIR)
|
||||||
|
@$(call MakeStart, jaxp, clobber)
|
||||||
($(CD) $(JAXP_TOPDIR)/make && \
|
($(CD) $(JAXP_TOPDIR)/make && \
|
||||||
$(MAKE) $(JAXP_BUILD_ARGUMENTS) clobber)
|
$(MAKE) $(JAXP_BUILD_ARGUMENTS) clobber)
|
||||||
|
@$(call MakeFinish, jaxp, clobber)
|
||||||
|
|
||||||
.PHONY: jaxp jaxp-build jaxp-clobber
|
.PHONY: jaxp jaxp-build jaxp-clobber
|
||||||
|
|
||||||
|
@ -40,13 +40,17 @@ endif
|
|||||||
jaxws: jaxws-build
|
jaxws: jaxws-build
|
||||||
jaxws-build:
|
jaxws-build:
|
||||||
$(MKDIR) -p $(JAXWS_OUTPUTDIR)
|
$(MKDIR) -p $(JAXWS_OUTPUTDIR)
|
||||||
|
@$(call MakeStart, jaxws, all)
|
||||||
($(CD) $(JAXWS_TOPDIR)/make && \
|
($(CD) $(JAXWS_TOPDIR)/make && \
|
||||||
$(MAKE) $(JAXWS_BUILD_ARGUMENTS) all)
|
$(MAKE) $(JAXWS_BUILD_ARGUMENTS) all)
|
||||||
|
@$(call MakeFinish, jaxws, all)
|
||||||
|
|
||||||
jaxws-clobber::
|
jaxws-clobber::
|
||||||
$(MKDIR) -p $(JAXWS_OUTPUTDIR)
|
$(MKDIR) -p $(JAXWS_OUTPUTDIR)
|
||||||
|
@$(call MakeStart, jaxws, clobber)
|
||||||
($(CD) $(JAXWS_TOPDIR)/make && \
|
($(CD) $(JAXWS_TOPDIR)/make && \
|
||||||
$(MAKE) $(JAXWS_BUILD_ARGUMENTS) clobber)
|
$(MAKE) $(JAXWS_BUILD_ARGUMENTS) clobber)
|
||||||
|
@$(call MakeFinish, jaxws, clobber)
|
||||||
|
|
||||||
.PHONY: jaxws jaxws-build jaxws-clobber
|
.PHONY: jaxws jaxws-build jaxws-clobber
|
||||||
|
|
||||||
|
@ -98,12 +98,16 @@ $(JDK_JAVA_EXE):: jdk-build
|
|||||||
|
|
||||||
jdk: jdk-build
|
jdk: jdk-build
|
||||||
jdk-build:
|
jdk-build:
|
||||||
|
@$(call MakeStart, jdk, $(JDK_BUILD_TARGETS))
|
||||||
( $(CD) $(JDK_TOPDIR)/make && \
|
( $(CD) $(JDK_TOPDIR)/make && \
|
||||||
$(MAKE) $(JDK_BUILD_TARGETS) $(JDK_BUILD_ARGUMENTS) ; )
|
$(MAKE) $(JDK_BUILD_TARGETS) $(JDK_BUILD_ARGUMENTS) ; )
|
||||||
|
@$(call MakeFinish, jdk, $(JDK_BUILD_TARGETS))
|
||||||
|
|
||||||
jdk-clobber::
|
jdk-clobber::
|
||||||
|
@$(call MakeStart, jdk, $(JDK_CLOBBER_TARGETS))
|
||||||
( $(CD) $(JDK_TOPDIR)/make && \
|
( $(CD) $(JDK_TOPDIR)/make && \
|
||||||
$(MAKE) $(JDK_CLOBBER_TARGETS) $(JDK_BUILD_ARGUMENTS) ; )
|
$(MAKE) $(JDK_CLOBBER_TARGETS) $(JDK_BUILD_ARGUMENTS) ; )
|
||||||
|
@$(call MakeFinish, jdk, $(JDK_CLOBBER_TARGETS))
|
||||||
|
|
||||||
jdk-sanity::
|
jdk-sanity::
|
||||||
( $(CD) $(JDK_TOPDIR)/make && \
|
( $(CD) $(JDK_TOPDIR)/make && \
|
||||||
@ -111,13 +115,17 @@ jdk-sanity::
|
|||||||
|
|
||||||
compare-images: compare-image
|
compare-images: compare-image
|
||||||
compare-image:
|
compare-image:
|
||||||
|
@$(call MakeStart, jdk, compare-image)
|
||||||
( $(CD) $(JDK_TOPDIR)/make && \
|
( $(CD) $(JDK_TOPDIR)/make && \
|
||||||
$(MAKE) ALT_OUTPUTDIR=$(ABS_OUTPUTDIR) compare-image )
|
$(MAKE) ALT_OUTPUTDIR=$(ABS_OUTPUTDIR) compare-image )
|
||||||
|
@$(call MakeFinish, jdk, compare-image)
|
||||||
|
|
||||||
compare-images-clobber: compare-image-clobber
|
compare-images-clobber: compare-image-clobber
|
||||||
compare-image-clobber:
|
compare-image-clobber:
|
||||||
|
@$(call MakeStart, jdk, compare-image-clobber)
|
||||||
( $(CD) $(JDK_TOPDIR)/make && \
|
( $(CD) $(JDK_TOPDIR)/make && \
|
||||||
$(MAKE) ALT_OUTPUTDIR=$(ABS_OUTPUTDIR) compare-image-clobber )
|
$(MAKE) ALT_OUTPUTDIR=$(ABS_OUTPUTDIR) compare-image-clobber )
|
||||||
|
@$(call MakeFinish, jdk, compare-image-clobber)
|
||||||
|
|
||||||
.PHONY: jdk jdk-build jdk-clobber jdk-sanity
|
.PHONY: jdk jdk-build jdk-clobber jdk-sanity
|
||||||
|
|
||||||
|
@ -35,13 +35,17 @@ LANGTOOLS_BUILD_ARGUMENTS = \
|
|||||||
langtools: langtools-build
|
langtools: langtools-build
|
||||||
langtools-build:
|
langtools-build:
|
||||||
$(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
|
$(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
|
||||||
|
@$(call MakeStart, langtools, all)
|
||||||
($(CD) $(LANGTOOLS_TOPDIR)/make && \
|
($(CD) $(LANGTOOLS_TOPDIR)/make && \
|
||||||
$(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) all)
|
$(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) all)
|
||||||
|
@$(call MakeFinish, langtools, all)
|
||||||
|
|
||||||
langtools-clobber::
|
langtools-clobber::
|
||||||
$(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
|
$(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
|
||||||
|
@$(call MakeStart, langtools, clobber)
|
||||||
($(CD) $(LANGTOOLS_TOPDIR)/make && \
|
($(CD) $(LANGTOOLS_TOPDIR)/make && \
|
||||||
$(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) clobber)
|
$(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) clobber)
|
||||||
|
@$(call MakeFinish, langtools, clobber)
|
||||||
|
|
||||||
.PHONY: langtools langtools-build langtools-clobber
|
.PHONY: langtools langtools-build langtools-clobber
|
||||||
|
|
||||||
|
@ -59,8 +59,10 @@ endif
|
|||||||
sponsors-build:
|
sponsors-build:
|
||||||
ifeq ($(ARCH_DATA_MODEL), 32)
|
ifeq ($(ARCH_DATA_MODEL), 32)
|
||||||
ifeq ($(BUILD_SPONSORS), true)
|
ifeq ($(BUILD_SPONSORS), true)
|
||||||
|
@$(call MakeStart, sponsors, $(SPONSORS_BUILD_TARGETS))
|
||||||
($(CD) $(SPONSORS_TOPDIR)/make && \
|
($(CD) $(SPONSORS_TOPDIR)/make && \
|
||||||
$(MAKE) $(SPONSORS_BUILD_TARGETS) $(SPONSORS_BUILD_ARGUMENTS))
|
$(MAKE) $(SPONSORS_BUILD_TARGETS) $(SPONSORS_BUILD_ARGUMENTS))
|
||||||
|
@$(call MakeFinish, sponsors, $(SPONSORS_BUILD_TARGETS))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user