xref: /freebsd/share/monetdef/Makefile (revision 1e413cf93298b5b97441a21d9a50fdcd0ee9945e)
1# $FreeBSD$
2
3LOCALES=	af_ZA.ISO8859-1 \
4		am_ET.UTF-8 \
5		be_BY.CP1131 \
6		be_BY.CP1251 \
7		be_BY.ISO8859-5 \
8		be_BY.UTF-8 \
9		bg_BG.CP1251 \
10		bg_BG.UTF-8 \
11		ca_ES.ISO8859-1 \
12		cs_CZ.ISO8859-2 \
13		cs_CZ.UTF-8 \
14		da_DK.ISO8859-1 \
15		de_AT.ISO8859-1 \
16		de_CH.ISO8859-1 \
17		de_DE.ISO8859-1 \
18		el_GR.ISO8859-7 \
19		en_AU.ISO8859-1 \
20		en_CA.ISO8859-1 \
21		en_GB.ISO8859-1 \
22		en_GB.UTF-8 \
23		en_IE.UTF-8 \
24		en_NZ.ISO8859-1 \
25		en_US.ISO8859-1 \
26		es_ES.ISO8859-1 \
27		et_EE.ISO8859-15 \
28		fi_FI.ISO8859-1 \
29		fr_BE.ISO8859-1 \
30		fr_CA.ISO8859-1 \
31		fr_FR.ISO8859-1 \
32		he_IL.UTF-8 \
33		hi_IN.ISCII-DEV \
34		hr_HR.ISO8859-2 \
35		hu_HU.ISO8859-2 \
36		hy_AM.ARMSCII-8 \
37		hy_AM.UTF-8 \
38		is_IS.ISO8859-1 \
39		it_IT.ISO8859-1 \
40		ja_JP.eucJP \
41		ja_JP.UTF-8 \
42		kk_KZ.PT154 \
43		kk_KZ.UTF-8 \
44		ko_KR.eucKR \
45		ko_KR.UTF-8 \
46		lt_LT.ISO8859-13 \
47		mn_MN.UTF-8 \
48		nl_BE.ISO8859-1 \
49		nl_NL.ISO8859-1 \
50		no_NO.ISO8859-1 \
51		pl_PL.ISO8859-2 \
52		pl_PL.UTF-8 \
53		pt_BR.ISO8859-1 \
54		pt_PT.ISO8859-1 \
55		ro_RO.ISO8859-2 \
56		ru_RU.CP1251 \
57		ru_RU.CP866 \
58		ru_RU.ISO8859-5 \
59		ru_RU.KOI8-R \
60		ru_RU.UTF-8 \
61		sk_SK.ISO8859-2 \
62		sl_SI.ISO8859-2 \
63		sr_YU.ISO8859-2 \
64		sr_YU.ISO8859-5 \
65		sr_YU.UTF-8 \
66		sv_SE.ISO8859-1 \
67		tr_TR.ISO8859-9 \
68		uk_UA.CP1251 \
69		uk_UA.ISO8859-5 \
70		uk_UA.KOI8-U \
71		uk_UA.UTF-8 \
72		zh_CN.eucCN \
73		zh_CN.GB18030 \
74		zh_CN.GB2312 \
75		zh_CN.UTF-8 \
76		zh_HK.UTF-8 \
77		zh_TW.Big5
78
79LOCALEDIR=	/usr/share/locale
80
81.SUFFIXES: .src .out
82
83.src.out:
84	grep -v '^#' < ${.IMPSRC} > ${.TARGET}
85
86FILES=		${LOCALES:S/$/.out/}
87FILESNAME=	LC_MONETARY
88
89.for lang in ${LOCALES}
90FILESDIR_${lang}.out= ${LOCALEDIR}/${lang}
91.endfor
92
93CLEANFILES=	${FILES}
94
95ENCODINGS=	Big5 Big5HKSCS CP949 eucJP eucKR GB2312 GBK \
96		ISO8859-1 ISO8859-2 ISO8859-4 ISO8859-7 ISO8859-9 \
97		ISO8859-13 ISO8859-15 SJIS US-ASCII UTF-8
98
99Big5_UTF-8=	zh_TW
100eucJP_SJIS=	ja_JP
101eucKR_CP949=	ko_KR
102GB2312_GBK=	zh_CN
103ISO8859-1_ISO8859-1= es_ES:eu_ES de_CH:fr_CH de_CH:it_CH no_NO:nb_NO no_NO:nn_NO
104ISO8859-1_ISO8859-15= af_ZA ca_ES da_DK de_AT de_CH de_DE en_AU en_CA \
105		en_GB en_NZ en_US es_ES fi_FI fr_BE fr_CA fr_CH fr_FR \
106		is_IS it_IT it_CH nl_BE nl_NL nb_NO nn_NO no_NO pt_PT sv_SE
107ISO8859-1_US-ASCII= en_AU en_CA en_GB en_NZ en_US
108ISO8859-1_UTF-8= af_ZA ca_ES da_DK de_AT de_CH de_DE en_AU en_CA en_NZ \
109		en_US es_ES fi_FI fr_BE fr_CA fr_FR is_IS it_IT nl_BE \
110		nl_NL nb_NO nn_NO no_NO pt_BR pt_PT sv_SE
111ISO8859-2_UTF-8= hr_HR hu_HU ro_RO sk_SK sl_SI sr_YU
112ISO8859-7_UTF-8= el_GR
113ISO8859-9_UTF-8= tr_TR
114ISO8859-13_ISO8859-4= lt_LT
115ISO8859-13_UTF-8= lt_LT
116ISO8859-15_ISO8859-15= es_ES:eu_ES
117ISO8859-15_UTF-8= et_EE
118UTF-8_Big5HKSCS= zh_HK
119UTF-8_UTF-8=	es_ES:eu_ES de_CH:fr_CH de_CH:it_CH
120
121SYMLINKS=
122.for enc1 in ${ENCODINGS}
123.for enc2 in ${ENCODINGS}
124.for lang_terr in ${${enc1}_${enc2}}
125SYMLINKS+=	../${lang_terr:C/:.*$//}.${enc1}/${FILESNAME} \
126		${LOCALEDIR}/${lang_terr:C/^.*://}.${enc2}
127.endfor
128.endfor
129.endfor
130
131.include <bsd.prog.mk>
132