annotate make/jprt.gmk @ 6064:8e3d618505d3

Merge
author lana
date Mon, 06 May 2013 09:54:45 -0700
parents a06412e13bf7
children
rev   line source
duke@0 1 #
dcubed@4873 2 # Copyright (c) 2006, 2012, Oracle and/or its affiliates. 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
ohair@2362 7 # published by the Free Software Foundation. Oracle designates this
duke@0 8 # particular file as subject to the "Classpath" exception as provided
ohair@2362 9 # by Oracle 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 #
ohair@2362 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@2362 22 # or visit www.oracle.com if you need additional information or have any
ohair@2362 23 # questions.
duke@0 24 #
duke@0 25
duke@0 26 # JPRT rule to build this workspace
duke@0 27
duke@0 28 JPRT_ARCHIVE_BUNDLE=$(ABS_OUTPUTDIR)/$(JPRT_BUILD_FLAVOR)-bundle.zip
duke@0 29
dcubed@4873 30 ifeq ($(PLATFORM),windows)
dcubed@4873 31 ZIPFLAGS=-q
dcubed@4873 32 else
dcubed@4873 33 # store symbolic links as the link
dcubed@4873 34 ZIPFLAGS=-q -y
dcubed@4873 35 endif
dcubed@4873 36
duke@0 37 jprt_build_product: all images
duke@0 38 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \
dcubed@4873 39 $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
duke@0 40
duke@0 41 jprt_build_fastdebug: fastdebug images
duke@0 42 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \
dcubed@4873 43 $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
duke@0 44
duke@0 45 jprt_build_debug: debug images
duke@0 46 ( $(CD) $(OUTPUTDIR)/j2sdk-image && \
dcubed@4873 47 $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
duke@0 48
duke@0 49 #
duke@0 50 # Phonies to avoid accidents.
duke@0 51 #
duke@0 52 .PHONY: jprt_build_product jprt_build_fastdebug jprt_build_debug
duke@0 53