duke@2: # ohair@182: # Copyright (c) 2006, 2009, Oracle and/or its affiliates. All rights reserved. duke@2: # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. duke@2: # duke@2: # This code is free software; you can redistribute it and/or modify it duke@2: # under the terms of the GNU General Public License version 2 only, as ohair@182: # published by the Free Software Foundation. Oracle designates this duke@2: # particular file as subject to the "Classpath" exception as provided ohair@182: # by Oracle in the LICENSE file that accompanied this code. duke@2: # duke@2: # This code is distributed in the hope that it will be useful, but WITHOUT duke@2: # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or duke@2: # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License duke@2: # version 2 for more details (a copy is included in the LICENSE file that duke@2: # accompanied this code). duke@2: # duke@2: # You should have received a copy of the GNU General Public License version duke@2: # 2 along with this work; if not, write to the Free Software Foundation, duke@2: # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. duke@2: # ohair@182: # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA ohair@182: # or visit www.oracle.com if you need additional information or have any ohair@182: # questions. duke@2: # duke@2: duke@2: ################################################################ duke@2: # SPONSORS TARGETS duke@2: ################################################################ duke@2: duke@2: ifeq ($(PLATFORM)-$(ARCH), windows-i586) duke@2: sponsors: sponsors-build duke@2: else duke@2: sponsors: duke@2: endif duke@2: duke@2: # The generated java files are generated as a set, so instead of duke@2: # setting the SPONSORS variable to that list of files, set it to duke@2: # the .PHONY target that generates the set of files. duke@2: SPONSORS = sponsors duke@2: duke@2: # put the generated patch in their own place in OUTPUTDIR duke@2: SPONSORS_OUTPUTDIR = $(ABS_OUTPUTDIR) duke@2: duke@2: SPONSORS_BUILD_TARGETS = dll installer duke@2: SPONSORS_BUILD_ARGUMENTS = \ duke@2: MAKEFLAGS= \ duke@2: $(COMMON_BUILD_ARGUMENTS) \ duke@2: ALT_OUTPUTDIR=$(SPONSORS_OUTPUTDIR) \ duke@2: ALT_RTPATCH_DIR=$(ALT_RTPATCH_DIR) \ duke@2: ALT_BASE_IMAGE_ZIP=$(ALT_BASE_IMAGE_ZIP) \ duke@2: ALT_BASE_IMAGE_DIR=$(ALT_BASE_IMAGE_DIR) \ duke@2: ALT_NEW_IMAGE_DIR=$(ALT_NEW_IMAGE_DIR) \ duke@2: ALT_BUNDLE_DATE=$(BUNDLE_DATE) duke@2: duke@2: ifeq ($(BUILD_LANGTOOLS), true) duke@2: SPONSORS_BUILD_ARGUMENTS += ALT_LANGTOOLS_DIST=$(ABS_LANGTOOLS_DIST) duke@2: endif duke@2: duke@2: sponsors-build: duke@2: ifeq ($(ARCH_DATA_MODEL), 32) duke@2: ifeq ($(BUILD_SPONSORS), true) ohrstrom@313: @$(call MakeStart,sponsors,$(SPONSORS_BUILD_TARGETS)) duke@2: ($(CD) $(SPONSORS_TOPDIR)/make && \ ohair@128: $(MAKE) $(SPONSORS_BUILD_TARGETS) $(SPONSORS_BUILD_ARGUMENTS)) ohrstrom@313: @$(call MakeFinish,sponsors,$(SPONSORS_BUILD_TARGETS)) duke@2: endif duke@2: endif duke@2: duke@2: sponsors-sanity: duke@2: duke@2: sponsors-clobber:: duke@2: duke@2: .PHONY: sponsors sponsors-build sponsors-sanity sponsors-clobber duke@2: