Mercurial > emacs
annotate leim/Makefile.in @ 19195:09d4a6c290ae
(syms_of_xselect): Doc syntax fixes.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Wed, 06 Aug 1997 18:56:43 +0000 |
parents | a51718eb64d1 |
children | 6075ee381a9d |
rev | line source |
---|---|
18673 | 1 # Makefile for leim subdirectory in GNU Emacs. |
2 # Copyright (C) 1997 Electrotechnical Laboratory, JAPAN. | |
3 # Licensed to the Free Software Foundation. | |
4 | |
5 # This file is part of GNU Emacs. | |
6 | |
7 # GNU Emacs is free software; you can redistribute it and/or modify | |
8 # it under the terms of the GNU General Public License as published by | |
9 # the Free Software Foundation; either version 2, or (at your option) | |
10 # any later version. | |
11 # | |
12 # GNU Emacs is distributed in the hope that it will be useful, | |
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 # GNU General Public License for more details. | |
16 # | |
17 # You should have received a copy of the GNU General Public License | |
18 # along with GNU Emacs; see the file COPYING. If not, write to the | |
19 # Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
20 # Boston, MA 02111-1307, USA. | |
21 | |
22 # Avoid trouble on systems where the `SHELL' variable might be | |
23 # inherited from the environment. | |
24 SHELL = /bin/sh | |
25 | |
26 # Here are the things that we expect ../configure to edit. | |
27 version=@version@ | |
28 prefix=@prefix@ | |
29 datadir=@datadir@ | |
30 srcdir=@srcdir@ | |
31 | |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
32 # Where to install LEIM files. |
18673 | 33 INSTALLDIR=${datadir}/emacs/${version}/leim |
34 | |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
35 # On Xenix and the IBM RS6000, double-dot gets screwed up. |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
36 dot = . |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
37 dotdot = ${dot}${dot} |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
38 |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
39 # Which Emacs to use to convert TIT files to Emacs Lisp files, |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
40 # byte-compile Emacs Lisp files, and generate the file leim-list.el. |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
41 EMACS = ${dot}${dot}/src/emacs |
18673 | 42 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
43 buildlisppath=${srcdir}/${dot}${dot}/lisp |
18673 | 44 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
45 # How to run Emacs. This forces Emacs to use new Emacs Lisp libraries. |
18967
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
46 RUN-EMACS = ${EMACS} -batch |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
47 |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
48 # Subdirectories to be made if ${srcdir} is different from the current |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
49 # directory. |
18673 | 50 SUBDIRS=quail skk |
51 | |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
52 # Files generated from TIT dictionaries for Chinese GB character set. |
18802
82ddbecd903d
Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
53 TIT-GB=\ |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
54 quail/CTLau.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
55 quail/CCDOSPY.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
56 quail/Punct.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
57 quail/PY.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
58 quail/QJ.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
59 quail/SW.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
60 quail/TONEPY.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
61 quail/ZIRANMA.el |
18802
82ddbecd903d
Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
62 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
63 # Files generated from TIT dictionaries for Chinese BIG5 character set. |
18802
82ddbecd903d
Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
64 TIT-BIG5=\ |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
65 quail/4Corner.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
66 quail/ARRAY30.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
67 quail/CTLauB.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
68 quail/ECDICT.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
69 quail/ETZY.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
70 quail/Punct-b5.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
71 quail/PY-b5.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
72 quail/QJ-b5.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
73 quail/ZOZY.el |
18802
82ddbecd903d
Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
74 |
18967
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
75 TIT=${TIT-GB} ${TIT-BIG5} |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
76 |
18802
82ddbecd903d
Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
77 CHINESE-GB=${TIT-GB} \ |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
78 quail/py-punct.el |
18802
82ddbecd903d
Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
79 |
82ddbecd903d
Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
80 CHINESE-BIG5=${TIT-BIG5} \ |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
81 quail/quick-b5.el quail/tsangchi-b5.el quail/py-punct-b5.el |
18802
82ddbecd903d
Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
82 |
18967
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
83 CHINESE-CNS=quail/quick-cns.el quail/tsangchi-cns.el |
18673 | 84 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
85 JAPANESE=quail/japanese.el skk/skkdic.el |
18673 | 86 |
18967
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
87 KOREAN= quail/hangul.el \ |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
88 quail/hangul3.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
89 quail/hanja.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
90 quail/hanja-jis.el \ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
91 quail/symbol-ksc.el |
18673 | 92 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
93 THAI=quail/thai.el |
18673 | 94 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
95 VIETNAMESE=quail/viqr.el |
18673 | 96 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
97 LAO=quail/lao.el quail/lrt.el |
18673 | 98 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
99 INDIAN=quail/devanagari.el |
18673 | 100 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
101 TIBETAN=quail/tibetan.el |
18673 | 102 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
103 LATIN=quail/latin-pre.el quail/latin-post.el |
18673 | 104 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
105 GREEK=quail/greek.el |
18673 | 106 |
19151
a51718eb64d1
(RUSSIAN): Add quail/cyril-jis.el.
Kenichi Handa <handa@m17n.org>
parents:
18967
diff
changeset
|
107 RUSSIAN=quail/cyrillic.el quail/cyril-jis.el |
18673 | 108 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
109 MISC=quail/ethiopic.el quail/ipa.el |
18673 | 110 |
111 CHINESE=${CHINESE-GB} ${CHINESE-BIG5} ${CHINESE-CNS} | |
112 EASTASIA=${CHINESE} ${JAPANESE} ${KOREAN} | |
18967
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
113 ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN} ${TIBETAN} |
18673 | 114 EUROPEAN=${LATIN} ${GREEK} ${RUSSIAN} |
115 WORLD=${ASIA} ${EUROPEAN} ${MISC} | |
116 | |
18967
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
117 all: ${EMACS} ${SUBDIRS} ${WORLD} leim-list.el |
18673 | 118 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
119 # To ensure that we can run Emacs. This target is ignored (never |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
120 # being hit) if a user changes default value of EMACS. |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
121 ${dot}${dot}/src/emacs: |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
122 cd ../src; ${MAKE} ${MFLAGS} emacs |
18673 | 123 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
124 ${SUBDIRS}: |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
125 mkdir $@ |
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
126 touch stamp-subdir |
18673 | 127 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
128 # Rule to generate quail/*.el from CXTERM-DIC/*.tit. |
18967
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
129 ${TIT}: |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
130 ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \ |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
131 --eval '(batch-titdic-convert t)' -dir quail ${srcdir}/CXTERM-DIC |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
132 ${RUN-EMACS} -f batch-byte-compile ${TIT} |
18673 | 133 |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
134 # Emacs Lisp source files not generated from TIT dictionaries are |
18967
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
135 # distributed as is. So, hitting this target means that ${srcdir} is |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
136 # different from the current directory. In this case, we just make |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
137 # links. |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
138 %.el: |
18903
0d699fd569cb
Use @LN_S@, not ln -s, in case no symlink support.
Richard M. Stallman <rms@gnu.org>
parents:
18832
diff
changeset
|
139 @LN_S@ ${srcdir}/$@ $@ |
18967
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
140 @LN_S@ ${srcdir}/$@c $@c |
18673 | 141 |
18967
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
142 leim-list.el: ${SUBDIRS} ${WORLD} |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
143 ${RUN-EMACS} -l ${buildlisppath}/international/quail \ |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
144 --eval "(update-leim-list-file \".\")" |
18673 | 145 |
146 install: all | |
18967
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
147 if [ x`(cd ${INSTALLDIR}; /bin/pwd)` != x`(/bin/pwd)` ] ; then \ |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
148 rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/skk ; \ |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
149 echo "Copying leim/quail/* and leim/skk/* to ${INSTALLDIR} ..." ; \ |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
150 tar -chf - ${SUBDIRS} | (cd ${INSTALLDIR}; umask 0; tar -xvf -) ; \ |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
151 else true; fi |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
152 ${RUN-EMACS} -l ${buildlisppath}/international/quail \ |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
153 --eval "(update-leim-list-file \"${INSTALLDIR}\")" |
18673 | 154 |
18967
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
155 clean mostlyclean: |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
156 ELC=`echo ${TIT} | sed 's/\.el/.elc/g'`; \ |
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
157 rm -f ${TIT} $$ELC leim-list.el |
18673 | 158 |
18967
201c96faf29b
(TIT): New variable, contatination of TIT-GB and TIT-BIG5.
Kenichi Handa <handa@m17n.org>
parents:
18930
diff
changeset
|
159 distclean maintainer-clean: |
18832
f08b8f993e3a
Modified to avoid *.el files being regarded
Kenichi Handa <handa@m17n.org>
parents:
18802
diff
changeset
|
160 if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi |
18802
82ddbecd903d
Rules re-written to avoid tricky code.
Kenichi Handa <handa@m17n.org>
parents:
18673
diff
changeset
|
161 rm -f Makefile |