changeset 32717:c2eaf354c3ba

($(TIT)): Add $(SUBDIRS) as dependents, instead of conditional invocation of make. (TIT-GB, TIT-BIG5, NON-TIT-GB, NON-TIT-BIG5) (NON-TIT-CNS, JAPANESE, KOREAN, THAI, VIETNAMESE, LAO, INDIAN) (TIBETAN, LATIN, SLAVIC, GREEK, RUSSIAN, MISC): Rename all .el files to .elc. ($(TIT)): Adjusted for the above change. (clean mostlyclean): Likewise. (.el.elc): New target.
author Andrew Innes <andrewi@gnu.org>
date Sat, 21 Oct 2000 13:20:17 +0000
parents 84e69ba71a2b
children d88696b90195
files leim/makefile.nt leim/makefile.w32-in
diffstat 2 files changed, 92 insertions(+), 91 deletions(-) [+]
line wrap: on
line diff
--- a/leim/makefile.nt	Sat Oct 21 13:11:56 2000 +0000
+++ b/leim/makefile.nt	Sat Oct 21 13:20:17 2000 +0000
@@ -47,35 +47,35 @@
 
 # Files generated from TIT dictionaries for Chinese GB character set.
 TIT_GB=\
-	quail/CTLau.el		\
-	quail/CCDOSPY.el	\
-	quail/Punct.el		\
-	quail/PY.el		\
-	quail/QJ.el		\
-	quail/SW.el		\
-	quail/TONEPY.el		\
-	quail/ZIRANMA.el
+	quail/CTLau.elc		\
+	quail/CCDOSPY.elc	\
+	quail/Punct.elc		\
+	quail/PY.elc		\
+	quail/QJ.elc		\
+	quail/SW.elc		\
+	quail/TONEPY.elc	\
+	quail/ZIRANMA.elc
 
 # Files generated from TIT dictionaries for Chinese BIG5 character set.
 TIT_BIG5=\
-	quail/4Corner.el	\
-	quail/ARRAY30.el	\
-	quail/CTLauB.el		\
-	quail/ECDICT.el		\
-	quail/ETZY.el		\
-	quail/Punct-b5.el	\
-	quail/PY-b5.el		\
-	quail/QJ-b5.el		\
-	quail/ZOZY.el
+	quail/4Corner.elc	\
+	quail/ARRAY30.elc	\
+	quail/CTLauB.elc	\
+	quail/ECDICT.elc	\
+	quail/ETZY.elc		\
+	quail/Punct-b5.elc	\
+	quail/PY-b5.elc		\
+	quail/QJ-b5.elc		\
+	quail/ZOZY.elc
 
 CHINESE_TIT=$(TIT_GB) $(TIT_BIG5)
 
-NON_TIT_GB=$(srcdir)/quail/py-punct.el
+NON_TIT_GB=$(srcdir)/quail/py-punct.elc
 
-NON_TIT_BIG5=$(srcdir)/quail/quick-b5.el $(srcdir)/quail/tsang-b5.el \
-	     $(srcdir)/quail/pypunct-b5.el
+NON_TIT_BIG5=$(srcdir)/quail/quick-b5.elc $(srcdir)/quail/tsang-b5.elc \
+	     $(srcdir)/quail/pypunct-b5.elc
 
-NON_TIT_CNS=$(srcdir)/quail/quick-cns.el $(srcdir)/quail/tsang-cns.el
+NON_TIT_CNS=$(srcdir)/quail/quick-cns.elc $(srcdir)/quail/tsang-cns.elc
 
 CHINESE_NON_TIT=$(NON_TIT_GB) $(NON_TIT_BIG5) $(NON_TIT_CNS)
 
@@ -85,38 +85,38 @@
 
 CHINESE_CNS=$(NON_TIT_CNS) 
 
-JAPANESE=$(srcdir)/quail/japanese.el $(srcdir)/ja-dic/ja-dic.el
+JAPANESE=$(srcdir)/quail/japanese.elc $(srcdir)/ja-dic/ja-dic.elc
 
