comparison leim/Makefile.in @ 37118:6aaaa52f72ac

(TIT-GB): Delete quail/PY.elc and quail/ZIRANMA.elc (NON-TIT-BIG5): Delete ${srcdir}/quail/quick-b5.elc ${srcdir}/quail/tsang-b5.elc. (CHINESE-NON-TIT): Delete ${NON-TIT-CNS}. (CHINESE-CNS): Delete it. (MISC-DIC): New variable. (CHINESE): Delete ${CHINESE-CNS}. (WORLD): Delete ${MISC-DIC}. (all): Depends on ${MISC-DIC}. (${MISC-DIC}): New target. (clean mostlyclean): Delete also ${MISC-DIC} ${MISC-DIC:.elc=.el}.
author Kenichi Handa <handa@m17n.org>
date Sat, 31 Mar 2001 02:23:04 +0000
parents 85d54366b2b1
children 382c74b6c8b1
comparison
equal deleted inserted replaced
37117:17b120bee51b 37118:6aaaa52f72ac
52 # Files generated from TIT dictionaries for Chinese GB character set. 52 # Files generated from TIT dictionaries for Chinese GB character set.
53 TIT-GB=\ 53 TIT-GB=\
54 quail/CTLau.elc \ 54 quail/CTLau.elc \
55 quail/CCDOSPY.elc \ 55 quail/CCDOSPY.elc \
56 quail/Punct.elc \ 56 quail/Punct.elc \
57 quail/PY.elc \
58 quail/QJ.elc \ 57 quail/QJ.elc \
59 quail/SW.elc \ 58 quail/SW.elc \
60 quail/TONEPY.elc \ 59 quail/TONEPY.elc
61 quail/ZIRANMA.elc
62 60
63 # Files generated from TIT dictionaries for Chinese BIG5 character set. 61 # Files generated from TIT dictionaries for Chinese BIG5 character set.
64 TIT-BIG5=\ 62 TIT-BIG5=\
65 quail/4Corner.elc \ 63 quail/4Corner.elc \
66 quail/ARRAY30.elc \ 64 quail/ARRAY30.elc \
74 72
75 CHINESE-TIT=${TIT-GB} ${TIT-BIG5} 73 CHINESE-TIT=${TIT-GB} ${TIT-BIG5}
76 74
77 NON-TIT-GB=${srcdir}/quail/py-punct.elc 75 NON-TIT-GB=${srcdir}/quail/py-punct.elc
78 76
79 NON-TIT-BIG5=${srcdir}/quail/quick-b5.elc ${srcdir}/quail/tsang-b5.elc \ 77 NON-TIT-BIG5=${srcdir}/quail/pypunct-b5.elc
80 ${srcdir}/quail/pypunct-b5.elc 78
81 79 CHINESE-NON-TIT=${NON-TIT-GB} ${NON-TIT-BIG5}
82 NON-TIT-CNS=${srcdir}/quail/quick-cns.elc ${srcdir}/quail/tsang-cns.elc
83
84 CHINESE-NON-TIT=${NON-TIT-GB} ${NON-TIT-BIG5} ${NON-TIT-CNS}
85 80
86 CHINESE-GB=${TIT-GB} ${NON-TIT-GB} 81 CHINESE-GB=${TIT-GB} ${NON-TIT-GB}
87 82
88 CHINESE-BIG5=${TIT-BIG5} ${NON-TIT-BIG5} 83 CHINESE-BIG5=${TIT-BIG5} ${NON-TIT-BIG5}
89
90 CHINESE-CNS=${NON-TIT-CNS}
91 84
92 JAPANESE=${srcdir}/quail/japanese.elc ${srcdir}/ja-dic/ja-dic.elc 85 JAPANESE=${srcdir}/quail/japanese.elc ${srcdir}/ja-dic/ja-dic.elc
93 86
94 KOREAN= ${srcdir}/quail/hangul.elc \ 87 KOREAN= ${srcdir}/quail/hangul.elc \
95 ${srcdir}/quail/hangul3.elc \ 88 ${srcdir}/quail/hangul3.elc \
123 MISC= \ 116 MISC= \
124 ${srcdir}/quail/ethiopic.elc \ 117 ${srcdir}/quail/ethiopic.elc \
125 ${srcdir}/quail/ipa.elc \ 118 ${srcdir}/quail/ipa.elc \
126 ${srcdir}/quail/hebrew.elc 119 ${srcdir}/quail/hebrew.elc
127 120
128 CHINESE=${CHINESE-GB} ${CHINESE-BIG5} ${CHINESE-CNS} 121 MISC-DIC=\
122 quail/tsang-b5.elc \
123 quail/quick-b5.elc \
124 quail/tsang-cns.elc \
125 quail/quick-cns.elc \
126 quail/PY.elc \
127 quail/ZIRANMA.elc
128
129 CHINESE=${CHINESE-GB} ${CHINESE-BIG5}
129 EASTASIA=${CHINESE} ${JAPANESE} ${KOREAN} 130 EASTASIA=${CHINESE} ${JAPANESE} ${KOREAN}
130 ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN} ${TIBETAN} 131 ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN} ${TIBETAN}
131 EUROPEAN=${LATIN} ${SLAVIC} ${GREEK} ${RUSSIAN} 132 EUROPEAN=${LATIN} ${SLAVIC} ${GREEK} ${RUSSIAN}
132 WORLD=${ASIA} ${EUROPEAN} ${MISC} 133 WORLD=${ASIA} ${EUROPEAN} ${MISC} ${MISC-DIC}
133 134
134 TIT=${CHINESE-TIT} 135 TIT=${CHINESE-TIT}
135 NON-TIT=${CHINESE-NON-TIT} ${JAPANESE} ${KOREAN} ${EUROPEAN} ${MISC} 136 NON-TIT=${CHINESE-NON-TIT} ${JAPANESE} ${KOREAN} ${EUROPEAN} ${MISC}
136 137
137 .SUFFIXES: .elc .el 138 .SUFFIXES: .elc .el
138 139
139 .el.elc: 140 .el.elc:
140 ${RUN-EMACS} -f batch-byte-compile $< 141 ${RUN-EMACS} -f batch-byte-compile $<
141 142
142 all: ${BUILT-EMACS} ${SUBDIRS} ${TIT} leim-list.el 143 all: ${BUILT-EMACS} ${SUBDIRS} ${TIT} ${MISC-DIC} leim-list.el
143 144
144 # To ensure that we can run Emacs. This target is ignored (never 145 # To ensure that we can run Emacs. This target is ignored (never
145 # being hit) if a user changes default value of EMACS. 146 # being hit) if a user changes default value of EMACS.
146 ${dot}${dot}/src/emacs: 147 ${dot}${dot}/src/emacs:
147 cd ../src; ${MAKE} ${MFLAGS} emacs 148 cd ../src; ${MAKE} ${MFLAGS} emacs
168 ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \ 169 ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \
169 --eval '(batch-titdic-convert t)' -dir quail ${srcdir}/CXTERM-DIC; fi 170 --eval '(batch-titdic-convert t)' -dir quail ${srcdir}/CXTERM-DIC; fi
170 if [ -f $@ ]; then true; else \ 171 if [ -f $@ ]; then true; else \
171 ${RUN-EMACS} -l ${buildlisppath}/international/quail \ 172 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
172 -f batch-byte-compile ${TIT:.elc=.el}; fi 173 -f batch-byte-compile ${TIT:.elc=.el}; fi
174
175 # Rule to generate quail/*.el from MISC-DIC/*.
176 ${MISC-DIC}:
177 if [ -d quail ]; then true; else make quail; fi
178 if [ -f $@ ]; then true; else \
179 ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \
180 -f batch-miscdic-convert -dir quail ${srcdir}/MISC-DIC; fi
181 if [ -f $@ ]; then true; else \
182 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
183 -f batch-byte-compile ${MISC-DIC:.elc=.el}; fi
173 184
174 leim-list.el: ${SUBDIRS} ${WORLD} 185 leim-list.el: ${SUBDIRS} ${WORLD}
175 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \ 186 if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \
176 ${RUN-EMACS} -l ${buildlisppath}/international/quail \ 187 ${RUN-EMACS} -l ${buildlisppath}/international/quail \
177 --eval "(update-leim-list-file \".\")" ; \ 188 --eval "(update-leim-list-file \".\")" ; \
197 fi; \ 208 fi; \
198 else true; fi 209 else true; fi
199 -chmod -R a+r ${INSTALLDIR} 210 -chmod -R a+r ${INSTALLDIR}
200 211
201 clean mostlyclean: 212 clean mostlyclean:
202 rm -f ${TIT} ${NON-TIT} ${WORLD} ${TIT:.elc=.el} leim-list.el 213 rm -f ${TIT} ${NON-TIT} ${WORLD} ${TIT:.elc=.el} \
214 ${MISC-DIC} ${MISC-DIC:.elc=.el} leim-list.el
203 215
204 distclean maintainer-clean: 216 distclean maintainer-clean:
205 if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi 217 if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi
206 rm -f Makefile 218 rm -f Makefile
207 219