8170 update CLDR data to v31
[unleashed.git] / usr / src / data / locale / tools / Makefile
bloba201ec7a5c61d4d7ce89dd4a448ae7785275ff86
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2017 Nexenta Systems, Inc.
16 include $(SRC)/data/Makefile.data
17 include $(SRC)/data/locale/Makefile.com
19 CMFILES= $(_CHARMAPS:%=build/%.cm)
21 GB18030SRCS= $(GB18030_LOCALES:%=build/%.GB18030.src)
22 ISO1SRCS= $(ISO8859_1_LOCALES:%=build/%.ISO8859-1.src)
23 ISO2SRCS= $(ISO8859_2_LOCALES:%=build/%.ISO8859-2.src)
24 ISO5SRCS= $(ISO8859_5_LOCALES:%=build/%.ISO8859-5.src)
25 ISO7SRCS= $(ISO8859_7_LOCALES:%=build/%.ISO8859-7.src)
26 ISO9SRCS= $(ISO8859_9_LOCALES:%=build/%.ISO8859-9.src)
27 ISO11SRCS= $(_ISO8859_11_LOCALES:%=build/%.ISO8859-11.src)
28 ISO13SRCS= $(ISO8859_13_LOCALES:%=build/%.ISO8859-13.src)
29 ISO15SRCS= $(ISO8859_15_LOCALES:%=build/%.ISO8859-15.src)
30 KOI8RSRCS= $(KOI8_R_LOCALES:%=build/%.KOI8-R.src)
31 UTF8SRCS= $(_UTF_8_LOCALES:%=build/%.UTF-8.src)
33 .PARALLEL:
35 all: $(CMFILES) $(GB18030SRCS) $(ISO1SRCS) $(ISO2SRCS) $(ISO5SRCS) \
36 $(ISO7SRCS) $(ISO9SRCS) $(ISO13SRCS) $(ISO15SRCS) $(KOI8RSRCS) \
37 $(UTF8SRCS)
39 $(CMFILES): build posix.jar
40 java -jar posix.jar org.unicode.cldr.posix.GenerateCharmap -d build -c $(@F:%.cm=%)
42 $(GB18030SRCS): build posix.jar
43 java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.GB18030.src=%) -c GB18030
44 $(ISO1SRCS): build posix.jar
45 java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-1.src=%) -c ISO8859-1
46 $(ISO2SRCS): build posix.jar
47 java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-2.src=%) -c ISO8859-2
48 $(ISO5SRCS): build posix.jar
49 java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-5.src=%) -c ISO8859-5
50 $(ISO7SRCS): build posix.jar
51 java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-7.src=%) -c ISO8859-7
52 $(ISO9SRCS): build posix.jar
53 java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-9.src=%) -c ISO8859-9
54 $(ISO13SRCS): build posix.jar
55 java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-13.src=%) -c ISO8859-13
56 $(ISO15SRCS): build posix.jar
57 java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-15.src=%) -c ISO8859-15
58 $(KOI8RSRCS): build posix.jar
59 java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.KOI8-R.src=%) -c KOI8-R
60 $(UTF8SRCS): build posix.jar
61 java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.UTF-8.src=%) -c UTF-8
63 build:
64 $(INS.dir)
66 posix.jar: posix.xml
67 ant -f posix.xml