Makefile revision 2362
0N/A#
2362N/A# Copyright (c) 1996, 2006, Oracle and/or its affiliates. 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
2362N/A# published by the Free Software Foundation. Oracle designates this
0N/A# particular file as subject to the "Classpath" exception as provided
2362N/A# by Oracle 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#
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.
0N/A#
0N/A
2157N/ABUILDDIR = ../../..
2080N/AMODULE = base
0N/APACKAGE = java.text
0N/APRODUCT = sun
0N/A
0N/Ainclude $(BUILDDIR)/common/Defs.gmk
0N/A
0N/A#
0N/A# Files
0N/A#
0N/Ainclude FILES_java.gmk
0N/A
0N/A#
0N/A# Include
0N/A#
0N/Ainclude $(BUILDDIR)/common/Classes.gmk
0N/A
0N/A#
0N/A# Rules to add data files BreakIterator
0N/A#
0N/ATEXT_CLASSES = $(BUILDTOOLCLASSDIR)/java.text/classes
0N/A
0N/A# input
0N/A#
0N/A# Notes: sun.text.resources.BreakIteratorRules 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/ATEXT_SOURCES = $(TEXT_SRCDIR)/BreakIteratorRules.java \
0N/A $(TEXT_SRCDIR)/BreakIteratorInfo.java
0N/AUNICODEDATA = $(BUILDDIR)/tools/UnicodeData
0N/A
0N/A# output
0N/ATEXT_CLASSDIR = $(CLASSBINDIR)/sun/text/resources
0N/ABIFILES = $(TEXT_CLASSDIR)/CharacterBreakIteratorData \
0N/A $(TEXT_CLASSDIR)/WordBreakIteratorData \
0N/A $(TEXT_CLASSDIR)/LineBreakIteratorData \
0N/A $(TEXT_CLASSDIR)/SentenceBreakIteratorData
0N/A
0N/AICU_FILES = $(TEXT_CLASSDIR)/unorm.icu \
1091N/A $(TEXT_CLASSDIR)/uprops.icu \
1091N/A $(TEXT_CLASSDIR)/ubidi.icu
0N/A
0N/A# builder
0N/AGENERATEBREAKITERATORDATA_JARFILE = \
0N/A $(BUILDTOOLJARDIR)/generatebreakiteratordata.jar
0N/A
0N/A$(BIFILES): $(GENERATEBREAKITERATORDATA_JARFILE) \
0N/A $(UNICODEDATA)/UnicodeData.txt \
0N/A $(TEXT_SOURCES)
0N/A $(prep-target)
0N/A $(RM) -r $(TEXT_CLASSES)
0N/A $(MKDIR) -p $(TEXT_CLASSES)
0N/A $(BOOT_JAVAC_CMD) -d $(TEXT_CLASSES) \
0N/A -sourcepath $(TEXT_SRCDIR) \
0N/A $(TEXT_SOURCES)
0N/A $(MKDIR) -p $(TEXT_CLASSDIR)
0N/A $(BOOT_JAVA_CMD) -Xbootclasspath/p:$(TEXT_CLASSES) \
0N/A -jar $(GENERATEBREAKITERATORDATA_JARFILE) \
0N/A -o $(TEXT_CLASSDIR) \
0N/A -spec $(UNICODEDATA)/UnicodeData.txt
0N/A @$(java-vm-cleanup)
0N/A
0N/Abuild: $(BIFILES) $(ICU_FILES)
0N/A
0N/A#
1091N/A# Extra rules to copy unorm.icu, uprops.icu, and ubidi.icu
0N/A#
0N/A$(TEXT_CLASSDIR)/unorm.icu: $(TEXT_SRCDIR)/unorm.icu
0N/A $(install-file)
0N/A
0N/A$(TEXT_CLASSDIR)/uprops.icu: $(TEXT_SRCDIR)/uprops.icu
0N/A $(install-file)
0N/A
1091N/A$(TEXT_CLASSDIR)/ubidi.icu: $(TEXT_SRCDIR)/ubidi.icu
1091N/A $(install-file)
1091N/A
0N/Aclean clobber::
0N/A $(RM) -r $(TEXT_CLASSES)
0N/A $(RM) -r $(BIFILES)
0N/A $(RM) $(ICU_FILES)
0N/A