aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Innes2000-09-03 17:33:24 +0000
committerAndrew Innes2000-09-03 17:33:24 +0000
commit918dd0ab6d4e378d62c786dabd9b9b00050bf249 (patch)
treeec09bf308a75a20caddfbda8390a55575a2661d5
parenta3d35a398221e2fded74ad8e6167a9fe6c64d7b6 (diff)
downloademacs-918dd0ab6d4e378d62c786dabd9b9b00050bf249.tar.gz
emacs-918dd0ab6d4e378d62c786dabd9b9b00050bf249.zip
New file.
-rw-r--r--leim/makefile.w32-in167
1 files changed, 167 insertions, 0 deletions
diff --git a/leim/makefile.w32-in b/leim/makefile.w32-in
new file mode 100644
index 00000000000..3c41692fe46
--- /dev/null
+++ b/leim/makefile.w32-in
@@ -0,0 +1,167 @@
1# Makefile for leim subdirectory in GNU Emacs on the Microsoft W32 API.
2# Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
3# Licensed to the Free Software Foundation.
4
5# This file is part of GNU Emacs.
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
22srcdir=.
23
24# Where to install LEIM files.
25INSTALLDIR=$(INSTALL_DIR)\leim
26
27# On Xenix and the IBM RS6000, double-dot gets screwed up.
28dot = .
29
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.
32BUILT_EMACS = $(dot)$(dot)/src/$(BLD)/emacs.exe
33
34buildlisppath=$(dot)$(dot)/lisp
35
36# How to run Emacs.
37RUN_EMACS = "$(BUILT_EMACS)" -batch --no-init-file --no-site-file --multibyte
38
39# Subdirectories to be made if $(srcdir) is different from the current
40# directory.
41SUBDIRS=quail
42
43# Files generated from TIT dictionaries for Chinese GB character set.
44TIT_GB=\
45 quail/CTLau.el \
46 quail/CCDOSPY.el \
47 quail/Punct.el \
48 quail/PY.el \
49 quail/QJ.el \
50 quail/SW.el \
51 quail/TONEPY.el \
52 quail/ZIRANMA.el
53
54# Files generated from TIT dictionaries for Chinese BIG5 character set.
55TIT_BIG5=\
56 quail/4Corner.el \
57 quail/ARRAY30.el \
58 quail/CTLauB.el \
59 quail/ECDICT.el \
60 quail/ETZY.el \
61 quail/Punct-b5.el \
62 quail/PY-b5.el \
63 quail/QJ-b5.el \
64 quail/ZOZY.el
65
66CHINESE_TIT=$(TIT_GB) $(TIT_BIG5)
67
68NON_TIT_GB=$(srcdir)/quail/py-punct.el
69
70NON_TIT_BIG5=$(srcdir)/quail/quick-b5.el $(srcdir)/quail/tsang-b5.el \
71 $(srcdir)/quail/pypunct-b5.el
72
73NON_TIT_CNS=$(srcdir)/quail/quick-cns.el $(srcdir)/quail/tsang-cns.el
74
75CHINESE_NON_TIT=$(NON_TIT_GB) $(NON_TIT_BIG5) $(NON_TIT_CNS)
76
77CHINESE_GB=$(TIT_GB) $(NON_TIT_GB)
78
79CHINESE_BIG5=$(TIT_BIG5) $(NON_TIT_BIG5)
80
81CHINESE_CNS=$(NON_TIT_CNS)
82
83JAPANESE=$(srcdir)/quail/japanese.el $(srcdir)/ja-dic/ja-dic.el
84
85KOREAN= $(srcdir)/quail/hangul.el \
86 $(srcdir)/quail/hangul3.el \
87 $(srcdir)/quail/hanja.el \
88 $(srcdir)/quail/hanja-jis.el \
89 $(srcdir)/quail/symbol-ksc.el
90
91THAI=$(srcdir)/quail/thai.el
92
93VIETNAMESE=$(srcdir)/quail/viqr.el
94
95LAO=$(srcdir)/quail/lao.el $(srcdir)/quail/lrt.el
96
97INDIAN=$(srcdir)/quail/devanagari.el
98
99TIBETAN=$(srcdir)/quail/tibetan.el
100
101LATIN=$(srcdir)/quail/latin-pre.el $(srcdir)/quail/latin-post.el
102
103SLAVIC= \
104 $(srcdir)/quail/czech.el \
105 $(srcdir)/quail/slovak.el
106
107GREEK=$(srcdir)/quail/greek.el
108
109RUSSIAN=$(srcdir)/quail/cyrillic.el $(srcdir)/quail/cyril-jis.el
110
111MISC= \
112 $(srcdir)/quail/ethiopic.el \
113 $(srcdir)/quail/ipa.el \
114 $(srcdir)/quail/hebrew.el
115
116CHINESE=$(CHINESE_GB) $(CHINESE_BIG5) $(CHINESE_CNS)
117EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN)
118ASIA=$(EASTASIA) $(THAI) $(VIETNAMESE) $(LAO) $(INDIAN) $(TIBETAN)
119EUROPEAN=$(LATIN) $(SLAVIC) $(GREEK) $(RUSSIAN)
120WORLD=$(ASIA) $(EUROPEAN) $(MISC)
121
122TIT=$(CHINESE_TIT)
123NON_TIT=$(CHINESE_NON_TIT) $(JAPANESE) $(KOREAN) $(EUROPEAN) $(MISC)
124
125all: $(BUILT_EMACS) $(SUBDIRS) $(TIT) leim-list.el
126
127# To ensure that we can run Emacs. This target is ignored (never
128# being hit) if a user changes default value of EMACS.
129$(dot)$(dot)/src/emacs:
130 cd ../src; $(MAKE) $(MFLAGS) emacs
131
132$(SUBDIRS):
133 mkdir "$@"
134 echo stamp>stamp-subdir
135
136# Rule to generate quail/*.el from CXTERM-DIC/*.tit.
137$(TIT):
138# if not exist quail $(MAKE) quail
139 set emacs_dir=$(INSTALL_DIR)
140 $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
141 --eval $(ARGQUOTE)(batch-titdic-convert t)$(ARGQUOTE) -dir quail $(srcdir)/CXTERM-DIC
142 $(RUN_EMACS) -l $(buildlisppath)/international/quail \
143 -f batch-byte-compile $(TIT)
144
145leim-list.el: $(SUBDIRS) $(WORLD)
146 set emacs_dir=$(INSTALL_DIR)
147 $(RUN_EMACS) -l $(buildlisppath)/international/quail \
148 --eval $(ARGQUOTE)(update-leim-list-file $(DQUOTE).$(DQUOTE))$(ARGQUOTE)
149
150install: all
151 - mkdir "$(INSTALLDIR)"
152 - $(DEL) same-dir.tst
153 - $(DEL) $(INSTALL_DIR)/same-dir.tst
154 echo SameDirTest > $(INSTALL_DIR)/same-dir.tst
155 $(IFNOTSAMEDIR) $(CP) leim-list.el $(INSTALLDIR) $(ENDIF)
156 $(IFNOTSAMEDIR) $(CP_DIR) quail $(INSTALLDIR)/quail $(ENDIF)
157 $(IFNOTSAMEDIR) $(CP_DIR) ja-dic $(INSTALLDIR)/ja-dic $(ENDIF)
158 - $(DEL) $(INSTALL_DIR)/same-dir.tst
159
160clean mostlyclean:
161 $(FOREACH) $(TIT) $(FORDO) $(DEL) $(FORVAR)c $(ENDFOR)
162 $(FOREACH) $(TIT) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
163 $(DEL) leim-list.el
164
165distclean maintainer-clean:
166 if exist stamp-subdir $(DELTREE) $(SUBDIRS)
167 $(DEL) stamp-subdir