1 # $NetBSD: Makefile,v 1.28 2009/01/02 00:20:21 tnozaki Exp $
5 # pull LOCALEDIR and other declarations
10 LOCALESRC_af_ZA.ISO8859-1
= en_US.ISO_8859-1
11 LOCALESRC_af_ZA.ISO8859-15
= en_US.DIS_8859-15
12 #LOCALESRC_am_ET.UTF-8= en_US.UTF-8
13 LOCALESRC_be_BY.CP1251
= bg_BG.CP1251
14 LOCALESRC_be_BY.ISO8859-5
= ru_RU.ISO_8859-5
15 LOCALESRC_bg_BG.CP1251
= bg_BG.CP1251
16 LOCALESRC_ca_ES.ISO8859-1
= en_US.ISO_8859-1
17 LOCALESRC_ca_ES.ISO8859-15
= en_US.DIS_8859-15
18 LOCALESRC_cs_CZ.ISO8859-2
= en_US.ISO_8859-2
19 LOCALESRC_da_DK.ISO8859-1
= en_US.ISO_8859-1
20 LOCALESRC_da_DK.ISO8859-15
= en_US.DIS_8859-15
21 LOCALESRC_de_AT.ISO8859-1
= en_US.ISO_8859-1
22 LOCALESRC_de_AT.ISO8859-15
= en_US.DIS_8859-15
23 LOCALESRC_de_CH.ISO8859-1
= en_US.ISO_8859-1
24 LOCALESRC_de_CH.ISO8859-15
= en_US.DIS_8859-15
25 LOCALESRC_de_DE.ISO8859-1
= en_US.ISO_8859-1
26 LOCALESRC_de_DE.ISO8859-15
= en_US.DIS_8859-15
27 LOCALESRC_el_GR.ISO8859-7
= el_GR.ISO8859-7
28 LOCALESRC_en_AU.ISO8859-1
= en_US.ISO_8859-1
29 LOCALESRC_en_AU.ISO8859-15
= en_US.DIS_8859-15
30 LOCALESRC_en_CA.ISO8859-1
= en_US.ISO_8859-1
31 LOCALESRC_en_CA.ISO8859-15
= en_US.DIS_8859-15
32 LOCALESRC_en_GB.ISO8859-1
= en_US.ISO_8859-1
33 LOCALESRC_en_GB.ISO8859-15
= en_US.DIS_8859-15
34 LOCALESRC_en_NZ.ISO8859-1
= en_US.ISO_8859-1
35 LOCALESRC_en_NZ.ISO8859-15
= en_US.DIS_8859-15
36 LOCALESRC_en_US.ISO8859-1
= en_US.ISO_8859-1
37 LOCALESRC_en_US.ISO8859-15
= en_US.DIS_8859-15
38 LOCALESRC_en_US.US-ASCII
= en_US.ASCII
39 LOCALESRC_en_US.UTF-8
= en_US.UTF-8
40 LOCALESRC_es_ES.ISO8859-1
= en_US.ISO_8859-1
41 LOCALESRC_es_ES.ISO8859-15
= en_US.DIS_8859-15
42 LOCALESRC_et_EE.ISO8859-15
= en_US.DIS_8859-15
43 LOCALESRC_eu_ES.ISO8859-1
= en_US.ISO_8859-1
44 LOCALESRC_eu_ES.ISO8859-15
= en_US.DIS_8859-15
45 LOCALESRC_fi_FI.ISO8859-1
= en_US.ISO_8859-1
46 LOCALESRC_fi_FI.ISO8859-15
= en_US.DIS_8859-15
47 LOCALESRC_fr_BE.ISO8859-1
= en_US.ISO_8859-1
48 LOCALESRC_fr_BE.ISO8859-15
= en_US.DIS_8859-15
49 LOCALESRC_fr_BE.UTF-8
= en_US.UTF-8
50 LOCALESRC_fr_CA.ISO8859-1
= en_US.ISO_8859-1
51 LOCALESRC_fr_CA.ISO8859-15
= en_US.DIS_8859-15
52 LOCALESRC_fr_CA.UTF-8
= en_US.UTF-8
53 LOCALESRC_fr_CH.ISO8859-1
= en_US.ISO_8859-1
54 LOCALESRC_fr_CH.ISO8859-15
= en_US.DIS_8859-15
55 LOCALESRC_fr_CH.UTF-8
= en_US.UTF-8
56 LOCALESRC_fr_FR.ISO8859-1
= en_US.ISO_8859-1
57 LOCALESRC_fr_FR.ISO8859-15
= en_US.DIS_8859-15
58 LOCALESRC_fr_FR.UTF-8
= en_US.UTF-8
59 #LOCALESRC_he_IL.UTF-8= en_US.UTF-8
60 LOCALESRC_hr_HR.ISO8859-2
= en_US.ISO_8859-2
61 LOCALESRC_hu_HU.ISO8859-2
= en_US.ISO_8859-2
62 LOCALESRC_hy_AM.ARMSCII-8
= hy_AM.ARMSCII-8
63 LOCALESRC_is_IS.ISO8859-1
= en_US.ISO_8859-1
64 LOCALESRC_is_IS.ISO8859-15
= en_US.DIS_8859-15
65 LOCALESRC_it_CH.ISO8859-1
= en_US.ISO_8859-1
66 LOCALESRC_it_CH.ISO8859-15
= en_US.DIS_8859-15
67 LOCALESRC_it_IT.ISO8859-1
= en_US.ISO_8859-1
68 LOCALESRC_it_IT.ISO8859-15
= en_US.DIS_8859-15
69 LOCALESRC_ja_JP.SJIS
= ja_JP.SJIS
70 LOCALESRC_ja_JP.ct
= ja_JP.CTEXT
71 LOCALESRC_ja_JP.eucJP
= ja_JP.eucJP
72 LOCALESRC_kk_KZ.PT154
= kk_KZ.PT154
73 LOCALESRC_ko_KR.eucKR
= ko_KR.eucKR
74 LOCALESRC_lt_LT.ISO8859-4
= en_US.ISO_8859-4
75 LOCALESRC_lt_LT.ISO8859-13
= lt_LT.ISO8859-13
76 #LOCALESRC_mn_MN.UTF-8= en_US.UTF-8
77 LOCALESRC_nl_BE.ISO8859-1
= en_US.ISO_8859-1
78 LOCALESRC_nl_BE.ISO8859-15
= en_US.DIS_8859-15
79 LOCALESRC_nl_NL.ISO8859-1
= en_US.ISO_8859-1
80 LOCALESRC_nl_NL.ISO8859-15
= en_US.DIS_8859-15
81 LOCALESRC_nn_NO.ISO8859-1
= en_US.ISO_8859-1
82 LOCALESRC_nn_NO.ISO8859-15
= en_US.DIS_8859-15
83 LOCALESRC_no_NO.ISO8859-1
= en_US.ISO_8859-1
84 LOCALESRC_no_NO.ISO8859-15
= en_US.DIS_8859-15
85 LOCALESRC_pl_PL.ISO8859-2
= en_US.ISO_8859-2
86 LOCALESRC_pt_BR.ISO8859-1
= en_US.ISO_8859-1
87 LOCALESRC_pt_PT.ISO8859-1
= en_US.ISO_8859-1
88 LOCALESRC_pt_PT.ISO8859-15
= en_US.DIS_8859-15
89 LOCALESRC_ro_RO.ISO8859-2
= en_US.ISO_8859-2
90 LOCALESRC_ru_RU.CP866
= ru_RU.CP866
91 LOCALESRC_ru_BY.CP1251
= bg_BG.CP1251
92 LOCALESRC_ru_RU.CP1251
= bg_BG.CP1251
93 LOCALESRC_ru_RU.ISO8859-5
= ru_RU.ISO_8859-5
94 LOCALESRC_ru_RU.KOI8-R
= ru_RU.KOI8-R
95 LOCALESRC_sk_SK.ISO8859-2
= en_US.ISO_8859-2
96 LOCALESRC_sl_SI.ISO8859-2
= en_US.ISO_8859-2
97 LOCALESRC_sr_ME.ISO8859-2
= en_US.ISO_8859-2
98 LOCALESRC_sr_ME.ISO8859-5
= ru_RU.ISO_8859-5
99 LOCALESRC_sr_RS.ISO8859-2
= en_US.ISO_8859-2
100 LOCALESRC_sr_RS.ISO8859-5
= ru_RU.ISO_8859-5
101 LOCALESRC_sv_SE.ISO8859-1
= en_US.ISO_8859-1
102 LOCALESRC_sv_SE.ISO8859-15
= en_US.DIS_8859-15
103 LOCALESRC_tr_TR.ISO8859-9
= tr_TR.ISO8859-9
104 LOCALESRC_uk_UA.CP1251
= bg_BG.CP1251
105 LOCALESRC_uk_UA.ISO8859-5
= ru_RU.ISO_8859-5
106 LOCALESRC_uk_UA.KOI8-U
= uk_UA.KOI8-U
107 LOCALESRC_zh_CN.GB18030
= zh_CN.GB18030
108 LOCALESRC_zh_CN.eucCN
= zh_CN.eucCN
109 LOCALESRC_zh_HK.Big5hkscs
= zh_HK.Big5-HKSCS
110 LOCALESRC_zh_TW.Big5
= zh_TW.BIG5
111 LOCALESRC_zh_TW.eucTW
= zh_TW.eucTW
113 .
include "${.CURDIR}/../Makefile.locale"
115 all: ${LOCALES
:S
/$/.out
/g
}
116 realall
: ${LOCALES
:S
/$/.out
/g
}
118 FILES
= ${LOCALES
:S
/$/.out
/g
}
119 CLEANFILES
+= ${LOCALES
:S
/$/.out
/g
}
121 .for locale in
${LOCALES}
122 ${locale}.out
: ${LOCALESRC_
${locale}}.src
124 ${CPP} -I
${.CURDIR
} < ${.CURDIR
}/${LOCALESRC_
${locale}}.src | \
125 ${TOOL_SED} -e
'/^#/d' | \
126 ${TOOL_MKLOCALE} -t ctype
-o
${.TARGET
}
129 .
include <bsd.prog.mk
>