# Warning: Do not edit. This file is automatically generated from the
# tools in /usr/src/tools/tools/locale.

PACKAGE=	locales
LOCALEDIR=	${SHAREDIR}/locale
FILESNAME=	LC_COLLATE
.SUFFIXES:	.src .LC_COLLATE
MAPLOC=		${.CURDIR}/../../tools/tools/locale/etc/final-maps

CLDR_VERSION=	"48"

.include <bsd.endian.mk>

.src.LC_COLLATE:
	localedef ${LOCALEDEF_ENDIAN} -D -U -i ${.IMPSRC} \
	-V ${CLDR_VERSION} \
	-f ${MAPLOC}/map.${.TARGET:T:R:E:C/@.*//} ${.OBJDIR}/${.IMPSRC:T:R}

LOCALES+=	af_ZA.UTF-8
LOCALES+=	am_ET.UTF-8
LOCALES+=	ar_SA.UTF-8
LOCALES+=	be_BY.UTF-8
LOCALES+=	ca_AD.UTF-8
LOCALES+=	cs_CZ.UTF-8
LOCALES+=	da_DK.UTF-8
LOCALES+=	el_GR.UTF-8
LOCALES+=	en_US.UTF-8
LOCALES+=	es_MX.UTF-8
LOCALES+=	et_EE.UTF-8
LOCALES+=	fa_AF.UTF-8
LOCALES+=	fa_IR.UTF-8
LOCALES+=	fi_FI.UTF-8
LOCALES+=	fr_CA.UTF-8
LOCALES+=	he_IL.UTF-8
LOCALES+=	hi_IN.UTF-8
LOCALES+=	hu_HU.UTF-8
LOCALES+=	hy_AM.UTF-8
LOCALES+=	is_IS.UTF-8
LOCALES+=	ja_JP.UTF-8
LOCALES+=	kk_KZ.UTF-8
LOCALES+=	ko_KR.UTF-8
LOCALES+=	lt_LT.UTF-8
LOCALES+=	lv_LV.UTF-8
LOCALES+=	nn_NO.UTF-8
LOCALES+=	pl_PL.UTF-8
LOCALES+=	ro_RO.UTF-8
LOCALES+=	ru_RU.UTF-8
LOCALES+=	se_NO.UTF-8
LOCALES+=	sk_SK.UTF-8
LOCALES+=	sl_SI.UTF-8
LOCALES+=	sr_RS.UTF-8
LOCALES+=	sr_RS.UTF-8@latin
LOCALES+=	sv_SE.UTF-8
LOCALES+=	tr_TR.UTF-8
LOCALES+=	uk_UA.UTF-8
LOCALES+=	zh_CN.UTF-8
LOCALES+=	zh_TW.UTF-8

LOCALES_MAPPED+=	sr_RS.UTF-8@latin hr_HR.UTF-8



SAME+=		ar_SA.UTF-8 ar_QA.UTF-8
SAME+=		ar_SA.UTF-8 ar_MA.UTF-8
SAME+=		ar_SA.UTF-8 ar_JO.UTF-8
SAME+=		ar_SA.UTF-8 ar_EG.UTF-8
SAME+=		ar_SA.UTF-8 ar_AE.UTF-8
SAME+=		ru_RU.UTF-8 mn_MN.UTF-8
SAME+=		ru_RU.UTF-8 bg_BG.UTF-8
SAME+=		ca_AD.UTF-8 ca_IT.UTF-8
SAME+=		ca_AD.UTF-8 ca_FR.UTF-8
SAME+=		ca_AD.UTF-8 ca_ES.UTF-8
SAME+=		en_US.UTF-8 pt_PT.UTF-8
SAME+=		en_US.UTF-8 pt_BR.UTF-8
SAME+=		en_US.UTF-8 nl_NL.UTF-8
SAME+=		en_US.UTF-8 nl_BE.UTF-8
SAME+=		en_US.UTF-8 it_IT.UTF-8
SAME+=		en_US.UTF-8 it_CH.UTF-8
SAME+=		en_US.UTF-8 ga_IE.UTF-8
SAME+=		en_US.UTF-8 fr_FR.UTF-8
SAME+=		en_US.UTF-8 fr_CH.UTF-8
SAME+=		en_US.UTF-8 fr_BE.UTF-8
SAME+=		en_US.UTF-8 eu_ES.UTF-8
SAME+=		en_US.UTF-8 en_ZA.UTF-8
SAME+=		en_US.UTF-8 en_SG.UTF-8
SAME+=		en_US.UTF-8 en_PH.UTF-8
SAME+=		en_US.UTF-8 en_NZ.UTF-8
SAME+=		en_US.UTF-8 en_IE.UTF-8
SAME+=		en_US.UTF-8 en_HK.UTF-8
SAME+=		en_US.UTF-8 en_GB.UTF-8
SAME+=		en_US.UTF-8 en_CA.UTF-8
SAME+=		en_US.UTF-8 en_AU.UTF-8
SAME+=		en_US.UTF-8 de_DE.UTF-8
SAME+=		en_US.UTF-8 de_CH.UTF-8
SAME+=		en_US.UTF-8 de_AT.UTF-8
SAME+=		es_MX.UTF-8 es_ES.UTF-8
SAME+=		es_MX.UTF-8 es_CR.UTF-8
SAME+=		es_MX.UTF-8 es_AR.UTF-8
SAME+=		nn_NO.UTF-8 nb_NO.UTF-8
SAME+=		se_NO.UTF-8 se_FI.UTF-8
SAME+=		sv_SE.UTF-8 sv_FI.UTF-8
SAME+=		zh_TW.UTF-8 zh_HK.UTF-8

FILES=		${LOCALES:S/$/.LC_COLLATE/}
CLEANFILES=	${FILES}

.for f t in ${SAME}
DIRS+=		LOCALEDIR_$t
LOCALEDIR_$t=	${LOCALEDIR}/$t
LOCALEDIR_$tPACKAGE=	locales
SYMLINKS+=	../$f/${FILESNAME} \
    ${LOCALEDIR}/$t/${FILESNAME}
.endfor

.for f in ${LOCALES}
FILESDIR_${f}.LC_COLLATE= ${LOCALEDIR}/${f}
FILESDIR_${f}.LC_COLLATEPACKAGE= locales
.endfor

.for f t in ${LOCALES_MAPPED}
FILES+=	$t.LC_COLLATE
FILESDIR_$t.LC_COLLATE=	${LOCALEDIR}/$t
FILESDIR_$t.LC_COLLATEPACKAGE=	locales
$t.LC_COLLATE: ${.CURDIR}/$f.src
	localedef ${LOCALEDEF_ENDIAN} -D -U -i ${.ALLSRC} \
	-V ${CLDR_VERSION} \
		-f ${MAPLOC}/map.${.TARGET:T:R:E:C/@.*//} \
		${.OBJDIR}/${.TARGET:T:R}
.endfor

.include <bsd.prog.mk>
