1 # $Id: Makefile,v 1.20 1999/03/20 11:49:23 foxfair Exp $
4 CLEANFILES+= ${LOCALES:S/$/.out/g}
6 LOCALES= de_DE.DIS_8859-15 \
19 LOCALEDIR= ${DESTDIR}/usr/share/locale
22 ko_KR.EUC ja_JP.EUC ja_JP.SJIS zh_CN.EUC
27 da_DK en_AU en_CA en_GB en_US fi_FI \
28 fr_BE fr_CA fr_CH fr_FR it_CH it_IT nl_BE nl_NL no_NO \
31 LATIN2LINKS = hr_HR hu_HU pl_PL sl_SI
38 colldef -I ${.CURDIR} -o ${.TARGET} ${.IMPSRC}
40 .if !defined(_BUILD_TOOLS)
41 all: ${LOCALES:S/$/.out/g}
43 de_DE.DIS_8859-15.out: map.DIS_8859-15
44 de_DE.ISO_8859-1.out: map.ISO_8859-1
45 es_ES.DIS_8859-15.out: map.DIS_8859-15
46 es_ES.ISO_8859-1.out: map.ISO_8859-1
47 is_IS.DIS_8859-15.out: map.DIS_8859-15
48 is_IS.ISO_8859-1.out: map.ISO_8859-1
49 lt_LN.DIS_8859-15.out: map.DIS_8859-15
50 lt_LN.ISO_8859-1.out: map.ISO_8859-1
51 lt_LN.ISO_8859-2.out: map.ISO_8859-2
52 ru_SU.CP866.out: map.CP866
53 ru_SU.KOI8-R.out: map.KOI8-R
56 .for locale in ${LOCALES}
57 ${INSTALL} -c -m 644 -o ${BINOWN} -g ${BINGRP} \
58 ${locale}.out ${LOCALEDIR}/${locale}/LC_COLLATE
60 .for link in ${ASCIILINKS}
61 ln -fs ../lt_LN.ASCII/LC_COLLATE \
62 ${LOCALEDIR}/${link}/LC_COLLATE
64 .for link in ${ZHLINKS}
65 ln -fs ../is_IS.ISO_8859-1/LC_COLLATE \
66 ${LOCALEDIR}/${link}/LC_COLLATE
68 .for link in ${LATIN1LINKS}
69 ln -fs ../lt_LN.ISO_8859-1/LC_COLLATE \
70 ${LOCALEDIR}/${link}.ISO_8859-1/LC_COLLATE
72 .for link in ${LATIN1LINKS}
73 ln -fs ../lt_LN.DIS_8859-15/LC_COLLATE \
74 ${LOCALEDIR}/${link}.DIS_8859-15/LC_COLLATE
76 .for link in ${LATIN2LINKS}
77 ln -fs ../lt_LN.ISO_8859-2/LC_COLLATE \
78 ${LOCALEDIR}/${link}.ISO_8859-2/LC_COLLATE
80 .for link in ${DELINKS}
81 ln -fs ../de_DE.ISO_8859-1/LC_COLLATE \
82 ${LOCALEDIR}/${link}.ISO_8859-1/LC_COLLATE
84 .for link in ${DELINKS}
85 ln -fs ../de_DE.DIS_8859-15/LC_COLLATE \
86 ${LOCALEDIR}/${link}.DIS_8859-15/LC_COLLATE
90 .include <bsd.prog.mk>