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