xref: /freebsd/share/colldef/Makefile (revision a96ef4501919d7ac08e94e98dc34b0bdd744802b)
1# $FreeBSD$
2# Warning: Do not edit. This file is automatically generated from the
3# tools in /usr/src/tools/tools/locale.
4
5LOCALEDIR=	${SHAREDIR}/locale
6FILESNAME=	LC_COLLATE
7.SUFFIXES:	.src .LC_COLLATE
8MAPLOC=		${.CURDIR}/../../tools/tools/locale/etc/final-maps
9
10CLDR_VERSION=	"34.0"
11
12.include <bsd.endian.mk>
13
14.src.LC_COLLATE:
15	localedef ${LOCALEDEF_ENDIAN} -D -U -i ${.IMPSRC} \
16	-V ${CLDR_VERSION} \
17	-f ${MAPLOC}/map.${.TARGET:T:R:E:C/@.*//} ${.OBJDIR}/${.IMPSRC:T:R}
18
19LOCALES+=	af_ZA.UTF-8
20LOCALES+=	am_ET.UTF-8
21LOCALES+=	ar_SA.UTF-8
22LOCALES+=	be_BY.UTF-8
23LOCALES+=	ca_AD.UTF-8
24LOCALES+=	cs_CZ.UTF-8
25LOCALES+=	da_DK.UTF-8
26LOCALES+=	el_GR.UTF-8
27LOCALES+=	en_US.UTF-8
28LOCALES+=	es_MX.UTF-8
29LOCALES+=	et_EE.UTF-8
30LOCALES+=	fi_FI.UTF-8
31LOCALES+=	fr_CA.UTF-8
32LOCALES+=	he_IL.UTF-8
33LOCALES+=	hi_IN.UTF-8
34LOCALES+=	hu_HU.UTF-8
35LOCALES+=	hy_AM.UTF-8
36LOCALES+=	is_IS.UTF-8
37LOCALES+=	ja_JP.UTF-8
38LOCALES+=	kk_KZ.UTF-8
39LOCALES+=	ko_KR.UTF-8
40LOCALES+=	lt_LT.UTF-8
41LOCALES+=	lv_LV.UTF-8
42LOCALES+=	nn_NO.UTF-8
43LOCALES+=	pl_PL.UTF-8
44LOCALES+=	ro_RO.UTF-8
45LOCALES+=	ru_RU.UTF-8
46LOCALES+=	se_NO.UTF-8
47LOCALES+=	sk_SK.UTF-8
48LOCALES+=	sl_SI.UTF-8
49LOCALES+=	sr_RS.UTF-8
50LOCALES+=	sr_RS.UTF-8@latin
51LOCALES+=	sv_SE.UTF-8
52LOCALES+=	tr_TR.UTF-8
53LOCALES+=	uk_UA.UTF-8
54LOCALES+=	zh_CN.UTF-8
55LOCALES+=	zh_TW.UTF-8
56
57LOCALES_MAPPED+=	af_ZA.UTF-8 af_ZA.ISO8859-15
58LOCALES_MAPPED+=	af_ZA.UTF-8 af_ZA.ISO8859-1
59LOCALES_MAPPED+=	be_BY.UTF-8 be_BY.ISO8859-5
60LOCALES_MAPPED+=	be_BY.UTF-8 be_BY.CP1251
61LOCALES_MAPPED+=	be_BY.UTF-8 be_BY.CP1131
62LOCALES_MAPPED+=	ru_RU.UTF-8 ru_RU.KOI8-R
63LOCALES_MAPPED+=	ru_RU.UTF-8 ru_RU.ISO8859-5
64LOCALES_MAPPED+=	ru_RU.UTF-8 ru_RU.CP866
65LOCALES_MAPPED+=	ru_RU.UTF-8 ru_RU.CP1251
66LOCALES_MAPPED+=	ru_RU.UTF-8 bg_BG.CP1251
67LOCALES_MAPPED+=	ca_AD.UTF-8 ca_IT.ISO8859-15
68LOCALES_MAPPED+=	ca_AD.UTF-8 ca_IT.ISO8859-1
69LOCALES_MAPPED+=	ca_AD.UTF-8 ca_FR.ISO8859-15
70LOCALES_MAPPED+=	ca_AD.UTF-8 ca_FR.ISO8859-1
71LOCALES_MAPPED+=	ca_AD.UTF-8 ca_ES.ISO8859-15
72LOCALES_MAPPED+=	ca_AD.UTF-8 ca_ES.ISO8859-1
73LOCALES_MAPPED+=	ca_AD.UTF-8 ca_AD.ISO8859-15
74LOCALES_MAPPED+=	ca_AD.UTF-8 ca_AD.ISO8859-1
75LOCALES_MAPPED+=	en_US.UTF-8 pt_PT.ISO8859-15
76LOCALES_MAPPED+=	en_US.UTF-8 pt_PT.ISO8859-1
77LOCALES_MAPPED+=	en_US.UTF-8 pt_BR.ISO8859-1
78LOCALES_MAPPED+=	en_US.UTF-8 nl_NL.ISO8859-15
79LOCALES_MAPPED+=	en_US.UTF-8 nl_NL.ISO8859-1
80LOCALES_MAPPED+=	en_US.UTF-8 nl_BE.ISO8859-15
81LOCALES_MAPPED+=	en_US.UTF-8 nl_BE.ISO8859-1
82LOCALES_MAPPED+=	en_US.UTF-8 it_IT.ISO8859-15
83LOCALES_MAPPED+=	en_US.UTF-8 it_IT.ISO8859-1
84LOCALES_MAPPED+=	en_US.UTF-8 it_CH.ISO8859-15
85LOCALES_MAPPED+=	en_US.UTF-8 it_CH.ISO8859-1
86LOCALES_MAPPED+=	en_US.UTF-8 fr_FR.ISO8859-15
87LOCALES_MAPPED+=	en_US.UTF-8 fr_FR.ISO8859-1
88LOCALES_MAPPED+=	en_US.UTF-8 fr_CH.ISO8859-15
89LOCALES_MAPPED+=	en_US.UTF-8 fr_CH.ISO8859-1
90LOCALES_MAPPED+=	en_US.UTF-8 fr_BE.ISO8859-15
91LOCALES_MAPPED+=	en_US.UTF-8 fr_BE.ISO8859-1
92LOCALES_MAPPED+=	en_US.UTF-8 eu_ES.ISO8859-15
93LOCALES_MAPPED+=	en_US.UTF-8 eu_ES.ISO8859-1
94LOCALES_MAPPED+=	en_US.UTF-8 en_ZA.US-ASCII
95LOCALES_MAPPED+=	en_US.UTF-8 en_ZA.ISO8859-15
96LOCALES_MAPPED+=	en_US.UTF-8 en_ZA.ISO8859-1
97LOCALES_MAPPED+=	en_US.UTF-8 en_US.US-ASCII
98LOCALES_MAPPED+=	en_US.UTF-8 en_US.ISO8859-15
99LOCALES_MAPPED+=	en_US.UTF-8 en_US.ISO8859-1
100LOCALES_MAPPED+=	en_US.UTF-8 en_SG.ISO8859-1
101LOCALES_MAPPED+=	en_US.UTF-8 en_NZ.US-ASCII
102LOCALES_MAPPED+=	en_US.UTF-8 en_NZ.ISO8859-15
103LOCALES_MAPPED+=	en_US.UTF-8 en_NZ.ISO8859-1
104LOCALES_MAPPED+=	en_US.UTF-8 en_IE.ISO8859-15
105LOCALES_MAPPED+=	en_US.UTF-8 en_IE.ISO8859-1
106LOCALES_MAPPED+=	en_US.UTF-8 en_HK.ISO8859-1
107LOCALES_MAPPED+=	en_US.UTF-8 en_GB.US-ASCII
108LOCALES_MAPPED+=	en_US.UTF-8 en_GB.ISO8859-15
109LOCALES_MAPPED+=	en_US.UTF-8 en_GB.ISO8859-1
110LOCALES_MAPPED+=	en_US.UTF-8 en_CA.US-ASCII
111LOCALES_MAPPED+=	en_US.UTF-8 en_CA.ISO8859-15
112LOCALES_MAPPED+=	en_US.UTF-8 en_CA.ISO8859-1
113LOCALES_MAPPED+=	en_US.UTF-8 en_AU.US-ASCII
114LOCALES_MAPPED+=	en_US.UTF-8 en_AU.ISO8859-15
115LOCALES_MAPPED+=	en_US.UTF-8 en_AU.ISO8859-1
116LOCALES_MAPPED+=	en_US.UTF-8 de_DE.ISO8859-15
117LOCALES_MAPPED+=	en_US.UTF-8 de_DE.ISO8859-1
118LOCALES_MAPPED+=	en_US.UTF-8 de_CH.ISO8859-15
119LOCALES_MAPPED+=	en_US.UTF-8 de_CH.ISO8859-1
120LOCALES_MAPPED+=	en_US.UTF-8 de_AT.ISO8859-15
121LOCALES_MAPPED+=	en_US.UTF-8 de_AT.ISO8859-1
122LOCALES_MAPPED+=	el_GR.UTF-8 el_GR.ISO8859-7
123LOCALES_MAPPED+=	es_MX.UTF-8 es_MX.ISO8859-1
124LOCALES_MAPPED+=	es_MX.UTF-8 es_ES.ISO8859-15
125LOCALES_MAPPED+=	es_MX.UTF-8 es_ES.ISO8859-1
126LOCALES_MAPPED+=	es_MX.UTF-8 es_AR.ISO8859-1
127LOCALES_MAPPED+=	et_EE.UTF-8 et_EE.ISO8859-15
128LOCALES_MAPPED+=	et_EE.UTF-8 et_EE.ISO8859-1
129LOCALES_MAPPED+=	fi_FI.UTF-8 fi_FI.ISO8859-15
130LOCALES_MAPPED+=	fi_FI.UTF-8 fi_FI.ISO8859-1
131LOCALES_MAPPED+=	fr_CA.UTF-8 fr_CA.ISO8859-15
132LOCALES_MAPPED+=	fr_CA.UTF-8 fr_CA.ISO8859-1
133LOCALES_MAPPED+=	hi_IN.UTF-8 hi_IN.ISCII-DEV
134LOCALES_MAPPED+=	sr_RS.UTF-8@latin hr_HR.UTF-8
135LOCALES_MAPPED+=	hy_AM.UTF-8 hy_AM.ARMSCII-8
136LOCALES_MAPPED+=	is_IS.UTF-8 is_IS.ISO8859-15
137LOCALES_MAPPED+=	is_IS.UTF-8 is_IS.ISO8859-1
138LOCALES_MAPPED+=	ja_JP.UTF-8 ja_JP.SJIS
139LOCALES_MAPPED+=	ko_KR.UTF-8 ko_KR.eucKR
140LOCALES_MAPPED+=	lt_LT.UTF-8 lt_LT.ISO8859-13
141LOCALES_MAPPED+=	lv_LV.UTF-8 lv_LV.ISO8859-13
142LOCALES_MAPPED+=	pl_PL.UTF-8 pl_PL.ISO8859-2
143LOCALES_MAPPED+=	ro_RO.UTF-8 ro_RO.ISO8859-2
144LOCALES_MAPPED+=	sl_SI.UTF-8 sl_SI.ISO8859-2
145LOCALES_MAPPED+=	sv_SE.UTF-8 sv_SE.ISO8859-15
146LOCALES_MAPPED+=	sv_SE.UTF-8 sv_SE.ISO8859-1
147LOCALES_MAPPED+=	sv_SE.UTF-8 sv_FI.ISO8859-15
148LOCALES_MAPPED+=	sv_SE.UTF-8 sv_FI.ISO8859-1
149LOCALES_MAPPED+=	tr_TR.UTF-8 tr_TR.ISO8859-9
150LOCALES_MAPPED+=	uk_UA.UTF-8 uk_UA.KOI8-U
151LOCALES_MAPPED+=	uk_UA.UTF-8 uk_UA.ISO8859-5
152LOCALES_MAPPED+=	uk_UA.UTF-8 uk_UA.CP1251
153
154LOCALES+=	cs_CZ.ISO8859-2
155LOCALES+=	da_DK.ISO8859-1
156LOCALES+=	da_DK.ISO8859-15
157LOCALES+=	hr_HR.ISO8859-2
158LOCALES+=	hu_HU.ISO8859-2
159LOCALES+=	nb_NO.ISO8859-1
160LOCALES+=	nb_NO.ISO8859-15
161LOCALES+=	sk_SK.ISO8859-2
162LOCALES+=	sr_RS.ISO8859-2
163LOCALES+=	sr_RS.ISO8859-5
164LOCALES+=	zh_CN.GB2312
165LOCALES+=	zh_CN.eucCN
166LOCALES+=	zh_TW.Big5
167LOCALES+=	zh_CN.GB18030
168LOCALES+=	zh_CN.GBK
169LOCALES+=	ja_JP.eucJP
170LOCALES+=	nn_NO.ISO8859-15
171LOCALES+=	nn_NO.ISO8859-1
172
173
174SAME+=		ar_SA.UTF-8 ar_QA.UTF-8
175SAME+=		ar_SA.UTF-8 ar_MA.UTF-8
176SAME+=		ar_SA.UTF-8 ar_JO.UTF-8
177SAME+=		ar_SA.UTF-8 ar_EG.UTF-8
178SAME+=		ar_SA.UTF-8 ar_AE.UTF-8
179SAME+=		ru_RU.UTF-8 mn_MN.UTF-8
180SAME+=		ru_RU.UTF-8 bg_BG.UTF-8
181SAME+=		ca_AD.UTF-8 ca_IT.UTF-8
182SAME+=		ca_AD.UTF-8 ca_FR.UTF-8
183SAME+=		ca_AD.UTF-8 ca_ES.UTF-8
184SAME+=		en_US.UTF-8 pt_PT.UTF-8
185SAME+=		en_US.UTF-8 pt_BR.UTF-8
186SAME+=		en_US.UTF-8 nl_NL.UTF-8
187SAME+=		en_US.UTF-8 nl_BE.UTF-8
188SAME+=		en_US.UTF-8 it_IT.UTF-8
189SAME+=		en_US.UTF-8 it_CH.UTF-8
190SAME+=		en_US.UTF-8 ga_IE.UTF-8
191SAME+=		en_US.UTF-8 fr_FR.UTF-8
192SAME+=		en_US.UTF-8 fr_CH.UTF-8
193SAME+=		en_US.UTF-8 fr_BE.UTF-8
194SAME+=		en_US.UTF-8 eu_ES.UTF-8
195SAME+=		en_US.UTF-8 en_ZA.UTF-8
196SAME+=		en_US.UTF-8 en_SG.UTF-8
197SAME+=		en_US.UTF-8 en_PH.UTF-8
198SAME+=		en_US.UTF-8 en_NZ.UTF-8
199SAME+=		en_US.UTF-8 en_IE.UTF-8
200SAME+=		en_US.UTF-8 en_HK.UTF-8
201SAME+=		en_US.UTF-8 en_GB.UTF-8
202SAME+=		en_US.UTF-8 en_CA.UTF-8
203SAME+=		en_US.UTF-8 en_AU.UTF-8
204SAME+=		en_US.UTF-8 de_DE.UTF-8
205SAME+=		en_US.UTF-8 de_CH.UTF-8
206SAME+=		en_US.UTF-8 de_AT.UTF-8
207SAME+=		es_MX.UTF-8 es_ES.UTF-8
208SAME+=		es_MX.UTF-8 es_CR.UTF-8
209SAME+=		es_MX.UTF-8 es_AR.UTF-8
210SAME+=		nn_NO.UTF-8 nb_NO.UTF-8
211SAME+=		se_NO.UTF-8 se_FI.UTF-8
212SAME+=		sv_SE.UTF-8 sv_FI.UTF-8
213SAME+=		zh_TW.UTF-8 zh_HK.UTF-8
214SAME+=		ko_KR.eucKR ko_KR.CP949	# legacy (same charset)
215
216FILES=		${LOCALES:S/$/.LC_COLLATE/}
217CLEANFILES=	${FILES}
218
219.for f t in ${SAME}
220SYMLINKS+=	../$f/${FILESNAME} \
221    ${LOCALEDIR}/$t/${FILESNAME}
222.endfor
223
224.for f in ${LOCALES}
225FILESDIR_${f}.LC_COLLATE= ${LOCALEDIR}/${f}
226.endfor
227
228.for f t in ${LOCALES_MAPPED}
229FILES+=	$t.LC_COLLATE
230FILESDIR_$t.LC_COLLATE=	${LOCALEDIR}/$t
231$t.LC_COLLATE: ${.CURDIR}/$f.src
232	localedef ${LOCALEDEF_ENDIAN} -D -U -i ${.ALLSRC} \
233	-V ${CLDR_VERSION} \
234		-f ${MAPLOC}/map.${.TARGET:T:R:E:C/@.*//} \
235		${.OBJDIR}/${.TARGET:T:R}
236.endfor
237
238.include <bsd.prog.mk>
239