make/copy/Copy-java.desktop.gmk

Print this page




  83 
  84 $(CONF_DST_DIR)/sound.properties: $(JDK_TOPDIR)/src/java.desktop/share/conf/sound.properties
  85         $(call install-file)
  86 
  87 TARGETS += $(CONF_DST_DIR)/sound.properties
  88 
  89 ################################################################################
  90 #
  91 # Copy property files from sun/print to LIB_DST_DIR
  92 #
  93 PSFONTPROPFILE_SRC_DIR := $(JDK_TOPDIR)/src/java.desktop/share/conf
  94 PSFONTPROPFILE_SRCS := $(wildcard $(PSFONTPROPFILE_SRC_DIR)/psfont*.properties*)
  95 PSFONTPROPFILE_TARGET_FILES := $(subst $(PSFONTPROPFILE_SRC_DIR),$(LIB_DST_DIR),$(PSFONTPROPFILE_SRCS))
  96 
  97 $(LIB_DST_DIR)/%: $(PSFONTPROPFILE_SRC_DIR)/%
  98         $(call install-file)
  99 
 100 TARGETS += $(PSFONTPROPFILE_TARGET_FILES)
 101 
 102 ################################################################################
 103 #
 104 # Copy cursor.properties and cursors gif files to LIB_DST_DIR
 105 #
 106 ifneq ($(OPENJDK_TARGET_OS), macosx)
 107   OPENJDK_TARGET_OS_LIB_SRC := $(JDK_TOPDIR)/src/java.desktop/$(OPENJDK_TARGET_OS_TYPE)/conf
 108 else
 109   OPENJDK_TARGET_OS_LIB_SRC := $(JDK_TOPDIR)/src/java.desktop/macosx/conf
 110 endif
 111 
 112 CURSORS_DEST_DIR := $(LIB_DST_DIR)/images/cursors
 113 CURSORS_OPENJDK_TARGET_OS_LIB_SRC := $(JDK_TOPDIR)/src/java.desktop/$(OPENJDK_TARGET_OS_TYPE)/conf/images/cursors
 114 
 115 $(CURSORS_DEST_DIR)/cursors.properties: $(CURSORS_OPENJDK_TARGET_OS_LIB_SRC)/cursors.properties
 116         $(call install-file)
 117 
 118 TARGETS += $(CURSORS_DEST_DIR)/cursors.properties
 119 
 120 CURSORS_LIB_SRC := $(JDK_TOPDIR)/src/java.desktop/share/conf/images/cursors
 121 ifeq ($(OPENJDK_TARGET_OS), windows)
 122   CURSORS_SRC_FILES := $(CURSORS_LIB_SRC)/invalid32x32.gif $(wildcard $(CURSORS_LIB_SRC)/win32_*.gif)
 123 else # OPENJDK_TARGET_OS
 124   CURSORS_SRC_FILES := $(CURSORS_LIB_SRC)/invalid32x32.gif $(wildcard $(CURSORS_LIB_SRC)/motif_*.gif)
 125 endif # OPENJDK_TARGET_OS
 126 CURSORS_TARGET_FILES := $(subst $(CURSORS_LIB_SRC),$(CURSORS_DEST_DIR),$(CURSORS_SRC_FILES))
 127 
 128 $(CURSORS_DEST_DIR)/%: $(CURSORS_LIB_SRC)/%
 129         $(call install-file)
 130 
 131 TARGETS += $(CURSORS_TARGET_FILES)
 132 
 133 ################################################################################


  83 
  84 $(CONF_DST_DIR)/sound.properties: $(JDK_TOPDIR)/src/java.desktop/share/conf/sound.properties
  85         $(call install-file)
  86 
  87 TARGETS += $(CONF_DST_DIR)/sound.properties
  88 
  89 ################################################################################
  90 #
  91 # Copy property files from sun/print to LIB_DST_DIR
  92 #
  93 PSFONTPROPFILE_SRC_DIR := $(JDK_TOPDIR)/src/java.desktop/share/conf
  94 PSFONTPROPFILE_SRCS := $(wildcard $(PSFONTPROPFILE_SRC_DIR)/psfont*.properties*)
  95 PSFONTPROPFILE_TARGET_FILES := $(subst $(PSFONTPROPFILE_SRC_DIR),$(LIB_DST_DIR),$(PSFONTPROPFILE_SRCS))
  96 
  97 $(LIB_DST_DIR)/%: $(PSFONTPROPFILE_SRC_DIR)/%
  98         $(call install-file)
  99 
 100 TARGETS += $(PSFONTPROPFILE_TARGET_FILES)
 101 
 102 ################################################################################