Ignore:
Timestamp:
Mar 26, 2011, 8:39:20 PM (14 years ago)
Author:
dmik
Message:

trunk: Merged in openjdk6 b22 from branches/vendor/oracle.

Location:
trunk/openjdk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/openjdk

  • trunk/openjdk/make/sanity-rules.gmk

    r2 r278  
    11#
    2 # Copyright 2001-2007 Sun Microsystems, Inc.  All Rights Reserved.
     2# Copyright (c) 2001, 2010, Oracle and/or its affiliates. All rights reserved.
    33# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
    44#
    55# This code is free software; you can redistribute it and/or modify it
    66# under the terms of the GNU General Public License version 2 only, as
    7 # published by the Free Software Foundation.  Sun designates this
     7# published by the Free Software Foundation.  Oracle designates this
    88# particular file as subject to the "Classpath" exception as provided
    9 # by Sun in the LICENSE file that accompanied this code.
     9# by Oracle in the LICENSE file that accompanied this code.
    1010#
    1111# This code is distributed in the hope that it will be useful, but WITHOUT
     
    1919# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    2020#
    21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
    22 # CA 95054 USA or visit www.sun.com if you need additional information or
    23 # have any questions.
     21# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
     22# or visit www.oracle.com if you need additional information or have any
     23# questions.
    2424#
    2525
     
    3434endif
    3535
    36 ifeq ($(BUILD_DEPLOY), true)
    37   sanity:: deploy-sanity
    38 endif
    39 
    4036ifeq ($(BUILD_JDK), true)
    4137  sanity:: jdk-sanity
    4238endif
    4339
    44 # Only need these sanity rules when not doing a debug build
    45 ifeq ($(DEBUG_NAME),)
    46 
    47   ifeq ($(BUILD_INSTALL), true)
    48     sanity:: install-sanity
    49   endif
    50 
    51   ifeq ($(BUILD_SPONSORS), true)
    52     sanity:: sponsors-sanity
    53   endif
    54 
    55 endif
    56 
    5740sanity:: post-sanity
    5841
     
    6851
    6952# this should be the last rule in any target's sanity rule.
    70 post-sanity post-sanity-hotspot post-sanity-jdk post-sanity-motif post-sanity-install post-sanity-deploy:
     53post-sanity post-sanity-hotspot post-sanity-jdk:
    7154        @if [ -r $(MESSAGE_FILE) ]; then \
    7255          $(ECHO) "" ; \
     
    191174  endif
    192175endif
    193 ifeq ($(DEPLOY_SRC_AVAILABLE), true)
    194   ifneq ($(BUILD_DEPLOY), true)
    195         @$(ECHO) "WARNING: You are not building the DEPLOY sources.\n" \
    196            "        This will result in a development-only\n" \
    197            "        build of the JDK, lacking the plugin and javaws binaries.\n" \
    198            "" >> $(WARNING_FILE)
    199   endif
    200 endif
    201 ifeq ($(INSTALL_SRC_AVAILABLE), true)
    202   ifneq ($(BUILD_INSTALL), true)
    203         @$(ECHO) "WARNING: You are not building the INSTALL sources.\n" \
    204            "        This will result in a development-only\n" \
    205            "        build of the JDK, lacking the installation bundles\n" \
    206            "" >> $(WARNING_FILE)
    207   endif
    208 endif
    209 ifeq ($(SPONSORS_SRC_AVAILABLE), true)
    210   ifneq ($(BUILD_SPONSORS), true)
    211         @$(ECHO) "WARNING: You are not building the SPONSORS sources.\n" \
    212            "" >> $(WARNING_FILE)
    213   endif
    214 endif
    215 ifndef OPENJDK
    216   ifdef NO_DOCS
     176ifdef NO_DOCS
    217177        @$(ECHO) "WARNING: Your build environment has the variable NO_DOCS\n" \
    218178           "        defined. This will result in a development-only\n" \
     
    220180           "        build.\n" \
    221181           "" >> $(WARNING_FILE)
    222   endif
    223182endif
    224183ifdef NO_IMAGES
     
    295254        @$(ECHO) "   CWD = `$(PWD)`" >> $(MESSAGE_FILE)
    296255        @$(ECHO) "   TOPDIR = $(TOPDIR)"  >> $(MESSAGE_FILE)
    297         @$(ECHO) "   CONTROL_TOPDIR = $(CONTROL_TOPDIR)"  >> $(MESSAGE_FILE)
    298256ifeq ($(LANGTOOLS_SRC_AVAILABLE), true)
    299257        @$(ECHO) "   LANGTOOLS_TOPDIR = $(LANGTOOLS_TOPDIR)"  >> $(MESSAGE_FILE)
     
    316274ifeq ($(MOTIF_SRC_AVAILABLE), true)
    317275        @$(ECHO) "   MOTIF_TOPDIR = $(MOTIF_TOPDIR)"  >> $(MESSAGE_FILE)
    318 endif
    319 ifeq ($(DEPLOY_SRC_AVAILABLE), true)
    320         @$(ECHO) "   DEPLOY_TOPDIR = $(DEPLOY_TOPDIR)"  >> $(MESSAGE_FILE)
    321 endif
    322 ifeq ($(INSTALL_SRC_AVAILABLE), true)
    323         @$(ECHO) "   INSTALL_TOPDIR = $(INSTALL_TOPDIR)"  >> $(MESSAGE_FILE)
    324 endif
    325 ifeq ($(SPONSORS_SRC_AVAILABLE), true)
    326         @$(ECHO) "   SPONSORS_TOPDIR = $(SPONSORS_TOPDIR)"  >> $(MESSAGE_FILE)
    327276endif
    328277        @$(ECHO) "" >> $(MESSAGE_FILE)
     
    352301        @$(ECHO) "   BUILD_JDK    = $(BUILD_JDK) " >> $(MESSAGE_FILE)
    353302endif
    354 ifeq ($(DEPLOY_SRC_AVAILABLE), true)
    355         @$(ECHO) "   BUILD_DEPLOY  = $(BUILD_DEPLOY) " >> $(MESSAGE_FILE)
    356 endif
    357 ifeq ($(INSTALL_SRC_AVAILABLE), true)
    358         @$(ECHO) "   BUILD_INSTALL = $(BUILD_INSTALL) " >> $(MESSAGE_FILE)
    359 endif
    360 ifeq ($(SPONSORS_SRC_AVAILABLE), true)
    361         @$(ECHO) "   BUILD_SPONSORS = $(BUILD_SPONSORS) " >> $(MESSAGE_FILE)
    362 endif
    363303        @$(ECHO) "   DEBUG_CLASSFILES = $(DEBUG_CLASSFILES) " >> $(MESSAGE_FILE)
    364304        @$(ECHO) "   DEBUG_BINARIES = $(DEBUG_BINARIES) " >> $(MESSAGE_FILE)
     
    366306
    367307.PHONY: sanity settings pre-sanity insane \
    368         post-sanity post-sanity-hotspot post-sanity-jdk post-sanity-motif \
    369         post-sanity-install post-sanity-deploy \
     308        post-sanity post-sanity-hotspot post-sanity-jdk \
    370309        alt_bootdir bootdir
Note: See TracChangeset for help on using the changeset viewer.