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.5 2005/07/07 11:49:56 corecode Exp $
6 CLEANFILES
+= ${LOCALES
:S
/$/.out
/g
}
8 LOCALES
= bg_BG.CP1251 \
36 LOCALEDIR
= ${DESTDIR}/usr
/share
/locale
38 ASCIILINKS
= en_AU.US-ASCII en_CA.US-ASCII en_GB.US-ASCII en_NZ.US-ASCII \
39 en_US.US-ASCII ko_KR.eucKR ja_JP.eucJP ja_JP.SJIS \
40 tr_TR.ISO8859-9 zh_CN.eucCN
44 LATIN1LINKS
= af_ZA da_DK en_AU en_CA en_GB en_NZ en_US fi_FI \
45 fr_BE fr_CA fr_CH fr_FR it_CH it_IT nl_BE nl_NL no_NO \
48 LATIN2LINKS
= hr_HR hu_HU ro_RO sl_SI
50 UTF8LINKS
= af_ZA be_BY bg_BG ca_ES cs_CZ da_DK de_AT de_CH de_DE el_GR \
51 en_AU en_CA en_GB en_IE en_NZ en_US es_ES et_EE eu_ES fi_FI \
53 fr_CA fr_CH fr_FR he_IL hr_HR hu_HU hy_AM is_IS it_CH it_IT \
54 ja_JP kk_KZ ko_KR lt_LT nl_BE nl_NL no_NO pl_PL pt_BR pt_PT \
55 ro_RO ru_RU sk_SK sl_SI sr_YU sv_SE tr_TR uk_UA zh_CN zh_HK \
62 colldef
-I
${.CURDIR
} -o
${.TARGET
} ${.IMPSRC
}
64 all: ${LOCALES
:S
/$/.out
/g
}
66 bg_BG.CP1251.out
: map.CP1251
67 cs_CZ.ISO8859-2.out
: map.ISO8859-2
68 de_DE.ISO8859-15.out
: map.ISO8859-15
69 de_DE.ISO8859-1.out
: map.ISO8859-1
70 el_GR.ISO8859-7.out
: map.ISO8859-7
71 es_ES.ISO8859-15.out
: map.ISO8859-15
72 es_ES.ISO8859-1.out
: map.ISO8859-1
73 et_EE.ISO8859-15.out
: map.ISO8859-15
74 hi_IN.ISCII-DEV.out
: map.ISCII-DEV
75 is_IS.ISO8859-15.out
: map.ISO8859-15
76 is_IS.ISO8859-1.out
: map.ISO8859-1
77 la_LN.ISO8859-15.out
: map.ISO8859-15
78 la_LN.ISO8859-1.out
: map.ISO8859-1
79 la_LN.ISO8859-2.out
: map.ISO8859-2
80 la_LN.ISO8859-4.out
: map.ISO8859-4
81 lt_LT.ISO8859-4.out
: map.ISO8859-4
82 lt_LT.ISO8859-13.out
: map.ISO8859-13
83 pl_PL.ISO8859-2.out
: map.ISO8859-2
84 ru_RU.CP866.out
: map.CP866
85 ru_RU.ISO8859-5.out
: map.ISO8859-5
86 ru_RU.KOI8-R.out
: map.KOI8-R
87 sv_SE.ISO8859-15.out
: map.ISO8859-15
88 sv_SE.ISO8859-1.out
: map.ISO8859-1
89 uk_UA.ISO8859-5.out
: map.ISO8859-5
90 uk_UA.KOI8-U.out
: map.KOI8-U
93 .for locale in
${LOCALES}
94 ${INSTALL} -m
644 -o
${BINOWN} -g
${BINGRP} \
95 ${locale}.out
${LOCALEDIR}/${locale}/LC_COLLATE
97 .for link in
${ASCIILINKS}
98 ${LN} -fs ..
/la_LN.US-ASCII
/LC_COLLATE \
99 ${LOCALEDIR}/${link}/LC_COLLATE
101 .for link in
${ZHLINKS}
102 ${LN} -fs ..
/is_IS.ISO8859-1
/LC_COLLATE \
103 ${LOCALEDIR}/${link}/LC_COLLATE
105 .for link in
${LATIN1LINKS}
106 ${LN} -fs ..
/la_LN.ISO8859-1
/LC_COLLATE \
107 ${LOCALEDIR}/${link}.ISO8859-1
/LC_COLLATE
108 ${LN} -fs ..
/la_LN.ISO8859-15
/LC_COLLATE \
109 ${LOCALEDIR}/${link}.ISO8859-15
/LC_COLLATE
111 .for link in
${LATIN2LINKS}
112 ${LN} -fs ..
/la_LN.ISO8859-2
/LC_COLLATE \
113 ${LOCALEDIR}/${link}.ISO8859-2
/LC_COLLATE
115 .for link in
${DELINKS}
116 ${LN} -fs ..
/de_DE.ISO8859-1
/LC_COLLATE \
117 ${LOCALEDIR}/${link}.ISO8859-1
/LC_COLLATE
118 ${LN} -fs ..
/de_DE.ISO8859-15
/LC_COLLATE \
119 ${LOCALEDIR}/${link}.ISO8859-15
/LC_COLLATE
121 ${LN} -fs ..
/cs_CZ.ISO8859-2
/LC_COLLATE \
122 ${LOCALEDIR}/sk_SK.ISO8859-2
/LC_COLLATE
123 ${LN} -fs ..
/pt_PT.ISO8859-1
/LC_COLLATE \
124 ${LOCALEDIR}/pt_BR.ISO8859-1
/LC_COLLATE
125 .for link in
${UTF8LINKS}
126 ${LN} -fs ..
/la_LN.UTF-8
/LC_COLLATE \
127 ${LOCALEDIR}/${link}.UTF-8
/LC_COLLATE
131 .
include <bsd.prog.mk
>