1*6cf13876SYuri Pankov# 2*6cf13876SYuri Pankov# This file and its contents are supplied under the terms of the 3*6cf13876SYuri Pankov# Common Development and Distribution License ("CDDL"), version 1.0. 4*6cf13876SYuri Pankov# You may only use this file in accordance with the terms of version 5*6cf13876SYuri Pankov# 1.0 of the CDDL. 6*6cf13876SYuri Pankov# 7*6cf13876SYuri Pankov# A full copy of the text of the CDDL should have accompanied this 8*6cf13876SYuri Pankov# source. A copy of the CDDL is also available via the Internet at 9*6cf13876SYuri Pankov# http://www.illumos.org/license/CDDL. 10*6cf13876SYuri Pankov# 11*6cf13876SYuri Pankov 12*6cf13876SYuri Pankov# 13*6cf13876SYuri Pankov# Copyright 2017 Nexenta Systems, Inc. 14*6cf13876SYuri Pankov# 15*6cf13876SYuri Pankov 16*6cf13876SYuri Pankovinclude $(SRC)/data/Makefile.data 17*6cf13876SYuri Pankovinclude $(SRC)/data/locale/Makefile.com 18*6cf13876SYuri Pankov 19*6cf13876SYuri PankovCMFILES= $(_CHARMAPS:%=build/%.cm) 20*6cf13876SYuri Pankov 21*6cf13876SYuri PankovGB18030SRCS= $(GB18030_LOCALES:%=build/%.GB18030.src) 22*6cf13876SYuri PankovISO1SRCS= $(ISO8859_1_LOCALES:%=build/%.ISO8859-1.src) 23*6cf13876SYuri PankovISO2SRCS= $(ISO8859_2_LOCALES:%=build/%.ISO8859-2.src) 24*6cf13876SYuri PankovISO5SRCS= $(ISO8859_5_LOCALES:%=build/%.ISO8859-5.src) 25*6cf13876SYuri PankovISO7SRCS= $(ISO8859_7_LOCALES:%=build/%.ISO8859-7.src) 26*6cf13876SYuri PankovISO9SRCS= $(ISO8859_9_LOCALES:%=build/%.ISO8859-9.src) 27*6cf13876SYuri PankovISO11SRCS= $(_ISO8859_11_LOCALES:%=build/%.ISO8859-11.src) 28*6cf13876SYuri PankovISO13SRCS= $(ISO8859_13_LOCALES:%=build/%.ISO8859-13.src) 29*6cf13876SYuri PankovISO15SRCS= $(ISO8859_15_LOCALES:%=build/%.ISO8859-15.src) 30*6cf13876SYuri PankovKOI8RSRCS= $(KOI8_R_LOCALES:%=build/%.KOI8-R.src) 31*6cf13876SYuri PankovUTF8SRCS= $(_UTF_8_LOCALES:%=build/%.UTF-8.src) 32*6cf13876SYuri Pankov 33*6cf13876SYuri Pankov.PARALLEL: 34*6cf13876SYuri Pankov 35*6cf13876SYuri Pankovall: $(CMFILES) $(GB18030SRCS) $(ISO1SRCS) $(ISO2SRCS) $(ISO5SRCS) \ 36*6cf13876SYuri Pankov $(ISO7SRCS) $(ISO9SRCS) $(ISO13SRCS) $(ISO15SRCS) $(KOI8RSRCS) \ 37*6cf13876SYuri Pankov $(UTF8SRCS) 38*6cf13876SYuri Pankov 39*6cf13876SYuri Pankov$(CMFILES): build posix.jar 40*6cf13876SYuri Pankov java -jar posix.jar org.unicode.cldr.posix.GenerateCharmap -d build -c $(@F:%.cm=%) 41*6cf13876SYuri Pankov 42*6cf13876SYuri Pankov$(GB18030SRCS): build posix.jar 43*6cf13876SYuri Pankov java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.GB18030.src=%) -c GB18030 44*6cf13876SYuri Pankov$(ISO1SRCS): build posix.jar 45*6cf13876SYuri Pankov java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-1.src=%) -c ISO8859-1 46*6cf13876SYuri Pankov$(ISO2SRCS): build posix.jar 47*6cf13876SYuri Pankov java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-2.src=%) -c ISO8859-2 48*6cf13876SYuri Pankov$(ISO5SRCS): build posix.jar 49*6cf13876SYuri Pankov java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-5.src=%) -c ISO8859-5 50*6cf13876SYuri Pankov$(ISO7SRCS): build posix.jar 51*6cf13876SYuri Pankov java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-7.src=%) -c ISO8859-7 52*6cf13876SYuri Pankov$(ISO9SRCS): build posix.jar 53*6cf13876SYuri Pankov java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-9.src=%) -c ISO8859-9 54*6cf13876SYuri Pankov$(ISO13SRCS): build posix.jar 55*6cf13876SYuri Pankov java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-13.src=%) -c ISO8859-13 56*6cf13876SYuri Pankov$(ISO15SRCS): build posix.jar 57*6cf13876SYuri Pankov java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.ISO8859-15.src=%) -c ISO8859-15 58*6cf13876SYuri Pankov$(KOI8RSRCS): build posix.jar 59*6cf13876SYuri Pankov java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.KOI8-R.src=%) -c KOI8-R 60*6cf13876SYuri Pankov$(UTF8SRCS): build posix.jar 61*6cf13876SYuri Pankov java -DCLDR_DIR=cldr -jar posix.jar org.unicode.cldr.posix.GeneratePOSIX -d build -m $(@F:%.UTF-8.src=%) -c UTF-8 62*6cf13876SYuri Pankov 63*6cf13876SYuri Pankovbuild: 64*6cf13876SYuri Pankov $(INS.dir) 65*6cf13876SYuri Pankov 66*6cf13876SYuri Pankovposix.jar: posix.xml 67*6cf13876SYuri Pankov ant -f posix.xml 68