comparison make/gensrc/GensrcIcons.gmk @ 13471:31ba5abc1e41

8146403: Windows build can be faster Reviewed-by: ihse
author erikj
date Sat, 16 Jan 2016 13:01:44 +0100
parents 4316e603ae2a
children 47a69a64985c
comparison
equal deleted inserted replaced
5:10d19b2068b4 6:09b2a9dacf90
63 GENSRC_AWT_ICONS_DST_NAME = AWTIcon$(2)_$(subst .,_,$(subst -,_,$(1))) 63 GENSRC_AWT_ICONS_DST_NAME = AWTIcon$(2)_$(subst .,_,$(subst -,_,$(1)))
64 64
65 ################################################################################ 65 ################################################################################
66 66
67 $(GENSRC_AWT_ICONS_TMP)/_the.icons.dir: 67 $(GENSRC_AWT_ICONS_TMP)/_the.icons.dir:
68 $(ECHO) Generating icon classes 68 $(call LogInfo, Generating icon classes)
69 $(MKDIR) -p $(GENSRC_AWT_ICONS_DST) 69 $(call MakeDir, $(GENSRC_AWT_ICONS_DST))
70 $(TOUCH) $@ 70 $(TOUCH) $@
71 71
72 ################################################################################ 72 ################################################################################
73 73
74 define SetupGensrcAWTIcon 74 define SetupGensrcAWTIcon
119 else 119 else
120 GENSRC_OSX_ICONS_SRC := $(JDK_TOPDIR)/make/closed/data/macosxicons/JavaApp.icns 120 GENSRC_OSX_ICONS_SRC := $(JDK_TOPDIR)/make/closed/data/macosxicons/JavaApp.icns
121 endif 121 endif
122 122
123 $(GENSRC_OSX_ICONS): $(GENSRC_OSX_ICONS_SRC) $(BUILD_TOOLS_JDK) 123 $(GENSRC_OSX_ICONS): $(GENSRC_OSX_ICONS_SRC) $(BUILD_TOOLS_JDK)
124 $(call LogInfo, Generating $(patsubst $(OUTPUT_ROOT)/%, %, $@))
125 $(call MakeDir, $(@D))
124 $(RM) $@ $@.tmp 126 $(RM) $@ $@.tmp
125 $(MKDIR) -p $(dir $@)
126 $(ECHO) "static unsigned char sAWTIconData[] = { " >> $@.tmp 127 $(ECHO) "static unsigned char sAWTIconData[] = { " >> $@.tmp
127 $(CAT) $< | $(TOOL_OSX_TOBIN) >> $@.tmp 128 $(CAT) $< | $(TOOL_OSX_TOBIN) >> $@.tmp
128 $(ECHO) "};" >> $@.tmp 129 $(ECHO) "};" >> $@.tmp
129 $(MV) $@.tmp $@ 130 $(MV) $@.tmp $@
130 131