annotate admin/charsets/Makefile @ 111089:caebfc6134af

* src/Makefile.in (SOME_MACHINE_LISP): Add w32-vars. Remove ccl and duplicate mouse.
author Glenn Morris <rgm@gnu.org>
date Thu, 21 Oct 2010 20:37:20 -0700
parents 1d1d5d9bd884
children 376148b31b5e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
1 # Makefile -- Makefile to generate charset maps in etc/charsets.
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 103397
diff changeset
2 # Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
3 # National Institute of Advanced Industrial Science and Technology (AIST)
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
4 # Registration Number H13PRO009
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
5 #
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
6 # This file is part of GNU Emacs.
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
7
94832
eb2d9dfc8486 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91410
diff changeset
8 # GNU Emacs is free software: you can redistribute it and/or modify
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
9 # it under the terms of the GNU General Public License as published by
94832
eb2d9dfc8486 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91410
diff changeset
10 # the Free Software Foundation, either version 3 of the License, or
eb2d9dfc8486 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91410
diff changeset
11 # (at your option) any later version.
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
12
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
13 # GNU Emacs is distributed in the hope that it will be useful,
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
16 # GNU General Public License for more details.
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
17
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
18 # You should have received a copy of the GNU General Public License
94832
eb2d9dfc8486 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91410
diff changeset
19 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
20
94832
eb2d9dfc8486 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 91410
diff changeset
21 # Commentary:
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
22
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
23 # If your system doesn't have the directory /usr/share/i18n/charmaps,
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
24 # get the source of the latest glibc, gzip all the charmap files in
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
25 # the directory "localedate/charmaps", and set the variable
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
26 # GLIBC_CHARMAPS to that directory.
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
27
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
28 GLIBC_CHARMAPS=/usr/share/i18n/charmaps
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
29
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
30 CHARSETS = ${ISO8859} ${IBM} ${CODEPAGE} ${CJK} ${MISC} ${MULE}
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
31
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
32 # Note: We can not prepend "ISO-" to these map files because of file
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
33 # name limits on DOS.
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
34 ISO8859 = \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
35 8859-2.map 8859-3.map 8859-4.map 8859-5.map 8859-6.map 8859-7.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
36 8859-8.map 8859-9.map 8859-10.map 8859-11.map 8859-13.map 8859-14.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
37 8859-15.map 8859-16.map
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
38
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
39 IBM = \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
40 IBM037.map IBM038.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
41 IBM256.map IBM273.map IBM274.map IBM275.map IBM277.map IBM278.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
42 IBM280.map IBM281.map IBM284.map IBM285.map IBM290.map IBM297.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
43 IBM420.map IBM423.map IBM424.map IBM437.map IBM500.map IBM850.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
44 IBM851.map IBM852.map IBM855.map IBM856.map IBM857.map IBM860.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
45 IBM861.map IBM862.map IBM863.map IBM864.map IBM865.map IBM866.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
46 IBM868.map IBM869.map IBM870.map IBM871.map IBM874.map IBM875.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
47 IBM880.map IBM891.map IBM903.map IBM904.map IBM905.map IBM918.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
48 IBM1004.map IBM1026.map IBM1047.map
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
49
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
50 CODEPAGE = \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
51 CP737.map CP775.map CP1125.map\
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
52 CP1250.map CP1251.map CP1252.map CP1253.map CP1254.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
53 CP1255.map CP1256.map CP1257.map CP1258.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
54 CP10007.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
55 CP720.map CP858.map
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
56
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
57 CJK = GB2312.map GBK.map GB180302.map GB180304.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
58 BIG5.map BIG5-HKSCS.map\
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
59 CNS-1.map CNS-2.map CNS-3.map CNS-4.map CNS-5.map CNS-6.map CNS-7.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
60 CNS-F.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
61 JISX0201.map JISX0208.map JISX0212.map JISX2131.map JISX2132.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
62 JISC6226.map CP932-2BYTE.map JISX213A.map\
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
63 KSC5601.map KSC5636.map JOHAB.map
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
64
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
65 MISC = KOI-8.map KOI8-R.map KOI8-U.map KOI8-T.map ALTERNATIVNYJ.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
66 MIK.map PTCP154.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
67 TIS-620.map VISCII.map VSCII.map VSCII-2.map\
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
68 KA-PS.map KA-ACADEMY.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
69 HP-ROMAN8.map NEXTSTEP.map MACINTOSH.map EBCDICUK.map EBCDICUS.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
70 stdenc.map symbol.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
71 CP949-2BYTE.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
72 BIG5-1.map BIG5-2.map
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
73
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
74 # Emacs-mule charsets.
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
75 MULE = MULE-ethiopic.map MULE-ipa.map MULE-is13194.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
76 MULE-sisheng.map MULE-tibetan.map \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
77 MULE-lviscii.map MULE-uviscii.map
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
78
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
79 TRANS_TABLE = cp51932.el eucjp-ms.el
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
80
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
81 all: ${CHARSETS} ${TRANS_TABLE}
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
82
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
83 AWK = gawk
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
84
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
85 # Rules for each charset
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
86
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
87 VSCII.map: ${GLIBC_CHARMAPS}/TCVN5712-1.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
88 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
89 @mapconv $< '/^<.*[ ]\/x[0-9a-f].[ ]/' GLIBC-1 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
90
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
91 VSCII-2.map: ${GLIBC_CHARMAPS}/TCVN5712-1.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
92 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
93 @mapconv $< '/^<.*[ ]\/x[2-7a-f].[ ]/' GLIBC-1 compact.awk \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
94 | sed 's/0x20-0x7F.*/0x00-0x7F 0x0000/' > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
95
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
96 ALTERNATIVNYJ.map: IBM866.map
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
97 # Generating $@...
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
98 @echo "# Modified from IBM866.map according to the chart at" > $@
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
99 @echo "# http://www.cyrillic.com/ref/cyrillic/koi-8alt.html," >> $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
100 @echo "# with guesses for the Unicodes of the glyphs." >> $@
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
101 @sed -e '1 d' \
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
102 -e '/0xF2/ s/ .*/ 0x2019/' \
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
103 -e '/0xF3/ s/ .*/ 0x2018/' \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
104 -e '/0xF4/ s/ .*/ 0x0301/' \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
105 -e '/0xF5/ s/ .*/ 0x0300/' \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
106 -e '/0xF6/ s/ .*/ 0x203A/' \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
107 -e '/0xF7/ s/ .*/ 0x2039/' \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
108 -e '/0xF8/ s/ .*/ 0x2191/' \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
109 -e '/0xF9/ s/ .*/ 0x2193/' \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
110 -e '/0xFA/ s/ .*/ 0x00B1/' \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
111 -e '/0xFB/ s/ .*/ 0x00F7/' < $< >> $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
112
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
113 MIK.map: mapfiles/bulgarian-mik.txt.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
114 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
115 @mapconv $< '1,$$' CZYBORRA compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
116
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
117 PTCP154.map: mapfiles/PTCP154.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
118 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
119 @mapconv $< '/^0x/' IANA compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
120
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
121 stdenc.map: mapfiles/stdenc.txt.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
122 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
123 @mapconv $< '/^[0-9A-Fa-f]/' UNICODE compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
124
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
125 symbol.map: mapfiles/symbol.txt.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
126 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
127 @mapconv $< '/^[0-9A-Fa-f]/' UNICODE compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
128
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
129 CP720.map: mapfiles/CP720.map.gz
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
130 # Generating $@...
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
131 @zcat $< > $@
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
132
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
133 CP858.map: mapfiles/CP858.map.gz
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
134 # Generating $@...
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
135 @zcat $< > $@
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
136
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
137 CP949-2BYTE.map: ${GLIBC_CHARMAPS}/CP949.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
138 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
139 @mapconv $< '/^<.*[ ]\/x[89a-f]/' GLIBC-2 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
140
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
141 GB2312.map: ${GLIBC_CHARMAPS}/GB2312.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
142 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
143 @mapconv $< '/^<.*[ ]\/x[a-f]/' GLIBC-2-7 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
144
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
145 GBK.map: ${GLIBC_CHARMAPS}/GBK.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
146 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
147 @mapconv $< '/^<.*[ ]\/x[89a-f]/' GLIBC-2 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
148
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
149 GB180302.map: ${GLIBC_CHARMAPS}/GB18030.gz mapconv gb180302.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
150 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
151 @mapconv $< '/^<.*[ ]\/x..\/x..[ ]/' GLIBC-2 gb180302.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
152
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
153 GB180304.map: GB180302.map gb180304.awk
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
154 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
155 @$(AWK) -f gb180304.awk < $< > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
156
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
157 JISX0201.map: ${GLIBC_CHARMAPS}/JIS_X0201.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
158 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
159 @mapconv $< '/^<.*[ ]\/x[0-9]/' GLIBC-1 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
160 @echo "# Generated by hand" >> $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
161 @echo "0xA1-0xDF 0xFF61" >> $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
162
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
163 JISX0208.map: ${GLIBC_CHARMAPS}/EUC-JP.gz mapconv
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
164 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
165 @mapconv $< '/^<.*[ ]\/x[a-f]/' GLIBC-2-7 \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
166 | sed 's/0x2015/0x2014/' > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
167
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
168 JISX0212.map: ${GLIBC_CHARMAPS}/EUC-JP.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
169 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
170 @mapconv $< '/^<.*[ ]\/x8f/ s,/x8f,,' GLIBC-2-7 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
171
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
172 JISX2131.map: ${GLIBC_CHARMAPS}/EUC-JISX0213.gz mapconv
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
173 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
174 @mapconv $< '/^<.*[ ]\/x[a-f]/' GLIBC-2-7 \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
175 | sed -e 's/0x2015/0x2014/' -e 's/0x2299/0x29BF/' > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
176
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
177 JISX2132.map: ${GLIBC_CHARMAPS}/EUC-JISX0213.gz mapconv
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
178 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
179 @mapconv $< '/^<.*[ ]\/x8f/ s,/x8f,,' GLIBC-2-7 > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
180
103397
96e409ad0410 (JISX213A.map): Make it depend on mapfiles/JISX213A.map.gz.
Kenichi Handa <handa@m17n.org>
parents: 103390
diff changeset
181 JISX213A.map: mapfiles/JISX213A.map.gz
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
182 # Generating $@
103397
96e409ad0410 (JISX213A.map): Make it depend on mapfiles/JISX213A.map.gz.
Kenichi Handa <handa@m17n.org>
parents: 103390
diff changeset
183 @zcat $< > $@
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
184
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
185 CP932-2BYTE.map: mapfiles/CP932.TXT.gz mapconv cp932.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
186 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
187 @mapconv $< '/^0x[89A-F][0-9A-F][0-9A-F]/' UNICODE2 cp932.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
188
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
189 cp51932.el: CP932-2BYTE.map cp51932.awk
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
190 @$(AWK) -f cp51932.awk < CP932-2BYTE.map > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
191
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
192 eucjp-ms.el: ${GLIBC_CHARMAPS}/EUC-JP-MS.gz eucjp-ms.awk
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
193 @zcat $< | $(AWK) -f eucjp-ms.awk > $@
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
194
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
195 JISC6226.map : mapfiles/Uni2JIS.gz mapconv kuten.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
196 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
197 @mapconv $< '/^[^#].*0-/' YASUOKA kuten.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
198
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
199 KSC5601.map: ${GLIBC_CHARMAPS}/EUC-KR.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
200 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
201 @mapconv $< '/^<.*[ ]\/x[a-f]/' GLIBC-2-7 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
202
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
203 BIG5.map: ${GLIBC_CHARMAPS}/BIG5.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
204 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
205 @mapconv $< '/^<.*[ ]\/x[a-f]/' GLIBC-2 > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
206
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
207 BIG5-1.map: BIG5.map mapconv big5.awk
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
208 # Generating $@...
103397
96e409ad0410 (JISX213A.map): Make it depend on mapfiles/JISX213A.map.gz.
Kenichi Handa <handa@m17n.org>
parents: 103390
diff changeset
209 @echo "# Generated from $<" > $@
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
210 @sed -n -e '/0xa140/,/0xc8fe/p' < $< | gawk -f big5.awk >> $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
211
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
212 BIG5-2.map: BIG5.map mapconv big5.awk
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
213 # Generating $@...
103397
96e409ad0410 (JISX213A.map): Make it depend on mapfiles/JISX213A.map.gz.
Kenichi Handa <handa@m17n.org>
parents: 103390
diff changeset
214 @echo "# Generated from $<" > $@
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
215 @sed -n -e '/0xc940/,$$ p' < $< | gawk -f big5.awk >> $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
216
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
217 BIG5-HKSCS.map: ${GLIBC_CHARMAPS}/BIG5-HKSCS.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
218 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
219 @mapconv $< '/^<.*[ ]\/x[89a-f].\//' GLIBC-2 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
220
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
221 JOHAB.map: ${GLIBC_CHARMAPS}/JOHAB.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
222 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
223 @mapconv $< '/^<.*[ ]\/x[89a-f]/' GLIBC-2 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
224
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
225 CNS-1.map: ${GLIBC_CHARMAPS}/EUC-TW.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
226 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
227 @mapconv $< '/^<.*[ ]\/x[a-f]/' GLIBC-2-7 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
228
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
229 # CNS-1.map: mapfiles/cns2ucsdkw.txt mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
230 # # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
231 # @mapconv $< '/^C1/' KANJI-DATABASE compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
232
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
233 CNS-2.map: mapfiles/cns2ucsdkw.txt.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
234 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
235 @mapconv $< '/^C2/' KANJI-DATABASE compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
236
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
237 CNS-3.map: mapfiles/cns2ucsdkw.txt.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
238 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
239 @mapconv $< '/^C3/' KANJI-DATABASE compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
240
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
241 CNS-4.map: mapfiles/cns2ucsdkw.txt.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
242 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
243 @mapconv $< '/^C4/' KANJI-DATABASE compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
244
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
245 CNS-5.map: mapfiles/cns2ucsdkw.txt.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
246 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
247 @mapconv $< '/^C5/' KANJI-DATABASE compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
248
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
249 CNS-6.map: mapfiles/cns2ucsdkw.txt.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
250 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
251 @mapconv $< '/^C6/' KANJI-DATABASE compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
252
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
253 CNS-7.map: mapfiles/cns2ucsdkw.txt.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
254 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
255 @mapconv $< '/^C7/' KANJI-DATABASE compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
256
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
257 CNS-F.map: ${GLIBC_CHARMAPS}/EUC-TW.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
258 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
259 @mapconv $< '/^<.*\/x8e\/xaf/ s,/x8e/xaf,,' GLIBC-2-7 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
260
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
261 # General target to produce map files for mule charsets.
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
262 MULE-%.map: mapfiles/MULE-%.map.gz
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
263 # Generating $@...
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
264 @zcat $< > $@
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
265
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
266 # General target to produce map files for ISO-8859, GEORGIAN, and
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
267 # EBCDIC charsets. We can not use the original file name because of
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
268 # file name limit on DOS. "KA" is ISO 639 language code for Georgian.
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
269
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
270 8859-%.map: ${GLIBC_CHARMAPS}/ISO-8859-%.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
271 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
272 @mapconv $< '/^<.*[ ]\/x/' GLIBC-1 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
273
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
274 KA-%.map: ${GLIBC_CHARMAPS}/GEORGIAN-%.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
275 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
276 @mapconv $< '/^<.*[ ]\/x/' GLIBC-1 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
277
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
278 EBCDIC%.map: ${GLIBC_CHARMAPS}/EBCDIC-%.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
279 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
280 @mapconv $< '/^<.*[ ]\/x/' GLIBC-1 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
281
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
282 # General target to produce map files for single-byte charsets.
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
283
103390
83968eceb8f3 Maps depend on files under mapfiles or ${GLIBC_CHARMAPS}.
Kenichi Handa <handa@m17n.org>
parents: 100971
diff changeset
284 %.map: ${GLIBC_CHARMAPS}/%.gz mapconv compact.awk
90036
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
285 # Generating $@...
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
286 @mapconv $< '/^<.*[ ]\/x/' GLIBC-1 compact.awk > $@
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
287
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
288 install:
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
289 @for f in ${CHARSETS}; do \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
290 if test -r $$f; then \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
291 if ! cmp -s $$f ../../etc/charsets/$$f; then \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
292 echo updating $$f; \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
293 cp $$f ../../etc/charsets; \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
294 fi; \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
295 fi; \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
296 done
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
297 @for f in ${TRANS_TABLE}; do \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
298 if test -r $$f; then \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
299 if ! cmp -s $$f ../../lisp/international/$$f; then \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
300 echo updating $$f; \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
301 cp $$f ../../lisp/international; \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
302 fi; \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
303 fi; \
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
304 done
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
305
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
306 # Clear files that are automatically generated.
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
307 clean:
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
308 rm -f ${CHARSETS} ${TRANS_TABLE}
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
309
af754c88f187 Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-64
Miles Bader <miles@gnu.org>
parents:
diff changeset
310 # arch-tag: 90b3bf30-1fef-45bf-b30c-665c30c22310