xref: /freebsd/share/colldef_unicode/Makefile (revision d9a42747950146bf03cda7f6e25d219253f8a57a)
1# $FreeBSD$
2# Warning: Do not edit. This file is automatically generated from the
3# tools in /usr/src/tools/tools/locale.
4
5PACKAGE=	locales
6LOCALEDIR=	${SHAREDIR}/locale
7FILESNAME=	LC_COLLATE
8.SUFFIXES:	.src .LC_COLLATE
9MAPLOC=		${.CURDIR}/../../tools/tools/locale/etc/final-maps
10
11CLDR_VERSION=	"41.0"
12
13.include <bsd.endian.mk>
14
15.src.LC_COLLATE:
16	localedef ${LOCALEDEF_ENDIAN} -D -U -i ${.IMPSRC} \
17	-V ${CLDR_VERSION} \
18	-f ${MAPLOC}/map.${.TARGET:T:R:E:C/@.*//} ${.OBJDIR}/${.IMPSRC:T:R}
19
20LOCALES+=	af_ZA.UTF-8
21LOCALES+=	am_ET.UTF-8
22LOCALES+=	ar_SA.UTF-8
23LOCALES+=	be_BY.UTF-8
24LOCALES+=	ca_AD.UTF-8
25LOCALES+=	cs_CZ.UTF-8
26LOCALES+=	da_DK.UTF-8
27LOCALES+=	el_GR.UTF-8
28LOCALES+=	en_US.UTF-8
29LOCALES+=	es_MX.UTF-8
30LOCALES+=	et_EE.UTF-8
31LOCALES+=	fa_AF.UTF-8
32LOCALES+=	fa_IR.UTF-8
33LOCALES+=	fi_FI.UTF-8
34LOCALES+=	fr_CA.UTF-8
35LOCALES+=	he_IL.UTF-8
36LOCALES+=	hi_IN.UTF-8
37LOCALES+=	hu_HU.UTF-8
38LOCALES+=	hy_AM.UTF-8
39LOCALES+=	is_IS.UTF-8
40LOCALES+=	ja_JP.UTF-8
41LOCALES+=	kk_KZ.UTF-8
42LOCALES+=	ko_KR.UTF-8
43LOCALES+=	lt_LT.UTF-8
44LOCALES+=	lv_LV.UTF-8
45LOCALES+=	nn_NO.UTF-8
46LOCALES+=	pl_PL.UTF-8
47LOCALES+=	ro_RO.UTF-8
48LOCALES+=	ru_RU.UTF-8
49LOCALES+=	se_NO.UTF-8
50LOCALES+=	sk_SK.UTF-8
51LOCALES+=	sl_SI.UTF-8
52LOCALES+=	sr_RS.UTF-8
53LOCALES+=	sr_RS.UTF-8@latin
54LOCALES+=	sv_SE.UTF-8
55LOCALES+=	tr_TR.UTF-8
56LOCALES+=	uk_UA.UTF-8
57LOCALES+=	zh_CN.UTF-8
58LOCALES+=	zh_TW.UTF-8
59
60LOCALES_MAPPED+=	sr_RS.UTF-8@latin hr_HR.UTF-8
61
62
63
64SAME+=		ar_SA.UTF-8 ar_QA.UTF-8
65SAME+=		ar_SA.UTF-8 ar_MA.UTF-8
66SAME+=		ar_SA.UTF-8 ar_JO.UTF-8
67SAME+=		ar_SA.UTF-8 ar_EG.UTF-8
68SAME+=		ar_SA.UTF-8 ar_AE.UTF-8
69SAME+=		ru_RU.UTF-8 mn_MN.UTF-8
70SAME+=		ru_RU.UTF-8 bg_BG.UTF-8
71SAME+=		ca_AD.UTF-8 ca_IT.UTF-8
72SAME+=		ca_AD.UTF-8 ca_FR.UTF-8
73SAME+=		ca_AD.UTF-8 ca_ES.UTF-8
74SAME+=		en_US.UTF-8 pt_PT.UTF-8
75SAME+=		en_US.UTF-8 pt_BR.UTF-8
76SAME+=		en_US.UTF-8 nl_NL.UTF-8
77SAME+=		en_US.UTF-8 nl_BE.UTF-8
78SAME+=		en_US.UTF-8 it_IT.UTF-8
79SAME+=		en_US.UTF-8 it_CH.UTF-8
80SAME+=		en_US.UTF-8 ga_IE.UTF-8
81SAME+=		en_US.UTF-8 fr_FR.UTF-8
82SAME+=		en_US.UTF-8 fr_CH.UTF-8
83SAME+=		en_US.UTF-8 fr_BE.UTF-8
84SAME+=		en_US.UTF-8 eu_ES.UTF-8
85SAME+=		en_US.UTF-8 en_ZA.UTF-8
86SAME+=		en_US.UTF-8 en_SG.UTF-8
87SAME+=		en_US.UTF-8 en_PH.UTF-8
88SAME+=		en_US.UTF-8 en_NZ.UTF-8
89SAME+=		en_US.UTF-8 en_IE.UTF-8
90SAME+=		en_US.UTF-8 en_HK.UTF-8
91SAME+=		en_US.UTF-8 en_GB.UTF-8
92SAME+=		en_US.UTF-8 en_CA.UTF-8
93SAME+=		en_US.UTF-8 en_AU.UTF-8
94SAME+=		en_US.UTF-8 de_DE.UTF-8
95SAME+=		en_US.UTF-8 de_CH.UTF-8
96SAME+=		en_US.UTF-8 de_AT.UTF-8
97SAME+=		es_MX.UTF-8 es_ES.UTF-8
98SAME+=		es_MX.UTF-8 es_CR.UTF-8
99SAME+=		es_MX.UTF-8 es_AR.UTF-8
100SAME+=		nn_NO.UTF-8 nb_NO.UTF-8
101SAME+=		se_NO.UTF-8 se_FI.UTF-8
102SAME+=		sv_SE.UTF-8 sv_FI.UTF-8
103SAME+=		zh_TW.UTF-8 zh_HK.UTF-8
104
105FILES=		${LOCALES:S/$/.LC_COLLATE/}
106CLEANFILES=	${FILES}
107
108.for f t in ${SAME}
109DIRS+=		LOCALEDIR_$t
110LOCALEDIR_$t=	${LOCALEDIR}/$t
111LOCALEDIR_$tPACKAGE=	locales
112SYMLINKS+=	../$f/${FILESNAME} \
113    ${LOCALEDIR}/$t/${FILESNAME}
114.endfor
115
116.for f in ${LOCALES}
117FILESDIR_${f}.LC_COLLATE= ${LOCALEDIR}/${f}
118.endfor
119
120.for f t in ${LOCALES_MAPPED}
121FILES+=	$t.LC_COLLATE
122FILESDIR_$t.LC_COLLATE=	${LOCALEDIR}/$t
123$t.LC_COLLATE: ${.CURDIR}/$f.src
124	localedef ${LOCALEDEF_ENDIAN} -D -U -i ${.ALLSRC} \
125	-V ${CLDR_VERSION} \
126		-f ${MAPLOC}/map.${.TARGET:T:R:E:C/@.*//} \
127		${.OBJDIR}/${.TARGET:T:R}
128.endfor
129
130.include <bsd.prog.mk>
131