Makefile revision 222
8495845a800cf09321436aed996188c9a92cd647bnicholes# Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved.
8495845a800cf09321436aed996188c9a92cd647bnicholes# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
8495845a800cf09321436aed996188c9a92cd647bnicholes# This code is free software; you can redistribute it and/or modify it
8495845a800cf09321436aed996188c9a92cd647bnicholes# under the terms of the GNU General Public License version 2 only, as
8495845a800cf09321436aed996188c9a92cd647bnicholes# published by the Free Software Foundation. Oracle designates this
8495845a800cf09321436aed996188c9a92cd647bnicholes# particular file as subject to the "Classpath" exception as provided
8495845a800cf09321436aed996188c9a92cd647bnicholes# by Oracle in the LICENSE file that accompanied this code.
8495845a800cf09321436aed996188c9a92cd647bnicholes# This code is distributed in the hope that it will be useful, but WITHOUT
8495845a800cf09321436aed996188c9a92cd647bnicholes# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0662ed52e814f8f08ef0e09956413a792584eddffuankg# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
8495845a800cf09321436aed996188c9a92cd647bnicholes# version 2 for more details (a copy is included in the LICENSE file that
8495845a800cf09321436aed996188c9a92cd647bnicholes# accompanied this code).
8495845a800cf09321436aed996188c9a92cd647bnicholes# You should have received a copy of the GNU General Public License version
8495845a800cf09321436aed996188c9a92cd647bnicholes# 2 along with this work; if not, write to the Free Software Foundation,
8495845a800cf09321436aed996188c9a92cd647bnicholes# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
8495845a800cf09321436aed996188c9a92cd647bnicholes# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
8495845a800cf09321436aed996188c9a92cd647bnicholes# or visit www.oracle.com if you need additional information or have any
8495845a800cf09321436aed996188c9a92cd647bnicholes# Openjdk sources (only used if SKIP_OPENJDK_BUILD!=true)
8495845a800cf09321436aed996188c9a92cd647bnicholes JDK_MAKE_SHARED_DIR=$(JDK_TOPDIR)/make/common/shared
8495845a800cf09321436aed996188c9a92cd647bnicholes# For start and finish echo lines
8495845a800cf09321436aed996188c9a92cd647bnicholesTITLE_TEXT = Control $(PLATFORM) $(ARCH) $(RELEASE)
8495845a800cf09321436aed996188c9a92cd647bnicholesSTART_ECHO = echo "$(TITLE_TEXT) $@ build started: $(DATE_STAMP)"
8495845a800cf09321436aed996188c9a92cd647bnicholesFINISH_ECHO = echo "$(TITLE_TEXT) $@ build finished: $(DATE_STAMP)"
8495845a800cf09321436aed996188c9a92cd647bnicholes# What "all" means
8495845a800cf09321436aed996188c9a92cd647bnicholes# Everything for a full product build
8495845a800cf09321436aed996188c9a92cd647bnicholes# Generic build of basic repo series
fd780f0b6767d731e4b45c03dbbe9b9c1cbd2a8dbnicholes generic_build_repo_series:: openjdk-binary-plugs-bundles
daabb2d992bf707b145da5815020f7fd4bfb9817fuankg# The debug build, fastdebug or debug. Needs special handling.
8495845a800cf09321436aed996188c9a92cd647bnicholes# Note that debug builds do NOT do INSTALL steps, but must be done
de2feca197f3b0aaff5c201dffda04aea8a47adcfuankg# after the product build and before the INSTALL step of the product build.
8495845a800cf09321436aed996188c9a92cd647bnicholes# DEBUG_NAME is fastdebug or debug
8495845a800cf09321436aed996188c9a92cd647bnicholes# ALT_OUTPUTDIR is changed to have -debug or -fastdebug suffix
8495845a800cf09321436aed996188c9a92cd647bnicholes# The resulting j2sdk-image is used by the install makefiles to create a
8495845a800cf09321436aed996188c9a92cd647bnicholes# debug install bundle jdk-*-debug-** bundle (tar or zip)
8495845a800cf09321436aed996188c9a92cd647bnicholes# which will install in the debug or fastdebug subdirectory of the
8495845a800cf09321436aed996188c9a92cd647bnicholes# normal product install area.
8495845a800cf09321436aed996188c9a92cd647bnicholes# The install process needs to know what the DEBUG_NAME is, so
8495845a800cf09321436aed996188c9a92cd647bnicholes# look for INSTALL_DEBUG_NAME in the install rules.
8495845a800cf09321436aed996188c9a92cd647bnicholes# NOTE: On windows, do not use $(ABS_BOOTDIR_OUTPUTDIR)-$(DEBUG_NAME).
8495845a800cf09321436aed996188c9a92cd647bnicholes# Due to the use of short paths in $(ABS_OUTPUTDIR), this may
8495845a800cf09321436aed996188c9a92cd647bnicholes# not be the same location.
8495845a800cf09321436aed996188c9a92cd647bnicholes# Location of fresh bootdir output
8495845a800cf09321436aed996188c9a92cd647bnicholesFRESH_DEBUG_BOOTDIR=$(ABS_BOOTDIR_OUTPUTDIR)/../$(PLATFORM)-$(ARCH)-$(DEBUG_NAME)/j2sdk-image
8495845a800cf09321436aed996188c9a92cd647bnicholes# Create boot image?
8495845a800cf09321436aed996188c9a92cd647bnicholes # Create the bootdir to use in the build
8495845a800cf09321436aed996188c9a92cd647bnicholes # Define variables to be used now for the boot jdk
8495845a800cf09321436aed996188c9a92cd647bnicholes # Use the supplied ALT_BOOTDIR as the boot
8495845a800cf09321436aed996188c9a92cd647bnicholes# NOTE: On windows, do not use $(ABS_OUTPUTDIR)-$(DEBUG_NAME).
8495845a800cf09321436aed996188c9a92cd647bnicholes# Due to the use of short paths in $(ABS_OUTPUTDIR), this may
0662ed52e814f8f08ef0e09956413a792584eddffuankg# not be the same location.
@$(START_ECHO)
$(MAKE) \
GENERATE_DOCS=false \
@$(FINISH_ECHO)
@$(START_ECHO)
OPENJDK=true \
GENERATE_DOCS=false \
@$(FINISH_ECHO)
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: