Makefile revision 2391
0N/A#
594N/A# Copyright 2001-2008 Sun Microsystems, Inc. All Rights Reserved.
0N/A# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
0N/A#
0N/A# This code is free software; you can redistribute it and/or modify it
0N/A# under the terms of the GNU General Public License version 2 only, as
0N/A# published by the Free Software Foundation. Sun designates this
0N/A# particular file as subject to the "Classpath" exception as provided
0N/A# by Sun in the LICENSE file that accompanied this code.
0N/A#
0N/A# This code is distributed in the hope that it will be useful, but WITHOUT
0N/A# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
0N/A# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
0N/A# version 2 for more details (a copy is included in the LICENSE file that
0N/A# accompanied this code).
0N/A#
0N/A# You should have received a copy of the GNU General Public License version
0N/A# 2 along with this work; if not, write to the Free Software Foundation,
0N/A# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
0N/A#
0N/A# Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
0N/A# CA 95054 USA or visit www.sun.com if you need additional information or
0N/A# have any questions.
0N/A#
0N/A
0N/A#
0N/A# Makefile for locale data.
0N/A#
0N/A
0N/ABUILDDIR = ../..
0N/A
2080N/AMODULE = localedata
0N/APACKAGE = sun.text
0N/APRODUCT = sun
0N/A
0N/Ainclude $(BUILDDIR)/common/Defs.gmk
0N/A
0N/A# Re-direct classes to another location (we are building localedata.jar)
0N/ACLASSDESTDIR = $(TEMPDIR)/classes
0N/A
0N/A#
0N/A# Files
0N/A#
0N/Ainclude FILES_java.gmk
0N/Ainclude FILES_properties.gmk
0N/A
0N/A#
0N/A# Compile the properties files
0N/A#
0N/ACOMPILED_PROPERTIES_SUPERCLASS=LocaleNamesBundle
0N/A
0N/A#
0N/A# Rules
0N/A#
0N/Ainclude $(BUILDDIR)/common/Classes.gmk
0N/A
0N/A#
0N/A# Rules to add data files BreakIterator (for th locale)
0N/A#
0N/ATEXT_CLASSES = $(BUILDTOOLCLASSDIR)/sun.text/classes
0N/A
0N/A# input
0N/A#
0N/A# Notes: sun.text.resources.BreakIteratorRules_th no longer goes to runtime.
0N/A# They are used at JDK build phase in order to create $(BIFILES) which
0N/A# are used on runtime instead.
0N/A#
0N/ATEXT_SRCDIR = $(SHARE_SRC)/classes/sun/text/resources
0N/ABIRULES = $(TEXT_SRCDIR)/BreakIteratorRules.java \
0N/A $(TEXT_SRCDIR)/BreakIteratorRules_th.java
0N/ABIINFO = $(TEXT_SRCDIR)/BreakIteratorInfo_th.java
0N/AUNICODEDATA = $(BUILDDIR)/tools/UnicodeData
0N/A
0N/A# output
0N/ABIFILES = $(CLASSDESTDIR)/sun/text/resources/WordBreakIteratorData_th \
0N/A $(CLASSDESTDIR)/sun/text/resources/LineBreakIteratorData_th
0N/A
0N/A# builder
0N/AGENERATEBREAKITERATORDATA_JARFILE = \
0N/A $(BUILDTOOLJARDIR)/generatebreakiteratordata.jar
0N/A
0N/A$(BIFILES): $(GENERATEBREAKITERATORDATA_JARFILE) $(BIRULES) $(BIINFO) \
0N/A $(UNICODEDATA)/UnicodeData.txt
0N/A $(prep-target)
0N/A $(MKDIR) -p $(TEXT_CLASSES)
0N/A $(BOOT_JAVAC_CMD) -d $(TEXT_CLASSES) \
0N/A -sourcepath $(TEXT_SRCDIR) \
0N/A $(BIRULES) $(BIINFO)
0N/A $(BOOT_JAVA_CMD) -Xbootclasspath/p:$(TEXT_CLASSES) \
0N/A -jar $(GENERATEBREAKITERATORDATA_JARFILE) \
0N/A -o $(CLASSDESTDIR)/sun/text/resources \
0N/A -spec $(UNICODEDATA)/UnicodeData.txt \
0N/A -language th
0N/A @$(java-vm-cleanup)
0N/A
0N/Aclean::
0N/A $(RM) -r $(TEXT_CLASSES)
0N/A $(RM) -r $(BIFILES)
0N/A#
0N/A# End of rules to add data files for BreakIterator
0N/A#
0N/A
0N/A#
0N/A# Extra rules to build locale data.
0N/A#
0N/ALOCALEDATA_JAR = $(EXTDIR)/localedata.jar
0N/A
0N/ASPECIALFILES = $(CLASSDESTDIR)/sun/text/resources/thai_dict
0N/A
0N/A$(CLASSDESTDIR)/sun/text/resources/% : $(TEXT_SRCDIR)/%
0N/A $(install-file)
0N/A
0N/A$(LOCALEDATA_JAR): $(EXTDIR) $(FILES_class) $(BIFILES) $(SPECIALFILES)
0N/A $(prep-target)
0N/A $(BOOT_JAR_CMD) -cf $@ -C $(CLASSDESTDIR) sun \
459N/A $(BOOT_JAR_JFLAGS)
0N/A @$(java-vm-cleanup)
0N/A
0N/Abuild: $(LOCALEDATA_JAR)
0N/A
0N/Aclean clobber::
0N/A $(RM) -r $(CLASSDESTDIR)
0N/A $(RM) $(LOCALEDATA_JAR)
0N/A