xref: /freebsd/share/timedef/Makefile (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1
2PACKAGE=	locales
3LOCALEDIR=	${SHAREDIR}/locale
4FILESNAME=	LC_TIME
5.SUFFIXES:	.src .out
6
7.src.out:
8	grep -v -E '^(#$$|#[ ])' < ${.IMPSRC} > ${.TARGET}
9
10LOCALES+=	af_ZA.UTF-8
11LOCALES+=	am_ET.UTF-8
12LOCALES+=	ar_JO.UTF-8
13LOCALES+=	ar_MA.UTF-8
14LOCALES+=	ar_SA.UTF-8
15LOCALES+=	be_BY.CP1131
16LOCALES+=	be_BY.CP1251
17LOCALES+=	be_BY.ISO8859-5
18LOCALES+=	be_BY.UTF-8
19LOCALES+=	bg_BG.CP1251
20LOCALES+=	bg_BG.UTF-8
21LOCALES+=	ca_IT.ISO8859-15
22LOCALES+=	ca_IT.UTF-8
23LOCALES+=	cs_CZ.ISO8859-2
24LOCALES+=	cs_CZ.UTF-8
25LOCALES+=	da_DK.ISO8859-15
26LOCALES+=	da_DK.UTF-8
27LOCALES+=	de_AT.ISO8859-15
28LOCALES+=	de_AT.UTF-8
29LOCALES+=	de_DE.ISO8859-15
30LOCALES+=	de_DE.UTF-8
31LOCALES+=	el_GR.ISO8859-7
32LOCALES+=	el_GR.UTF-8
33LOCALES+=	en_CA.UTF-8
34LOCALES+=	en_GB.UTF-8
35LOCALES+=	en_IE.UTF-8
36LOCALES+=	en_PH.UTF-8
37LOCALES+=	en_SG.UTF-8
38LOCALES+=	en_US.UTF-8
39LOCALES+=	en_ZA.UTF-8
40LOCALES+=	es_AR.ISO8859-1
41LOCALES+=	es_CR.UTF-8
42LOCALES+=	es_ES.ISO8859-15
43LOCALES+=	es_ES.UTF-8
44LOCALES+=	es_MX.ISO8859-1
45LOCALES+=	es_MX.UTF-8
46LOCALES+=	et_EE.ISO8859-15
47LOCALES+=	et_EE.UTF-8
48LOCALES+=	eu_ES.UTF-8
49LOCALES+=	fa_AF.UTF-8
50LOCALES+=	fa_IR.UTF-8
51LOCALES+=	fi_FI.ISO8859-15
52LOCALES+=	fi_FI.UTF-8
53LOCALES+=	fr_BE.ISO8859-15
54LOCALES+=	fr_BE.UTF-8
55LOCALES+=	fr_CA.ISO8859-15
56LOCALES+=	fr_CA.UTF-8
57LOCALES+=	fr_CH.ISO8859-15
58LOCALES+=	fr_CH.UTF-8
59LOCALES+=	fr_FR.ISO8859-15
60LOCALES+=	fr_FR.UTF-8
61LOCALES+=	ga_IE.UTF-8
62LOCALES+=	he_IL.UTF-8
63LOCALES+=	hi_IN.ISCII-DEV
64LOCALES+=	hi_IN.UTF-8
65LOCALES+=	hr_HR.ISO8859-2
66LOCALES+=	hr_HR.UTF-8
67LOCALES+=	hu_HU.ISO8859-2
68LOCALES+=	hu_HU.UTF-8
69LOCALES+=	hy_AM.ARMSCII-8
70LOCALES+=	hy_AM.UTF-8
71LOCALES+=	is_IS.ISO8859-15
72LOCALES+=	is_IS.UTF-8
73LOCALES+=	it_CH.ISO8859-15
74LOCALES+=	it_CH.UTF-8
75LOCALES+=	it_IT.ISO8859-15
76LOCALES+=	it_IT.UTF-8
77LOCALES+=	ja_JP.SJIS
78LOCALES+=	ja_JP.UTF-8
79LOCALES+=	ja_JP.eucJP
80LOCALES+=	kk_KZ.UTF-8
81LOCALES+=	ko_KR.UTF-8
82LOCALES+=	ko_KR.eucKR
83LOCALES+=	lt_LT.ISO8859-13
84LOCALES+=	lt_LT.UTF-8
85LOCALES+=	lv_LV.ISO8859-13
86LOCALES+=	lv_LV.UTF-8
87LOCALES+=	mn_MN.UTF-8
88LOCALES+=	nb_NO.ISO8859-15
89LOCALES+=	nb_NO.UTF-8
90LOCALES+=	nl_BE.UTF-8
91LOCALES+=	nl_NL.UTF-8
92LOCALES+=	nn_NO.ISO8859-15
93LOCALES+=	nn_NO.UTF-8
94LOCALES+=	pl_PL.ISO8859-2
95LOCALES+=	pl_PL.UTF-8
96LOCALES+=	pt_BR.ISO8859-1
97LOCALES+=	pt_BR.UTF-8
98LOCALES+=	pt_PT.ISO8859-15
99LOCALES+=	pt_PT.UTF-8
100LOCALES+=	ro_RO.ISO8859-2
101LOCALES+=	ro_RO.UTF-8
102LOCALES+=	ru_RU.CP1251
103LOCALES+=	ru_RU.CP866
104LOCALES+=	ru_RU.ISO8859-5
105LOCALES+=	ru_RU.KOI8-R
106LOCALES+=	ru_RU.UTF-8
107LOCALES+=	se_FI.UTF-8
108LOCALES+=	se_NO.UTF-8
109LOCALES+=	sk_SK.ISO8859-2
110LOCALES+=	sk_SK.UTF-8
111LOCALES+=	sl_SI.ISO8859-2
112LOCALES+=	sl_SI.UTF-8
113LOCALES+=	sr_RS.ISO8859-5
114LOCALES+=	sr_RS.UTF-8
115LOCALES+=	sr_RS.ISO8859-2
116LOCALES+=	sr_RS.UTF-8@latin
117LOCALES+=	sv_FI.ISO8859-15
118LOCALES+=	sv_FI.UTF-8
119LOCALES+=	sv_SE.ISO8859-15
120LOCALES+=	sv_SE.UTF-8
121LOCALES+=	tr_TR.ISO8859-9
122LOCALES+=	tr_TR.UTF-8
123LOCALES+=	uk_UA.CP1251
124LOCALES+=	uk_UA.ISO8859-5
125LOCALES+=	uk_UA.KOI8-U
126LOCALES+=	uk_UA.UTF-8
127LOCALES+=	zh_CN.GB2312
128LOCALES+=	zh_CN.GBK
129LOCALES+=	zh_CN.UTF-8
130LOCALES+=	zh_CN.eucCN
131LOCALES+=	zh_HK.UTF-8
132LOCALES+=	zh_TW.Big5
133LOCALES+=	zh_TW.UTF-8
134
135
136
137SAME+=		af_ZA.UTF-8 af_ZA.ISO8859-15
138SAME+=		af_ZA.UTF-8 af_ZA.ISO8859-1
139SAME+=		ar_SA.UTF-8 ar_QA.UTF-8
140SAME+=		ar_SA.UTF-8 ar_EG.UTF-8
141SAME+=		ar_SA.UTF-8 ar_AE.UTF-8
142SAME+=		ca_IT.ISO8859-15 ca_IT.ISO8859-1
143SAME+=		ca_IT.ISO8859-15 ca_FR.ISO8859-15
144SAME+=		ca_IT.ISO8859-15 ca_FR.ISO8859-1
145SAME+=		ca_IT.ISO8859-15 ca_ES.ISO8859-15
146SAME+=		ca_IT.ISO8859-15 ca_ES.ISO8859-1
147SAME+=		ca_IT.ISO8859-15 ca_AD.ISO8859-15
148SAME+=		ca_IT.ISO8859-15 ca_AD.ISO8859-1
149SAME+=		ca_IT.UTF-8 ca_FR.UTF-8
150SAME+=		ca_IT.UTF-8 ca_ES.UTF-8
151SAME+=		ca_IT.UTF-8 ca_AD.UTF-8
152SAME+=		da_DK.ISO8859-15 da_DK.ISO8859-1
153SAME+=		de_AT.ISO8859-15 de_AT.ISO8859-1
154SAME+=		de_DE.ISO8859-15 de_DE.ISO8859-1
155SAME+=		de_DE.ISO8859-15 de_CH.ISO8859-15
156SAME+=		de_DE.ISO8859-15 de_CH.ISO8859-1
157SAME+=		de_DE.UTF-8 de_CH.UTF-8
158SAME+=		en_PH.UTF-8 en_HK.UTF-8
159SAME+=		en_PH.UTF-8 en_HK.ISO8859-1
160SAME+=		en_PH.UTF-8 en_AU.UTF-8
161SAME+=		en_PH.UTF-8 en_AU.US-ASCII
162SAME+=		en_PH.UTF-8 en_AU.ISO8859-15
163SAME+=		en_PH.UTF-8 en_AU.ISO8859-1
164SAME+=		en_CA.UTF-8 en_CA.US-ASCII
165SAME+=		en_CA.UTF-8 en_CA.ISO8859-15
166SAME+=		en_CA.UTF-8 en_CA.ISO8859-1
167SAME+=		en_GB.UTF-8 en_GB.US-ASCII
168SAME+=		en_GB.UTF-8 en_GB.ISO8859-15
169SAME+=		en_GB.UTF-8 en_GB.ISO8859-1
170SAME+=		en_IE.UTF-8 en_IE.ISO8859-15
171SAME+=		en_IE.UTF-8 en_IE.ISO8859-1
172SAME+=		en_SG.UTF-8 en_SG.ISO8859-1
173SAME+=		en_SG.UTF-8 en_NZ.UTF-8
174SAME+=		en_SG.UTF-8 en_NZ.US-ASCII
175SAME+=		en_SG.UTF-8 en_NZ.ISO8859-15
176SAME+=		en_SG.UTF-8 en_NZ.ISO8859-1
177SAME+=		en_US.UTF-8 en_US.US-ASCII
178SAME+=		en_US.UTF-8 en_US.ISO8859-15
179SAME+=		en_US.UTF-8 en_US.ISO8859-1
180SAME+=		en_ZA.UTF-8 en_ZA.US-ASCII
181SAME+=		en_ZA.UTF-8 en_ZA.ISO8859-15
182SAME+=		en_ZA.UTF-8 en_ZA.ISO8859-1
183SAME+=		es_CR.UTF-8 es_AR.UTF-8
184SAME+=		es_ES.ISO8859-15 es_ES.ISO8859-1
185SAME+=		et_EE.ISO8859-15 et_EE.ISO8859-1
186SAME+=		eu_ES.UTF-8 eu_ES.ISO8859-15
187SAME+=		eu_ES.UTF-8 eu_ES.ISO8859-1
188SAME+=		fi_FI.ISO8859-15 fi_FI.ISO8859-1
189SAME+=		fr_BE.ISO8859-15 fr_BE.ISO8859-1
190SAME+=		fr_CA.ISO8859-15 fr_CA.ISO8859-1
191SAME+=		fr_CH.ISO8859-15 fr_CH.ISO8859-1
192SAME+=		fr_FR.ISO8859-15 fr_FR.ISO8859-1
193SAME+=		is_IS.ISO8859-15 is_IS.ISO8859-1
194SAME+=		it_CH.ISO8859-15 it_CH.ISO8859-1
195SAME+=		it_IT.ISO8859-15 it_IT.ISO8859-1
196SAME+=		nb_NO.ISO8859-15 nb_NO.ISO8859-1
197SAME+=		nl_BE.UTF-8 nl_BE.ISO8859-15
198SAME+=		nl_BE.UTF-8 nl_BE.ISO8859-1
199SAME+=		nl_NL.UTF-8 nl_NL.ISO8859-15
200SAME+=		nl_NL.UTF-8 nl_NL.ISO8859-1
201SAME+=		nn_NO.ISO8859-15 nn_NO.ISO8859-1
202SAME+=		pt_PT.ISO8859-15 pt_PT.ISO8859-1
203SAME+=		sv_FI.ISO8859-15 sv_FI.ISO8859-1
204SAME+=		sv_SE.ISO8859-15 sv_SE.ISO8859-1
205SAME+=		zh_CN.GBK zh_CN.GB18030
206SAME+=		ko_KR.eucKR ko_KR.CP949	# legacy (same charset)
207
208FILES=		${LOCALES:S/$/.out/}
209CLEANFILES=	${FILES}
210
211.for f t in ${SAME}
212DIRS+=		LOCALEDIR_$t
213LOCALEDIR_$t=	${LOCALEDIR}/$t
214LOCALEDIR_$tPACKAGE=	locales
215SYMLINKS+=	../$f/${FILESNAME} \
216    ${LOCALEDIR}/$t/${FILESNAME}
217.endfor
218
219.for f in ${LOCALES}
220FILESDIR_${f}.out= ${LOCALEDIR}/${f}
221FILESDIR_${f}.outPACKAGE=	locales
222.endfor
223
224.include <bsd.prog.mk>
225