diff options
| author | Andrew Innes | 2001-02-06 15:59:00 +0000 |
|---|---|---|
| committer | Andrew Innes | 2001-02-06 15:59:00 +0000 |
| commit | bc4016af93c7085ec725be2a6ce95f5f129529e7 (patch) | |
| tree | 1c6ab4ec9cbc65e32c9fa143b8b1ec4b76efffd1 | |
| parent | 587b5737885e70e6b24dade90c470ae36b1613f7 (diff) | |
| download | emacs-bc4016af93c7085ec725be2a6ce95f5f129529e7.tar.gz emacs-bc4016af93c7085ec725be2a6ce95f5f129529e7.zip | |
Convert back to Unix line endings.
| -rw-r--r-- | leim/makefile.w32-in | 350 |
1 files changed, 175 insertions, 175 deletions
diff --git a/leim/makefile.w32-in b/leim/makefile.w32-in index c549b0e74b9..60612faf257 100644 --- a/leim/makefile.w32-in +++ b/leim/makefile.w32-in | |||
| @@ -1,175 +1,175 @@ | |||
| 1 | # Makefile for leim subdirectory in GNU Emacs on the Microsoft W32 API. | 1 | # Makefile for leim subdirectory in GNU Emacs on the Microsoft W32 API. |
| 2 | # Copyright (C) 1997 Electrotechnical Laboratory, JAPAN. | 2 | # Copyright (C) 1997 Electrotechnical Laboratory, JAPAN. |
| 3 | # Licensed to the Free Software Foundation. | 3 | # Licensed to the Free Software Foundation. |
| 4 | 4 | ||
| 5 | # This file is part of GNU Emacs. | 5 | # This file is part of GNU Emacs. |
| 6 | 6 | ||
| 7 | # GNU Emacs is free software; you can redistribute it and/or modify | 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 | 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) | 9 | # the Free Software Foundation; either version 2, or (at your option) |
| 10 | # any later version. | 10 | # any later version. |
| 11 | # | 11 | # |
| 12 | # GNU Emacs is distributed in the hope that it will be useful, | 12 | # GNU Emacs is distributed in the hope that it will be useful, |
| 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 | # GNU General Public License for more details. | 15 | # GNU General Public License for more details. |
| 16 | # | 16 | # |
| 17 | # You should have received a copy of the GNU General Public License | 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 | 18 | # along with GNU Emacs; see the file COPYING. If not, write to the |
| 19 | # Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 19 | # Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 20 | # Boston, MA 02111-1307, USA. | 20 | # Boston, MA 02111-1307, USA. |
| 21 | 21 | ||
| 22 | srcdir=. | 22 | srcdir=. |
| 23 | 23 | ||
| 24 | # Where to install LEIM files. | 24 | # Where to install LEIM files. |
| 25 | INSTALLDIR=$(INSTALL_DIR)/leim | 25 | INSTALLDIR=$(INSTALL_DIR)/leim |
| 26 | 26 | ||
| 27 | # On Xenix and the IBM RS6000, double-dot gets screwed up. | 27 | # On Xenix and the IBM RS6000, double-dot gets screwed up. |
| 28 | dot = . | 28 | dot = . |
| 29 | 29 | ||
| 30 | # Which Emacs to use to convert TIT files to Emacs Lisp files, | 30 | # Which Emacs to use to convert TIT files to Emacs Lisp files, |
| 31 | # byte-compile Emacs Lisp files, and generate the file leim-list.el. | 31 | # byte-compile Emacs Lisp files, and generate the file leim-list.el. |
| 32 | BUILT_EMACS = $(THISDIR)/$(dot)$(dot)/src/$(BLD)/emacs.exe | 32 | BUILT_EMACS = $(THISDIR)/$(dot)$(dot)/src/$(BLD)/emacs.exe |
| 33 | 33 | ||
| 34 | buildlisppath=$(CURDIR)/$(dot)$(dot)/lisp | 34 | buildlisppath=$(CURDIR)/$(dot)$(dot)/lisp |
| 35 | 35 | ||
| 36 | # How to run Emacs. | 36 | # How to run Emacs. |
| 37 | RUN_EMACS = "$(BUILT_EMACS)" -batch --no-init-file --no-site-file --multibyte | 37 | RUN_EMACS = "$(BUILT_EMACS)" -batch --no-init-file --no-site-file --multibyte |
| 38 | 38 | ||
| 39 | # Subdirectories to be made if $(srcdir) is different from the current | 39 | # Subdirectories to be made if $(srcdir) is different from the current |
| 40 | # directory. | 40 | # directory. |
| 41 | SUBDIRS=quail | 41 | SUBDIRS=quail |
| 42 | 42 | ||
| 43 | # Files generated from TIT dictionaries for Chinese GB character set. | 43 | # Files generated from TIT dictionaries for Chinese GB character set. |
| 44 | TIT_GB=\ | 44 | TIT_GB=\ |
| 45 | quail/CTLau.elc \ | 45 | quail/CTLau.elc \ |
| 46 | quail/CCDOSPY.elc \ | 46 | quail/CCDOSPY.elc \ |
| 47 | quail/Punct.elc \ | 47 | quail/Punct.elc \ |
| 48 | quail/PY.elc \ | 48 | quail/PY.elc \ |
| 49 | quail/QJ.elc \ | 49 | quail/QJ.elc \ |
| 50 | quail/SW.elc \ | 50 | quail/SW.elc \ |
| 51 | quail/TONEPY.elc \ | 51 | quail/TONEPY.elc \ |
| 52 | quail/ZIRANMA.elc | 52 | quail/ZIRANMA.elc |
| 53 | 53 | ||
| 54 | # Files generated from TIT dictionaries for Chinese BIG5 character set. | 54 | # Files generated from TIT dictionaries for Chinese BIG5 character set. |
| 55 | TIT_BIG5=\ | 55 | TIT_BIG5=\ |
| 56 | quail/4Corner.elc \ | 56 | quail/4Corner.elc \ |
| 57 | quail/ARRAY30.elc \ | 57 | quail/ARRAY30.elc \ |
| 58 | quail/CTLauB.elc \ | 58 | quail/CTLauB.elc \ |
| 59 | quail/ECDICT.elc \ | 59 | quail/ECDICT.elc \ |
| 60 | quail/ETZY.elc \ | 60 | quail/ETZY.elc \ |
| 61 | quail/Punct-b5.elc \ | 61 | quail/Punct-b5.elc \ |
| 62 | quail/PY-b5.elc \ | 62 | quail/PY-b5.elc \ |
| 63 | quail/QJ-b5.elc \ | 63 | quail/QJ-b5.elc \ |
| 64 | quail/ZOZY.elc | 64 | quail/ZOZY.elc |
| 65 | 65 | ||
| 66 | CHINESE_TIT=$(TIT_GB) $(TIT_BIG5) | 66 | CHINESE_TIT=$(TIT_GB) $(TIT_BIG5) |
| 67 | 67 | ||
| 68 | NON_TIT_GB=$(srcdir)/quail/py-punct.elc | 68 | NON_TIT_GB=$(srcdir)/quail/py-punct.elc |
| 69 | 69 | ||
| 70 | NON_TIT_BIG5=$(srcdir)/quail/quick-b5.elc $(srcdir)/quail/tsang-b5.elc \ | 70 | NON_TIT_BIG5=$(srcdir)/quail/quick-b5.elc $(srcdir)/quail/tsang-b5.elc \ |
| 71 | $(srcdir)/quail/pypunct-b5.elc | 71 | $(srcdir)/quail/pypunct-b5.elc |
| 72 | 72 | ||
| 73 | NON_TIT_CNS=$(srcdir)/quail/quick-cns.elc $(srcdir)/quail/tsang-cns.elc | 73 | NON_TIT_CNS=$(srcdir)/quail/quick-cns.elc $(srcdir)/quail/tsang-cns.elc |
| 74 | 74 | ||
| 75 | CHINESE_NON_TIT=$(NON_TIT_GB) $(NON_TIT_BIG5) $(NON_TIT_CNS) | 75 | CHINESE_NON_TIT=$(NON_TIT_GB) $(NON_TIT_BIG5) $(NON_TIT_CNS) |
| 76 | 76 | ||
| 77 | CHINESE_GB=$(TIT_GB) $(NON_TIT_GB) | 77 | CHINESE_GB=$(TIT_GB) $(NON_TIT_GB) |
| 78 | 78 | ||
| 79 | CHINESE_BIG5=$(TIT_BIG5) $(NON_TIT_BIG5) | 79 | CHINESE_BIG5=$(TIT_BIG5) $(NON_TIT_BIG5) |
| 80 | 80 | ||
| 81 | CHINESE_CNS=$(NON_TIT_CNS) | 81 | CHINESE_CNS=$(NON_TIT_CNS) |
| 82 | 82 | ||
| 83 | JAPANESE=$(srcdir)/quail/japanese.elc $(srcdir)/ja-dic/ja-dic.elc | 83 | JAPANESE=$(srcdir)/quail/japanese.elc $(srcdir)/ja-dic/ja-dic.elc |
| 84 | 84 | ||
| 85 | KOREAN= $(srcdir)/quail/hangul.elc \ | 85 | KOREAN= $(srcdir)/quail/hangul.elc \ |
| 86 | $(srcdir)/quail/hangul3.elc \ | 86 | $(srcdir)/quail/hangul3.elc \ |
| 87 | $(srcdir)/quail/hanja.elc \ | 87 | $(srcdir)/quail/hanja.elc \ |
| 88 | $(srcdir)/quail/hanja-jis.elc \ | 88 | $(srcdir)/quail/hanja-jis.elc \ |
| 89 | $(srcdir)/quail/symbol-ksc.elc | 89 | $(srcdir)/quail/symbol-ksc.elc |
| 90 | 90 | ||
| 91 | THAI=$(srcdir)/quail/thai.elc | 91 | THAI=$(srcdir)/quail/thai.elc |
| 92 | 92 | ||
| 93 | VIETNAMESE=$(srcdir)/quail/viqr.elc | 93 | VIETNAMESE=$(srcdir)/quail/viqr.elc |
| 94 | 94 | ||
| 95 | LAO=$(srcdir)/quail/lao.elc $(srcdir)/quail/lrt.elc | 95 | LAO=$(srcdir)/quail/lao.elc $(srcdir)/quail/lrt.elc |
| 96 | 96 | ||
| 97 | INDIAN=$(srcdir)/quail/devanagari.elc | 97 | INDIAN=$(srcdir)/quail/devanagari.elc |
| 98 | 98 | ||
| 99 | TIBETAN=$(srcdir)/quail/tibetan.elc | 99 | TIBETAN=$(srcdir)/quail/tibetan.elc |
| 100 | 100 | ||
| 101 | LATIN= $(srcdir)/quail/latin-pre.elc \ | 101 | LATIN= $(srcdir)/quail/latin-pre.elc \ |
| 102 | $(srcdir)/quail/latin-post.elc \ | 102 | $(srcdir)/quail/latin-post.elc \ |
| 103 | $(srcdir)/quail/latin-alt.elc \ | 103 | $(srcdir)/quail/latin-alt.elc \ |
| 104 | $(srcdir)/quail/latin-ltx.elc | 104 | $(srcdir)/quail/latin-ltx.elc |
| 105 | 105 | ||
| 106 | SLAVIC= \ | 106 | SLAVIC= \ |
| 107 | $(srcdir)/quail/czech.elc \ | 107 | $(srcdir)/quail/czech.elc \ |
| 108 | $(srcdir)/quail/slovak.elc | 108 | $(srcdir)/quail/slovak.elc |
| 109 | 109 | ||
| 110 | GREEK=$(srcdir)/quail/greek.elc | 110 | GREEK=$(srcdir)/quail/greek.elc |
| 111 | 111 | ||
| 112 | RUSSIAN=$(srcdir)/quail/cyrillic.elc $(srcdir)/quail/cyril-jis.elc | 112 | RUSSIAN=$(srcdir)/quail/cyrillic.elc $(srcdir)/quail/cyril-jis.elc |
| 113 | 113 | ||
| 114 | MISC= \ | 114 | MISC= \ |
| 115 | $(srcdir)/quail/ethiopic.elc \ | 115 | $(srcdir)/quail/ethiopic.elc \ |
| 116 | $(srcdir)/quail/ipa.elc \ | 116 | $(srcdir)/quail/ipa.elc \ |
| 117 | $(srcdir)/quail/hebrew.elc | 117 | $(srcdir)/quail/hebrew.elc |
| 118 | 118 | ||
| 119 | CHINESE=$(CHINESE_GB) $(CHINESE_BIG5) $(CHINESE_CNS) | 119 | CHINESE=$(CHINESE_GB) $(CHINESE_BIG5) $(CHINESE_CNS) |
| 120 | EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN) | 120 | EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN) |
| 121 | ASIA=$(EASTASIA) $(THAI) $(VIETNAMESE) $(LAO) $(INDIAN) $(TIBETAN) | 121 | ASIA=$(EASTASIA) $(THAI) $(VIETNAMESE) $(LAO) $(INDIAN) $(TIBETAN) |
| 122 | EUROPEAN=$(LATIN) $(SLAVIC) $(GREEK) $(RUSSIAN) | 122 | EUROPEAN=$(LATIN) $(SLAVIC) $(GREEK) $(RUSSIAN) |
| 123 | WORLD=$(ASIA) $(EUROPEAN) $(MISC) | 123 | WORLD=$(ASIA) $(EUROPEAN) $(MISC) |
| 124 | 124 | ||
| 125 | TIT=$(CHINESE_TIT) | 125 | TIT=$(CHINESE_TIT) |
| 126 | NON_TIT=$(CHINESE_NON_TIT) $(JAPANESE) $(KOREAN) $(EUROPEAN) $(MISC) | 126 | NON_TIT=$(CHINESE_NON_TIT) $(JAPANESE) $(KOREAN) $(EUROPEAN) $(MISC) |
| 127 | 127 | ||
| 128 | all: $(BUILT_EMACS) $(SUBDIRS) $(TIT) leim-list.el | 128 | all: $(BUILT_EMACS) $(SUBDIRS) $(TIT) leim-list.el |
| 129 | 129 | ||
| 130 | # To ensure that we can run Emacs. This target is ignored (never | 130 | # To ensure that we can run Emacs. This target is ignored (never |
| 131 | # being hit) if a user changes default value of EMACS. | 131 | # being hit) if a user changes default value of EMACS. |
| 132 | $(dot)$(dot)/src/emacs: | 132 | $(dot)$(dot)/src/emacs: |
| 133 | cd ../src; $(MAKE) $(MFLAGS) emacs | 133 | cd ../src; $(MAKE) $(MFLAGS) emacs |
| 134 | 134 | ||
| 135 | $(SUBDIRS): | 135 | $(SUBDIRS): |
| 136 | mkdir "$@" | 136 | mkdir "$@" |
| 137 | echo stamp>stamp-subdir | 137 | echo stamp>stamp-subdir |
| 138 | 138 | ||
| 139 | # Rule to generate quail/*.el from CXTERM-DIC/*.tit. | 139 | # Rule to generate quail/*.el from CXTERM-DIC/*.tit. |
| 140 | $(TIT): $(SUBDIRS) | 140 | $(TIT): $(SUBDIRS) |
| 141 | set EMACSLOADPATH=$(buildlisppath) | 141 | set EMACSLOADPATH=$(buildlisppath) |
| 142 | $(SETLOADPATH) $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \ | 142 | $(SETLOADPATH) $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \ |
| 143 | --eval $(ARGQUOTE)(batch-titdic-convert t)$(ARGQUOTE) -dir quail $(srcdir)/CXTERM-DIC | 143 | --eval $(ARGQUOTE)(batch-titdic-convert t)$(ARGQUOTE) -dir quail $(srcdir)/CXTERM-DIC |
| 144 | $(SETLOADPATH) $(RUN_EMACS) -l $(buildlisppath)/international/quail \ | 144 | $(SETLOADPATH) $(RUN_EMACS) -l $(buildlisppath)/international/quail \ |
| 145 | -f batch-byte-compile $(TIT:.elc=.el) | 145 | -f batch-byte-compile $(TIT:.elc=.el) |
| 146 | 146 | ||
| 147 | .SUFFIXES: .elc .el | 147 | .SUFFIXES: .elc .el |
| 148 | 148 | ||
| 149 | .el.elc: | 149 | .el.elc: |
| 150 | set EMACSLOADPATH=$(buildlisppath) | 150 | set EMACSLOADPATH=$(buildlisppath) |
| 151 | $(SETLOADPATH) $(RUN_EMACS) -f batch-byte-compile $< | 151 | $(SETLOADPATH) $(RUN_EMACS) -f batch-byte-compile $< |
| 152 | 152 | ||
| 153 | leim-list.el: $(SUBDIRS) $(WORLD) | 153 | leim-list.el: $(SUBDIRS) $(WORLD) |
| 154 | set EMACSLOADPATH=$(buildlisppath) | 154 | set EMACSLOADPATH=$(buildlisppath) |
| 155 | $(SETLOADPATH) $(RUN_EMACS) -l $(buildlisppath)/international/quail \ | 155 | $(SETLOADPATH) $(RUN_EMACS) -l $(buildlisppath)/international/quail \ |
| 156 | --eval $(ARGQUOTE)(update-leim-list-file $(DQUOTE).$(DQUOTE))$(ARGQUOTE) | 156 | --eval $(ARGQUOTE)(update-leim-list-file $(DQUOTE).$(DQUOTE))$(ARGQUOTE) |
| 157 | 157 | ||
| 158 | install: all | 158 | install: all |
| 159 | - mkdir "$(INSTALLDIR)" | 159 | - mkdir "$(INSTALLDIR)" |
| 160 | - $(DEL) same-dir.tst | 160 | - $(DEL) same-dir.tst |
| 161 | - $(DEL) $(INSTALL_DIR)/same-dir.tst | 161 | - $(DEL) $(INSTALL_DIR)/same-dir.tst |
| 162 | echo SameDirTest > $(INSTALL_DIR)/same-dir.tst | 162 | echo SameDirTest > $(INSTALL_DIR)/same-dir.tst |
| 163 | $(IFNOTSAMEDIR) $(CP) leim-list.el $(INSTALLDIR) $(ENDIF) | 163 | $(IFNOTSAMEDIR) $(CP) leim-list.el $(INSTALLDIR) $(ENDIF) |
| 164 | $(IFNOTSAMEDIR) $(CP_DIR) quail $(INSTALLDIR) $(ENDIF) | 164 | $(IFNOTSAMEDIR) $(CP_DIR) quail $(INSTALLDIR) $(ENDIF) |
| 165 | $(IFNOTSAMEDIR) $(CP_DIR) ja-dic $(INSTALLDIR) $(ENDIF) | 165 | $(IFNOTSAMEDIR) $(CP_DIR) ja-dic $(INSTALLDIR) $(ENDIF) |
| 166 | - $(DEL) $(INSTALL_DIR)/same-dir.tst | 166 | - $(DEL) $(INSTALL_DIR)/same-dir.tst |
| 167 | 167 | ||
| 168 | clean mostlyclean: | 168 | clean mostlyclean: |
| 169 | - $(FOREACH) $(TIT) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR) | 169 | - $(FOREACH) $(TIT) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR) |
| 170 | - $(FOREACH) $(TIT:.elc=.el) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR) | 170 | - $(FOREACH) $(TIT:.elc=.el) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR) |
| 171 | - $(DEL) leim-list.el | 171 | - $(DEL) leim-list.el |
| 172 | 172 | ||
| 173 | distclean maintainer-clean: | 173 | distclean maintainer-clean: |
| 174 | if exist stamp-subdir $(DELTREE) $(SUBDIRS) | 174 | if exist stamp-subdir $(DELTREE) $(SUBDIRS) |
| 175 | - $(DEL) stamp-subdir | 175 | - $(DEL) stamp-subdir |