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/Defs-internal.gmk

    r2 r278  
    11#
    2 # Copyright 1995-2007 Sun Microsystems, Inc.  All Rights Reserved.
     2# Copyright (c) 1995, 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
     
    2929#
    3030
     31# Always true
     32OPENJDK=true
     33
    3134# Define absolute paths to TOPDIRs
    32 ABS_CONTROL_TOPDIR:=$(call OptFullPath,"$(CONTROL_TOPDIR)")
    3335ABS_LANGTOOLS_TOPDIR:=$(call OptFullPath,"$(LANGTOOLS_TOPDIR)")
    3436ABS_CORBA_TOPDIR:=$(call OptFullPath,"$(CORBA_TOPDIR)")
     
    3739ABS_JDK_TOPDIR:=$(call OptFullPath,"$(JDK_TOPDIR)")
    3840ABS_HOTSPOT_TOPDIR:=$(call OptFullPath,"$(HOTSPOT_TOPDIR)")
    39 ABS_INSTALL_TOPDIR:=$(call OptFullPath,"$(INSTALL_TOPDIR)")
    40 ABS_SPONSORS_TOPDIR:=$(call OptFullPath,"$(SPONSORS_TOPDIR)")
    41 ABS_DEPLOY_TOPDIR:=$(call OptFullPath,"$(DEPLOY_TOPDIR)")
    4241
    4342# Macro to return true or false if a file exists and is readable
     
    9594  BUILD_JDK := $(JDK_SRC_AVAILABLE)
    9695endif
    97 ifeq ($(JDK_SRC_AVAILABLE),true)
    98   JDK_CLOSED_SRC_AVAILABLE := $(call MkExists,$(JDK_TOPDIR)/src/closed)
    99   ifndef OPENJDK
    100     ifeq ($(JDK_CLOSED_SRC_AVAILABLE),false)
    101       OPENJDK = true
    102     endif
    103   endif
     96
     97# These could be over-ridden on the command line or in environment
     98ifndef SKIP_PRODUCT_BUILD
     99  SKIP_PRODUCT_BUILD = false
    104100endif
    105 
    106 DEPLOY_SRC_AVAILABLE := $(call MkExists,$(DEPLOY_TOPDIR)/make/Makefile)
    107 ifndef BUILD_DEPLOY
    108   BUILD_DEPLOY := $(DEPLOY_SRC_AVAILABLE)
     101ifndef SKIP_FASTDEBUG_BUILD
     102  SKIP_FASTDEBUG_BUILD = true
    109103endif
    110 
    111 INSTALL_SRC_AVAILABLE := $(call MkExists,$(INSTALL_TOPDIR)/make/Makefile)
    112 ifndef BUILD_INSTALL
    113   ifdef DEV_ONLY
    114     BUILD_INSTALL := false
    115   else
    116     BUILD_INSTALL := $(INSTALL_SRC_AVAILABLE)
    117   endif
     104ifndef SKIP_DEBUG_BUILD
     105  SKIP_DEBUG_BUILD = true
    118106endif
    119 
    120 SPONSORS_SRC_AVAILABLE := $(call MkExists,$(SPONSORS_TOPDIR)/make/Makefile)
    121 ifndef BUILD_SPONSORS
    122   ifdef DEV_ONLY
    123     BUILD_SPONSORS := false
    124   else
    125     BUILD_SPONSORS := $(SPONSORS_SRC_AVAILABLE)
    126   endif
    127 endif
    128 
    129 
    130 # Do we build the source and openjdk binary plug bundles?
    131 BUNDLE_RULES = $(JDK_TOPDIR)/make/closed/bundles.gmk
    132 BUNDLE_RULES_AVAILABLE := $(call MkExists,$(BUNDLE_RULES))
    133 
    134 # Current things we do NOT build for OPENJDK
    135 ifdef OPENJDK
    136   BUILD_DEPLOY = false
    137   BUILD_INSTALL = false
    138   BUILD_SPONSORS = false
    139   BUNDLE_RULES_AVAILABLE := false
    140   # These could be over-ridden on the command line or in environment
    141   ifndef SKIP_FASTDEBUG_BUILD
    142     SKIP_FASTDEBUG_BUILD = true
    143   endif
    144   ifndef SKIP_DEBUG_BUILD
    145     SKIP_DEBUG_BUILD = true
    146   endif
    147   ifndef SKIP_COMPARE_IMAGES
    148     SKIP_COMPARE_IMAGES = true
    149   endif
    150   SKIP_OPENJDK_BUILD = true
    151 else
    152   ifndef SKIP_OPENJDK_BUILD
    153     SKIP_OPENJDK_BUILD = false
    154   endif
     107ifndef SKIP_COMPARE_IMAGES
     108  SKIP_COMPARE_IMAGES = true
    155109endif
    156110
     
    160114    SKIP_COMPARE_IMAGES = true
    161115  endif
    162   ifeq ($(BUILD_DEPLOY), false)
    163     SKIP_COMPARE_IMAGES = true
    164   endif
    165   ifeq ($(BUILD_INSTALL), false)
    166     SKIP_COMPARE_IMAGES = true
    167   endif
    168116  ifdef DEV_ONLY
    169117    SKIP_COMPARE_IMAGES = true
    170118  endif
    171 endif
    172 
    173 # Select defaults if these are not set to true or false
    174 ifndef SKIP_DEBUG_BUILD
    175   SKIP_DEBUG_BUILD=true
    176 endif
    177 ifndef SKIP_FASTDEBUG_BUILD
    178   SKIP_FASTDEBUG_BUILD=false
    179119endif
    180120
     
    241181endif
    242182
    243 ifdef FINDBUGS_HOME
    244   COMMON_BUILD_ARGUMENTS += FINDBUGS_HOME="$(FINDBUGS_HOME)"
    245 endif
    246 
    247 
Note: See TracChangeset for help on using the changeset viewer.