265 $(shell find $(JDK_TOPDIR)/src/share/classes/sun/tools/javac/resources -name "javac.properties")))
266
267 #sun/tools/jconsole/resources
268 $(eval $(call add_properties_to_clean,SUN_TOOLS_JCONSOLE,\
269 $(shell find $(JDK_TOPDIR)/src/share/classes/sun/tools/jconsole/resources -name "*.properties")))
270
271 #sun/tools/serialver
272 $(eval $(call add_properties_to_clean,SUN_TOOLS_SERIALVER,\
273 $(shell find $(JDK_TOPDIR)/src/share/classes/sun/tools/serialver -name "*.properties"),,,resources))
274
275 #sun/util/logging/resources
276 $(eval $(call add_properties_to_compile,SUN_UTIL_LOGGING,\
277 $(shell find $(JDK_TOPDIR)/src/share/classes/sun/util/logging/resources -name "*.properties"),\
278 ListResourceBundle))
279 $(eval $(call add_properties_to_compile,SUN_UTIL_LOGGING_HK,\
280 $(shell find $(JDK_TOPDIR)/src/share/classes/sun/util/logging/resources -name "*.properties"),\
281 ListResourceBundle,%zh_TW,%zh_HK))
282 # sun/util/resources
283 $(eval $(call add_properties_to_compile,SUN_UTIL,\
284 $(shell find $(JDK_TOPDIR)/src/share/classes/sun/util/resources -name "*.properties"),\
285 LocaleNamesBundle))
286
287 # Now setup the rule for the generation of the resource bundles.
288 $(JDK_OUTPUTDIR)/gensrc_properties/_the.compiled_properties : $(ALL_COMPILED_PROPSOURCES) $(BUILD_TOOLS)
289 $(RM) -rf $(JDK_OUTPUTDIR)/gensrc_properties/*
290 # Generate all output directories in advance since the build tool does not do that...
291 $(MKDIR) -p $(sort $(dir $(ALL_COMPILED_PROPJAVAS)))
292 $(ECHO) Compiling $(words $(ALL_COMPILED_PROPSOURCES)) properties into resource bundles
293 $(call ListPathsSafely,COMPILE_PROPCMDLINE,\n, >> $(JDK_OUTPUTDIR)/gensrc_properties/_the.cmdline)
294 $(TOOL_COMPILEPROPERTIES) -quiet @$(JDK_OUTPUTDIR)/gensrc_properties/_the.cmdline
295 $(TOUCH) $@
296
297 # Now setup the rule for the generation of the cleaned properties.
298 # FIXME: We currently don't handle removed properties incrementally.
299 $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties : $(ALL_CLEANED_PROPSOURCES) $(BUILD_TOOLS)
300 $(RM) -f $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline
301 # Generate all output directories in advance since the build tool does not do that...
302 $(MKDIR) -p $(sort $(dir $(ALL_CLEANED_PROPOUTPUT)))
303 $(ECHO) Copying and cleaning $(words $(ALL_CLEANED_PROPSOURCES)) properties
304 $(call ListPathsSafely,CLEAN_PROPCMDLINE,\n, >> $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline)
305 $(TOOL_STRIPPROPERTIES) @$(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline
|
265 $(shell find $(JDK_TOPDIR)/src/share/classes/sun/tools/javac/resources -name "javac.properties")))
266
267 #sun/tools/jconsole/resources
268 $(eval $(call add_properties_to_clean,SUN_TOOLS_JCONSOLE,\
269 $(shell find $(JDK_TOPDIR)/src/share/classes/sun/tools/jconsole/resources -name "*.properties")))
270
271 #sun/tools/serialver
272 $(eval $(call add_properties_to_clean,SUN_TOOLS_SERIALVER,\
273 $(shell find $(JDK_TOPDIR)/src/share/classes/sun/tools/serialver -name "*.properties"),,,resources))
274
275 #sun/util/logging/resources
276 $(eval $(call add_properties_to_compile,SUN_UTIL_LOGGING,\
277 $(shell find $(JDK_TOPDIR)/src/share/classes/sun/util/logging/resources -name "*.properties"),\
278 ListResourceBundle))
279 $(eval $(call add_properties_to_compile,SUN_UTIL_LOGGING_HK,\
280 $(shell find $(JDK_TOPDIR)/src/share/classes/sun/util/logging/resources -name "*.properties"),\
281 ListResourceBundle,%zh_TW,%zh_HK))
282 # sun/util/resources
283 $(eval $(call add_properties_to_compile,SUN_UTIL,\
284 $(shell find $(JDK_TOPDIR)/src/share/classes/sun/util/resources -name "*.properties"),\
285 sun.util.resources.LocaleNamesBundle))
286
287 # Now setup the rule for the generation of the resource bundles.
288 $(JDK_OUTPUTDIR)/gensrc_properties/_the.compiled_properties : $(ALL_COMPILED_PROPSOURCES) $(BUILD_TOOLS)
289 $(RM) -rf $(JDK_OUTPUTDIR)/gensrc_properties/*
290 # Generate all output directories in advance since the build tool does not do that...
291 $(MKDIR) -p $(sort $(dir $(ALL_COMPILED_PROPJAVAS)))
292 $(ECHO) Compiling $(words $(ALL_COMPILED_PROPSOURCES)) properties into resource bundles
293 $(call ListPathsSafely,COMPILE_PROPCMDLINE,\n, >> $(JDK_OUTPUTDIR)/gensrc_properties/_the.cmdline)
294 $(TOOL_COMPILEPROPERTIES) -quiet @$(JDK_OUTPUTDIR)/gensrc_properties/_the.cmdline
295 $(TOUCH) $@
296
297 # Now setup the rule for the generation of the cleaned properties.
298 # FIXME: We currently don't handle removed properties incrementally.
299 $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties : $(ALL_CLEANED_PROPSOURCES) $(BUILD_TOOLS)
300 $(RM) -f $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline
301 # Generate all output directories in advance since the build tool does not do that...
302 $(MKDIR) -p $(sort $(dir $(ALL_CLEANED_PROPOUTPUT)))
303 $(ECHO) Copying and cleaning $(words $(ALL_CLEANED_PROPSOURCES)) properties
304 $(call ListPathsSafely,CLEAN_PROPCMDLINE,\n, >> $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline)
305 $(TOOL_STRIPPROPERTIES) @$(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline
|