GensrcProperties.gmk 18.2 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#
# Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
#
# This code is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License version 2 only, as
# published by the Free Software Foundation.  Oracle designates this
# particular file as subject to the "Classpath" exception as provided
# by Oracle in the LICENSE file that accompanied this code.
#
# This code is distributed in the hope that it will be useful, but WITHOUT
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
# version 2 for more details (a copy is included in the LICENSE file that
# accompanied this code).
#
# You should have received a copy of the GNU General Public License version
# 2 along with this work; if not, write to the Free Software Foundation,
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
#
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
# or visit www.oracle.com if you need additional information or have any
# questions.
#

26
# Prepare the find cache. This is only used on windows.
27
$(eval $(call FillCacheFind, $(JDK_TOPDIR)/src/share/classes $(JDK_TOPDIR)/src/windows/classes))
28

29
# All .properties files to be compiled are appended to this variable.
30
ALL_COMPILED_PROPSOURCES :=
31
# All generated .java files from compilation are appended to this variable.
32
ALL_COMPILED_PROPJAVAS :=
33
# The (very long) command line for compilation, stored in a file, prior to use.
34
COMPILE_PROPCMDLINE :=
35 36

# All .properties files to be cleaned are appended to this variable.
37
ALL_CLEANED_PROPSOURCES :=
38
# All generated cleaned .properties files from cleaning are appended to this variable.
39
ALL_CLEANED_PROPOUTPUT :=
40
# The (very long) command line for cleaning, stored in a file, prior to use.
41
CLEAN_PROPCMDLINE :=
42 43 44 45 46 47 48 49 50 51

define add_properties_to_compile
  # $1 is the name of the properties group
  # $2 is the files belonging to this group
  # $3 is the super class for the generated java file.
  # $4 is a from pattern for translating stripped name from source to target
  # $5 is the to pattern replacing $3 in the target

  # Strip away prefix and suffix,
  # leaving for example: sun/util/resources/CurrencyNames_sv
52 53 54
  $1_PROPPATHS := $$(patsubst $(JDK_TOPDIR)/src/windows/classes/%.properties, %, \
      $$(patsubst $(JDK_TOPDIR)/src/macosx/classes/%.properties, %, \
      $$(patsubst $(JDK_TOPDIR)/src/share/classes/%.properties, %, $2)))
55 56

  # Apply optional name transformation, example: hz_TW -> hz_HK
57
  $(if $4, $1_PROPPATHS := $$(patsubst $4, $5, $$($1_PROPPATHS)))
58 59

  # Accumulate all found properties files.
60
  ALL_COMPILED_PROPSOURCES += $2
61 62

  # Generate the list of to be created java files.
63
  ALL_COMPILED_PROPJAVAS += $$(patsubst %, $(JDK_OUTPUTDIR)/gensrc/%.java, $$($1_PROPPATHS))
64 65 66

  # Now generate a sequence of "-compile ...CurrencyNames_sv.properties ...CurrencyNames_sv.java ListResourceBundle"
  # suitable to be fed into the CompileProperties command.
67 68 69 70
  COMPILE_PROPCMDLINE += $$(subst _SPACE_,$(SPACE),$$(join $$(addprefix -compile_SPACE_, $2), \
      $$(addsuffix _SPACE_$(strip $3), \
      $$(addprefix _SPACE_$(JDK_OUTPUTDIR)/gensrc/, \
      $$(addsuffix .java, $$($1_PROPPATHS))))))
71 72 73 74 75 76 77 78 79 80 81
endef

define add_properties_to_clean
  # $1 is the name of the properties group
  # $2 is the files belonging to this group
  # $3 is a from pattern for translating stripped name from source to target
  # $4 is the to pattern replacing $3 in the target
  # $5 optional name of extra directory to put properties files in (ex: resources)

  # Strip away prefix and suffix,
  # leaving for example: sun/util/resources/CurrencyNames_sv
82 83
  $1_PROPPATHS := $$(patsubst $(JDK_TOPDIR)/src/$(OPENJDK_TARGET_OS_API_DIR)/classes/%.properties, %, \
      $$(patsubst $(JDK_TOPDIR)/src/share/classes/%.properties, %, $2))
84 85

  # Apply optional name transformation, example: hz_TW -> hz_HK
86
  $(if $3, $1_PROPPATHS := $$(patsubst $3, $4, $$($1_PROPPATHS)))
87 88

  # Accumulate all found properties files.
89
  ALL_CLEANED_PROPSOURCES += $2
90 91

  # Generate the list of to be created java files.
92
  $1_PROPOUTPUT := $$(patsubst %, $(JDK_OUTPUTDIR)/classes/%.properties, $$($1_PROPPATHS))
93
  # If the properties target file isn't in a "resources" dir, add one.
94 95
  ifneq ($5, )
    $1_PROPOUTPUT := $$(foreach p, $$($1_PROPOUTPUT), $$(dir $$p)$5/$$(notdir $$p))
96 97
  endif

98
  ALL_CLEANED_PROPOUTPUT += $$($1_PROPOUTPUT)
99 100 101

  # Now generate a sequence of "-clean ...[src]...CurrencyNames_sv.properties ...[build]...CurrencyNames_sv.properties"
  # suitable to be fed into the StripProperties command.
102 103
  CLEAN_PROPCMDLINE += $$(subst _SPACE_,$(SPACE),$$(join $$(addprefix -clean_SPACE_,$2), \
      $$(addprefix _SPACE_, $$($1_PROPOUTPUT))))
104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119
endef

# Some packages contain pregenerated java files instead of properties files.
# But unfortunately not all properties should be converted, some should be
# copied....argggghhh.

# For example:
#    sun/applet/resources
#    sun/misc/resources
#    sun/text/resources
#    sun/tools/jconsole/resources
#    sun/tools/native2ascii/resources
#    sun/util/resources

# Some packages have properties that need to be converted to java source files.

120
#com/apple/laf/resources
121 122 123 124 125
ifeq ($(OPENJDK_TARGET_OS), macosx)
  $(eval $(call add_properties_to_compile,COM_APPLE_LAF, \
      $(filter %.properties, \
      $(call CacheFind, $(JDK_TOPDIR)/src/macosx/classes/com/apple/laf/resources)), \
      ListResourceBundle))
126 127
endif

128
#com/sun/accessibility/internal/resources
129 130 131 132 133 134 135 136
$(eval $(call add_properties_to_compile,COM_SUN_ACCESSIBILITY, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/accessibility/internal/resources)), \
    ListResourceBundle))
$(eval $(call add_properties_to_compile,COM_SUN_ACCESSIBILITY_HK, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/accessibility/internal/resources)), \
    ListResourceBundle, %zh_TW, %zh_HK))
137
#com/sun/imageio/plugins/common
138 139 140
$(eval $(call add_properties_to_clean,COM_SUN_IMAGEIO, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/imageio))))
141
#com/sun/java/swing/plaf/gtk/resources
142
ifneq ($(OPENJDK_TARGET_OS), windows)
143 144 145 146 147 148 149 150 151
  # Only compile GTK resource bundles on Solaris/Linux
  $(eval $(call add_properties_to_compile,COM_SUN_SWING_PLAF_GTK, \
      $(filter %.properties, \
      $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/java/swing/plaf/gtk/resources)), \
      ListResourceBundle))
  $(eval $(call add_properties_to_compile,COM_SUN_SWING_PLAF_GTK_HK, \
      $(filter %.properties, \
      $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/java/swing/plaf/gtk/resources)), \
      ListResourceBundle, %zh_TW, %zh_HK))
152
endif
153
#com/sun/java/swing/plaf/motif/resources
154 155 156 157 158 159 160 161
$(eval $(call add_properties_to_compile,COM_SUN_SWING_PLAF_MOTIF, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/java/swing/plaf/motif/resources)), \
    ListResourceBundle))
$(eval $(call add_properties_to_compile,COM_SUN_SWING_PLAF_MOTIF_HK, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/java/swing/plaf/motif/resources)), \
    ListResourceBundle, %zh_TW, %zh_HK))
162
#com/sun/java/swing/plaf/windows/resources
163 164 165 166 167 168 169 170
$(eval $(call add_properties_to_compile,COM_SUN_SWING_PLAF_WINDOWS, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/java/swing/plaf/windows/resources)), \
    ListResourceBundle))
$(eval $(call add_properties_to_compile,COM_SUN_SWING_PLAF_WINDOWS_HK, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/java/swing/plaf/windows/resources)), \
    ListResourceBundle, %zh_TW, %zh_HK))
171
#com/sun/java/util/jar/pack
172 173
$(eval $(call add_properties_to_clean,JNDI_COSNAMING, \
    $(JDK_TOPDIR)/src/share/classes/com/sun/java/util/jar/pack/intrinsic.properties))
174
#com/sun/jndi/cosnaming
175 176
$(eval $(call add_properties_to_clean,JNDI_COSNAMING, \
    $(JDK_TOPDIR)/src/share/classes/com/sun/jndi/cosnaming/jndiprovider.properties))
177
#com/sun/jndi/ldap
178 179
$(eval $(call add_properties_to_clean,JNDI_COSNAMING, \
    $(JDK_TOPDIR)/src/share/classes/com/sun/jndi/ldap/jndiprovider.properties))
180 181 182 183

#com/sun/org/apache/xml/internal/security/resource
#FIXME: The "xmlsecurity*.properties" pattern is not ideal; we might want to find
#a better way to select the properties files that are needed.
184 185 186
$(eval $(call add_properties_to_clean,XML_SECURITY, \
    $(filter $(JDK_TOPDIR)/src/share/classes/com/sun/org/apache/xml/internal/security/resource/xmlsecurity%.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/org/apache/xml/internal/security/resource))))
187 188

#com/sun/rowset
189 190 191 192 193 194 195
$(eval $(call add_properties_to_clean,COM_SUN_ROWSET, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/rowset))))
$(eval $(call add_properties_to_clean,COM_SUN_ROWSET_HK, \
    $(filter %zh_TW.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/rowset)), \
    %zh_TW, %zh_HK))
196 197

#com/sun/swing/internal/plaf/basic/resources
198 199 200 201 202 203 204 205
$(eval $(call add_properties_to_compile,COM_SUN_SWING_PLAF_BASIC, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/swing/internal/plaf/basic/resources)), \
    ListResourceBundle))
$(eval $(call add_properties_to_compile,COM_SUN_SWING_PLAF_BASIC_HK, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/swing/internal/plaf/basic/resources)), \
    ListResourceBundle, %zh_TW, %zh_HK))
206
#com/sun/swing/internal/plaf/metal/resources
207 208 209 210 211 212 213
$(eval $(call add_properties_to_compile,COM_SUN_SWING_PLAF_METAL, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/swing/internal/plaf/metal/resources)), \
    ListResourceBundle))
$(eval $(call add_properties_to_compile,COM_SUN_SWING_PLAF_METAL_HK, \
    $(filter %.properties, $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/swing/internal/plaf/metal/resources)), \
    ListResourceBundle, %zh_TW, %zh_HK))
214
#com/sun/swing/internal/plaf/synth/resources
215 216 217 218 219 220 221 222
$(eval $(call add_properties_to_compile,COM_SUN_SWING_PLAF_SYNTH, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/swing/internal/plaf/synth/resources)), \
    ListResourceBundle))
$(eval $(call add_properties_to_compile,COM_SUN_SWING_PLAF_SYNTH_HK, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/swing/internal/plaf/synth/resources)), \
    ListResourceBundle, %zh_TW, %zh_HK))
223 224

#com/sun/tools/jdi/resources
225 226 227 228
$(eval $(call add_properties_to_compile,COM_SUN_TOOLS_JDI, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/com/sun/tools/jdi/resources)), \
    ListResourceBundle))
229 230 231 232

#com/sun/tools/script/shell
#java/util
#javax/sql/rowset
233 234 235
$(eval $(call add_properties_to_clean,JAVAX_SQL_ROWSET, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/javax/sql/rowset))))
236
#sun/awt/resources
237 238 239 240 241 242 243 244
$(eval $(call add_properties_to_compile,SUN_AWT, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/awt/resources)), \
    ListResourceBundle))
$(eval $(call add_properties_to_compile,SUN_AWT_HK, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/awt/resources)), \
    ListResourceBundle, %zh_TW, %zh_HK))
245
#sun/awt/windows/
246 247 248 249 250 251 252 253 254
ifeq ($(OPENJDK_TARGET_OS), windows)
  $(eval $(call add_properties_to_compile,SUN_AWT, \
      $(filter $(JDK_TOPDIR)/src/windows/classes/sun/awt/windows/awtLocalization%.properties, \
      $(call CacheFind, $(JDK_TOPDIR)/src/windows/classes/sun/awt/windows)), \
      ListResourceBundle))
  $(eval $(call add_properties_to_compile,SUN_AWT_HK, \
      $(filter $(JDK_TOPDIR)/src/windows/classes/sun/awt/windows/awtLocalization%.properties, \
      $(call CacheFind, $(JDK_TOPDIR)/src/windows/classes/sun/awt/windows)), \
      ListResourceBundle, %zh_TW, %zh_HK))
255
endif
256 257 258 259 260 261 262
# os x specific awt properties
ifeq ($(OPENJDK_TARGET_OS),macosx)
$(eval $(call add_properties_to_compile,SUN_AWT,\
	$(filter $(JDK_TOPDIR)/src/macosx/classes/sun/awt/resources/%.properties,\
	$(call CacheFind,$(JDK_TOPDIR)/src/macosx/classes/sun/awt/resources)),\
	ListResourceBundle))
endif
263

264
#sun/launcher/resources
265 266 267 268 269 270 271 272
$(eval $(call add_properties_to_compile,SUN_LAUNCHER, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/launcher/resources)), \
    ListResourceBundle))
$(eval $(call add_properties_to_compile,SUN_LAUNCHER_HK, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/launcher/resources)), \
    ListResourceBundle, %zh_TW, %zh_HK))
273
#sun/management/resources
274 275 276 277 278 279 280 281
$(eval $(call add_properties_to_compile,SUN_MANAGEMENT, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/management/resources)), \
    ListResourceBundle))
$(eval $(call add_properties_to_compile,SUN_MANAGEMENT_KH, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/management/resources)), \
    ListResourceBundle, %zh_TW, %zh_HK))
282 283
#sun/print
#sun/print/resources
284 285 286 287 288 289 290 291
$(eval $(call add_properties_to_compile,SUN_PRINT, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/print/resources)), \
    ListResourceBundle))
$(eval $(call add_properties_to_compile,SUN_PRINT_HK, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/print/resources)), \
    ListResourceBundle, %zh_TW, %zh_HK))
292
#sun/rmi/registry/resources
293 294 295 296 297 298 299
$(eval $(call add_properties_to_clean,SUN_RMI_REGISTRY, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/rmi/registry/resources))))
$(eval $(call add_properties_to_clean,SUN_RMI_REGISTRY_HK, \
    $(filter %zh_TW.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/rmi/registry/resources)), \
    %zh_TW, %zh_HK))
300 301

#sun/rmi/rmic/resources
302 303 304
$(eval $(call add_properties_to_clean,SUN_RMI_RMIC, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/rmi/rmic/resources))))
305 306

#sun/rmi/server/resources
307 308 309 310 311 312 313
$(eval $(call add_properties_to_clean,SUN_RMI_SERVER, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/rmi/server/resources))))
$(eval $(call add_properties_to_clean,SUN_RMI_SERVER_HK, \
    $(filter %zh_TW.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/rmi/server/resources)), \
    %zh_TW, %zh_HK))
314 315

# sun/tools/jar/resources
316 317 318 319 320 321 322 323
$(eval $(call add_properties_to_compile,SUN_TOOLS_JAR, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/tools/jar/resources)), \
    ListResourceBundle))
$(eval $(call add_properties_to_compile,SUN_TOOLS_JAR_HK, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/tools/jar/resources)), \
    ListResourceBundle, %zh_TW, %zh_HK))
324 325 326 327

#sun/tools/javac/resources
# It's unclear if the other localized property files here are supposed to be copied or not
# but the old build system didn't copy them.
328 329 330
$(eval $(call add_properties_to_clean,SUN_TOOLS_SERIALVER, \
    $(filter %javac.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/tools/javac/resources))))
331

