make/Jprt.gmk
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File jdk8u-dev Sdiff make

make/Jprt.gmk

Print this page




  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
  23 # questions.
  24 #
  25 
  26 # This file is contains targets utilities needed by JPRT.
  27 
  28 ifndef JPRT_ARCHIVE_BUNDLE
  29   JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/j2sdk-image.zip
  30 endif
  31 ifndef JPRT_ARCHIVE_INSTALL_BUNDLE
  32   JPRT_ARCHIVE_INSTALL_BUNDLE=/tmp/jprt_bundles/product-install.zip
  33 endif
  34 




  35 # This target must be called in the context of a SPEC file
  36 jprt_bundle: $(JPRT_ARCHIVE_BUNDLE)
  37         @$(call CheckIfMakeAtEnd)
  38 
  39 # This target must be called in the context of a SPEC file
  40 $(JPRT_ARCHIVE_BUNDLE): bundles
  41         $(MKDIR) -p $(@D)
  42         $(RM) $@
  43         $(CP) $(BUILD_OUTPUT)/bundles/$(JDK_IMAGE_SUBDIR).zip $@
  44 
  45 SRC_JDK_IMAGE_DIR := $(JDK_IMAGE_DIR)
  46 SRC_JRE_IMAGE_DIR := $(JRE_IMAGE_DIR)
  47 SRC_JDK_BUNDLE_DIR := $(JDK_BUNDLE_DIR)
  48 SRC_JRE_BUNDLE_DIR := $(JRE_BUNDLE_DIR)
  49 
  50 # Bundle up the images
  51 bundles: all bundles-only
  52 bundles-only: start-make
  53         @$(call TargetEnter)
  54         $(MKDIR) -p $(BUILD_OUTPUT)/bundles




  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
  23 # questions.
  24 #
  25 
  26 # This file is contains targets utilities needed by JPRT.
  27 
  28 ifndef JPRT_ARCHIVE_BUNDLE
  29   JPRT_ARCHIVE_BUNDLE=/tmp/jprt_bundles/j2sdk-image.zip
  30 endif
  31 ifndef JPRT_ARCHIVE_INSTALL_BUNDLE
  32   JPRT_ARCHIVE_INSTALL_BUNDLE=/tmp/jprt_bundles/product-install.zip
  33 endif
  34 
  35 ifeq ($(SKIP_BOOT_CYCLE), false)
  36 jprt_bundle: bootcycle-images
  37 endif
  38 
  39 # This target must be called in the context of a SPEC file
  40 jprt_bundle: $(JPRT_ARCHIVE_BUNDLE)
  41         @$(call CheckIfMakeAtEnd)
  42 
  43 # This target must be called in the context of a SPEC file
  44 $(JPRT_ARCHIVE_BUNDLE): bundles
  45         $(MKDIR) -p $(@D)
  46         $(RM) $@
  47         $(CP) $(BUILD_OUTPUT)/bundles/$(JDK_IMAGE_SUBDIR).zip $@
  48 
  49 SRC_JDK_IMAGE_DIR := $(JDK_IMAGE_DIR)
  50 SRC_JRE_IMAGE_DIR := $(JRE_IMAGE_DIR)
  51 SRC_JDK_BUNDLE_DIR := $(JDK_BUNDLE_DIR)
  52 SRC_JRE_BUNDLE_DIR := $(JRE_BUNDLE_DIR)
  53 
  54 # Bundle up the images
  55 bundles: all bundles-only
  56 bundles-only: start-make
  57         @$(call TargetEnter)
  58         $(MKDIR) -p $(BUILD_OUTPUT)/bundles


make/Jprt.gmk
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File