Makefile revision 2362
080575042aba2197b425ebfd52061dea061a9aa1xy# Copyright (c) 1996, 2008, Oracle and/or its affiliates. All rights reserved.
080575042aba2197b425ebfd52061dea061a9aa1xy# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
080575042aba2197b425ebfd52061dea061a9aa1xy# This code is free software; you can redistribute it and/or modify it
080575042aba2197b425ebfd52061dea061a9aa1xy# under the terms of the GNU General Public License version 2 only, as
080575042aba2197b425ebfd52061dea061a9aa1xy# published by the Free Software Foundation. Oracle designates this
080575042aba2197b425ebfd52061dea061a9aa1xy# particular file as subject to the "Classpath" exception as provided
080575042aba2197b425ebfd52061dea061a9aa1xy# by Oracle in the LICENSE file that accompanied this code.
080575042aba2197b425ebfd52061dea061a9aa1xy# This code is distributed in the hope that it will be useful, but WITHOUT
080575042aba2197b425ebfd52061dea061a9aa1xy# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
080575042aba2197b425ebfd52061dea061a9aa1xy# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
080575042aba2197b425ebfd52061dea061a9aa1xy# version 2 for more details (a copy is included in the LICENSE file that
080575042aba2197b425ebfd52061dea061a9aa1xy# accompanied this code).
080575042aba2197b425ebfd52061dea061a9aa1xy# You should have received a copy of the GNU General Public License version
080575042aba2197b425ebfd52061dea061a9aa1xy# 2 along with this work; if not, write to the Free Software Foundation,
080575042aba2197b425ebfd52061dea061a9aa1xy# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
080575042aba2197b425ebfd52061dea061a9aa1xy# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
080575042aba2197b425ebfd52061dea061a9aa1xy# or visit www.oracle.com if you need additional information or have any
080575042aba2197b425ebfd52061dea061a9aa1xy# questions.
080575042aba2197b425ebfd52061dea061a9aa1xy# Makefile for character converters.
080575042aba2197b425ebfd52061dea061a9aa1xy# charsets should be separated from nio module
080575042aba2197b425ebfd52061dea061a9aa1xy# This re-directs all the class files to a separate location
080575042aba2197b425ebfd52061dea061a9aa1xy# For Cygwin, command line arguments that are paths must be converted to
080575042aba2197b425ebfd52061dea061a9aa1xy# windows style paths. These paths cannot be used as targets, however, because
080575042aba2197b425ebfd52061dea061a9aa1xy# the ":" in them will interfere with GNU Make rules, generating "multiple
080575042aba2197b425ebfd52061dea061a9aa1xy# target pattern" errors.
080575042aba2197b425ebfd52061dea061a9aa1xy# this define is for the rule:
080575042aba2197b425ebfd52061dea061a9aa1xyFILES_genout_extcs = $(FILES_gen_extcs:%.java=$(GENSRCDIR)/%.java)
080575042aba2197b425ebfd52061dea061a9aa1xy# Extra rules to build character converters.
080575042aba2197b425ebfd52061dea061a9aa1xySERVICE_DESCRIPTION = java.nio.charset.spi.CharsetProvider
080575042aba2197b425ebfd52061dea061a9aa1xySERVICE_DESCRIPTION_PATH = META-INF/services/$(SERVICE_DESCRIPTION)
080575042aba2197b425ebfd52061dea061a9aa1xyGENCSSRCDIR = $(BUILDDIR)/tools/src/build/tools/charsetmapping
080575042aba2197b425ebfd52061dea061a9aa1xyCHARSETMAPPING_JARFILE = $(BUILDTOOLJARDIR)/charsetmapping.jar
080575042aba2197b425ebfd52061dea061a9aa1xy $(BOOT_JAVA_CMD) -jar $(CHARSETMAPPING_JARFILE) $(GENCSDATASRC) $(GENCSEXT) extsbcs
080575042aba2197b425ebfd52061dea061a9aa1xy $(BOOT_JAVA_CMD) -jar $(CHARSETMAPPING_JARFILE) $(GENCSDATASRC) $(GENCSEXT) euctw \
080575042aba2197b425ebfd52061dea061a9aa1xy $(BOOT_JAVA_CMD) -jar $(CHARSETMAPPING_JARFILE) $(GENCSDATASRC) $(GENCSEXT) hkscs \
080575042aba2197b425ebfd52061dea061a9aa1xy $(BOOT_JAVA_CMD) -jar $(CHARSETMAPPING_JARFILE) $(GENCSDATASRC) $(GENCSEXT) dbcs
080575042aba2197b425ebfd52061dea061a9aa1xy $(SHARE_SRC)/classes/sun/nio/cs/ext/$(SERVICE_DESCRIPTION_PATH)