332
#sun/tools/jconsole/resources
333 334 335
$(eval $(call add_properties_to_clean,SUN_TOOLS_JCONSOLE, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/tools/jconsole/resources))))
336

337
#sun/tools/serialver
338 339 340
$(eval $(call add_properties_to_clean,SUN_TOOLS_SERIALVER, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/tools/serialver)), , ,resources))
341 342

#sun/util/logging/resources
343 344 345 346 347 348 349 350
$(eval $(call add_properties_to_compile,SUN_UTIL_LOGGING, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/util/logging/resources)), \
    ListResourceBundle))
$(eval $(call add_properties_to_compile,SUN_UTIL_LOGGING_HK, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/util/logging/resources)), \
    ListResourceBundle, %zh_TW, %zh_HK))
351
# sun/util/resources
352 353 354 355
$(eval $(call add_properties_to_compile,SUN_UTIL, \
    $(filter %.properties, \
    $(call CacheFind, $(JDK_TOPDIR)/src/share/classes/sun/util/resources)), \
    sun.util.resources.LocaleNamesBundle))
356 357

# Now setup the rule for the generation of the resource bundles.
358 359
$(JDK_OUTPUTDIR)/gensrc/_the.compiled_properties: $(ALL_COMPILED_PROPSOURCES) $(BUILD_TOOLS)
        # Generate all output directories in advance since the build tool does not do that...
360
	$(MKDIR) -p $(sort $(dir $(ALL_COMPILED_PROPJAVAS)))
361
	$(ECHO) Compiling $(words $(ALL_COMPILED_PROPSOURCES)) properties into resource bundles
O
ohair 已提交
362 363
	$(call ListPathsSafely,COMPILE_PROPCMDLINE,\n, >> $(JDK_OUTPUTDIR)/gensrc/_the.cmdline)
	$(TOOL_COMPILEPROPERTIES) -quiet @$(JDK_OUTPUTDIR)/gensrc/_the.cmdline
364
	$(TOUCH) $@
365 366

# Now setup the rule for the generation of the cleaned properties.
367 368
# FIXME: We currently don't handle removed properties incrementally.
$(JDK_OUTPUTDIR)/classes/_the.cleaned_properties: $(ALL_CLEANED_PROPSOURCES) $(BUILD_TOOLS)
369
	$(RM) $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline
370
        # Generate all output directories in advance since the build tool does not do that...
371
	$(MKDIR) -p $(sort $(dir $(ALL_CLEANED_PROPOUTPUT)))
372
	$(ECHO) Copying and cleaning $(words $(ALL_CLEANED_PROPSOURCES)) properties
373 374 375
	$(call ListPathsSafely,CLEAN_PROPCMDLINE,\n, >> $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline)
	$(TOOL_STRIPPROPERTIES) @$(JDK_OUTPUTDIR)/classes/_the.cleaned_properties.cmdline
	$(TOUCH) $@
376

377
$(ALL_COMPILED_PROPJAVAS): $(JDK_OUTPUTDIR)/gensrc/_the.compiled_properties
378

379
$(ALL_CLEANED_PROPOUTPUT): $(JDK_OUTPUTDIR)/classes/_the.cleaned_properties
380 381 382


# Some zh_HK resources are just copied of zh_TW
O
ohair 已提交
383
$(JDK_OUTPUTDIR)/gensrc/%_zh_HK.java: $(JDK_TOPDIR)/src/share/classes/%_zh_TW.java
384 385 386
	$(MKDIR) -p $(@D)
	$(CAT) $< | $(SED) -e '/class/s/_zh_TW/_zh_HK/' > $@

387 388 389 390
ZH_HK_JAVA := sun/applet/resources/MsgAppletViewer_zh_HK.java \
    sun/misc/resources/Messages_zh_HK.java \
    sun/security/util/AuthResources_zh_HK.java \
    sun/security/util/Resources_zh_HK.java
391

392
ZH_HK_JAVA_FILES := $(addprefix $(JDK_OUTPUTDIR)/gensrc/, $(ZH_HK_JAVA))
393 394


395
GENSRC_PROPERTIES := $(ALL_COMPILED_PROPJAVAS) $(ALL_CLEANED_PROPOUTPUT) $(ZH_HK_JAVA_FILES)