Changeset 278 for trunk/openjdk/make/sanity-rules.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/sanity-rules.gmk
r2 r278 1 1 # 2 # Copyright 2001-2007 Sun Microsystems, Inc. All Rights Reserved.2 # Copyright (c) 2001, 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 … … 34 34 endif 35 35 36 ifeq ($(BUILD_DEPLOY), true)37 sanity:: deploy-sanity38 endif39 40 36 ifeq ($(BUILD_JDK), true) 41 37 sanity:: jdk-sanity 42 38 endif 43 39 44 # Only need these sanity rules when not doing a debug build45 ifeq ($(DEBUG_NAME),)46 47 ifeq ($(BUILD_INSTALL), true)48 sanity:: install-sanity49 endif50 51 ifeq ($(BUILD_SPONSORS), true)52 sanity:: sponsors-sanity53 endif54 55 endif56 57 40 sanity:: post-sanity 58 41 … … 68 51 69 52 # 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:53 post-sanity post-sanity-hotspot post-sanity-jdk: 71 54 @if [ -r $(MESSAGE_FILE) ]; then \ 72 55 $(ECHO) "" ; \ … … 191 174 endif 192 175 endif 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 176 ifdef NO_DOCS 217 177 @$(ECHO) "WARNING: Your build environment has the variable NO_DOCS\n" \ 218 178 " defined. This will result in a development-only\n" \ … … 220 180 " build.\n" \ 221 181 "" >> $(WARNING_FILE) 222 endif223 182 endif 224 183 ifdef NO_IMAGES … … 295 254 @$(ECHO) " CWD = `$(PWD)`" >> $(MESSAGE_FILE) 296 255 @$(ECHO) " TOPDIR = $(TOPDIR)" >> $(MESSAGE_FILE) 297 @$(ECHO) " CONTROL_TOPDIR = $(CONTROL_TOPDIR)" >> $(MESSAGE_FILE)298 256 ifeq ($(LANGTOOLS_SRC_AVAILABLE), true) 299 257 @$(ECHO) " LANGTOOLS_TOPDIR = $(LANGTOOLS_TOPDIR)" >> $(MESSAGE_FILE) … … 316 274 ifeq ($(MOTIF_SRC_AVAILABLE), true) 317 275 @$(ECHO) " MOTIF_TOPDIR = $(MOTIF_TOPDIR)" >> $(MESSAGE_FILE) 318 endif319 ifeq ($(DEPLOY_SRC_AVAILABLE), true)320 @$(ECHO) " DEPLOY_TOPDIR = $(DEPLOY_TOPDIR)" >> $(MESSAGE_FILE)321 endif322 ifeq ($(INSTALL_SRC_AVAILABLE), true)323 @$(ECHO) " INSTALL_TOPDIR = $(INSTALL_TOPDIR)" >> $(MESSAGE_FILE)324 endif325 ifeq ($(SPONSORS_SRC_AVAILABLE), true)326 @$(ECHO) " SPONSORS_TOPDIR = $(SPONSORS_TOPDIR)" >> $(MESSAGE_FILE)327 276 endif 328 277 @$(ECHO) "" >> $(MESSAGE_FILE) … … 352 301 @$(ECHO) " BUILD_JDK = $(BUILD_JDK) " >> $(MESSAGE_FILE) 353 302 endif 354 ifeq ($(DEPLOY_SRC_AVAILABLE), true)355 @$(ECHO) " BUILD_DEPLOY = $(BUILD_DEPLOY) " >> $(MESSAGE_FILE)356 endif357 ifeq ($(INSTALL_SRC_AVAILABLE), true)358 @$(ECHO) " BUILD_INSTALL = $(BUILD_INSTALL) " >> $(MESSAGE_FILE)359 endif360 ifeq ($(SPONSORS_SRC_AVAILABLE), true)361 @$(ECHO) " BUILD_SPONSORS = $(BUILD_SPONSORS) " >> $(MESSAGE_FILE)362 endif363 303 @$(ECHO) " DEBUG_CLASSFILES = $(DEBUG_CLASSFILES) " >> $(MESSAGE_FILE) 364 304 @$(ECHO) " DEBUG_BINARIES = $(DEBUG_BINARIES) " >> $(MESSAGE_FILE) … … 366 306 367 307 .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 \ 370 309 alt_bootdir bootdir
Note:
See TracChangeset
for help on using the changeset viewer.