make/langtools-rules.gmk

Wed, 06 Aug 2008 14:57:13 -0700

author
ohair
date
Wed, 06 Aug 2008 14:57:13 -0700
changeset 29
55b2666e52e1
parent 2
cfeea66a3fa8
child 128
e76b72562a98
permissions
-rw-r--r--

6728161: Add SKIP_BOOT_CYCLE feature to create boot jdk and use it during build
Reviewed-by: tbell

duke@2 1 #
duke@2 2 # Copyright 2001-2007 Sun Microsystems, Inc. All Rights Reserved.
duke@2 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@2 4 #
duke@2 5 # This code is free software; you can redistribute it and/or modify it
duke@2 6 # under the terms of the GNU General Public License version 2 only, as
duke@2 7 # published by the Free Software Foundation. Sun designates this
duke@2 8 # particular file as subject to the "Classpath" exception as provided
duke@2 9 # by Sun in the LICENSE file that accompanied this code.
duke@2 10 #
duke@2 11 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@2 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@2 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@2 14 # version 2 for more details (a copy is included in the LICENSE file that
duke@2 15 # accompanied this code).
duke@2 16 #
duke@2 17 # You should have received a copy of the GNU General Public License version
duke@2 18 # 2 along with this work; if not, write to the Free Software Foundation,
duke@2 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@2 20 #
duke@2 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
duke@2 22 # CA 95054 USA or visit www.sun.com if you need additional information or
duke@2 23 # have any questions.
duke@2 24 #
duke@2 25
duke@2 26 ################################################################
duke@2 27 # LANGTOOLS TARGETS
duke@2 28 ################################################################
duke@2 29
duke@2 30 LANGTOOLS_BUILD_ARGUMENTS = \
duke@2 31 $(COMMON_BUILD_ARGUMENTS) \
duke@2 32 ALT_OUTPUTDIR=$(LANGTOOLS_OUTPUTDIR) \
duke@2 33 ALT_BOOTDIR=$(BOOTDIR)
duke@2 34
duke@2 35 langtools: langtools-build
duke@2 36 langtools-build:
duke@2 37 $(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
duke@2 38 ($(CD) $(LANGTOOLS_TOPDIR)/make && \
duke@2 39 $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) all)
duke@2 40
duke@2 41 langtools-clobber::
duke@2 42 $(MKDIR) -p $(LANGTOOLS_OUTPUTDIR)
duke@2 43 ($(CD) $(LANGTOOLS_TOPDIR)/make && \
duke@2 44 $(MAKE) $(LANGTOOLS_BUILD_ARGUMENTS) clobber)
duke@2 45
duke@2 46 .PHONY: langtools langtools-build langtools-clobber
duke@2 47

mercurial