Makefile revision 125208
172172Sphantom# $FreeBSD: head/share/numericdef/Makefile 125208 2004-01-29 16:28:22Z ache $
272172Sphantom
372172SphantomNOMAN=YES
472172SphantomCLEANFILES+= ${LOCALES:S/$/.out/g}
572172Sphantom
688473SphantomLOCALES=	af_ZA.ISO8859-1 \
7118459Smtm		am_ET.UTF-8 \
8123682Sache		be_BY.CP1251 \
986073Sache		bg_BG.CP1251 \
10108428Sache		ca_ES.ISO8859-1 \
1177984Sache		cs_CZ.ISO8859-2 \
1277984Sache		da_DK.ISO8859-1 \
1377984Sache		de_DE.ISO8859-1 \
1477984Sache		el_GR.ISO8859-7 \
1577984Sache		en_US.ISO8859-1 \
1677984Sache		es_ES.ISO8859-1 \
1777984Sache		et_EE.ISO8859-15 \
1877984Sache		fi_FI.ISO8859-1 \
1990583Sphantom		fr_BE.ISO8859-1 \
2077984Sache		fr_FR.ISO8859-1 \
2187043Sache		hi_IN.ISCII-DEV \
2277984Sache		hr_HR.ISO8859-2 \
2377984Sache		hu_HU.ISO8859-2 \
24117259Sache		hy_AM.ARMSCII-8 \
2577984Sache		is_IS.ISO8859-1 \
2677984Sache		it_IT.ISO8859-1 \
2788473Sphantom		ja_JP.eucJP \
28125208Sache		kk_KZ.PT154 \
2988473Sphantom		ko_KR.eucKR \
30105965Sache		lt_LT.ISO8859-13 \
3177984Sache		nl_NL.ISO8859-1 \
3277984Sache		no_NO.ISO8859-1 \
3377984Sache		pl_PL.ISO8859-2 \
3493885Sphantom		pt_BR.ISO8859-1 \
3577984Sache		pt_PT.ISO8859-1 \
3689077Sache		ro_RO.ISO8859-2 \
3772208Sasmodai		ru_RU.KOI8-R \
3877984Sache		sk_SK.ISO8859-2 \
3977984Sache		sl_SI.ISO8859-2 \
40105445Sache		sr_YU.ISO8859-2 \
41105445Sache		sr_YU.ISO8859-5 \
4277984Sache		sv_SE.ISO8859-1 \
4377984Sache		tr_TR.ISO8859-9 \
4472565Sache		uk_UA.KOI8-U \
45118174Sache		zh_CN.eucCN
4672172Sphantom
4788473SphantomLOCALEDIR=	${DESTDIR}/usr/share/locale
4876105Sphantom
4988473SphantomASCIILINKS=	en_US
50108428SacheLATIN15LINKS=   af_ZA ca_ES da_DK de_DE en_US es_ES fi_FI fr_BE fr_FR is_IS \
5190581Sphantom		it_CH it_IT nl_NL no_NO pt_PT sv_SE
5272172Sphantom
5388473SphantomUS_LINKS=	en_CA en_GB
5488473SphantomGB_LINKS=	en_AU en_NZ
5588473SphantomFR_LINKS=	fr_CA fr_CH
5688479SphantomDE_LINKS=	de_AT de_CH
5790581SphantomIT_LINKS=	it_CH
5890587SphantomBE_LINKS=	nl_BE
59115927SacheRU_LINKS=       ru_RU.CP1251 ru_RU.CP866 ru_RU.ISO8859-5
60115930SacheUA_LINKS=       uk_UA.ISO8859-5
61123682SacheBY_LINKS=	be_BY.CP1131 be_BY.ISO8859-5
62122151SdavidxuCN_LINKS=       zh_CN.GB18030 zh_CN.GB2312 zh_CN.GBK zh_TW.Big5
6390587Sphantom
6472172Sphantom.SUFFIXES: .src .out
6572172Sphantom
6672172Sphantom.src.out:
6772172Sphantom	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
6872172Sphantom
6972172Sphantomall: ${LOCALES:S/$/.out/g}
7072172Sphantom
7172172Sphantomafterinstall:
7272258Swollman.for lang in ${LOCALES}
73100872Sru	${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} ${lang}.out \
7472258Swollman			   ${LOCALEDIR}/${lang}/LC_NUMERIC
7572258Swollman.endfor
7688473Sphantom.for link in ${LATIN15LINKS}
7778011Sache	ln -sf ../${link}.ISO8859-1/LC_NUMERIC \
7878011Sache	       ${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
7978011Sache.endfor
8088473Sphantom.for link in ${US_LINKS}
8188473Sphantom	ln -sf ../en_US.ISO8859-1/LC_NUMERIC \
8278011Sache		${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
8388473Sphantom	ln -sf ../en_US.ISO8859-1/LC_NUMERIC \
8478011Sache		${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
8588473Sphantom	ln -sf ../en_US.ISO8859-1/LC_NUMERIC \
8678011Sache		${LOCALEDIR}/${link}.US-ASCII/LC_NUMERIC
8772259Swollman.endfor
8888473Sphantom.for link in ${GB_LINKS}
8988473Sphantom	ln -sf ../en_GB.ISO8859-1/LC_NUMERIC \
9078011Sache		${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
9188473Sphantom	ln -sf ../en_GB.ISO8859-1/LC_NUMERIC \
9278011Sache		${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
9388473Sphantom	ln -sf ../en_GB.ISO8859-1/LC_NUMERIC \
9478011Sache		${LOCALEDIR}/${link}.US-ASCII/LC_NUMERIC
9572259Swollman.endfor
9688473Sphantom.for link in ${FR_LINKS}
9788473Sphantom	ln -sf ../fr_FR.ISO8859-1/LC_NUMERIC \
9878011Sache		${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
9988473Sphantom	ln -sf ../fr_FR.ISO8859-1/LC_NUMERIC \
10078011Sache		${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
10172259Swollman.endfor
10288473Sphantom.for link in ${DE_LINKS}
10388473Sphantom	ln -sf ../de_DE.ISO8859-1/LC_NUMERIC \
10478011Sache		${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
10588473Sphantom	ln -sf ../de_DE.ISO8859-1/LC_NUMERIC \
10678011Sache		${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
10778011Sache.endfor
10890581Sphantom.for link in ${IT_LINKS}
10990581Sphantom	ln -sf ../it_IT.ISO8859-1/LC_NUMERIC \
11090581Sphantom		${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
11190581Sphantom	ln -sf ../it_IT.ISO8859-1/LC_NUMERIC \
11290581Sphantom		${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
11390581Sphantom.endfor
11490587Sphantom.for link in ${BE_LINKS}
11590587Sphantom	ln -sf ../fr_BE.ISO8859-1/LC_NUMERIC \
11690587Sphantom		${LOCALEDIR}/${link}.ISO8859-1/LC_NUMERIC
11790587Sphantom	ln -sf ../fr_BE.ISO8859-1/LC_NUMERIC \
11890587Sphantom		${LOCALEDIR}/${link}.ISO8859-15/LC_NUMERIC
11990587Sphantom.endfor
120115923Sache.for link in ${RU_LINKS}
121115923Sache	ln -sf ../ru_RU.KOI8-R/LC_NUMERIC \
122115923Sache		${LOCALEDIR}/${link}/LC_NUMERIC
123115923Sache.endfor
124123682Sache.for link in ${BY_LINKS}
125123682Sache	ln -sf ../be_BY.CP1251/LC_NUMERIC \
126123682Sache		${LOCALEDIR}/${link}/LC_NUMERIC
127123682Sache.endfor
128115930Sache.for link in ${UA_LINKS}
129115930Sache	ln -sf ../uk_UA.KOI8-U/LC_NUMERIC \
130115930Sache		${LOCALEDIR}/${link}/LC_NUMERIC
131115930Sache.endfor
132115930Sache.for link in ${CN_LINKS}
133115930Sache	ln -sf ../zh_CN.eucCN/LC_NUMERIC \
134115930Sache		${LOCALEDIR}/${link}/LC_NUMERIC
135115930Sache.endfor
13678011Sache.for link in ${ASCIILINKS}
13778011Sache	ln -sf ../${link}.ISO8859-1/LC_NUMERIC \
13878011Sache		${LOCALEDIR}/${link}.US-ASCII/LC_NUMERIC
13978011Sache.endfor
14093890Sphantom	ln -sf ../ja_JP.eucJP/LC_NUMERIC \
14193890Sphantom		${LOCALEDIR}/ja_JP.SJIS/LC_NUMERIC
142118651Sache	ln -sf ../ko_KR.eucKR/LC_NUMERIC \
143118651Sache		${LOCALEDIR}/ko_KR.CP949/LC_NUMERIC
14472172Sphantom
14572172Sphantom.include <bsd.prog.mk>
146