2012-08-21 18:00:30 +00:00
|
|
|
#
|
2014-12-03 14:22:58 +00:00
|
|
|
# Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
|
2007-12-01 00:00:00 +00:00
|
|
|
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
|
|
|
#
|
|
|
|
# This code is free software; you can redistribute it and/or modify it
|
|
|
|
# under the terms of the GNU General Public License version 2 only, as
|
2010-05-25 22:58:33 +00:00
|
|
|
# published by the Free Software Foundation. Oracle designates this
|
2007-12-01 00:00:00 +00:00
|
|
|
# particular file as subject to the "Classpath" exception as provided
|
2010-05-25 22:58:33 +00:00
|
|
|
# by Oracle in the LICENSE file that accompanied this code.
|
2007-12-01 00:00:00 +00:00
|
|
|
#
|
|
|
|
# This code is distributed in the hope that it will be useful, but WITHOUT
|
|
|
|
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|
|
|
# FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
|
|
|
|
# version 2 for more details (a copy is included in the LICENSE file that
|
|
|
|
# accompanied this code).
|
|
|
|
#
|
|
|
|
# You should have received a copy of the GNU General Public License version
|
|
|
|
# 2 along with this work; if not, write to the Free Software Foundation,
|
|
|
|
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
|
|
|
|
#
|
2010-05-25 22:58:33 +00:00
|
|
|
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
|
|
|
|
# or visit www.oracle.com if you need additional information or have any
|
|
|
|
# questions.
|
2007-12-01 00:00:00 +00:00
|
|
|
#
|
|
|
|
|
2012-08-21 18:00:30 +00:00
|
|
|
CLDRVERSION := 21.0.1
|
2014-08-17 14:54:13 +00:00
|
|
|
CLDRSRCDIR := $(JDK_TOPDIR)/src/jdk.localedata/share/classes/sun/util/cldr/resources/$(subst .,_,$(CLDRVERSION))
|
2012-08-21 18:00:30 +00:00
|
|
|
|
2014-12-03 14:22:58 +00:00
|
|
|
GENSRC_DIR := $(SUPPORT_OUTPUTDIR)/gensrc/jdk.localedata
|
2012-08-21 18:00:30 +00:00
|
|
|
|
2014-09-17 16:43:04 +00:00
|
|
|
CLDR_METAINFO_FILE := $(GENSRC_DIR)/sun/util/resources/cldr/provider/CLDRLocaleDataMetaInfo.java
|
2012-08-21 18:00:30 +00:00
|
|
|
|
|
|
|
$(CLDR_METAINFO_FILE): $(wildcard $(CLDRSRCDIR)/common/dtd/*.dtd) \
|
2013-10-10 13:06:21 +00:00
|
|
|
$(wildcard $(CLDRSRCDIR)/common/main/*.xml) \
|
2014-08-17 14:54:13 +00:00
|
|
|
$(wildcard $(CLDRSRCDIR)/common/supplemental/*.xml) \
|
|
|
|
$(BUILD_TOOLS_JDK)
|
|
|
|
$(MKDIR) -p $(GENSRC_DIR)
|
2012-08-21 18:00:30 +00:00
|
|
|
$(TOOL_CLDRCONVERTER) -base $(CLDRSRCDIR) -o $(GENSRC_DIR)
|
|
|
|
|
|
|
|
GENSRC_CLDR := $(CLDR_METAINFO_FILE)
|
2014-09-17 16:43:04 +00:00
|
|
|
GENSRC_JDK_LOCALEDATA += $(GENSRC_CLDR)
|