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 $
6 CLEANFILES
+= ${LOCALES
:S
/$/.out
/g
}
8 LOCALES
= be_BY.CP1131 \
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
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 \
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 \
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 \
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
99 .for locale in
${LOCALES}
100 ${INSTALL} -m
644 -o
${BINOWN} -g
${BINGRP} \
101 ${locale}.out
${LOCALEDIR}/${locale}/LC_COLLATE
103 .for link in
${ASCIILINKS}
104 ${LN} -fs ..
/la_LN.US-ASCII
/LC_COLLATE \
105 ${LOCALEDIR}/${link}/LC_COLLATE
107 .for link in
${ZHLINKS}
108 ${LN} -fs ..
/is_IS.ISO8859-1
/LC_COLLATE \
109 ${LOCALEDIR}/${link}/LC_COLLATE
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
117 .for link in
${LATIN2LINKS}
118 ${LN} -fs ..
/la_LN.ISO8859-2
/LC_COLLATE \
119 ${LOCALEDIR}/${link}.ISO8859-2
/LC_COLLATE
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
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
137 .
include <bsd.prog.mk
>