xref: /freebsd/share/ctypedef/Makefile (revision 6abd77142153cc0f5ce49f3ffb38bc91f3444fae)
10fa5403dSBaptiste DaroussinPACKAGE=	locales
20fa5403dSBaptiste DaroussinFILESGROUPS=	FILES ALWAYS
30fa5403dSBaptiste DaroussinALWAYSPACKAGE=	runtime
43c3feed4SBaptiste DaroussinLOCALEDIR=	${SHAREDIR}/locale
51a41e1f1SBaptiste DaroussinFILESNAME=	LC_CTYPE
6b3e87f13SKyle EvansALWAYSNAME=	LC_CTYPE
71a41e1f1SBaptiste Daroussin.SUFFIXES:	.src .LC_CTYPE
8fe90c6bfSBaptiste DaroussinMAPLOC=		${.CURDIR}/../../tools/tools/locale/etc/final-maps
91a41e1f1SBaptiste Daroussin
104644f9beSYuri Pankov.include <bsd.endian.mk>
11ecff3c30SBaptiste Daroussin.include <src.opts.mk>
124644f9beSYuri Pankov
131a41e1f1SBaptiste Daroussin.src.LC_CTYPE:
144644f9beSYuri Pankov	localedef ${LOCALEDEF_ENDIAN} -D -U -c -w ${MAPLOC}/widths.txt \
154149149eSBaptiste Daroussin	-f ${MAPLOC}/map.${.IMPSRC:T:R:E} \
16*6abd7714SLi-Wen Hsu	-i ${.IMPSRC} ${.OBJDIR}/${.IMPSRC:T:R}
171a41e1f1SBaptiste Daroussin
18dd7c41a3SYuri PankovLOCALES+=	C.UTF-8
19ecff3c30SBaptiste Daroussin.if ${MK_LOCALES} != no
201a41e1f1SBaptiste DaroussinLOCALES+=	be_BY.CP1131
21c1c9ab67SBaptiste DaroussinLOCALES+=	ca_IT.ISO8859-1
221a41e1f1SBaptiste DaroussinLOCALES+=	ca_IT.ISO8859-15
231a41e1f1SBaptiste DaroussinLOCALES+=	el_GR.ISO8859-7
241a41e1f1SBaptiste DaroussinLOCALES+=	en_US.ISO8859-1
251d211085SBaptiste DaroussinLOCALES+=	en_US.ISO8859-15
261a41e1f1SBaptiste DaroussinLOCALES+=	en_US.US-ASCII
271a41e1f1SBaptiste DaroussinLOCALES+=	hi_IN.ISCII-DEV
281a41e1f1SBaptiste DaroussinLOCALES+=	hy_AM.ARMSCII-8
291a41e1f1SBaptiste DaroussinLOCALES+=	ja_JP.SJIS
301a41e1f1SBaptiste DaroussinLOCALES+=	ja_JP.eucJP
311a41e1f1SBaptiste DaroussinLOCALES+=	ko_KR.eucKR
321a41e1f1SBaptiste DaroussinLOCALES+=	lv_LV.ISO8859-13
331a41e1f1SBaptiste DaroussinLOCALES+=	ru_RU.CP1251
341a41e1f1SBaptiste DaroussinLOCALES+=	ru_RU.CP866
351a41e1f1SBaptiste DaroussinLOCALES+=	ru_RU.ISO8859-5
361a41e1f1SBaptiste DaroussinLOCALES+=	ru_RU.KOI8-R
373cf6509dSBaptiste DaroussinLOCALES+=	sr_RS.ISO8859-2
381a41e1f1SBaptiste DaroussinLOCALES+=	tr_TR.ISO8859-9
391a41e1f1SBaptiste DaroussinLOCALES+=	uk_UA.CP1251
401a41e1f1SBaptiste DaroussinLOCALES+=	uk_UA.ISO8859-5
411a41e1f1SBaptiste DaroussinLOCALES+=	uk_UA.KOI8-U
423cf6509dSBaptiste DaroussinLOCALES+=	zh_CN.GB18030
433cf6509dSBaptiste DaroussinLOCALES+=	zh_CN.GB2312
443cf6509dSBaptiste DaroussinLOCALES+=	zh_CN.GBK
453cf6509dSBaptiste DaroussinLOCALES+=	zh_CN.eucCN
4650502545SBaptiste DaroussinLOCALES+=	zh_TW.Big5
471a41e1f1SBaptiste Daroussin
48dd7c41a3SYuri PankovSAME+=		C.UTF-8 en_US.UTF-8
49dd7c41a3SYuri PankovSAME+=		C.UTF-8 ru_RU.UTF-8
50dd7c41a3SYuri PankovSAME+=		C.UTF-8 zh_TW.UTF-8
51dd7c41a3SYuri PankovSAME+=		C.UTF-8 zh_HK.UTF-8
52dd7c41a3SYuri PankovSAME+=		C.UTF-8 zh_CN.UTF-8
53dd7c41a3SYuri PankovSAME+=		C.UTF-8 uk_UA.UTF-8
54dd7c41a3SYuri PankovSAME+=		C.UTF-8 tr_TR.UTF-8
55dd7c41a3SYuri PankovSAME+=		C.UTF-8 sv_SE.UTF-8
56dd7c41a3SYuri PankovSAME+=		C.UTF-8 sv_FI.UTF-8
57dd7c41a3SYuri PankovSAME+=		C.UTF-8 sr_RS.UTF-8@latin
58dd7c41a3SYuri PankovSAME+=		C.UTF-8 sr_RS.UTF-8
59dd7c41a3SYuri PankovSAME+=		C.UTF-8 sl_SI.UTF-8
60dd7c41a3SYuri PankovSAME+=		C.UTF-8 sk_SK.UTF-8
61dd7c41a3SYuri PankovSAME+=		C.UTF-8 se_NO.UTF-8
62dd7c41a3SYuri PankovSAME+=		C.UTF-8 se_FI.UTF-8
63dd7c41a3SYuri PankovSAME+=		C.UTF-8 ro_RO.UTF-8
64dd7c41a3SYuri PankovSAME+=		C.UTF-8 pt_PT.UTF-8
65dd7c41a3SYuri PankovSAME+=		C.UTF-8 pt_BR.UTF-8
66dd7c41a3SYuri PankovSAME+=		C.UTF-8 pl_PL.UTF-8
67dd7c41a3SYuri PankovSAME+=		C.UTF-8 nn_NO.UTF-8
68dd7c41a3SYuri PankovSAME+=		C.UTF-8 nl_NL.UTF-8
69dd7c41a3SYuri PankovSAME+=		C.UTF-8 nl_BE.UTF-8
70dd7c41a3SYuri PankovSAME+=		C.UTF-8 nb_NO.UTF-8
71dd7c41a3SYuri PankovSAME+=		C.UTF-8 mn_MN.UTF-8
72dd7c41a3SYuri PankovSAME+=		C.UTF-8 lv_LV.UTF-8
73dd7c41a3SYuri PankovSAME+=		C.UTF-8 lt_LT.UTF-8
74dd7c41a3SYuri PankovSAME+=		C.UTF-8 ko_KR.UTF-8
75dd7c41a3SYuri PankovSAME+=		C.UTF-8 kk_KZ.UTF-8
76dd7c41a3SYuri PankovSAME+=		C.UTF-8 ja_JP.UTF-8
77dd7c41a3SYuri PankovSAME+=		C.UTF-8 it_IT.UTF-8
78dd7c41a3SYuri PankovSAME+=		C.UTF-8 it_CH.UTF-8
79dd7c41a3SYuri PankovSAME+=		C.UTF-8 is_IS.UTF-8
80dd7c41a3SYuri PankovSAME+=		C.UTF-8 hy_AM.UTF-8
81dd7c41a3SYuri PankovSAME+=		C.UTF-8 hu_HU.UTF-8
82dd7c41a3SYuri PankovSAME+=		C.UTF-8 hr_HR.UTF-8
83dd7c41a3SYuri PankovSAME+=		C.UTF-8 hi_IN.UTF-8
84dd7c41a3SYuri PankovSAME+=		C.UTF-8 he_IL.UTF-8
85ea22b5bdSYuri PankovSAME+=		C.UTF-8 ga_IE.UTF-8
86bd90d8bbSFaraz VahediSAME+=		C.UTF-8 fa_AF.UTF-8
87bd90d8bbSFaraz VahediSAME+=		C.UTF-8 fa_IR.UTF-8
88dd7c41a3SYuri PankovSAME+=		C.UTF-8 fr_FR.UTF-8
89dd7c41a3SYuri PankovSAME+=		C.UTF-8 fr_CH.UTF-8
90dd7c41a3SYuri PankovSAME+=		C.UTF-8 fr_CA.UTF-8
91dd7c41a3SYuri PankovSAME+=		C.UTF-8 fr_BE.UTF-8
92dd7c41a3SYuri PankovSAME+=		C.UTF-8 fi_FI.UTF-8
93dd7c41a3SYuri PankovSAME+=		C.UTF-8 eu_ES.UTF-8
94dd7c41a3SYuri PankovSAME+=		C.UTF-8 et_EE.UTF-8
95dd7c41a3SYuri PankovSAME+=		C.UTF-8 es_MX.UTF-8
96dd7c41a3SYuri PankovSAME+=		C.UTF-8 es_ES.UTF-8
97dd7c41a3SYuri PankovSAME+=		C.UTF-8 es_CR.UTF-8
98dd7c41a3SYuri PankovSAME+=		C.UTF-8 es_AR.UTF-8
99dd7c41a3SYuri PankovSAME+=		C.UTF-8 en_ZA.UTF-8
100dd7c41a3SYuri PankovSAME+=		C.UTF-8 en_SG.UTF-8
101dd7c41a3SYuri PankovSAME+=		C.UTF-8 en_PH.UTF-8
102dd7c41a3SYuri PankovSAME+=		C.UTF-8 en_NZ.UTF-8
103dd7c41a3SYuri PankovSAME+=		C.UTF-8 en_IE.UTF-8
104dd7c41a3SYuri PankovSAME+=		C.UTF-8 en_HK.UTF-8
105dd7c41a3SYuri PankovSAME+=		C.UTF-8 en_GB.UTF-8
106dd7c41a3SYuri PankovSAME+=		C.UTF-8 en_CA.UTF-8
107dd7c41a3SYuri PankovSAME+=		C.UTF-8 en_AU.UTF-8
108dd7c41a3SYuri PankovSAME+=		C.UTF-8 el_GR.UTF-8
109dd7c41a3SYuri PankovSAME+=		C.UTF-8 de_DE.UTF-8
110dd7c41a3SYuri PankovSAME+=		C.UTF-8 de_CH.UTF-8
111dd7c41a3SYuri PankovSAME+=		C.UTF-8 de_AT.UTF-8
112dd7c41a3SYuri PankovSAME+=		C.UTF-8 da_DK.UTF-8
113dd7c41a3SYuri PankovSAME+=		C.UTF-8 cs_CZ.UTF-8
114dd7c41a3SYuri PankovSAME+=		C.UTF-8 ca_IT.UTF-8
115dd7c41a3SYuri PankovSAME+=		C.UTF-8 ca_FR.UTF-8
116dd7c41a3SYuri PankovSAME+=		C.UTF-8 ca_ES.UTF-8
117dd7c41a3SYuri PankovSAME+=		C.UTF-8 ca_AD.UTF-8
118dd7c41a3SYuri PankovSAME+=		C.UTF-8 bg_BG.UTF-8
119dd7c41a3SYuri PankovSAME+=		C.UTF-8 be_BY.UTF-8
120dd7c41a3SYuri PankovSAME+=		C.UTF-8 ar_SA.UTF-8
121dd7c41a3SYuri PankovSAME+=		C.UTF-8 ar_QA.UTF-8
122dd7c41a3SYuri PankovSAME+=		C.UTF-8 ar_MA.UTF-8
123dd7c41a3SYuri PankovSAME+=		C.UTF-8 ar_JO.UTF-8
124dd7c41a3SYuri PankovSAME+=		C.UTF-8 ar_EG.UTF-8
125dd7c41a3SYuri PankovSAME+=		C.UTF-8 ar_AE.UTF-8
126dd7c41a3SYuri PankovSAME+=		C.UTF-8 am_ET.UTF-8
127dd7c41a3SYuri PankovSAME+=		C.UTF-8 af_ZA.UTF-8
128f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 sv_SE.ISO8859-1
129f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 sv_FI.ISO8859-1
130f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 pt_PT.ISO8859-1
131f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 pt_BR.ISO8859-1
132f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 nn_NO.ISO8859-1
133f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 nl_NL.ISO8859-1
134f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 nl_BE.ISO8859-1
135f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 nb_NO.ISO8859-1
136f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 it_IT.ISO8859-1
137f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 it_CH.ISO8859-1
138f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 is_IS.ISO8859-1
139f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 fr_FR.ISO8859-1
140f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 fr_CH.ISO8859-1
141f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 fr_CA.ISO8859-1
142f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 fr_BE.ISO8859-1
143f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 fi_FI.ISO8859-1
144f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 eu_ES.ISO8859-1
145f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 et_EE.ISO8859-1
146f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 es_MX.ISO8859-1
147f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 es_ES.ISO8859-1
148f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 es_AR.ISO8859-1
149f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 en_ZA.ISO8859-1
150f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 en_SG.ISO8859-1
151f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 en_NZ.ISO8859-1
152f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 en_IE.ISO8859-1
153f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 en_HK.ISO8859-1
154f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 en_GB.ISO8859-1
155f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 en_CA.ISO8859-1
156f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 en_AU.ISO8859-1
157f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 de_DE.ISO8859-1
158f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 de_CH.ISO8859-1
159f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 de_AT.ISO8859-1
160f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 da_DK.ISO8859-1
161f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-1 af_ZA.ISO8859-1
162f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 en_GB.ISO8859-15
163f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 sv_SE.ISO8859-15
164f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 sv_FI.ISO8859-15
165f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 pt_PT.ISO8859-15
166f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 nn_NO.ISO8859-15
167f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 nl_NL.ISO8859-15
168f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 nl_BE.ISO8859-15
169f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 nb_NO.ISO8859-15
170f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 it_IT.ISO8859-15
171f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 it_CH.ISO8859-15
172f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 is_IS.ISO8859-15
173f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 fr_FR.ISO8859-15
174f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 fr_CH.ISO8859-15
175f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 fr_CA.ISO8859-15
176f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 fr_BE.ISO8859-15
177f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 fi_FI.ISO8859-15
178f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 eu_ES.ISO8859-15
179f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 et_EE.ISO8859-15
180f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 es_ES.ISO8859-15
181f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 en_ZA.ISO8859-15
182f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 en_NZ.ISO8859-15
183f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 en_IE.ISO8859-15
184f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 en_CA.ISO8859-15
185f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 en_AU.ISO8859-15
186f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 de_DE.ISO8859-15
187f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 de_CH.ISO8859-15
188f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 de_AT.ISO8859-15
189f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 da_DK.ISO8859-15
190f8fd13a0SBaptiste DaroussinSAME+=		en_US.ISO8859-15 af_ZA.ISO8859-15
191f8fd13a0SBaptiste DaroussinSAME+=		ru_RU.CP1251 bg_BG.CP1251
192f8fd13a0SBaptiste DaroussinSAME+=		ru_RU.CP1251 be_BY.CP1251
1933cf6509dSBaptiste DaroussinSAME+=		ru_RU.ISO8859-5 sr_RS.ISO8859-5
194f8fd13a0SBaptiste DaroussinSAME+=		ru_RU.ISO8859-5 be_BY.ISO8859-5
195f8fd13a0SBaptiste DaroussinSAME+=		ca_IT.ISO8859-1 ca_FR.ISO8859-1
196f8fd13a0SBaptiste DaroussinSAME+=		ca_IT.ISO8859-1 ca_ES.ISO8859-1
197f8fd13a0SBaptiste DaroussinSAME+=		ca_IT.ISO8859-1 ca_AD.ISO8859-1
198f8fd13a0SBaptiste DaroussinSAME+=		ca_IT.ISO8859-15 ca_FR.ISO8859-15
199f8fd13a0SBaptiste DaroussinSAME+=		ca_IT.ISO8859-15 ca_ES.ISO8859-15
200f8fd13a0SBaptiste DaroussinSAME+=		ca_IT.ISO8859-15 ca_AD.ISO8859-15
2013cf6509dSBaptiste DaroussinSAME+=		sr_RS.ISO8859-2 sl_SI.ISO8859-2
2023cf6509dSBaptiste DaroussinSAME+=		sr_RS.ISO8859-2 sk_SK.ISO8859-2
2033cf6509dSBaptiste DaroussinSAME+=		sr_RS.ISO8859-2 ro_RO.ISO8859-2
2043cf6509dSBaptiste DaroussinSAME+=		sr_RS.ISO8859-2 pl_PL.ISO8859-2
2053cf6509dSBaptiste DaroussinSAME+=		sr_RS.ISO8859-2 hu_HU.ISO8859-2
2063cf6509dSBaptiste DaroussinSAME+=		sr_RS.ISO8859-2 hr_HR.ISO8859-2
2073cf6509dSBaptiste DaroussinSAME+=		sr_RS.ISO8859-2 cs_CZ.ISO8859-2
208f8fd13a0SBaptiste DaroussinSAME+=		en_US.US-ASCII en_ZA.US-ASCII
209f8fd13a0SBaptiste DaroussinSAME+=		en_US.US-ASCII en_NZ.US-ASCII
210f8fd13a0SBaptiste DaroussinSAME+=		en_US.US-ASCII en_GB.US-ASCII
211f8fd13a0SBaptiste DaroussinSAME+=		en_US.US-ASCII en_CA.US-ASCII
212f8fd13a0SBaptiste DaroussinSAME+=		en_US.US-ASCII en_AU.US-ASCII
213f8fd13a0SBaptiste DaroussinSAME+=		lv_LV.ISO8859-13 lt_LT.ISO8859-13
214f8fd13a0SBaptiste DaroussinSAME+=		ko_KR.eucKR ko_KR.CP949	# legacy (same charset)
215ecff3c30SBaptiste Daroussin.endif
2161a41e1f1SBaptiste Daroussin
2170fa5403dSBaptiste Daroussin# C.UTF-8 is the default locale, so it should always been installed.
2180fa5403dSBaptiste DaroussinALWAYS=		C.UTF-8.LC_CTYPE
219298ee47eSBjoern A. ZeebFILES=		${LOCALES:NC.UTF-8:C/.+$/&.LC_CTYPE/}
2201a41e1f1SBaptiste DaroussinCLEANFILES=	${FILES}
2211a41e1f1SBaptiste Daroussin
222f8fd13a0SBaptiste Daroussin.for f t in ${SAME}
22330e1773fSBaptiste DaroussinDIRS+=	LOCALEDIR_$t
22430e1773fSBaptiste DaroussinLOCALEDIR_$t=	${LOCALEDIR}/$t
2250fa5403dSBaptiste DaroussinLOCALEDIR_$tPACKAGE=	locales
226f8fd13a0SBaptiste DaroussinSYMLINKS+=	../$f/${FILESNAME} \
227f8fd13a0SBaptiste Daroussin    ${LOCALEDIR}/$t/${FILESNAME}
2281a41e1f1SBaptiste Daroussin.endfor
2291a41e1f1SBaptiste Daroussin
2301a41e1f1SBaptiste Daroussin.for f in ${LOCALES}
2311a41e1f1SBaptiste DaroussinFILESDIR_${f}.LC_CTYPE= ${LOCALEDIR}/${f}
23286c71e97SEmmanuel VadotFILESDIR_${f}.LC_CTYPEPACKAGE=	locales
2331a41e1f1SBaptiste Daroussin.endfor
234b3e87f13SKyle EvansALWAYSDIR_C.UTF-8.LC_CTYPE= ${LOCALEDIR}/C.UTF-8
2351a41e1f1SBaptiste Daroussin
2361ade1c41SYuri PankovSYMPAIRS+=	zh_CN.eucCN.src zh_CN.GB18030.src
2371ade1c41SYuri PankovSYMPAIRS+=	zh_CN.eucCN.src zh_CN.GB2312.src
2381ade1c41SYuri PankovSYMPAIRS+=	zh_CN.eucCN.src zh_CN.GBK.src
239f8fd13a0SBaptiste DaroussinSYMPAIRS+=	en_US.ISO8859-1.src en_US.ISO8859-15.src
240f8fd13a0SBaptiste DaroussinSYMPAIRS+=	en_US.ISO8859-1.src en_US.US-ASCII.src
241f8fd13a0SBaptiste DaroussinSYMPAIRS+=	en_US.ISO8859-1.src lv_LV.ISO8859-13.src
2423cf6509dSBaptiste DaroussinSYMPAIRS+=	en_US.ISO8859-1.src sr_RS.ISO8859-2.src
243f8fd13a0SBaptiste DaroussinSYMPAIRS+=	en_US.ISO8859-1.src tr_TR.ISO8859-9.src
2441ade1c41SYuri PankovSYMPAIRS+=	ca_IT.ISO8859-1.src ca_IT.ISO8859-15.src
24528fded59SBaptiste DaroussinSYMPAIRS+=	uk_UA.CP1251.src uk_UA.ISO8859-5.src
24628fded59SBaptiste DaroussinSYMPAIRS+=	uk_UA.CP1251.src uk_UA.KOI8-U.src
2471ade1c41SYuri PankovSYMPAIRS+=	ja_JP.eucJP.src ja_JP.SJIS.src
24828fded59SBaptiste DaroussinSYMPAIRS+=	be_BY.CP1131.src ru_RU.CP1251.src
24928fded59SBaptiste DaroussinSYMPAIRS+=	be_BY.CP1131.src ru_RU.CP866.src
25028fded59SBaptiste DaroussinSYMPAIRS+=	be_BY.CP1131.src ru_RU.ISO8859-5.src
25128fded59SBaptiste DaroussinSYMPAIRS+=	be_BY.CP1131.src ru_RU.KOI8-R.src
2527cefd8caSBaptiste Daroussin
253f8fd13a0SBaptiste Daroussin.for s t in ${SYMPAIRS}
254f8fd13a0SBaptiste Daroussin${t:S/src$/LC_CTYPE/}: $s
2554644f9beSYuri Pankov	localedef ${LOCALEDEF_ENDIAN} -D -U -c -w ${MAPLOC}/widths.txt \
2567cefd8caSBaptiste Daroussin	-f ${MAPLOC}/map.${.TARGET:T:R:C/^.*\.//} \
257*6abd7714SLi-Wen Hsu	-i ${.ALLSRC} ${.OBJDIR}/${.TARGET:T:R}
2587cefd8caSBaptiste Daroussin.endfor
2597cefd8caSBaptiste Daroussin
2601a41e1f1SBaptiste Daroussin.include <bsd.prog.mk>
261