comparison make/install-rules.gmk @ 311:a1c8b847b753

7021753: Add a build times report Summary: Report the build times at end of a jdkroot build. Reviewed-by: ohair
author ohrstrom
date Mon, 28 Feb 2011 10:56:10 +0100
parents 024a6755895b
children 7e13dbf7e8af
comparison
equal deleted inserted replaced
5:b27262f90e9a 6:e8e16386de3e
55 55
56 install: install-build 56 install: install-build
57 57
58 install-build: 58 install-build:
59 ifeq ($(BUILD_INSTALL), true) 59 ifeq ($(BUILD_INSTALL), true)
60 @$(call MakeStart, install, $(INSTALL_BUILD_TARGETS)) 60 @$(call MakeStart,install,$(INSTALL_BUILD_TARGETS))
61 ($(CD) $(INSTALL_TOPDIR)/make && \ 61 ($(CD) $(INSTALL_TOPDIR)/make && \
62 $(MAKE) $(INSTALL_BUILD_TARGETS) $(INSTALL_BUILD_ARGUMENTS)) 62 $(MAKE) $(INSTALL_BUILD_TARGETS) $(INSTALL_BUILD_ARGUMENTS))
63 @$(call MakeFinish, install, $(INSTALL_BUILD_TARGETS)) 63 @$(call MakeFinish,install,$(INSTALL_BUILD_TARGETS))
64 endif 64 endif
65 65
66 update-patcher: 66 update-patcher:
67 ifeq ($(BUILD_INSTALL), true) 67 ifeq ($(BUILD_INSTALL), true)
68 if [ -r $(INSTALL_TOPDIR)/make/update/Makefile ]; then \ 68 if [ -r $(INSTALL_TOPDIR)/make/update/Makefile ]; then \
69 $(call MakeStart, install update, all); \ 69 $(call MakeStart,install_update,all); \
70 ( $(CD) $(INSTALL_TOPDIR)/make/update && \ 70 ( $(CD) $(INSTALL_TOPDIR)/make/update && \
71 $(MAKE) all $(INSTALL_BUILD_ARGUMENTS) ); \ 71 $(MAKE) all $(INSTALL_BUILD_ARGUMENTS) ); \
72 $(call MakeFinish, install, all); \ 72 $(call MakeFinish,install_update,all); \
73 fi 73 fi
74 endif 74 endif
75 75
76 update-patchgen: 76 update-patchgen:
77 ifeq ($(BUILD_INSTALL), true) 77 ifeq ($(BUILD_INSTALL), true)
78 if [ -r $(INSTALL_TOPDIR)/make/update/Makefile ]; then \ 78 if [ -r $(INSTALL_TOPDIR)/make/update/Makefile ]; then \
79 $(call MakeStart, install update, patchgen); \ 79 $(call MakeStart,install_update,patchgen); \
80 ( $(CD) $(INSTALL_TOPDIR)/make/update && \ 80 ( $(CD) $(INSTALL_TOPDIR)/make/update && \
81 $(MAKE) patchgen $(INSTALL_BUILD_ARGUMENTS) ); \ 81 $(MAKE) patchgen $(INSTALL_BUILD_ARGUMENTS) ); \
82 $(call MakeFinish, install, patchgen); \ 82 $(call MakeFinish,install_update,patchgen); \
83 fi 83 fi
84 endif 84 endif
85 85
86 installer: 86 installer:
87 ifeq ($(BUILD_INSTALL), true) 87 ifeq ($(BUILD_INSTALL), true)
88 if [ -r $(INSTALL_TOPDIR)/make/installer/Makefile ]; then \ 88 if [ -r $(INSTALL_TOPDIR)/make/installer/Makefile ]; then \
89 $(call MakeStart, install installer, all); \ 89 $(call MakeStart,install_installer,all); \
90 ( $(CD) $(INSTALL_TOPDIR)/make/installer && \ 90 ( $(CD) $(INSTALL_TOPDIR)/make/installer && \
91 $(MAKE) all $(INSTALL_BUILD_ARGUMENTS) ); \ 91 $(MAKE) all $(INSTALL_BUILD_ARGUMENTS) ); \
92 $(call MakeFinish, install, all); \ 92 $(call MakeFinish,install_installer,all); \
93 fi 93 fi
94 endif 94 endif
95 95
96 combo_build: 96 combo_build:
97 @$(ECHO) $@ installer combo build started: `$(DATE) '+%y-%m-%d %H:%M'` 97 @$(ECHO) $@ installer combo build started: `$(DATE) '+%y-%m-%d %H:%M'`
98 $(CD) $(INSTALL_TOPDIR)/make/installer/bundles/windows/ishield/wrapper/wrapper.jreboth ; $(MAKE) all 98 $(CD) $(INSTALL_TOPDIR)/make/installer/bundles/windows/ishield/wrapper/wrapper.jreboth ; $(MAKE) all
99 99
100 install-clobber: 100 install-clobber:
101 ifeq ($(BUILD_INSTALL), true) 101 ifeq ($(BUILD_INSTALL), true)
102 @$(call MakeStart, install, clobber) 102 @$(call MakeStart,install,clobber)
103 ($(CD) $(INSTALL_TOPDIR)/make && \ 103 ($(CD) $(INSTALL_TOPDIR)/make && \
104 $(MAKE) clobber $(INSTALL_BUILD_ARGUMENTS)) 104 $(MAKE) clobber $(INSTALL_BUILD_ARGUMENTS))
105 @$(call MakeFinish, install, clobber) 105 @$(call MakeFinish,install,clobber)
106 endif 106 endif
107 107
108 install-sanity:: 108 install-sanity::
109 ifeq ($(BUILD_INSTALL), true) 109 ifeq ($(BUILD_INSTALL), true)
110 ($(CD) $(INSTALL_TOPDIR)/make && \ 110 ($(CD) $(INSTALL_TOPDIR)/make && \