-KOREAN=	$(srcdir)/quail/hangul.el	\
-	$(srcdir)/quail/hangul3.el	\
-	$(srcdir)/quail/hanja.el	\
-	$(srcdir)/quail/hanja-jis.el	\
-	$(srcdir)/quail/symbol-ksc.el
+KOREAN=	$(srcdir)/quail/hangul.elc	\
+	$(srcdir)/quail/hangul3.elc	\
+	$(srcdir)/quail/hanja.elc	\
+	$(srcdir)/quail/hanja-jis.elc	\
+	$(srcdir)/quail/symbol-ksc.elc
 
-THAI=$(srcdir)/quail/thai.el
+THAI=$(srcdir)/quail/thai.elc
 
-VIETNAMESE=$(srcdir)/quail/viqr.el
+VIETNAMESE=$(srcdir)/quail/viqr.elc
 
-LAO=$(srcdir)/quail/lao.el $(srcdir)/quail/lrt.el
+LAO=$(srcdir)/quail/lao.elc $(srcdir)/quail/lrt.elc
 
-INDIAN=$(srcdir)/quail/devanagari.el
+INDIAN=$(srcdir)/quail/devanagari.elc
 
-TIBETAN=$(srcdir)/quail/tibetan.el
+TIBETAN=$(srcdir)/quail/tibetan.elc
 
-LATIN=$(srcdir)/quail/latin-pre.el $(srcdir)/quail/latin-post.el
+LATIN=$(srcdir)/quail/latin-pre.elc $(srcdir)/quail/latin-post.elc
 
 SLAVIC= \
-	$(srcdir)/quail/czech.el \
-	$(srcdir)/quail/slovak.el
+	$(srcdir)/quail/czech.elc \
+	$(srcdir)/quail/slovak.elc
 
-GREEK=$(srcdir)/quail/greek.el
+GREEK=$(srcdir)/quail/greek.elc
 
-RUSSIAN=$(srcdir)/quail/cyrillic.el $(srcdir)/quail/cyril-jis.el
+RUSSIAN=$(srcdir)/quail/cyrillic.elc $(srcdir)/quail/cyril-jis.elc
 
 MISC= \
-	$(srcdir)/quail/ethiopic.el \
-	$(srcdir)/quail/ipa.el \
-	$(srcdir)/quail/hebrew.el
+	$(srcdir)/quail/ethiopic.elc \
+	$(srcdir)/quail/ipa.elc \
+	$(srcdir)/quail/hebrew.elc
 
 CHINESE=$(CHINESE_GB) $(CHINESE_BIG5) $(CHINESE_CNS)
 EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN)
@@ -137,18 +137,19 @@
 $(SUBDIRS):
 	mkdir $@
 	echo stamp>stamp-subdir
-#	echo (if (fboundp 'normal-top-level-add-subdirs-to-load-path) >subdirs.el
-#	echo     (normal-top-level-add-subdirs-to-load-path)) >>subdirs.el
 
 # Rule to generate quail/*.el from CXTERM-DIC/*.tit.
-$(TIT):
-	if not exist quail $(MAKE) -f makefile.nt quail
+$(TIT): $(SUBDIRS)
 	set EMACSLOADPATH=$(buildlisppath)
 	$(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
 	    --eval "(batch-titdic-convert t)" -dir quail $(srcdir)/CXTERM-DIC
 	$(RUN_EMACS)  -l $(buildlisppath)/international/quail \
 	    -f batch-byte-compile $(TIT)
 
+.el.elc:
+	set EMACSLOADPATH=$(buildlisppath)
+	$(RUN_EMACS) -f batch-byte-compile $<
+
 leim-list.el: $(SUBDIRS) $(WORLD)
 	set EMACSLOADPATH=$(buildlisppath)
 	$(RUN_EMACS) -l $(buildlisppath)/international/quail \
@@ -160,7 +161,6 @@
 	- $(DEL) $(INSTALLDIR)\same-dir.tst
 	echo SameDirTest > $(INSTALLDIR)\same-dir.tst
 	if not exist same-dir.tst $(CP) leim-list.el $(INSTALLDIR)
-#	if not exist same-dir.tst $(CP) subdirs.el $(INSTALLDIR)
 	if not exist same-dir.tst $(CP_DIR) quail $(INSTALLDIR)\quail
 	if not exist same-dir.tst $(CP_DIR) ja-dic $(INSTALLDIR)\ja-dic
 	- $(DEL) $(INSTALLDIR)\same-dir.tst
--- a/leim/makefile.w32-in	Sat Oct 21 13:11:56 2000 +0000
+++ b/leim/makefile.w32-in	Sat Oct 21 13:20:17 2000 +0000
@@ -42,35 +42,35 @@
 
 # Files generated from TIT dictionaries for Chinese GB character set.
 TIT_GB=\
-	quail/CTLau.el		\
-	quail/CCDOSPY.el	\
-	quail/Punct.el		\
-	quail/PY.el		\
-	quail/QJ.el		\
-	quail/SW.el		\
-	quail/TONEPY.el		\
-	quail/ZIRANMA.el
+	quail/CTLau.elc		\
+	quail/CCDOSPY.elc	\
+	quail/Punct.elc		\
+	quail/PY.elc		\
+	quail/QJ.elc		\
+	quail/SW.elc		\
+	quail/TONEPY.elc	\
+	quail/ZIRANMA.elc
 
 # Files generated from TIT dictionaries for Chinese BIG5 character set.
 TIT_BIG5=\
-	quail/4Corner.el	\
-	quail/ARRAY30.el	\
-	quail/CTLauB.el		\
-	quail/ECDICT.el		\
-	quail/ETZY.el		\
-	quail/Punct-b5.el	\
-	quail/PY-b5.el		\
-	quail/QJ-b5.el		\
-	quail/ZOZY.el
+	quail/4Corner.elc	\
+	quail/ARRAY30.elc	\
+	quail/CTLauB.elc	\
+	quail/ECDICT.elc	\
+	quail/ETZY.elc		\
+	quail/Punct-b5.elc	\
+	quail/PY-b5.elc		\
+	quail/QJ-b5.elc		\
+	quail/ZOZY.elc
 
 CHINESE_TIT=$(TIT_GB) $(TIT_BIG5)
 
-NON_TIT_GB=$(srcdir)/quail/py-punct.el
+NON_TIT_GB=$(srcdir)/quail/py-punct.elc
 
-NON_TIT_BIG5=$(srcdir)/quail/quick-b5.el $(srcdir)/quail/tsang-b5.el \
-	     $(srcdir)/quail/pypunct-b5.el
+NON_TIT_BIG5=$(srcdir)/quail/quick-b5.elc $(srcdir)/quail/tsang-b5.elc \
+	     $(srcdir)/quail/pypunct-b5.elc
 
-NON_TIT_CNS=$(srcdir)/quail/quick-cns.el $(srcdir)/quail/tsang-cns.el
+NON_TIT_CNS=$(srcdir)/quail/quick-cns.elc $(srcdir)/quail/tsang-cns.elc
 
 CHINESE_NON_TIT=$(NON_TIT_GB) $(NON_TIT_BIG5) $(NON_TIT_CNS)
 
@@ -80,38 +80,38 @@
 
 CHINESE_CNS=$(NON_TIT_CNS) 
 
-JAPANESE=$(srcdir)/quail/japanese.el $(srcdir)/ja-dic/ja-dic.el
+JAPANESE=$(srcdir)/quail/japanese.elc $(srcdir)/ja-dic/ja-dic.elc
 
-KOREAN=	$(srcdir)/quail/hangul.el	\
-	$(srcdir)/quail/hangul3.el	\
-	$(srcdir)/quail/hanja.el	\
-	$(srcdir)/quail/hanja-jis.el	\
-	$(srcdir)/quail/symbol-ksc.el
+KOREAN=	$(srcdir)/quail/hangul.elc	\
+	$(srcdir)/quail/hangul3.elc	\
+	$(srcdir)/quail/hanja.elc	\
+	$(srcdir)/quail/hanja-jis.elc	\
+	$(srcdir)/quail/symbol-ksc.elc
 
-THAI=$(srcdir)/quail/thai.el
+THAI=$(srcdir)/quail/thai.elc
 
-VIETNAMESE=$(srcdir)/quail/viqr.el
+VIETNAMESE=$(srcdir)/quail/viqr.elc
 
-LAO=$(srcdir)/quail/lao.el $(srcdir)/quail/lrt.el
+LAO=$(srcdir)/quail/lao.elc $(srcdir)/quail/lrt.elc
 
-INDIAN=$(srcdir)/quail/devanagari.el
+INDIAN=$(srcdir)/quail/devanagari.elc
 
-TIBETAN=$(srcdir)/quail/tibetan.el
+TIBETAN=$(srcdir)/quail/tibetan.elc
 
-LATIN=$(srcdir)/quail/latin-pre.el $(srcdir)/quail/latin-post.el
+LATIN=$(srcdir)/quail/latin-pre.elc $(srcdir)/quail/latin-post.elc
 
 SLAVIC= \
-	$(srcdir)/quail/czech.el \
-	$(srcdir)/quail/slovak.el
+	$(srcdir)/quail/czech.elc \
+	$(srcdir)/quail/slovak.elc
 
-GREEK=$(srcdir)/quail/greek.el
+GREEK=$(srcdir)/quail/greek.elc
 
-RUSSIAN=$(srcdir)/quail/cyrillic.el $(srcdir)/quail/cyril-jis.el
+RUSSIAN=$(srcdir)/quail/cyrillic.elc $(srcdir)/quail/cyril-jis.elc
 
 MISC= \
-	$(srcdir)/quail/ethiopic.el \
-	$(srcdir)/quail/ipa.el \
-	$(srcdir)/quail/hebrew.el
+	$(srcdir)/quail/ethiopic.elc \
+	$(srcdir)/quail/ipa.elc \
+	$(srcdir)/quail/hebrew.elc
 
 CHINESE=$(CHINESE_GB) $(CHINESE_BIG5) $(CHINESE_CNS)
 EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN)
@@ -134,17 +134,18 @@
 	echo stamp>stamp-subdir
 
 # Rule to generate quail/*.el from CXTERM-DIC/*.tit.
-$(TIT):
-#	if not exist quail $(MAKE) quail
-	set emacs_dir=$(INSTALL_DIR)
+$(TIT):	$(SUBDIRS)
 	set EMACSLOADPATH=$(buildlisppath)
 	$(SETLOADPATH) $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
 	    --eval $(ARGQUOTE)(batch-titdic-convert t)$(ARGQUOTE) -dir quail $(srcdir)/CXTERM-DIC
 	$(SETLOADPATH) $(RUN_EMACS)  -l $(buildlisppath)/international/quail \
-	    -f batch-byte-compile $(TIT)
+	    -f batch-byte-compile $(TIT:.elc=.el)
+
+.el.elc:
+	set EMACSLOADPATH=$(buildlisppath)
+	$(SETLOADPATH) $(RUN_EMACS) -f batch-byte-compile $<
 
 leim-list.el: $(SUBDIRS) $(WORLD)
-	set emacs_dir=$(INSTALL_DIR)
 	set EMACSLOADPATH=$(buildlisppath)
 	$(SETLOADPATH) $(RUN_EMACS) -l $(buildlisppath)/international/quail \
 	    --eval $(ARGQUOTE)(update-leim-list-file $(DQUOTE).$(DQUOTE))$(ARGQUOTE)
@@ -160,8 +161,8 @@
 	- $(DEL) $(INSTALL_DIR)/same-dir.tst
 
 clean mostlyclean:
-	- $(FOREACH) $(TIT) $(FORDO) $(DEL) $(FORVAR)c $(ENDFOR)
 	- $(FOREACH) $(TIT) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
+	- $(FOREACH) $(TIT:.elc=.el) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
 	- $(DEL) leim-list.el
 
 distclean maintainer-clean: