annotate make/deploy-rules.gmk @ 13:56652b46f328

Added tag jdk7-b27 for changeset 11b4dc9f2be3
author xdono
date Thu, 22 May 2008 09:37:37 -0700
parents
children c50469cf63cd
rev   line source
duke@0 1 #
duke@0 2 # Copyright 2002-2007 Sun Microsystems, Inc. All Rights Reserved.
duke@0 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 4 #
duke@0 5 # This code is free software; you can redistribute it and/or modify it
duke@0 6 # under the terms of the GNU General Public License version 2 only, as
duke@0 7 # published by the Free Software Foundation. Sun designates this
duke@0 8 # particular file as subject to the "Classpath" exception as provided
duke@0 9 # by Sun in the LICENSE file that accompanied this code.
duke@0 10 #
duke@0 11 # This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 14 # version 2 for more details (a copy is included in the LICENSE file that
duke@0 15 # accompanied this code).
duke@0 16 #
duke@0 17 # You should have received a copy of the GNU General Public License version
duke@0 18 # 2 along with this work; if not, write to the Free Software Foundation,
duke@0 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 20 #
duke@0 21 # Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
duke@0 22 # CA 95054 USA or visit www.sun.com if you need additional information or
duke@0 23 # have any questions.
duke@0 24 #
duke@0 25
duke@0 26 ################################################################
duke@0 27 # DEPLOY TARGETS
duke@0 28 ################################################################
duke@0 29
duke@0 30 ifeq ($(ARCH_DATA_MODEL), 32)
duke@0 31 deploy: deploy-build
duke@0 32 else
duke@0 33 deploy:
duke@0 34 endif
duke@0 35
duke@0 36 DEPLOY = deploy
duke@0 37
duke@0 38 # put the generated bundles in their own place in OUTPUTDIR
duke@0 39 DEPLOY_OUTPUTDIR = $(ABS_OUTPUTDIR)
duke@0 40
duke@0 41 # NO_IMAGES may be set in conjunction with DEV_ONLY
duke@0 42 ifdef NO_IMAGES
duke@0 43 IMAGES_TARGET =
duke@0 44 else
duke@0 45 IMAGES_TARGET = images
duke@0 46 endif
duke@0 47
duke@0 48 DEPLOY_BUILD_TARGETS = sanity javaws-all plugin-all
duke@0 49 ifndef DEV_ONLY
duke@0 50 DEPLOY_BUILD_TARGETS += images
duke@0 51 else
duke@0 52 DEPLOY_BUILD_TARGETS += $(IMAGES_TARGET)
duke@0 53 endif
duke@0 54
duke@0 55 DEPLOY_BUILD_ARGUMENTS = $(COMMON_BUILD_ARGUMENTS) \
duke@0 56 ALT_OUTPUTDIR=$(DEPLOY_OUTPUTDIR)
duke@0 57
duke@0 58 ifeq ($(BUILD_LANGTOOLS), true)
duke@0 59 DEPLOY_BUILD_ARGUMENTS += ALT_LANGTOOLS_DIST=$(ABS_LANGTOOLS_DIST)
duke@0 60 endif
duke@0 61
duke@0 62 ifdef ALT_IMAGE_DIR
duke@0 63 DEPLOY_BUILD_ARGUMENTS += ALT_IMAGE_DIR=$(ALT_IMAGE_DIR)
duke@0 64 endif
duke@0 65
duke@0 66 ifdef ALT_BUNDLE_DATE
duke@0 67 DEPLOY_BUILD_ARGUMENTS += ALT_BUNDLE_DATE=$(ALT_BUNDLE_DATE)
duke@0 68 endif
duke@0 69
duke@0 70 ifdef ALT_JAVAWS_BOOTDIR
duke@0 71 DEPLOY_BUILD_ARGUMENTS += ALT_JAVAWS_BOOTDIR=$(ALT_JAVAWS_BOOTDIR)
duke@0 72 endif
duke@0 73
duke@0 74 ifdef CERT
duke@0 75 DEPLOY_BUILD_ARGUMENTS += CERT=$(CERT)
duke@0 76 endif
duke@0 77
duke@0 78 ifdef PKEY
duke@0 79 DEPLOY_BUILD_ARGUMENTS += PKEY=$(PKEY)
duke@0 80 endif
duke@0 81
duke@0 82 deploy-build:
duke@0 83 ifeq ($(ARCH_DATA_MODEL), 32)
duke@0 84 ifeq ($(BUILD_DEPLOY), true)
duke@0 85 ($(CD) $(DEPLOY_TOPDIR)/make && \
duke@0 86 $(MAKE) $(DEPLOY_BUILD_TARGETS) $(DEPLOY_BUILD_ARGUMENTS))
duke@0 87 endif
duke@0 88 endif
duke@0 89
duke@0 90 deploy-clobber::
duke@0 91 ifeq ($(ARCH_DATA_MODEL), 32)
duke@0 92 ifeq ($(BUILD_DEPLOY), true)
duke@0 93 ($(CD) $(DEPLOY_TOPDIR)/make && \
duke@0 94 $(MAKE) clobber $(DEPLOY_BUILD_ARGUMENTS))
duke@0 95 endif
duke@0 96 endif
duke@0 97
duke@0 98 deploy-sanity::
duke@0 99 ifeq ($(ARCH_DATA_MODEL), 32)
duke@0 100 ifeq ($(BUILD_DEPLOY), true)
duke@0 101 ($(CD) $(DEPLOY_TOPDIR)/make && \
duke@0 102 $(MAKE) sanity $(DEPLOY_BUILD_ARGUMENTS))
duke@0 103 endif
duke@0 104 endif
duke@0 105
duke@0 106 .PHONY: deploy deploy-build deploy-clobber deploy-sanity
duke@0 107