< prev index next >

make/Jprt.gmk

Print this page




  64 ifeq ($(JPRT_TARGET), $(DEFAULT_MAKE_TARGET))
  65   jprt_bundle: $(DEFAULT_MAKE_TARGET) $(JPRT_ARCHIVE_BUNDLE) \
  66       $(JPRT_ARCHIVE_TEST_BUNDLE)
  67 
  68   SRC_JDK_IMAGE_DIR := $(JDK_IMAGE_DIR)
  69   SRC_TEST_IMAGE_DIR := $(TEST_IMAGE_DIR)
  70 
  71   # This target must be called in the context of a SPEC file
  72   $(JPRT_ARCHIVE_BUNDLE): product-images
  73         $(call MakeDir, $(@D))
  74         $(CD) $(SRC_JDK_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
  75 
  76   $(JPRT_ARCHIVE_TEST_BUNDLE): test-image
  77         $(call MakeDir, $(@D))
  78         $(CD) $(SRC_TEST_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
  79 
  80   ##############################################################################
  81   # Optional symbols bundle
  82   ifeq ($(GCOV_ENABLED), true)
  83     jprt_bundle: $(JPRT_ARCHIVE_SYMBOLS_BUNDLE)
  84     zip-bundles: $(SYMBOLS_ZIP_BUNDLE)
  85 
  86     $(JPRT_ARCHIVE_SYMBOLS_BUNDLE): product-images
  87         $(call MakeDir, $(@D))
  88         $(CD) $(SYMBOLS_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
  89 
  90   endif
  91 
  92   ##############################################################################
  93 
  94 else
  95   # Just fake the main bundle to satisfy JPRT
  96   jprt_bundle: $(JPRT_TARGET)
  97         @$(call TargetEnter)
  98         $(MKDIR) -p $(BUILD_OUTPUT)/bundles
  99         $(CD) $(TOPDIR) && $(TAR) cf - README | $(GZIP) > \
 100             $(JPRT_ARCHIVE_BUNDLE)
 101         @$(call TargetExit)
 102 endif
 103 
 104 ALL_TARGETS += jprt_bundle


  64 ifeq ($(JPRT_TARGET), $(DEFAULT_MAKE_TARGET))
  65   jprt_bundle: $(DEFAULT_MAKE_TARGET) $(JPRT_ARCHIVE_BUNDLE) \
  66       $(JPRT_ARCHIVE_TEST_BUNDLE)
  67 
  68   SRC_JDK_IMAGE_DIR := $(JDK_IMAGE_DIR)
  69   SRC_TEST_IMAGE_DIR := $(TEST_IMAGE_DIR)
  70 
  71   # This target must be called in the context of a SPEC file
  72   $(JPRT_ARCHIVE_BUNDLE): product-images
  73         $(call MakeDir, $(@D))
  74         $(CD) $(SRC_JDK_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
  75 
  76   $(JPRT_ARCHIVE_TEST_BUNDLE): test-image
  77         $(call MakeDir, $(@D))
  78         $(CD) $(SRC_TEST_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
  79 
  80   ##############################################################################
  81   # Optional symbols bundle
  82   ifeq ($(GCOV_ENABLED), true)
  83     jprt_bundle: $(JPRT_ARCHIVE_SYMBOLS_BUNDLE)

  84 
  85     $(JPRT_ARCHIVE_SYMBOLS_BUNDLE): product-images
  86         $(call MakeDir, $(@D))
  87         $(CD) $(SYMBOLS_IMAGE_DIR) && $(ZIPEXE) -y -q -r $@ .
  88 
  89   endif
  90 
  91   ##############################################################################
  92 
  93 else
  94   # Just fake the main bundle to satisfy JPRT
  95   jprt_bundle: $(JPRT_TARGET)
  96         @$(call TargetEnter)
  97         $(MKDIR) -p $(BUILD_OUTPUT)/bundles
  98         $(CD) $(TOPDIR) && $(TAR) cf - README | $(GZIP) > \
  99             $(JPRT_ARCHIVE_BUNDLE)
 100         @$(call TargetExit)
 101 endif
 102 
 103 ALL_TARGETS += jprt_bundle
< prev index next >