annotate leim/makefile.w32-in @ 35401:c00e94a506a2

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