make/common/Release.gmk
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File jdk Sdiff make/common

make/common/Release.gmk

Print this page


   1 #
   2 # Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any


 689         $(RM) $(JGSS_WIN64_FILES_ZIP)
 690         $(CD) $(OUTPUTDIR) && \
 691                 $(ZIPEXE) -rq9 $(JGSS_WIN64_FILES_ZIP) $(JGSS_FILES_DIRS)
 692   endif
 693         @$(java-vm-cleanup)
 694 endif
 695 
 696 # Create rt.jar
 697 RT_JAR=$(ABS_TEMPDIR)/rt-orig.jar
 698 $(RT_JAR): $(RT_JAR_FILELIST) $(RT_JAR_MANIFEST_FILE)
 699         $(prep-target)
 700         $(CD) $(CLASSBINDIR) && \
 701             $(BOOT_JAR_CMD) $(CREATE_JAR_OPTS) $(RT_JAR_MANIFEST_FILE) $@ \
 702                 @$(RT_JAR_FILELIST) $(BOOT_JAR_JFLAGS)
 703         @$(CD) $(CLASSBINDIR) && $(java-vm-cleanup)
 704 
 705 # Meta-index construction to make core class loaders lazier
 706 
 707 BUILDMETAINDEX_JARFILE = $(ABS_BUILDTOOLJARDIR)/buildmetaindex.jar
 708 
 709 # SE-Embedded targets if enabled
 710 include $(JDK_TOPDIR)/make/common/Release-embedded.gmk
 711 
 712 
 713 ######################################################
 714 # JRE Image
 715 ######################################################
 716 
 717 initial-image-jre-setup:
 718         $(RM) -r $(JRE_IMAGE_DIR)
 719         $(MKDIR) -p $(JRE_IMAGE_DIR)
 720 
 721 # 64-bit solaris jre image contains only the 64-bit add-on files.
 722 initial-image-jre-sol64:: initial-image-jre-setup
 723         @# Use tar instead of cp to preserve the symbolic links
 724         for dir in bin lib ; do \
 725           ( $(CD) $(OUTPUTDIR) && \
 726                 $(TAR) cf - `$(FIND) $$dir -name '$(ARCH)' -print` | \
 727                 ($(CD) $(JRE_IMAGE_DIR) && $(TAR) xf -) ) ; \
 728         done
 729         @# Remove some files from the jre area
 730         for t in $(NOTJRETOOLS) ; do \
 731             $(RM) $(JRE_IMAGE_DIR)/bin$(ISA_DIR)/$$t ; \
 732         done


   1 #
   2 # Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved.
   3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4 #
   5 # This code is free software; you can redistribute it and/or modify it
   6 # under the terms of the GNU General Public License version 2 only, as
   7 # published by the Free Software Foundation.  Oracle designates this
   8 # particular file as subject to the "Classpath" exception as provided
   9 # by Oracle in the LICENSE file that accompanied this code.
  10 #
  11 # This code is distributed in the hope that it will be useful, but WITHOUT
  12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13 # FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14 # version 2 for more details (a copy is included in the LICENSE file that
  15 # accompanied this code).
  16 #
  17 # You should have received a copy of the GNU General Public License version
  18 # 2 along with this work; if not, write to the Free Software Foundation,
  19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20 #
  21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22 # or visit www.oracle.com if you need additional information or have any


 689         $(RM) $(JGSS_WIN64_FILES_ZIP)
 690         $(CD) $(OUTPUTDIR) && \
 691                 $(ZIPEXE) -rq9 $(JGSS_WIN64_FILES_ZIP) $(JGSS_FILES_DIRS)
 692   endif
 693         @$(java-vm-cleanup)
 694 endif
 695 
 696 # Create rt.jar
 697 RT_JAR=$(ABS_TEMPDIR)/rt-orig.jar
 698 $(RT_JAR): $(RT_JAR_FILELIST) $(RT_JAR_MANIFEST_FILE)
 699         $(prep-target)
 700         $(CD) $(CLASSBINDIR) && \
 701             $(BOOT_JAR_CMD) $(CREATE_JAR_OPTS) $(RT_JAR_MANIFEST_FILE) $@ \
 702                 @$(RT_JAR_FILELIST) $(BOOT_JAR_JFLAGS)
 703         @$(CD) $(CLASSBINDIR) && $(java-vm-cleanup)
 704 
 705 # Meta-index construction to make core class loaders lazier
 706 
 707 BUILDMETAINDEX_JARFILE = $(ABS_BUILDTOOLJARDIR)/buildmetaindex.jar
 708 




 709 ######################################################
 710 # JRE Image
 711 ######################################################
 712 
 713 initial-image-jre-setup:
 714         $(RM) -r $(JRE_IMAGE_DIR)
 715         $(MKDIR) -p $(JRE_IMAGE_DIR)
 716 
 717 # 64-bit solaris jre image contains only the 64-bit add-on files.
 718 initial-image-jre-sol64:: initial-image-jre-setup
 719         @# Use tar instead of cp to preserve the symbolic links
 720         for dir in bin lib ; do \
 721           ( $(CD) $(OUTPUTDIR) && \
 722                 $(TAR) cf - `$(FIND) $$dir -name '$(ARCH)' -print` | \
 723                 ($(CD) $(JRE_IMAGE_DIR) && $(TAR) xf -) ) ; \
 724         done
 725         @# Remove some files from the jre area
 726         for t in $(NOTJRETOOLS) ; do \
 727             $(RM) $(JRE_IMAGE_DIR)/bin$(ISA_DIR)/$$t ; \
 728         done


make/common/Release.gmk
Index Unified diffs Context diffs Sdiffs Wdiffs Patch New Old Previous File Next File