diff options
| author | Andrew Innes | 2001-06-01 13:45:17 +0000 |
|---|---|---|
| committer | Andrew Innes | 2001-06-01 13:45:17 +0000 |
| commit | ec797bb9539c2a05397ed5562793f5447dfab5b0 (patch) | |
| tree | 313e47fe14c7bead1493c6e30305ba862fc60c41 | |
| parent | 6dcb51ccd6b8e92166f953e3f04786487e4565b8 (diff) | |
| download | emacs-ec797bb9539c2a05397ed5562793f5447dfab5b0.tar.gz emacs-ec797bb9539c2a05397ed5562793f5447dfab5b0.zip | |
(TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
(NON_TIT_BIG5): Remove $(srcdir)/quail/tsang-b5.elc and
$(srcdir)/quail/pypunct-b5.elc.
(NON_TIT_CNS): Remove.
(CHINESE_NON_TIT): Remove $(NON_TIT_CNS).
(CHINESE_CNS): Remove.
(KOREAN): Add $(srcdir)/quail/hanja3.elc.
(LATIN): Add $(srcdir)/quail/latin-alt.elc and
$(srcdir)/quail/latin-ltx.elc.
(MISC_DIC): Copy from Makefile.in.
(CHINESE): Remove $(CHINESE_CNS).
(all): Add $(MISC_DIC) as target.
(.NOTPARALLEL): New target.
(.NO_PARALLEL): New target.
($(MISC_DIC)): New target.
(clean mostlyclean): Clean more stuff.
(TIT_EL): New macro.
(MISC_DIC_EL): New macro.
| -rw-r--r-- | leim/makefile.nt | 59 |
1 files changed, 43 insertions, 16 deletions
diff --git a/leim/makefile.nt b/leim/makefile.nt index 546e00be221..d8dc6408871 100644 --- a/leim/makefile.nt +++ b/leim/makefile.nt | |||
| @@ -47,20 +47,16 @@ SUBDIRS=quail | |||
| 47 | 47 | ||
| 48 | # Files generated from TIT dictionaries for Chinese GB character set. | 48 | # Files generated from TIT dictionaries for Chinese GB character set. |
| 49 | TIT_GB=\ | 49 | TIT_GB=\ |
| 50 | quail/CTLau.elc \ | ||
| 51 | quail/CCDOSPY.elc \ | 50 | quail/CCDOSPY.elc \ |
| 52 | quail/Punct.elc \ | 51 | quail/Punct.elc \ |
| 53 | quail/PY.elc \ | ||
| 54 | quail/QJ.elc \ | 52 | quail/QJ.elc \ |
| 55 | quail/SW.elc \ | 53 | quail/SW.elc \ |
| 56 | quail/TONEPY.elc \ | 54 | quail/TONEPY.elc |
| 57 | quail/ZIRANMA.elc | ||
| 58 | 55 | ||
| 59 | # Files generated from TIT dictionaries for Chinese BIG5 character set. | 56 | # Files generated from TIT dictionaries for Chinese BIG5 character set. |
| 60 | TIT_BIG5=\ | 57 | TIT_BIG5=\ |
| 61 | quail/4Corner.elc \ | 58 | quail/4Corner.elc \ |
| 62 | quail/ARRAY30.elc \ | 59 | quail/ARRAY30.elc \ |
| 63 | quail/CTLauB.elc \ | ||
| 64 | quail/ECDICT.elc \ | 60 | quail/ECDICT.elc \ |
| 65 | quail/ETZY.elc \ | 61 | quail/ETZY.elc \ |
| 66 | quail/Punct-b5.elc \ | 62 | quail/Punct-b5.elc \ |
| @@ -72,24 +68,20 @@ CHINESE_TIT=$(TIT_GB) $(TIT_BIG5) | |||
| 72 | 68 | ||
| 73 | NON_TIT_GB=$(srcdir)/quail/py-punct.elc | 69 | NON_TIT_GB=$(srcdir)/quail/py-punct.elc |
| 74 | 70 | ||
| 75 | NON_TIT_BIG5=$(srcdir)/quail/quick-b5.elc $(srcdir)/quail/tsang-b5.elc \ | 71 | NON_TIT_BIG5=$(srcdir)/quail/quick-b5.elc |
| 76 | $(srcdir)/quail/pypunct-b5.elc | ||
| 77 | 72 | ||
| 78 | NON_TIT_CNS=$(srcdir)/quail/quick-cns.elc $(srcdir)/quail/tsang-cns.elc | 73 | CHINESE_NON_TIT=$(NON_TIT_GB) $(NON_TIT_BIG5) |
| 79 | |||
| 80 | CHINESE_NON_TIT=$(NON_TIT_GB) $(NON_TIT_BIG5) $(NON_TIT_CNS) | ||
| 81 | 74 | ||
| 82 | CHINESE_GB=$(TIT_GB) $(NON_TIT_GB) | 75 | CHINESE_GB=$(TIT_GB) $(NON_TIT_GB) |
| 83 | 76 | ||
| 84 | CHINESE_BIG5=$(TIT_BIG5) $(NON_TIT_BIG5) | 77 | CHINESE_BIG5=$(TIT_BIG5) $(NON_TIT_BIG5) |
| 85 | 78 | ||
| 86 | CHINESE_CNS=$(NON_TIT_CNS) | ||
| 87 | |||
| 88 | JAPANESE=$(srcdir)/quail/japanese.elc $(srcdir)/ja-dic/ja-dic.elc | 79 | JAPANESE=$(srcdir)/quail/japanese.elc $(srcdir)/ja-dic/ja-dic.elc |
| 89 | 80 | ||
| 90 | KOREAN= $(srcdir)/quail/hangul.elc \ | 81 | KOREAN= $(srcdir)/quail/hangul.elc \ |
| 91 | $(srcdir)/quail/hangul3.elc \ | 82 | $(srcdir)/quail/hangul3.elc \ |
| 92 | $(srcdir)/quail/hanja.elc \ | 83 | $(srcdir)/quail/hanja.elc \ |
| 84 | $(srcdir)/quail/hanja3.elc \ | ||
| 93 | $(srcdir)/quail/hanja-jis.elc \ | 85 | $(srcdir)/quail/hanja-jis.elc \ |
| 94 | $(srcdir)/quail/symbol-ksc.elc | 86 | $(srcdir)/quail/symbol-ksc.elc |
| 95 | 87 | ||
| @@ -103,7 +95,10 @@ INDIAN=$(srcdir)/quail/devanagari.elc | |||
| 103 | 95 | ||
| 104 | TIBETAN=$(srcdir)/quail/tibetan.elc | 96 | TIBETAN=$(srcdir)/quail/tibetan.elc |
| 105 | 97 | ||
| 106 | LATIN=$(srcdir)/quail/latin-pre.elc $(srcdir)/quail/latin-post.elc | 98 | LATIN= $(srcdir)/quail/latin-pre.elc \ |
| 99 | $(srcdir)/quail/latin-post.elc \ | ||
| 100 | $(srcdir)/quail/latin-alt.elc \ | ||
| 101 | $(srcdir)/quail/latin-ltx.elc | ||
| 107 | 102 | ||
| 108 | SLAVIC= \ | 103 | SLAVIC= \ |
| 109 | $(srcdir)/quail/czech.elc \ | 104 | $(srcdir)/quail/czech.elc \ |
| @@ -118,7 +113,17 @@ MISC= \ | |||
| 118 | $(srcdir)/quail/ipa.elc \ | 113 | $(srcdir)/quail/ipa.elc \ |
| 119 | $(srcdir)/quail/hebrew.elc | 114 | $(srcdir)/quail/hebrew.elc |
| 120 | 115 | ||
| 121 | CHINESE=$(CHINESE_GB) $(CHINESE_BIG5) $(CHINESE_CNS) | 116 | MISC_DIC=\ |
| 117 | quail/tsang-b5.elc \ | ||
| 118 | quail/quick-b5.elc \ | ||
| 119 | quail/tsang-cns.elc \ | ||
| 120 | quail/quick-cns.elc \ | ||
| 121 | quail/PY.elc \ | ||
| 122 | quail/ZIRANMA.elc \ | ||
| 123 | quail/CTLau.elc \ | ||
| 124 | quail/CTLau-b5.elc | ||
| 125 | |||
| 126 | CHINESE=$(CHINESE_GB) $(CHINESE_BIG5) | ||
| 122 | EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN) | 127 | EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN) |
| 123 | ASIA=$(EASTASIA) $(THAI) $(VIETNAMESE) $(LAO) $(INDIAN) $(TIBETAN) | 128 | ASIA=$(EASTASIA) $(THAI) $(VIETNAMESE) $(LAO) $(INDIAN) $(TIBETAN) |
| 124 | EUROPEAN=$(LATIN) $(SLAVIC) $(GREEK) $(RUSSIAN) | 129 | EUROPEAN=$(LATIN) $(SLAVIC) $(GREEK) $(RUSSIAN) |
| @@ -127,7 +132,7 @@ WORLD=$(ASIA) $(EUROPEAN) $(MISC) | |||
| 127 | TIT=$(CHINESE_TIT) | 132 | TIT=$(CHINESE_TIT) |
| 128 | NON_TIT=$(CHINESE_NON_TIT) $(JAPANESE) $(KOREAN) $(EUROPEAN) $(MISC) | 133 | NON_TIT=$(CHINESE_NON_TIT) $(JAPANESE) $(KOREAN) $(EUROPEAN) $(MISC) |
| 129 | 134 | ||
| 130 | all: $(BUILT_EMACS) $(SUBDIRS) $(TIT) leim-list.el | 135 | all: $(BUILT_EMACS) $(SUBDIRS) $(TIT) $(MISC_DIC) leim-list.el |
| 131 | 136 | ||
| 132 | # To ensure that we can run Emacs. This target is ignored (never | 137 | # To ensure that we can run Emacs. This target is ignored (never |
| 133 | # being hit) if a user changes default value of EMACS. | 138 | # being hit) if a user changes default value of EMACS. |
| @@ -138,6 +143,14 @@ $(SUBDIRS): | |||
| 138 | mkdir $@ | 143 | mkdir $@ |
| 139 | echo stamp>stamp-subdir | 144 | echo stamp>stamp-subdir |
| 140 | 145 | ||
| 146 | # The rules which generate $(TIT) and ${MISC_DIC) files create them all | ||
| 147 | # in one go. So we need to prevent parallel execution for that target, | ||
| 148 | # otherwise Emacs complains about files being locked. .NOTPARALLEL is | ||
| 149 | # for GNU Make, .NO_PARALLEL is for other Make's. | ||
| 150 | .NOTPARALLEL: $(TIT) $(MISC_DIC) | ||
| 151 | |||
| 152 | .NO_PARALLEL: $(TIT) $(MISC_DIC) | ||
| 153 | |||
| 141 | # Rule to generate quail/*.el from CXTERM-DIC/*.tit. | 154 | # Rule to generate quail/*.el from CXTERM-DIC/*.tit. |
| 142 | $(TIT): $(SUBDIRS) | 155 | $(TIT): $(SUBDIRS) |
| 143 | set EMACSLOADPATH=$(buildlisppath) | 156 | set EMACSLOADPATH=$(buildlisppath) |
| @@ -146,6 +159,14 @@ $(TIT): $(SUBDIRS) | |||
| 146 | $(RUN_EMACS) -l $(buildlisppath)/international/quail \ | 159 | $(RUN_EMACS) -l $(buildlisppath)/international/quail \ |
| 147 | -f batch-byte-compile $(TIT:.elc=.el) | 160 | -f batch-byte-compile $(TIT:.elc=.el) |
| 148 | 161 | ||
| 162 | # Rule to generate quail/*.el from CXTERM-DIC/*.tit. | ||
| 163 | $(MISC_DIC): $(SUBDIRS) | ||
| 164 | set EMACSLOADPATH=$(buildlisppath) | ||
| 165 | $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \ | ||
| 166 | -f batch-miscdic-convert -dir quail $(srcdir)/MISC-DIC | ||
| 167 | $(RUN_EMACS) -l $(buildlisppath)/international/quail \ | ||
| 168 | -f batch-byte-compile $(MISC_DIC:.elc=.el) | ||
| 169 | |||
| 149 | .SUFFIXES: .elc .el | 170 | .SUFFIXES: .elc .el |
| 150 | 171 | ||
| 151 | .el.elc: | 172 | .el.elc: |
| @@ -167,9 +188,15 @@ install: all | |||
| 167 | if not exist same-dir.tst $(CP_DIR) ja-dic $(INSTALLDIR)\ja-dic | 188 | if not exist same-dir.tst $(CP_DIR) ja-dic $(INSTALLDIR)\ja-dic |
| 168 | - $(DEL) $(INSTALLDIR)\same-dir.tst | 189 | - $(DEL) $(INSTALLDIR)\same-dir.tst |
| 169 | 190 | ||
| 191 | TIT_EL=$(TIT:.elc=.el) | ||
| 192 | MISC_DIC_EL=$(MISC_DIC:.elc=.el) | ||
| 193 | |||
| 170 | clean mostlyclean: | 194 | clean mostlyclean: |
| 171 | for %%f in ($(TIT:/=\)) do $(DEL) %%fc | ||
| 172 | for %%f in ($(TIT:/=\)) do $(DEL) %%f | 195 | for %%f in ($(TIT:/=\)) do $(DEL) %%f |
| 196 | for %%f in ($(TIT_EL:/=\)) do $(DEL) %%f | ||
| 197 | for %%f in ($(MISC_DIC:/=\)) do $(DEL) %%f | ||
| 198 | for %%f in ($(MISC_DIC_EL:/=\)) do $(DEL) %%f | ||
| 199 | for %%f in ($(WORLD:/=\)) do $(DEL) %%f | ||
| 173 | $(DEL) leim-list.el | 200 | $(DEL) leim-list.el |
| 174 | 201 | ||
| 175 | distclean maintainer-clean: | 202 | distclean maintainer-clean: |