Wed, 16 Dec 2009 23:38:55 -0800
Merge
duke@2 | 1 | # |
xdono@131 | 2 | # Copyright 2006-2009 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 | # SPONSORS TARGETS |
duke@2 | 28 | ################################################################ |
duke@2 | 29 | |
duke@2 | 30 | ifeq ($(PLATFORM)-$(ARCH), windows-i586) |
duke@2 | 31 | sponsors: sponsors-build |
duke@2 | 32 | else |
duke@2 | 33 | sponsors: |
duke@2 | 34 | endif |
duke@2 | 35 | |
duke@2 | 36 | # The generated java files are generated as a set, so instead of |
duke@2 | 37 | # setting the SPONSORS variable to that list of files, set it to |
duke@2 | 38 | # the .PHONY target that generates the set of files. |
duke@2 | 39 | SPONSORS = sponsors |
duke@2 | 40 | |
duke@2 | 41 | # put the generated patch in their own place in OUTPUTDIR |
duke@2 | 42 | SPONSORS_OUTPUTDIR = $(ABS_OUTPUTDIR) |
duke@2 | 43 | |
duke@2 | 44 | SPONSORS_BUILD_TARGETS = dll installer |
duke@2 | 45 | SPONSORS_BUILD_ARGUMENTS = \ |
duke@2 | 46 | MAKEFLAGS= \ |
duke@2 | 47 | $(COMMON_BUILD_ARGUMENTS) \ |
duke@2 | 48 | ALT_OUTPUTDIR=$(SPONSORS_OUTPUTDIR) \ |
duke@2 | 49 | ALT_RTPATCH_DIR=$(ALT_RTPATCH_DIR) \ |
duke@2 | 50 | ALT_BASE_IMAGE_ZIP=$(ALT_BASE_IMAGE_ZIP) \ |
duke@2 | 51 | ALT_BASE_IMAGE_DIR=$(ALT_BASE_IMAGE_DIR) \ |
duke@2 | 52 | ALT_NEW_IMAGE_DIR=$(ALT_NEW_IMAGE_DIR) \ |
duke@2 | 53 | ALT_BUNDLE_DATE=$(BUNDLE_DATE) |
duke@2 | 54 | |
duke@2 | 55 | ifeq ($(BUILD_LANGTOOLS), true) |
duke@2 | 56 | SPONSORS_BUILD_ARGUMENTS += ALT_LANGTOOLS_DIST=$(ABS_LANGTOOLS_DIST) |
duke@2 | 57 | endif |
duke@2 | 58 | |
duke@2 | 59 | sponsors-build: |
duke@2 | 60 | ifeq ($(ARCH_DATA_MODEL), 32) |
duke@2 | 61 | ifeq ($(BUILD_SPONSORS), true) |
ohair@128 | 62 | @$(call MakeStart, sponsors, $(SPONSORS_BUILD_TARGETS)) |
duke@2 | 63 | ($(CD) $(SPONSORS_TOPDIR)/make && \ |
ohair@128 | 64 | $(MAKE) $(SPONSORS_BUILD_TARGETS) $(SPONSORS_BUILD_ARGUMENTS)) |
ohair@128 | 65 | @$(call MakeFinish, sponsors, $(SPONSORS_BUILD_TARGETS)) |
duke@2 | 66 | endif |
duke@2 | 67 | endif |
duke@2 | 68 | |
duke@2 | 69 | sponsors-sanity: |
duke@2 | 70 | |
duke@2 | 71 | sponsors-clobber:: |
duke@2 | 72 | |
duke@2 | 73 | .PHONY: sponsors sponsors-build sponsors-sanity sponsors-clobber |
duke@2 | 74 |