annotate makefiles/GenerateData.gmk @ 6500:cba578db5f39

6964528: Double.toHexString(double d) String manipulation with + in an append of StringBuilder Reviewed-by: shade
author darcy
date Fri, 01 Feb 2013 19:30:02 -0800
parents 71ff959f9a34
children 7dcb74c3ffba
rev   line source
ohair@5221 1 #
ohair@5221 2 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
ohair@5221 3 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ohair@5221 4 #
ohair@5221 5 # This code is free software; you can redistribute it and/or modify it
ohair@5221 6 # under the terms of the GNU General Public License version 2 only, as
ohair@5221 7 # published by the Free Software Foundation. Oracle designates this
ohair@5221 8 # particular file as subject to the "Classpath" exception as provided
ohair@5221 9 # by Oracle in the LICENSE file that accompanied this code.
ohair@5221 10 #
ohair@5221 11 # This code is distributed in the hope that it will be useful, but WITHOUT
ohair@5221 12 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ohair@5221 13 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
ohair@5221 14 # version 2 for more details (a copy is included in the LICENSE file that
ohair@5221 15 # accompanied this code).
ohair@5221 16 #
ohair@5221 17 # You should have received a copy of the GNU General Public License version
ohair@5221 18 # 2 along with this work; if not, write to the Free Software Foundation,
ohair@5221 19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ohair@5221 20 #
ohair@5221 21 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@5221 22 # or visit www.oracle.com if you need additional information or have any
ohair@5221 23 # questions.
ohair@5221 24 #
ohair@5221 25
ohair@5221 26 default: all
ohair@5221 27
ohair@5221 28 include $(SPEC)
ohair@5221 29 include MakeBase.gmk
ohair@5221 30 include JavaCompilation.gmk
ohair@5221 31
ohair@5221 32 # Setup the java compilers for the JDK build.
ohair@5221 33 include Setup.gmk
ohair@5221 34 # We need the tools.
ohair@5221 35 include Tools.gmk
ohair@5221 36
ohair@5221 37 # Now include all the rules that generate data resources.
erikj@5507 38 # These are written directly into classes dir.
erikj@5507 39 GENDATA :=
ohair@5221 40
ohair@5221 41 include GendataBreakIterator.gmk
ohair@5221 42 GENDATA += $(BREAK_ITERATOR)
ohair@5221 43
erikj@5507 44 include GendataFontConfig.gmk
erikj@5507 45 GENDATA += $(GENDATA_FONT_CONFIG)
erikj@5507 46
erikj@5507 47 include GendataTimeZone.gmk
erikj@5507 48 GENDATA += $(GENDATA_TIMEZONE)
erikj@5507 49
sherman@6418 50 include GendataTZDB.gmk
sherman@6418 51 GENDATA += $(GENDATA_TZDB)
sherman@6418 52
erikj@5507 53 include GendataHtml32dtd.gmk
erikj@5507 54 GENDATA += $(GENDATA_HTML32DTD)
erikj@5507 55
erikj@5507 56 ##########################################################################################
erikj@5507 57
erikj@5507 58 GENDATA_UNINAME := $(JDK_OUTPUTDIR)/classes/java/lang/uniName.dat
erikj@5507 59
erikj@5507 60 $(GENDATA_UNINAME): $(JDK_TOPDIR)/make/tools/UnicodeData/UnicodeData.txt $(BUILD_TOOLS)
erikj@5507 61 $(MKDIR) -p $(@D)
erikj@5507 62 $(TOOL_CHARACTERNAME) $< $@
erikj@5507 63
erikj@5507 64 GENDATA += $(GENDATA_UNINAME)
erikj@5507 65
erikj@5507 66 ##########################################################################################
erikj@5507 67
erikj@5507 68 GENDATA_CURDATA := $(JDK_OUTPUTDIR)/lib/currency.data
erikj@5507 69
erikj@5507 70 $(GENDATA_CURDATA): $(JDK_TOPDIR)/src/share/classes/java/util/CurrencyData.properties $(BUILD_TOOLS)
erikj@5507 71 $(MKDIR) -p $(@D)
erikj@5507 72 $(RM) $@
ohair@5819 73 $(TOOL_GENERATECURRENCYDATA) -o $@.tmp < $<
ohair@5819 74 $(MV) $@.tmp $@
erikj@5596 75 $(CHMOD) 444 $@
erikj@5507 76
erikj@5507 77 GENDATA += $(GENDATA_CURDATA)
erikj@5507 78
ohair@5221 79 ##########################################################################################
ohair@5221 80
ohair@5221 81 $(GENDATA) : $(BUILD_TOOLS)
ohair@5221 82
ohair@5819 83 $(JDK_OUTPUTDIR)/classes/_the.gendata : $(GENDATA)
ohair@5819 84 $(TOUCH) $@
ohair@5819 85
ohair@5819 86 all: $(JDK_OUTPUTDIR)/classes/_the.gendata
ohair@5221 87
ohair@5221 88 .PHONY: all