make/jprt.gmk

Thu, 02 Oct 2008 19:58:13 -0700

author
xdono
date
Thu, 02 Oct 2008 19:58:13 -0700
changeset 44
744554f5a329
parent 29
55b2666e52e1
child 62
3398ae556a2a
permissions
-rw-r--r--

6754988: Update copyright year
Summary: Update for files that have been modified starting July 2008
Reviewed-by: ohair, tbell

duke@2 1 #
xdono@44 2 # Copyright 2006-2008 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 # JPRT rule to build
duke@2 28 ################################################################
duke@2 29
duke@2 30 # To get all the bundles from JPRT, use:
duke@2 31 # jprt submit -buildenv HAVE_JPRT_SAVE_BUNDLES=true -control "..." ...
duke@2 32
duke@2 33 DEFAULT_BUILD_FLAVOR=product
duke@2 34
duke@2 35 # JPRT will define these when it builds
duke@2 36 JPRT_ARCHIVE_BUNDLE=$(ABS_OUTPUTDIR)/$(DEFAULT_BUILD_FLAVOR)-bundle.zip
duke@2 37 JPRT_ARCHIVE_INSTALL_BUNDLE=$(ABS_OUTPUTDIR)/$(DEFAULT_BUILD_FLAVOR)-install-bundle.zip
duke@2 38
ohair@29 39 jprt_build_product: all_product_build
duke@2 40 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \
duke@2 41 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . )
duke@2 42 ifdef HAVE_JPRT_SAVE_BUNDLES
duke@2 43 ( $(CD) $(OUTPUTDIR)/bundles && \
duke@2 44 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_INSTALL_BUNDLE) . )
duke@2 45 endif
duke@2 46
duke@2 47 jprt_build_fastdebug: fastdebug_build
duke@2 48 ( $(CD) $(OUTPUTDIR)-fastdebug/j2sdk-image && \
duke@2 49 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . )
duke@2 50
duke@2 51 jprt_build_debug: debug_build
duke@2 52 ( $(CD) $(OUTPUTDIR)-debug/j2sdk-image && \
duke@2 53 $(ZIPEXE) -q -r $(JPRT_ARCHIVE_BUNDLE) . )
duke@2 54
duke@2 55 ################################################################
duke@2 56 # PHONY
duke@2 57 ################################################################
duke@2 58
duke@2 59 .PHONY: jprt_build_product jprt_build_fastdebug jprt_build_debug
duke@2 60

mercurial