annotate make/langtools-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 412712f77af6
children 7e13dbf7e8af
rev   line source
duke@0 1 #
ohair@180 2 # Copyright (c) 2001, 2009, Oracle and/or its affiliates. All rights reserved.
duke@0 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4 #
duke@0 5 # This code is free software; you can redistribute it and/or modify it
duke@0 6 # under the terms of the GNU General Public License version 2 only, as
ohair@180 7 # published by the Free Software Foundation. Oracle designates this
duke@0 8 # particular file as subject to the "Classpath" exception as provided
ohair@180 9 # by Oracle in the LICENSE file that accompanied this code.
duke@0 10 #
duke@0 11 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 14 # version 2 for more details (a copy is included in the LICENSE file that
duke@0 15 # accompanied this code).
duke@0 16 #
duke@0 17 # You should have received a copy of the GNU General Public License version
duke@0 18 # 2 along with this work; if not, write to the Free Software Foundation,
duke@0 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 20 #
ohair@180 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@180 22 # or visit www.oracle.com if you need additional information or have any
ohair@180 23 # questions.
duke@0 24 #
duke@0 25
duke@0 26 ################################################################
duke@0 27 # LANGTOOLS TARGETS
duke@0 28 ################################################################
duke@0 29
duke@0 30 LANGTOOLS_BUILD_ARGUMENTS = \
duke@0 31 $(COMMON_BUILD_ARGUMENTS) \
duke@0 32 ALT_OUTPUTDIR=$(LANGTOOLS_OUTPUTDIR) \
duke@0 33 ALT_BOOTDIR=$(BOOTDIR)
duke@0 34
duke@0 35 langtools: langtools-build
duke@0 36 langtools-build:
duke@0 37 $(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
ohrstrom@311 38 @$(call MakeStart,langtools,all)
duke@0 39 ($(CD) $(LANGTOOLS_TOPDIR)/make && \
ohair@126 40 $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) all)
ohrstrom@311 41 @$(call MakeFinish,langtools,all)
duke@0 42
duke@0 43 langtools-clobber::
duke@0 44 $(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
ohrstrom@311 45 @$(call MakeStart,langtools,clobber)
duke@0 46 ($(CD) $(LANGTOOLS_TOPDIR)/make && \
ohair@126 47 $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) clobber)
ohrstrom@311 48 @$(call MakeFinish,langtools,clobber)
duke@0 49
duke@0 50 .PHONY: langtools langtools-build langtools-clobber
duke@0 51