diff options
| -rw-r--r-- | leim/Makefile.in | 195 |
1 files changed, 189 insertions, 6 deletions
diff --git a/leim/Makefile.in b/leim/Makefile.in index 776a1ecb642..b671663f24a 100644 --- a/leim/Makefile.in +++ b/leim/Makefile.in | |||
| @@ -1,7 +1,190 @@ | |||
| 1 | # This placeholder appears in the `leim' subdirectory in the Emacs | 1 | # Makefile for leim subdirectory in GNU Emacs. |
| 2 | # distribution. It is is overwritten with a real makefile | 2 | # Copyright (C) 1997 Electrotechnical Laboratory, JAPAN. |
| 3 | # when you actually extract LEIM into the directory. | 3 | # Licensed to the Free Software Foundation. |
| 4 | all install: | ||
| 5 | 4 | ||
| 6 | # Avoid error when these targets are used. | 5 | # This file is part of GNU Emacs. |
| 7 | clean distclean mostlyclean maintainer-clean: | 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 | |||
| 32 | # Where to install LEIM files. | ||
| 33 | INSTALLDIR=${datadir}/emacs/${version}/leim | ||
| 34 | |||
| 35 | # On Xenix and the IBM RS6000, double-dot gets screwed up. | ||
| 36 | dot = . | ||
| 37 | |||
| 38 | # Which Emacs to use to convert TIT files to Emacs Lisp files, | ||
| 39 | # byte-compile Emacs Lisp files, and generate the file leim-list.el. | ||
| 40 | BUILT-EMACS = ${dot}${dot}/src/emacs | ||
| 41 | |||
| 42 | buildlisppath=${srcdir}/${dot}${dot}/lisp | ||
| 43 | |||
| 44 | # How to run Emacs. | ||
| 45 | RUN-EMACS = EMACSLOADPATH=$(buildlisppath) \ | ||
| 46 | ${BUILT-EMACS} -batch --no-init-file --no-site-file --multibyte | ||
| 47 | |||
| 48 | # Subdirectories to be made if ${srcdir} is different from the current | ||
| 49 | # directory. | ||
| 50 | SUBDIRS=quail | ||
| 51 | |||
| 52 | # Files generated from TIT dictionaries for Chinese GB character set. | ||
| 53 | TIT-GB=\ | ||
| 54 | quail/CTLau.elc \ | ||
| 55 | quail/CCDOSPY.elc \ | ||
| 56 | quail/Punct.elc \ | ||
| 57 | quail/PY.elc \ | ||
| 58 | quail/QJ.elc \ | ||
| 59 | quail/SW.elc \ | ||
| 60 | quail/TONEPY.elc \ | ||
| 61 | quail/ZIRANMA.elc | ||
| 62 | |||
| 63 | # Files generated from TIT dictionaries for Chinese BIG5 character set. | ||
| 64 | TIT-BIG5=\ | ||
| 65 | quail/4Corner.elc \ | ||
| 66 | quail/ARRAY30.elc \ | ||
| 67 | quail/CTLauB.elc \ | ||
| 68 | quail/ECDICT.elc \ | ||
| 69 | quail/ETZY.elc \ | ||
| 70 | quail/Punct-b5.elc \ | ||
| 71 | quail/PY-b5.elc \ | ||
| 72 | quail/QJ-b5.elc \ | ||
| 73 | quail/ZOZY.elc | ||
| 74 | |||
| 75 | CHINESE-TIT=${TIT-GB} ${TIT-BIG5} | ||
| 76 | |||
| 77 | NON-TIT-GB=${srcdir}/quail/py-punct.elc | ||
| 78 | |||
| 79 | NON-TIT-BIG5=${srcdir}/quail/quick-b5.elc ${srcdir}/quail/tsang-b5.elc \ | ||
| 80 | ${srcdir}/quail/pypunct-b5.elc | ||
| 81 | |||
| 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 | |||
| 86 | CHINESE-GB=${TIT-GB} ${NON-TIT-GB} | ||
| 87 | |||
| 88 | CHINESE-BIG5=${TIT-BIG5} ${NON-TIT-BIG5} | ||
| 89 | |||
| 90 | CHINESE-CNS=${NON-TIT-CNS} | ||
| 91 | |||
| 92 | JAPANESE=${srcdir}/quail/japanese.elc ${srcdir}/ja-dic/ja-dic.elc | ||
| 93 | |||
| 94 | KOREAN= ${srcdir}/quail/hangul.elc \ | ||
| 95 | ${srcdir}/quail/hangul3.elc \ | ||
| 96 | ${srcdir}/quail/hanja.elc \ | ||
| 97 | ${srcdir}/quail/hanja-jis.elc \ | ||
| 98 | ${srcdir}/quail/symbol-ksc.elc | ||
| 99 | |||
| 100 | THAI=${srcdir}/quail/thai.elc | ||
| 101 | |||
| 102 | VIETNAMESE=${srcdir}/quail/viqr.elc | ||
| 103 | |||
| 104 | LAO=${srcdir}/quail/lao.elc ${srcdir}/quail/lrt.elc | ||
| 105 | |||
| 106 | INDIAN=${srcdir}/quail/devanagari.elc | ||
| 107 | |||
| 108 | TIBETAN=${srcdir}/quail/tibetan.elc | ||
| 109 | |||
| 110 | LATIN=${srcdir}/quail/latin-pre.elc ${srcdir}/quail/latin-post.elc | ||
| 111 | |||
| 112 | SLAVIC= \ | ||
| 113 | ${srcdir}/quail/czech.elc \ | ||
| 114 | ${srcdir}/quail/slovak.elc | ||
| 115 | |||
| 116 | GREEK=${srcdir}/quail/greek.elc | ||
| 117 | |||
| 118 | RUSSIAN=${srcdir}/quail/cyrillic.elc ${srcdir}/quail/cyril-jis.elc | ||
| 119 | |||
| 120 | MISC= \ | ||
| 121 | ${srcdir}/quail/ethiopic.elc \ | ||
| 122 | ${srcdir}/quail/ipa.elc \ | ||
| 123 | ${srcdir}/quail/hebrew.elc | ||
| 124 | |||
| 125 | CHINESE=${CHINESE-GB} ${CHINESE-BIG5} ${CHINESE-CNS} | ||
| 126 | EASTASIA=${CHINESE} ${JAPANESE} ${KOREAN} | ||
| 127 | ASIA=${EASTASIA} ${THAI} ${VIETNAMESE} ${LAO} ${INDIAN} ${TIBETAN} | ||
| 128 | EUROPEAN=${LATIN} ${SLAVIC} ${GREEK} ${RUSSIAN} | ||
| 129 | WORLD=${ASIA} ${EUROPEAN} ${MISC} | ||
| 130 | |||
| 131 | TIT=${CHINESE-TIT} | ||
| 132 | NON-TIT=${CHINESE-NON-TIT} ${JAPANESE} ${KOREAN} ${EUROPEAN} ${MISC} | ||
| 133 | |||
| 134 | .el.elc: | ||
| 135 | ${RUN-EMACS} -f batch-byte-compile $< | ||
| 136 | |||
| 137 | all: ${BUILT-EMACS} ${SUBDIRS} ${TIT} leim-list.el | ||
| 138 | |||
| 139 | # To ensure that we can run Emacs. This target is ignored (never | ||
| 140 | # being hit) if a user changes default value of EMACS. | ||
| 141 | ${dot}${dot}/src/emacs: | ||
| 142 | cd ../src; ${MAKE} ${MFLAGS} emacs | ||
| 143 | |||
| 144 | ${SUBDIRS}: | ||
| 145 | mkdir $@ | ||
| 146 | touch stamp-subdir | ||
| 147 | |||
| 148 | # Rule to generate quail/*.el from CXTERM-DIC/*.tit. | ||
| 149 | ${TIT}: | ||
| 150 | if [ -d quail ]; then true; else make quail; fi | ||
| 151 | ${RUN-EMACS} -l ${buildlisppath}/international/titdic-cnv \ | ||
| 152 | --eval '(batch-titdic-convert t)' -dir quail ${srcdir}/CXTERM-DIC | ||
| 153 | EL=`echo ${TIT} | sed 's/\.elc/\.el/g'`; \ | ||
| 154 | ${RUN-EMACS} -l ${buildlisppath}/international/quail \ | ||
| 155 | -f batch-byte-compile $$EL | ||
| 156 | |||
| 157 | leim-list.el: ${SUBDIRS} ${WORLD} | ||
| 158 | if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \ | ||
| 159 | ${RUN-EMACS} -l ${buildlisppath}/international/quail \ | ||
| 160 | --eval "(update-leim-list-file \".\")" ; \ | ||
| 161 | else \ | ||
| 162 | ${RUN-EMACS} -l ${buildlisppath}/international/quail \ | ||
| 163 | --eval "(update-leim-list-file \".\" \"${srcdir}\")" ; \ | ||
| 164 | fi | ||
| 165 | |||
| 166 | install: all | ||
| 167 | if [ x`(cd ${INSTALLDIR} && /bin/pwd)` != x`(/bin/pwd)` ] ; then \ | ||
| 168 | rm -rf ${INSTALLDIR}/leim-list.el; \ | ||
| 169 | rm -rf ${INSTALLDIR}/quail ${INSTALLDIR}/ja-dic ; \ | ||
| 170 | echo "Copying leim files to ${INSTALLDIR} ..." ; \ | ||
| 171 | if [ x`(cd ${srcdir} && /bin/pwd)` = x`(/bin/pwd)` ] ; then \ | ||
| 172 | tar -cf - leim-list.el quail ja-dic \ | ||
| 173 | | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\ | ||
| 174 | else \ | ||
| 175 | tar -cf - leim-list.el quail \ | ||
| 176 | | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\ | ||
| 177 | cd ${srcdir}; \ | ||
| 178 | tar -cf - quail/* ja-dic \ | ||
| 179 | | (cd ${INSTALLDIR}; umask 0; tar -xvf - && cat > /dev/null) ;\ | ||
| 180 | fi; \ | ||
| 181 | else true; fi | ||
| 182 | -chmod -R a+r ${INSTALLDIR} | ||
| 183 | |||
| 184 | clean mostlyclean: | ||
| 185 | EL=`echo ${TIT} | sed 's/\.elc/.el/g'`; \ | ||
| 186 | rm -f ${TIT} ${NON-TIT} ${WORLD} $$EL leim-list.el | ||
| 187 | |||
| 188 | distclean maintainer-clean: | ||
| 189 | if test -f stamp-subdir; then rm -rf ${SUBDIRS} stamp-subdir; fi | ||
| 190 | rm -f Makefile | ||