< prev index next >

make/Jprt.gmk

Print this page




  91         $(RM) $@
  92         $(CP) $(BUILD_OUTPUT)/bundles/modules.zip $@
  93 
  94 $(JPRT_ARCHIVE_TEST_BUNDLE): bundles
  95         $(MKDIR) -p $(@D)
  96         $(RM) $@
  97         $(CP) $(BUILD_OUTPUT)/bundles/$(TEST_IMAGE_SUBDIR).zip $@
  98 
  99 $(JPRT_ARCHIVE_SYMBOLS_BUNDLE): bundles
 100         $(MKDIR) -p $(@D)
 101         $(RM) $@
 102         $(CP) $(BUILD_OUTPUT)/bundles/$(SYMBOLS_IMAGE_SUBDIR).zip $@
 103 
 104 SRC_JDK_IMAGE_DIR := $(JDK_IMAGE_DIR)
 105 SRC_JRE_IMAGE_DIR := $(JRE_IMAGE_DIR)
 106 SRC_TEST_IMAGE_DIR := $(TEST_IMAGE_DIR)
 107 SRC_JDK_MACOSX_BUNDLE_DIR := $(JDK_MACOSX_BUNDLE_DIR)
 108 SRC_JRE_MACOSX_BUNDLE_DIR := $(JRE_MACOSX_BUNDLE_DIR)
 109 
 110 # Bundle up the images
 111 JPRT_TARGET ?= all
 112 ifeq ($(JPRT_TARGET), all)
 113   bundles: $(JPRT_TARGET)
 114         @$(call TargetEnter)
 115         $(MKDIR) -p $(BUILD_OUTPUT)/bundles
 116         $(CD) $(SRC_JDK_IMAGE_DIR) && $(ZIP) -y -q -r \
 117             $(BUILD_OUTPUT)/bundles/$(JDK_IMAGE_SUBDIR).zip .
 118         $(CD) $(SRC_JRE_IMAGE_DIR) && $(ZIP) -y -q -r \
 119             $(BUILD_OUTPUT)/bundles/$(JRE_IMAGE_SUBDIR).zip .
 120         $(CD) $(SRC_TEST_IMAGE_DIR) && $(ZIP) -y -q -r \
 121             $(BUILD_OUTPUT)/bundles/$(TEST_IMAGE_SUBDIR).zip .
 122         $(CD) $(IMAGES_OUTPUTDIR)/jmods && $(ZIP) -y -q -r \
 123             $(BUILD_OUTPUT)/bundles/modules.zip .
 124         if [ -d $(BUILD_OUTPUT)/install/bundles ] ; then \
 125           $(CD) $(BUILD_OUTPUT)/install/bundles && $(ZIP) -y -q -r \
 126               $(JPRT_ARCHIVE_INSTALL_BUNDLE) . ; \
 127         fi
 128         if [ -d $(SYMBOLS_IMAGE_DIR) ] ; then \
 129           $(CD) $(SYMBOLS_IMAGE_DIR) && $(ZIP) -y -q -r \
 130               $(BUILD_OUTPUT)/bundles/$(SYMBOLS_IMAGE_SUBDIR).zip . ; \
 131         fi
 132         @$(call TargetExit)




  91         $(RM) $@
  92         $(CP) $(BUILD_OUTPUT)/bundles/modules.zip $@
  93 
  94 $(JPRT_ARCHIVE_TEST_BUNDLE): bundles
  95         $(MKDIR) -p $(@D)
  96         $(RM) $@
  97         $(CP) $(BUILD_OUTPUT)/bundles/$(TEST_IMAGE_SUBDIR).zip $@
  98 
  99 $(JPRT_ARCHIVE_SYMBOLS_BUNDLE): bundles
 100         $(MKDIR) -p $(@D)
 101         $(RM) $@
 102         $(CP) $(BUILD_OUTPUT)/bundles/$(SYMBOLS_IMAGE_SUBDIR).zip $@
 103 
 104 SRC_JDK_IMAGE_DIR := $(JDK_IMAGE_DIR)
 105 SRC_JRE_IMAGE_DIR := $(JRE_IMAGE_DIR)
 106 SRC_TEST_IMAGE_DIR := $(TEST_IMAGE_DIR)
 107 SRC_JDK_MACOSX_BUNDLE_DIR := $(JDK_MACOSX_BUNDLE_DIR)
 108 SRC_JRE_MACOSX_BUNDLE_DIR := $(JRE_MACOSX_BUNDLE_DIR)
 109 
 110 # Bundle up the images
 111 JPRT_TARGET ?= default
 112 ifeq ($(JPRT_TARGET), default)
 113   bundles: $(JPRT_TARGET)
 114         @$(call TargetEnter)
 115         $(MKDIR) -p $(BUILD_OUTPUT)/bundles
 116         $(CD) $(SRC_JDK_IMAGE_DIR) && $(ZIP) -y -q -r \
 117             $(BUILD_OUTPUT)/bundles/$(JDK_IMAGE_SUBDIR).zip .
 118         $(CD) $(SRC_JRE_IMAGE_DIR) && $(ZIP) -y -q -r \
 119             $(BUILD_OUTPUT)/bundles/$(JRE_IMAGE_SUBDIR).zip .
 120         $(CD) $(SRC_TEST_IMAGE_DIR) && $(ZIP) -y -q -r \
 121             $(BUILD_OUTPUT)/bundles/$(TEST_IMAGE_SUBDIR).zip .
 122         $(CD) $(IMAGES_OUTPUTDIR)/jmods && $(ZIP) -y -q -r \
 123             $(BUILD_OUTPUT)/bundles/modules.zip .
 124         if [ -d $(BUILD_OUTPUT)/install/bundles ] ; then \
 125           $(CD) $(BUILD_OUTPUT)/install/bundles && $(ZIP) -y -q -r \
 126               $(JPRT_ARCHIVE_INSTALL_BUNDLE) . ; \
 127         fi
 128         if [ -d $(SYMBOLS_IMAGE_DIR) ] ; then \
 129           $(CD) $(SYMBOLS_IMAGE_DIR) && $(ZIP) -y -q -r \
 130               $(BUILD_OUTPUT)/bundles/$(SYMBOLS_IMAGE_SUBDIR).zip . ; \
 131         fi
 132         @$(call TargetExit)


< prev index next >