Changeset 278 for trunk/openjdk/make/Defs-internal.gmk
- Timestamp:
- Mar 26, 2011, 8:39:20 PM (14 years ago)
- Location:
- trunk/openjdk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/openjdk
- Property svn:ignore
-
old new 1 1 build 2 build-product-release
-
-
Property svn:mergeinfo
set to
/branches/vendor/oracle/openjdk6/b22 merged eligible /branches/vendor/oracle/openjdk6/current merged eligible
- Property svn:ignore
-
trunk/openjdk/make/Defs-internal.gmk
r2 r278 1 1 # 2 # Copyright 1995-2007 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 1995, 2010, Oracle and/or its affiliates. All rights reserved. 3 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 4 # 5 5 # This code is free software; you can redistribute it and/or modify it 6 6 # under the terms of the GNU General Public License version 2 only, as 7 # published by the Free Software Foundation. Sundesignates this7 # published by the Free Software Foundation. Oracle designates this 8 8 # particular file as subject to the "Classpath" exception as provided 9 # by Sunin the LICENSE file that accompanied this code.9 # by Oracle in the LICENSE file that accompanied this code. 10 10 # 11 11 # This code is distributed in the hope that it will be useful, but WITHOUT … … 19 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 20 # 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 or23 # have anyquestions.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. 24 24 # 25 25 … … 29 29 # 30 30 31 # Always true 32 OPENJDK=true 33 31 34 # Define absolute paths to TOPDIRs 32 ABS_CONTROL_TOPDIR:=$(call OptFullPath,"$(CONTROL_TOPDIR)")33 35 ABS_LANGTOOLS_TOPDIR:=$(call OptFullPath,"$(LANGTOOLS_TOPDIR)") 34 36 ABS_CORBA_TOPDIR:=$(call OptFullPath,"$(CORBA_TOPDIR)") … … 37 39 ABS_JDK_TOPDIR:=$(call OptFullPath,"$(JDK_TOPDIR)") 38 40 ABS_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)")42 41 43 42 # Macro to return true or false if a file exists and is readable … … 95 94 BUILD_JDK := $(JDK_SRC_AVAILABLE) 96 95 endif 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 98 ifndef SKIP_PRODUCT_BUILD 99 SKIP_PRODUCT_BUILD = false 104 100 endif 105 106 DEPLOY_SRC_AVAILABLE := $(call MkExists,$(DEPLOY_TOPDIR)/make/Makefile) 107 ifndef BUILD_DEPLOY 108 BUILD_DEPLOY := $(DEPLOY_SRC_AVAILABLE) 101 ifndef SKIP_FASTDEBUG_BUILD 102 SKIP_FASTDEBUG_BUILD = true 109 103 endif 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 104 ifndef SKIP_DEBUG_BUILD 105 SKIP_DEBUG_BUILD = true 118 106 endif 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 107 ifndef SKIP_COMPARE_IMAGES 108 SKIP_COMPARE_IMAGES = true 155 109 endif 156 110 … … 160 114 SKIP_COMPARE_IMAGES = true 161 115 endif 162 ifeq ($(BUILD_DEPLOY), false)163 SKIP_COMPARE_IMAGES = true164 endif165 ifeq ($(BUILD_INSTALL), false)166 SKIP_COMPARE_IMAGES = true167 endif168 116 ifdef DEV_ONLY 169 117 SKIP_COMPARE_IMAGES = true 170 118 endif 171 endif172 173 # Select defaults if these are not set to true or false174 ifndef SKIP_DEBUG_BUILD175 SKIP_DEBUG_BUILD=true176 endif177 ifndef SKIP_FASTDEBUG_BUILD178 SKIP_FASTDEBUG_BUILD=false179 119 endif 180 120 … … 241 181 endif 242 182 243 ifdef FINDBUGS_HOME244 COMMON_BUILD_ARGUMENTS += FINDBUGS_HOME="$(FINDBUGS_HOME)"245 endif246 247
Note:
See TracChangeset
for help on using the changeset viewer.