Makefile revision 3909
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved.
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# This code is free software; you can redistribute it and/or modify it
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# under the terms of the GNU General Public License version 2 only, as
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# published by the Free Software Foundation. Oracle designates this
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# particular file as subject to the "Classpath" exception as provided
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# by Oracle in the LICENSE file that accompanied this code.
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# This code is distributed in the hope that it will be useful, but WITHOUT
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# version 2 for more details (a copy is included in the LICENSE file that
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# accompanied this code).
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# You should have received a copy of the GNU General Public License version
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# 2 along with this work; if not, write to the Free Software Foundation,
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
091a364c802e34a58f3260c9cb5db9b75c62215cTom Gundersen# or visit www.oracle.com if you need additional information or have any
f579559b3a14c1f1ef96c372e7626c4733e6ef7dTom Gundersen# Makefile for locale data.
1c4baffc1895809bae9ac36b670af90a4cb9cd7dTom Gundersen# Re-direct classes to another location (we are building localedata.jar)
eed0eee85ac34abd81cd9e81fdb6a19f47b6c8a3Michael Olbrich# Compile the properties files
2ad8416dd057e7e3185169609ca3006e7649f576Zbigniew Jędrzejewski-SzmekCOMPILED_PROPERTIES_SUPERCLASS=LocaleNamesBundle
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering# Rules to add data files BreakIterator (for th locale)
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart PoetteringTEXT_CLASSES = $(BUILDTOOLCLASSDIR)/sun.text/classes
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering# Notes: sun.text.resources.BreakIteratorRules_th no longer goes to runtime.
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering# They are used at JDK build phase in order to create $(BIFILES) which
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering# are used on runtime instead.
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart PoetteringTEXT_SRCDIR = $(SHARE_SRC)/classes/sun/text/resources
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart PoetteringBIRULES = $(TEXT_SRCDIR)/BreakIteratorRules.java \
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering $(TEXT_SRCDIR)/BreakIteratorRules_th.java
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart PoetteringBIINFO = $(TEXT_SRCDIR)/BreakIteratorInfo_th.java
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart PoetteringUNICODEDATA = $(BUILDDIR)/tools/UnicodeData
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart PoetteringBIFILES = $(CLASSDESTDIR)/sun/text/resources/WordBreakIteratorData_th \
11bf3cced13c885ca215c108cb0bdb7a148520d6Lennart Poettering $(CLASSDESTDIR)/sun/text/resources/LineBreakIteratorData_th
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen $(BUILDTOOLJARDIR)/generatebreakiteratordata.jar
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen$(BIFILES): $(GENERATEBREAKITERATORDATA_JARFILE) $(BIRULES) $(BIINFO) \
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen $(BOOT_JAVA_CMD) -Xbootclasspath/p:$(TEXT_CLASSES) \
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen# End of rules to add data files for BreakIterator
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen# Extra rules to build locale data.
9c0a72f961e00b0447767973e7117e131bea5b5dTom GundersenSPECIALFILES = $(CLASSDESTDIR)/sun/text/resources/thai_dict
9c0a72f961e00b0447767973e7117e131bea5b5dTom Gundersen$(CLASSDESTDIR)/sun/text/resources/% : $(TEXT_SRCDIR)/%
190700621f95160d364f8ec1d3e360246c41ce75Lennart Poettering$(LOCALEDATA_JAR): $(EXTDIR) $(FILES_class) $(BIFILES) $(SPECIALFILES)