annotate leim/Makefile.in @ 38973:64125d607a06

Finsert_file_contents): Allocate, restore, and free composition data in the case of REPLACE not being nil.
author Gerd Moellmann <gerd@gnu.org>
date Mon, 27 Aug 2001 13:50:42 +0000
parents 64c896104a04
children a6283c23f5ee
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
1 # Makefile for leim subdirectory in GNU Emacs.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
2 # Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
3 # Licensed to the Free Software Foundation.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
4
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
5 # This file is part of GNU Emacs.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
6
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
7 # GNU Emacs is free software; you can redistribute it and/or modify
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
8 # it under the terms of the GNU General Public License as published by
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
9 # the Free Software Foundation; either version 2, or (at your option)
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
10 # any later version.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
11 #
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
12 # GNU Emacs is distributed in the hope that it will be useful,
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
15 # GNU General Public License for more details.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
16 #
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
17 # You should have received a copy of the GNU General Public License
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
18 # along with GNU Emacs; see the file COPYING. If not, write to the
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
19 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
20 # Boston, MA 02111-1307, USA.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
21
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
22 # Avoid trouble on systems where the `SHELL' variable might be
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
23 # inherited from the environment.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
24 SHELL = /bin/sh
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
25
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
26 # Here are the things that we expect ../configure to edit.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
27 version=@version@
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
28 prefix=@prefix@
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
29 datadir=@datadir@
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
30 srcdir=@srcdir@
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
31
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
32 # Where to install LEIM files.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
33 INSTALLDIR=${datadir}/emacs/${version}/leim
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
34
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
35 # On Xenix and the IBM RS6000, double-dot gets screwed up.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
36 dot = .
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
37
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
38 # Which Emacs to use to convert TIT files to Emacs Lisp files,
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
39 # byte-compile Emacs Lisp files, and generate the file leim-list.el.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
40 BUILT-EMACS = ${dot}${dot}/src/emacs
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
41
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
42 buildlisppath=${srcdir}/${dot}${dot}/lisp
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
43
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
44 # How to run Emacs.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
45 RUN-EMACS = EMACSLOADPATH=$(buildlisppath) \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
46 ${BUILT-EMACS} -batch --no-init-file --no-site-file --multibyte
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
47
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
48 # Subdirectories to be made if ${srcdir} is different from the current
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
49 # directory.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
50 SUBDIRS=quail
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
51
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
52 # Files generated from TIT dictionaries for Chinese GB character set.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
53 TIT-GB=\
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
54 quail/CCDOSPY.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
55 quail/Punct.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
56 quail/QJ.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
57 quail/SW.elc \
37118
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
58 quail/TONEPY.elc
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
59
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
60 # Files generated from TIT dictionaries for Chinese BIG5 character set.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
61 TIT-BIG5=\
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
62 quail/4Corner.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
63 quail/ARRAY30.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
64 quail/ECDICT.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
65 quail/ETZY.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
66 quail/Punct-b5.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
67 quail/PY-b5.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
68 quail/QJ-b5.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
69 quail/ZOZY.elc
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
70
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
71 CHINESE-TIT=${TIT-GB} ${TIT-BIG5}
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
72
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
73 NON-TIT-GB=${srcdir}/quail/py-punct.elc
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
74
37118
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
75 NON-TIT-BIG5=${srcdir}/quail/pypunct-b5.elc
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
76
37118
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
77 CHINESE-NON-TIT=${NON-TIT-GB} ${NON-TIT-BIG5}
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
78
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
79 CHINESE-GB=${TIT-GB} ${NON-TIT-GB}
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
80
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
81 CHINESE-BIG5=${TIT-BIG5} ${NON-TIT-BIG5}
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
82
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
83 JAPANESE=${srcdir}/quail/japanese.elc ${srcdir}/ja-dic/ja-dic.elc
18673
751941736224 Initial revision
Kenichi Handa <handa@m17n.org>
parents:
diff changeset
84
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
85 KOREAN= ${srcdir}/quail/hangul.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
86 ${srcdir}/quail/hangul3.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
87 ${srcdir}/quail/hanja.elc \
37130
80b4a8d46cb5 (KOREAN): Add ${srcdir}/quail/hanja3.elc. From
Eli Zaretskii <eliz@gnu.org>
parents: 37128
diff changeset
88 ${srcdir}/quail/hanja3.elc \
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
89 ${srcdir}/quail/hanja-jis.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
90 ${srcdir}/quail/symbol-ksc.elc
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
91
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
92 THAI=${srcdir}/quail/thai.elc
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
93
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
94 VIETNAMESE=${srcdir}/quail/viqr.elc
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
95
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
96 LAO=${srcdir}/quail/lao.elc ${srcdir}/quail/lrt.elc
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
97
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
98 INDIAN=${srcdir}/quail/devanagari.elc
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
99
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
100 TIBETAN=${srcdir}/quail/tibetan.elc
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
101
35811
e3e5caa57043 (LATIN): Include ${srcdir}/quail/latin-alt.elc.
Kenichi Handa <handa@m17n.org>
parents: 35670
diff changeset
102 LATIN= ${srcdir}/quail/latin-pre.elc \
e3e5caa57043 (LATIN): Include ${srcdir}/quail/latin-alt.elc.
Kenichi Handa <handa@m17n.org>
parents: 35670
diff changeset
103 ${srcdir}/quail/latin-post.elc \
35837
eda9214571fb (LATIN): Include ${srcdir}/quail/latin-alt.elc.
Kenichi Handa <handa@m17n.org>
parents: 35811
diff changeset
104 ${srcdir}/quail/latin-alt.elc \
eda9214571fb (LATIN): Include ${srcdir}/quail/latin-alt.elc.
Kenichi Handa <handa@m17n.org>
parents: 35811
diff changeset
105 ${srcdir}/quail/latin-ltx.elc
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
106
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
107 SLAVIC= \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
108 ${srcdir}/quail/czech.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
109 ${srcdir}/quail/slovak.elc
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
110
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
111 GREEK=${srcdir}/quail/greek.elc
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
112
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
113 RUSSIAN=${srcdir}/quail/cyrillic.elc ${srcdir}/quail/cyril-jis.elc
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
114
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
115 MISC= \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
116 ${srcdir}/quail/ethiopic.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
117 ${srcdir}/quail/ipa.elc \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
118 ${srcdir}/quail/hebrew.elc
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
119
37118
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
120 MISC-DIC=\
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
121 quail/tsang-b5.elc \
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
122 quail/quick-b5.elc \
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
123 quail/tsang-cns.elc \
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
124 quail/quick-cns.elc \
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
125 quail/PY.elc \
37876
15a579a26248 2001-05-24 Andrew Choi <akochoi@i-cable.com>
Andrew Choi <akochoi@shaw.ca>
parents: 37216
diff changeset
126 quail/ZIRANMA.elc \
15a579a26248 2001-05-24 Andrew Choi <akochoi@i-cable.com>
Andrew Choi <akochoi@shaw.ca>
parents: 37216
diff changeset
127 quail/CTLau.elc \
37881
64c896104a04 2001-05-24 Andrew Choi <akochoi@i-cable.com>
Andrew Choi <akochoi@shaw.ca>
parents: 37876
diff changeset
128 quail/CTLau-b5.elc
37118
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
129
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
130 CHINESE=${CHINESE-GB} ${CHINESE-BIG5}
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
131 EASTASIA=${CHINESE} ${JAPANESE} ${KOREAN}
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
132 ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN} ${TIBETAN}
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
133 EUROPEAN=${LATIN} ${SLAVIC} ${GREEK} ${RUSSIAN}
37118
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
134 WORLD=${ASIA} ${EUROPEAN} ${MISC} ${MISC-DIC}
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
135
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
136 TIT=${CHINESE-TIT}
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
137 NON-TIT=${CHINESE-NON-TIT} ${JAPANESE} ${KOREAN} ${EUROPEAN} ${MISC}
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
138
33664
15b91d26a2d1 (.SUFFIXES): New target, include .elc .el.
Kenichi Handa <handa@m17n.org>
parents: 32251
diff changeset
139 .SUFFIXES: .elc .el
15b91d26a2d1 (.SUFFIXES): New target, include .elc .el.
Kenichi Handa <handa@m17n.org>
parents: 32251
diff changeset
140
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
141 .el.elc:
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
142 ${RUN-EMACS} -f batch-byte-compile $<
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
143
37118
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
144 all: ${BUILT-EMACS} ${SUBDIRS} ${TIT} ${MISC-DIC} leim-list.el
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
145
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
146 # To ensure that we can run Emacs. This target is ignored (never
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
147 # being hit) if a user changes default value of EMACS.
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
148 ${dot}${dot}/src/emacs:
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
149 cd ../src; ${MAKE} ${MFLAGS} emacs
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
150
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
151 ${SUBDIRS}:
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
152 mkdir $@
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
153 touch stamp-subdir
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
154
37128
382c74b6c8b1 (.NOTPARALLEL, .NO_PARALLEL): Add ${MISC-DIC}.
Eli Zaretskii <eliz@gnu.org>
parents: 37118
diff changeset
155 # The rules which generate ${TIT} and ${MISC-DIC} files create them all
382c74b6c8b1 (.NOTPARALLEL, .NO_PARALLEL): Add ${MISC-DIC}.
Eli Zaretskii <eliz@gnu.org>
parents: 37118
diff changeset
156 # in one go. So we need to prevent parallel execution for that target,
382c74b6c8b1 (.NOTPARALLEL, .NO_PARALLEL): Add ${MISC-DIC}.
Eli Zaretskii <eliz@gnu.org>
parents: 37118
diff changeset
157 # otherwise Emacs complains about files being locked. .NOTPARALLEL is
382c74b6c8b1 (.NOTPARALLEL, .NO_PARALLEL): Add ${MISC-DIC}.
Eli Zaretskii <eliz@gnu.org>
parents: 37118
diff changeset
158 # for GNU Make, .NO_PARALLEL is for other Make's.
382c74b6c8b1 (.NOTPARALLEL, .NO_PARALLEL): Add ${MISC-DIC}.
Eli Zaretskii <eliz@gnu.org>
parents: 37118
diff changeset
159 .NOTPARALLEL: ${TIT} ${MISC-DIC}
37062
3e8707a64e46 (.NOTPARALLEL, .NO_PARALLEL): New special targets.
Gerd Moellmann <gerd@gnu.org>
parents: 35837
diff changeset
160
37128
382c74b6c8b1 (.NOTPARALLEL, .NO_PARALLEL): Add ${MISC-DIC}.
Eli Zaretskii <eliz@gnu.org>
parents: 37118
diff changeset
161 .NO_PARALLEL: ${TIT} ${MISC-DIC}
37062
3e8707a64e46 (.NOTPARALLEL, .NO_PARALLEL): New special targets.
Gerd Moellmann <gerd@gnu.org>
parents: 35837
diff changeset
162
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
163 # Rule to generate quail/*.el from CXTERM-DIC/*.tit.
37062
3e8707a64e46 (.NOTPARALLEL, .NO_PARALLEL): New special targets.
Gerd Moellmann <gerd@gnu.org>
parents: 35837
diff changeset
164 # The "if [ -f $@ ]; then true; " part prevents parallel Make's
37078
85d54366b2b1 Fix wording of a comment for the ${TIT} rule.
Eli Zaretskii <eliz@gnu.org>
parents: 37072
diff changeset
165 # which don't honor .NOTPARALLEL, such as SGI's Make, from running
85d54366b2b1 Fix wording of a comment for the ${TIT} rule.
Eli Zaretskii <eliz@gnu.org>
parents: 37072
diff changeset
166 # this rule many times, one each for every file it creates.
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
167 ${TIT}:
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
168 if [ -d quail ]; then true; else make quail; fi
37062
3e8707a64e46 (.NOTPARALLEL, .NO_PARALLEL): New special targets.
Gerd Moellmann <gerd@gnu.org>
parents: 35837
diff changeset
169 if [ -f $@ ]; then true; else \
3e8707a64e46 (.NOTPARALLEL, .NO_PARALLEL): New special targets.
Gerd Moellmann <gerd@gnu.org>
parents: 35837
diff changeset
170 ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \
3e8707a64e46 (.NOTPARALLEL, .NO_PARALLEL): New special targets.
Gerd Moellmann <gerd@gnu.org>
parents: 35837
diff changeset
171 --eval '(batch-titdic-convert t)' -dir quail ${srcdir}/CXTERM-DIC; fi
3e8707a64e46 (.NOTPARALLEL, .NO_PARALLEL): New special targets.
Gerd Moellmann <gerd@gnu.org>
parents: 35837
diff changeset
172 if [ -f $@ ]; then true; else \
37072
08152533da68 (${TIT}): Fix whitespace.
Eli Zaretskii <eliz@gnu.org>
parents: 37062
diff changeset
173 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
08152533da68 (${TIT}): Fix whitespace.
Eli Zaretskii <eliz@gnu.org>
parents: 37062
diff changeset
174 -f batch-byte-compile ${TIT:.elc=.el}; fi
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
175
37118
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
176 # Rule to generate quail/*.el from MISC-DIC/*.
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
177 ${MISC-DIC}:
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
178 if [ -d quail ]; then true; else make quail; fi
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
179 if [ -f $@ ]; then true; else \
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
180 ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
181 -f batch-miscdic-convert -dir quail ${srcdir}/MISC-DIC; fi
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
182 if [ -f $@ ]; then true; else \
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
183 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
184 -f batch-byte-compile ${MISC-DIC:.elc=.el}; fi
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
185
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
186 leim-list.el: ${SUBDIRS} ${WORLD}
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
187 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
188 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
189 --eval "(update-leim-list-file \".\")" ; \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
190 else \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
191 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
192 --eval "(update-leim-list-file \".\" \"${srcdir}\")" ; \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
193 fi
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
194
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
195 install: all
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
196 if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
197 rm -rf ${INSTALLDIR}/leim-list.el; \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
198 rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/ja-dic ; \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
199 echo "Copying leim files to ${INSTALLDIR} ..." ; \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
200 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
201 tar -cf - leim-list.el quail ja-dic \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
202 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
203 else \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
204 tar -cf - leim-list.el quail \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
205 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
206 cd ${srcdir}; \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
207 tar -cf - quail/* ja-dic \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
208 | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
209 fi; \
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
210 else true; fi
37216
2c3b55c8be66 (install): Remove .cvsignore files.
Gerd Moellmann <gerd@gnu.org>
parents: 37130
diff changeset
211 -rm -f ${INSTALLDIR}/.cvsignore ${INSTALLDIR}/*/.cvsignore
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
212 -chmod -R a+r ${INSTALLDIR}
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
213
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
214 clean mostlyclean:
37118
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
215 rm -f ${TIT} ${NON-TIT} ${WORLD} ${TIT:.elc=.el} \
6aaaa52f72ac (TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc
Kenichi Handa <handa@m17n.org>
parents: 37078
diff changeset
216 ${MISC-DIC} ${MISC-DIC:.elc=.el} leim-list.el
31917
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
217
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
218 distclean maintainer-clean:
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
219 if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi
d9babe5e7c29 Make this the leim Makefile.in.
Gerd Moellmann <gerd@gnu.org>
parents: 31787
diff changeset
220 rm -f Makefile
35670
e177c50b5b2d (extraclean): added target so make doesn't die if
Bill Wohler <wohler@newt.com>
parents: 33664
diff changeset
221
e177c50b5b2d (extraclean): added target so make doesn't die if
Bill Wohler <wohler@newt.com>
parents: 33664
diff changeset
222 extraclean: distclean
e177c50b5b2d (extraclean): added target so make doesn't die if
Bill Wohler <wohler@newt.com>
parents: 33664
diff changeset
223 -rm -f *~ \#* m/?*~ s/?*~