Thu, 20 Dec 2012 16:22:44 -0800
8004982: JDK8 source with GPL header errors
Reviewed-by: ohair
duke@2 | 1 | # |
dcubed@421 | 2 | # Copyright (c) 2006, 2012, Oracle and/or its affiliates. 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 |
ohair@182 | 7 | # published by the Free Software Foundation. Oracle designates this |
duke@2 | 8 | # particular file as subject to the "Classpath" exception as provided |
ohair@182 | 9 | # by Oracle 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 | # |
ohair@182 | 21 | # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA |
ohair@182 | 22 | # or visit www.oracle.com if you need additional information or have any |
ohair@182 | 23 | # 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 | |
dcubed@421 | 39 | ifeq ($(PLATFORM),windows) |
dcubed@421 | 40 | ZIPFLAGS=-q |
dcubed@421 | 41 | else |
dcubed@421 | 42 | # store symbolic links as the link |
dcubed@421 | 43 | ZIPFLAGS=-q -y |
dcubed@421 | 44 | endif |
dcubed@421 | 45 | |
ohair@62 | 46 | jprt_build_product: sanity all_product_build |
ohair@340 | 47 | ( $(CD) $(OUTPUTDIR)/$(JDK_IMAGE_DIRNAME) && \ |
dcubed@421 | 48 | $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . ) |
duke@2 | 49 | ifdef HAVE_JPRT_SAVE_BUNDLES |
duke@2 | 50 | ( $(CD) $(OUTPUTDIR)/bundles && \ |
dcubed@421 | 51 | $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_INSTALL_BUNDLE) . ) |
duke@2 | 52 | endif |
duke@2 | 53 | |
duke@2 | 54 | jprt_build_fastdebug: fastdebug_build |
ohair@340 | 55 | ( $(CD) $(OUTPUTDIR)/$(REL_JDK_FASTDEBUG_IMAGE_DIR) && \ |
dcubed@421 | 56 | $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . ) |
duke@2 | 57 | |
duke@2 | 58 | jprt_build_debug: debug_build |
ohair@340 | 59 | ( $(CD) $(OUTPUTDIR)/$(REL_JDK_DEBUG_IMAGE_DIR) && \ |
dcubed@421 | 60 | $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . ) |
duke@2 | 61 | |
duke@2 | 62 | ################################################################ |
duke@2 | 63 | # PHONY |
duke@2 | 64 | ################################################################ |
duke@2 | 65 | |
duke@2 | 66 | .PHONY: jprt_build_product jprt_build_fastdebug jprt_build_debug |
duke@2 | 67 |