makefiles/Images.gmk

Print this page




  60         $(SED) 's/$$//g' $< > $@
  61         $(CHMOD) 444 $@
  62 endef
  63 
  64 define AddFileToCopy
  65   # Param 1 - src root dir
  66   # Param 2 - dest root dir
  67   # Param 3 - src file
  68   # Param 4 - variable to add targets to
  69 
  70   # Remove src dir root from src file
  71   $2_$3_FILE := $$(patsubst $1/%,%,$3)
  72 
  73   $2/$$($2_$3_FILE): $3
  74         $(ECHO) $(LOG_INFO) Copying $$(patsubst $(OUTPUT_ROOT)/%,%,$$@)
  75         $$(install-file)
  76 
  77   $4 += $2/$$($2_$3_FILE)
  78 endef
  79 
  80 JDK_IMAGE_DIR:=$(IMAGES_OUTPUTDIR)/j2sdk-image
  81 JRE_IMAGE_DIR:=$(IMAGES_OUTPUTDIR)/j2re-image
  82 
  83 JDK_OVERLAY_IMAGE_DIR:=$(IMAGES_OUTPUTDIR)/j2sdk-overlay-image
  84 JRE_OVERLAY_IMAGE_DIR:=$(IMAGES_OUTPUTDIR)/j2re-overlay-image
  85 
  86 ################################################################################
  87 #
  88 # JRE and JDK build rules
  89 #
  90 ################################################################################
  91 #
  92 # Variable prefixes explained:
  93 # JRE_ refers to files in the j2re-image.
  94 # JDK_ refers to files in the j2sdk-image outside of the jre subdir.
  95 # JDKJRE_ refers to files in the j2sdk-image inside the jre subdir.
  96 #
  97 
  98 ################################################################################
  99 # /bin dir
 100 
 101 NOT_JRE_BIN_FILES := \
 102         appletviewer$(EXE_SUFFIX) \
 103         extcheck$(EXE_SUFFIX) \
 104         idlj$(EXE_SUFFIX) \
 105         jar$(EXE_SUFFIX) \




  60         $(SED) 's/$$//g' $< > $@
  61         $(CHMOD) 444 $@
  62 endef
  63 
  64 define AddFileToCopy
  65   # Param 1 - src root dir
  66   # Param 2 - dest root dir
  67   # Param 3 - src file
  68   # Param 4 - variable to add targets to
  69 
  70   # Remove src dir root from src file
  71   $2_$3_FILE := $$(patsubst $1/%,%,$3)
  72 
  73   $2/$$($2_$3_FILE): $3
  74         $(ECHO) $(LOG_INFO) Copying $$(patsubst $(OUTPUT_ROOT)/%,%,$$@)
  75         $$(install-file)
  76 
  77   $4 += $2/$$($2_$3_FILE)
  78 endef
  79 






  80 ################################################################################
  81 #
  82 # JRE and JDK build rules
  83 #
  84 ################################################################################
  85 #
  86 # Variable prefixes explained:
  87 # JRE_ refers to files in the j2re-image.
  88 # JDK_ refers to files in the j2sdk-image outside of the jre subdir.
  89 # JDKJRE_ refers to files in the j2sdk-image inside the jre subdir.
  90 #
  91 
  92 ################################################################################
  93 # /bin dir
  94 
  95 NOT_JRE_BIN_FILES := \
  96         appletviewer$(EXE_SUFFIX) \
  97         extcheck$(EXE_SUFFIX) \
  98         idlj$(EXE_SUFFIX) \
  99         jar$(EXE_SUFFIX) \