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