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