HAMMER 63/Many: IO Error handling features
[dragonfly.git] / share / colldef / Makefile
blob0c3ed9fd179a6babd51a3fa789926afec395ef8f
1 # $FreeBSD: src/share/colldef/Makefile,v 1.32.2.11 2002/08/17 19:14:44 ache Exp $
2 # $DragonFly: src/share/colldef/Makefile,v 1.6 2006/11/12 21:15:46 swildner Exp $
5 NOMAN=YES
6 CLEANFILES+= ${LOCALES:S/$/.out/g}
8 LOCALES= be_BY.CP1131 \
9 be_BY.CP1251 \
10 be_BY.ISO8859-5 \
11 bg_BG.CP1251 \
12 cs_CZ.ISO8859-2 \
13 de_DE.ISO8859-1 \
14 de_DE.ISO8859-15 \
15 el_GR.ISO8859-7 \
16 es_ES.ISO8859-1 \
17 es_ES.ISO8859-15 \
18 et_EE.ISO8859-15 \
19 hi_IN.ISCII-DEV \
20 is_IS.ISO8859-1 \
21 is_IS.ISO8859-15 \
22 la_LN.ISO8859-1 \
23 la_LN.ISO8859-15 \
24 la_LN.ISO8859-2 \
25 la_LN.ISO8859-4 \
26 la_LN.US-ASCII \
27 la_LN.UTF-8 \
28 lt_LT.ISO8859-4 \
29 lt_LT.ISO8859-13 \
30 pl_PL.ISO8859-2 \
31 ru_RU.CP866 \
32 ru_RU.ISO8859-5 \
33 ru_RU.KOI8-R \
34 sv_SE.ISO8859-1 \
35 sv_SE.ISO8859-15 \
36 uk_UA.ISO8859-5 \
37 uk_UA.KOI8-U
39 LOCALEDIR= ${DESTDIR}/usr/share/locale
41 ASCIILINKS= en_AU.US-ASCII en_CA.US-ASCII en_GB.US-ASCII en_NZ.US-ASCII \
42 en_US.US-ASCII ko_KR.eucKR ja_JP.eucJP ja_JP.SJIS \
43 tr_TR.ISO8859-9 zh_CN.eucCN
44 DELINKS= de_AT de_CH
45 ZHLINKS= zh_TW.Big5
47 LATIN1LINKS= af_ZA da_DK en_AU en_CA en_GB en_NZ en_US fi_FI \
48 fr_BE fr_CA fr_CH fr_FR it_CH it_IT nl_BE nl_NL no_NO \
49 pt_PT
51 LATIN2LINKS= hr_HR hu_HU ro_RO sl_SI
53 UTF8LINKS= af_ZA be_BY bg_BG ca_ES cs_CZ da_DK de_AT de_CH de_DE el_GR \
54 en_AU en_CA en_GB en_IE en_NZ en_US es_ES et_EE eu_ES fi_FI \
55 fr_BE \
56 fr_CA fr_CH fr_FR he_IL hr_HR hu_HU hy_AM is_IS it_CH it_IT \
57 ja_JP kk_KZ ko_KR lt_LT nl_BE nl_NL no_NO pl_PL pt_BR pt_PT \
58 ro_RO ru_RU sk_SK sl_SI sr_YU sv_SE tr_TR uk_UA zh_CN zh_HK \
59 zh_TW
62 .SUFFIXES: .src .out
64 .src.out:
65 colldef -I ${.CURDIR} -o ${.TARGET} ${.IMPSRC}
67 all: ${LOCALES:S/$/.out/g}
69 be_BY.CP1131.out: map.CP1131
70 be_BY.CP1251.out: map.CP1251
71 be_BY.ISO8859-5.out: map.ISO8859-5
72 bg_BG.CP1251.out: map.CP1251
73 cs_CZ.ISO8859-2.out: map.ISO8859-2
74 de_DE.ISO8859-15.out: map.ISO8859-15
75 de_DE.ISO8859-1.out: map.ISO8859-1
76 el_GR.ISO8859-7.out: map.ISO8859-7
77 es_ES.ISO8859-15.out: map.ISO8859-15
78 es_ES.ISO8859-1.out: map.ISO8859-1
79 et_EE.ISO8859-15.out: map.ISO8859-15
80 hi_IN.ISCII-DEV.out: map.ISCII-DEV
81 is_IS.ISO8859-15.out: map.ISO8859-15
82 is_IS.ISO8859-1.out: map.ISO8859-1
83 la_LN.ISO8859-15.out: map.ISO8859-15
84 la_LN.ISO8859-1.out: map.ISO8859-1
85 la_LN.ISO8859-2.out: map.ISO8859-2
86 la_LN.ISO8859-4.out: map.ISO8859-4
87 lt_LT.ISO8859-4.out: map.ISO8859-4
88 lt_LT.ISO8859-13.out: map.ISO8859-13
89 pl_PL.ISO8859-2.out: map.ISO8859-2
90 ru_RU.CP866.out: map.CP866
91 ru_RU.ISO8859-5.out: map.ISO8859-5
92 ru_RU.KOI8-R.out: map.KOI8-R
93 sv_SE.ISO8859-15.out: map.ISO8859-15
94 sv_SE.ISO8859-1.out: map.ISO8859-1
95 uk_UA.ISO8859-5.out: map.ISO8859-5
96 uk_UA.KOI8-U.out: map.KOI8-U
98 afterinstall:
99 .for locale in ${LOCALES}
100 ${INSTALL} -m 644 -o ${BINOWN} -g ${BINGRP} \
101 ${locale}.out ${LOCALEDIR}/${locale}/LC_COLLATE
102 .endfor
103 .for link in ${ASCIILINKS}
104 ${LN} -fs ../la_LN.US-ASCII/LC_COLLATE \
105 ${LOCALEDIR}/${link}/LC_COLLATE
106 .endfor
107 .for link in ${ZHLINKS}
108 ${LN} -fs ../is_IS.ISO8859-1/LC_COLLATE \
109 ${LOCALEDIR}/${link}/LC_COLLATE
110 .endfor
111 .for link in ${LATIN1LINKS}
112 ${LN} -fs ../la_LN.ISO8859-1/LC_COLLATE \
113 ${LOCALEDIR}/${link}.ISO8859-1/LC_COLLATE
114 ${LN} -fs ../la_LN.ISO8859-15/LC_COLLATE \
115 ${LOCALEDIR}/${link}.ISO8859-15/LC_COLLATE
116 .endfor
117 .for link in ${LATIN2LINKS}
118 ${LN} -fs ../la_LN.ISO8859-2/LC_COLLATE \
119 ${LOCALEDIR}/${link}.ISO8859-2/LC_COLLATE
120 .endfor
121 .for link in ${DELINKS}
122 ${LN} -fs ../de_DE.ISO8859-1/LC_COLLATE \
123 ${LOCALEDIR}/${link}.ISO8859-1/LC_COLLATE
124 ${LN} -fs ../de_DE.ISO8859-15/LC_COLLATE \
125 ${LOCALEDIR}/${link}.ISO8859-15/LC_COLLATE
126 .endfor
127 ${LN} -fs ../cs_CZ.ISO8859-2/LC_COLLATE \
128 ${LOCALEDIR}/sk_SK.ISO8859-2/LC_COLLATE
129 ${LN} -fs ../pt_PT.ISO8859-1/LC_COLLATE \
130 ${LOCALEDIR}/pt_BR.ISO8859-1/LC_COLLATE
131 .for link in ${UTF8LINKS}
132 ${LN} -fs ../la_LN.UTF-8/LC_COLLATE \
133 ${LOCALEDIR}/${link}.UTF-8/LC_COLLATE
134 .endfor
137 .include <bsd.prog.mk>