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