make/jprt.gmk
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File 8056072 Sdiff make

make/jprt.gmk

Print this page
rev 6924 : 8056072: add jprt_optimized targets
Reviewed-by:


  25 # JPRT rule to build this workspace
  26 
  27 JPRT_ARCHIVE_BUNDLE=$(ABS_OUTPUTDIR)/$(JPRT_BUILD_FLAVOR)-bundle.zip
  28 
  29 ifeq ($(OSNAME),windows)
  30   ZIPFLAGS=-q
  31 else
  32   # store symbolic links as the link
  33   ZIPFLAGS=-q -y
  34 endif
  35 
  36 jprt_build_productEmb:
  37         $(MAKE) JAVASE_EMBEDDED=true MINIMIZE_RAM_USAGE=true jprt_build_product
  38 
  39 jprt_build_debugEmb:
  40         $(MAKE) JAVASE_EMBEDDED=true MINIMIZE_RAM_USAGE=true jprt_build_debug
  41 
  42 jprt_build_fastdebugEmb:
  43         $(MAKE) JAVASE_EMBEDDED=true MINIMIZE_RAM_USAGE=true jprt_build_fastdebug
  44 



  45 jprt_build_productOpen:
  46         $(MAKE) OPENJDK=true jprt_build_product
  47 
  48 jprt_build_debugOpen:
  49         $(MAKE) OPENJDK=true jprt_build_debug
  50 
  51 jprt_build_fastdebugOpen:
  52         $(MAKE) OPENJDK=true jprt_build_fastdebug
  53 



  54 jprt_build_product: all_product copy_product_jdk export_product_jdk
  55         ( $(CD) $(JDK_IMAGE_DIR) && \
  56           $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
  57 
  58 jprt_build_fastdebug: all_fastdebug copy_fastdebug_jdk export_fastdebug_jdk
  59         ( $(CD) $(JDK_IMAGE_DIR)/fastdebug && \
  60           $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
  61 
  62 jprt_build_debug: all_debug copy_debug_jdk export_debug_jdk
  63         ( $(CD) $(JDK_IMAGE_DIR)/debug && \
  64           $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
  65 
  66 .PHONY: jprt_build_product jprt_build_fastdebug jprt_build_debug




  67 


  25 # JPRT rule to build this workspace
  26 
  27 JPRT_ARCHIVE_BUNDLE=$(ABS_OUTPUTDIR)/$(JPRT_BUILD_FLAVOR)-bundle.zip
  28 
  29 ifeq ($(OSNAME),windows)
  30   ZIPFLAGS=-q
  31 else
  32   # store symbolic links as the link
  33   ZIPFLAGS=-q -y
  34 endif
  35 
  36 jprt_build_productEmb:
  37         $(MAKE) JAVASE_EMBEDDED=true MINIMIZE_RAM_USAGE=true jprt_build_product
  38 
  39 jprt_build_debugEmb:
  40         $(MAKE) JAVASE_EMBEDDED=true MINIMIZE_RAM_USAGE=true jprt_build_debug
  41 
  42 jprt_build_fastdebugEmb:
  43         $(MAKE) JAVASE_EMBEDDED=true MINIMIZE_RAM_USAGE=true jprt_build_fastdebug
  44 
  45 jprt_build_optimizedEmb:
  46         $(MAKE) JAVASE_EMBEDDED=true MINIMIZE_RAM_USAGE=true jprt_build_optimized
  47 
  48 jprt_build_productOpen:
  49         $(MAKE) OPENJDK=true jprt_build_product
  50 
  51 jprt_build_debugOpen:
  52         $(MAKE) OPENJDK=true jprt_build_debug
  53 
  54 jprt_build_fastdebugOpen:
  55         $(MAKE) OPENJDK=true jprt_build_fastdebug
  56 
  57 jprt_build_optimizedOpen:
  58         $(MAKE) OPENJDK=true jprt_build_optimized
  59 
  60 jprt_build_product: all_product copy_product_jdk export_product_jdk
  61         ( $(CD) $(JDK_IMAGE_DIR) && \
  62           $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
  63 
  64 jprt_build_fastdebug: all_fastdebug copy_fastdebug_jdk export_fastdebug_jdk
  65         ( $(CD) $(JDK_IMAGE_DIR)/fastdebug && \
  66           $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
  67 
  68 jprt_build_debug: all_debug copy_debug_jdk export_debug_jdk
  69         ( $(CD) $(JDK_IMAGE_DIR)/debug && \
  70           $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
  71 
  72 jprt_build_optimized: all_optimized copy_optimized_jdk export_optimized_jdk
  73         ( $(CD) $(JDK_IMAGE_DIR)/optimized && \
  74           $(ZIPEXE) $(ZIPFLAGS) -r $(JPRT_ARCHIVE_BUNDLE) . )
  75 
  76 .PHONY: jprt_build_product jprt_build_fastdebug jprt_build_debug jprt_build_optimized
  77 
make/jprt.gmk
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File