Makefile revision 970
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Copyright (c) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# This code is free software; you can redistribute it and/or modify it
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# under the terms of the GNU General Public License version 2 only, as
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# published by the Free Software Foundation. Oracle designates this
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# particular file as subject to the "Classpath" exception as provided
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# by Oracle in the LICENSE file that accompanied this code.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# This code is distributed in the hope that it will be useful, but WITHOUT
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# version 2 for more details (a copy is included in the LICENSE file that
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# accompanied this code).
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# You should have received a copy of the GNU General Public License version
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# 2 along with this work; if not, write to the Free Software Foundation,
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# or visit www.oracle.com if you need additional information or have any
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# questions.
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Basename of any originally supplied ALT_OUTPUTDIR directory
4bff34e37def8a90f9194d81bc345c52ba20086athurlow ORIG_OUTPUTDIR_BASENAME := $(shell basename $(ALT_OUTPUTDIR))
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# The three possible directories created for output (3 build flavors)
4bff34e37def8a90f9194d81bc345c52ba20086athurlowOUTPUTDIR_BASENAME-debug = $(ORIG_OUTPUTDIR_BASENAME)-debug
4bff34e37def8a90f9194d81bc345c52ba20086athurlowOUTPUTDIR_BASENAME-fastdebug = $(ORIG_OUTPUTDIR_BASENAME)-fastdebug
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Relative path to a debug output area
4bff34e37def8a90f9194d81bc345c52ba20086athurlowREL_JDK_OUTPUTDIR = ../$(OUTPUTDIR_BASENAME-$(DEBUG_NAME))
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# The created jdk image directory
4bff34e37def8a90f9194d81bc345c52ba20086athurlowABS_JDK_IMAGE_DIR = $(ABS_OUTPUTDIR)/$(JDK_IMAGE_DIRNAME)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Relative path from an output directory to the image directory
4bff34e37def8a90f9194d81bc345c52ba20086athurlowREL_JDK_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-$(DEBUG_NAME))/$(JDK_IMAGE_DIRNAME)
4bff34e37def8a90f9194d81bc345c52ba20086athurlowREL_JDK_DEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-debug)/$(JDK_IMAGE_DIRNAME)
4bff34e37def8a90f9194d81bc345c52ba20086athurlowREL_JDK_FASTDEBUG_IMAGE_DIR = ../$(OUTPUTDIR_BASENAME-fastdebug)/$(JDK_IMAGE_DIRNAME)
4bff34e37def8a90f9194d81bc345c52ba20086athurlow JDK_MAKE_SHARED_DIR=$(JDK_TOPDIR)/make/common/shared
4bff34e37def8a90f9194d81bc345c52ba20086athurlow# Everything for a full product build
@$(call StartTimer)
GENERATE_DOCS=false \
GENERATE_DOCS=false \
GENERATE_DOCS=false \
DO_BOOT_CYCLE=true
$(MAKE) \
SKIP_FASTDEBUG_BUILD=true \
SKIP_DEBUG_BUILD=true \
$(BOOT_CYCLE_SETTINGS) \
$(MAKE) \
GENERATE_DOCS=false \
CREATE_DEBUGINFO_BUNDLES=true \
$(CAT) $<
@$(call GetSourceTips)
clobber::
$(MAKE) \
BUILD_HOTSPOT=false \
BUILD_JDK=false \
BUILD_LANGTOOLS=false \
BUILD_CORBA=false \
BUILD_JAXP=false \
BUILD_JAXWS=false \
BUILD_INSTALL=false \
BUILD_SPONSORS=false \
BOOTDIR \
BOOTDIR \
%.printval:
%.checkdir:
%.checkfil:
$(CAT) $<; \
@$(RM) $@
$(RM) $@
FRC: