annotate leim/makefile.w32-in @ 112287:c8102d1f162e

* strokes.el (strokes-read-stroke): Re-fill strokes buffer with spaces if the frame was resized, so that the full visible buffer serves as canvas for strokes.
author Tassilo Horn <tassilo@member.fsf.org>
date Sun, 16 Jan 2011 21:41:25 +0100
parents f07ac5fe9893
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
55092
9077e3f7cd49 Add "-*- makefile -*-" mode tag.
Juanma Barranquero <lekktu@gmail.com>
parents: 54768
diff changeset
1 # -*- Makefile -*- for leim subdirectory in GNU Emacs on the Microsoft W32 API.
112155
c55486404fcd In Makefiles, -batch implies -q.
Glenn Morris <rgm@gnu.org>
parents: 109956
diff changeset
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
67657
b94a4bf1aca6 Copyright fixed
Kenichi Handa <handa@m17n.org>
parents: 67641
diff changeset
3 # Free Software Foundation, Inc.
79728
6e5c681750d8 Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78307
diff changeset
4 # Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
6e5c681750d8 Add 2008 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 78307
diff changeset
5 # 2006, 2007
67657
b94a4bf1aca6 Copyright fixed
Kenichi Handa <handa@m17n.org>
parents: 67641
diff changeset
6 # National Institute of Advanced Industrial Science and Technology (AIST)
b94a4bf1aca6 Copyright fixed
Kenichi Handa <handa@m17n.org>
parents: 67641
diff changeset
7 # Registration Number H14PRO021
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
8
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
9 # This file is part of GNU Emacs.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
10
94711
234b6de33fa7 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
11 # GNU Emacs is free software: you can redistribute it and/or modify
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
12 # it under the terms of the GNU General Public License as published by
94711
234b6de33fa7 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
13 # the Free Software Foundation, either version 3 of the License, or
234b6de33fa7 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
14 # (at your option) any later version.
234b6de33fa7 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
15
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
16 # GNU Emacs is distributed in the hope that it will be useful,
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
17 # but WITHOUT ANY WARRANTY; without even the implied warranty of
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
18 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
19 # GNU General Public License for more details.
94711
234b6de33fa7 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
20
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
21 # You should have received a copy of the GNU General Public License
94711
234b6de33fa7 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
22 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
234b6de33fa7 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
23
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
24
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
25 srcdir=.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
26
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
27 # Where to install LEIM files.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
28 INSTALLDIR=$(INSTALL_DIR)/leim
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
29
87595
4c6c79916238 * configure.in: Remove references to unsupported systems.
Dan Nicolaescu <dann@ics.uci.edu>
parents: 78307
diff changeset
30 # On IBM RS6000, double-dot gets screwed up.
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
31 dot = .
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
32
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
33 # Which Emacs to use to convert TIT files to Emacs Lisp files,
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
34 # byte-compile Emacs Lisp files, and generate the file leim-list.el.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
35 BUILT_EMACS = $(THISDIR)/$(dot)$(dot)/src/$(BLD)/emacs.exe
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
36
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
37 buildlisppath=$(CURDIR)/$(dot)$(dot)/lisp
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
38
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
39 # How to run Emacs.
112157
f07ac5fe9893 Add --no-site-lisp to more Makefiles.
Glenn Morris <rgm@gnu.org>
parents: 112155
diff changeset
40 RUN_EMACS = "$(BUILT_EMACS)" -batch --no-site-file --no-site-lisp
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
41
37383
037044a4e3a6 (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 37176
diff changeset
42 # Set EMACSLOADPATH correctly (already defined in environment).
037044a4e3a6 (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 37176
diff changeset
43 EMACSLOADPATH=$(buildlisppath)
037044a4e3a6 (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 37176
diff changeset
44
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
45 # Subdirectories to be made if $(srcdir) is different from the current
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
46 # directory.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
47 SUBDIRS=quail
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
48
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
49 # Files generated from TIT dictionaries for Chinese GB character set.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
50 TIT_GB=\
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
51 quail/CCDOSPY.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
52 quail/Punct.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
53 quail/QJ.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
54 quail/SW.elc \
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
55 quail/TONEPY.elc
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
56
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
57 # Files generated from TIT dictionaries for Chinese BIG5 character set.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
58 TIT_BIG5=\
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
59 quail/4Corner.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
60 quail/ARRAY30.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
61 quail/ECDICT.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
62 quail/ETZY.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
63 quail/Punct-b5.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
64 quail/PY-b5.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
65 quail/QJ-b5.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
66 quail/ZOZY.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
67
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
68 CHINESE_TIT=$(TIT_GB) $(TIT_BIG5)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
69
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
70 NON_TIT_GB=$(srcdir)/quail/py-punct.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
71
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
72 NON_TIT_BIG5=$(srcdir)/quail/pypunct-b5.elc
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
73
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
74 CHINESE_NON_TIT=$(NON_TIT_GB) $(NON_TIT_BIG5)
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
75
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
76 CHINESE_GB=$(TIT_GB) $(NON_TIT_GB)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
77
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 49040
diff changeset
78 CHINESE_BIG5=$(TIT_BIG5) $(NON_TIT_BIG5)
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
79
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
80 JAPANESE=$(srcdir)/quail/japanese.elc $(srcdir)/ja-dic/ja-dic.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
81
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
82 KOREAN= $(srcdir)/quail/hangul.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
83 $(srcdir)/quail/hanja.elc \
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
84 $(srcdir)/quail/hanja3.elc \
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
85 $(srcdir)/quail/hanja-jis.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
86 $(srcdir)/quail/symbol-ksc.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
87
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
88 THAI=$(srcdir)/quail/thai.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
89
43705
223fa5122806 * Makefile.in (VIETNAMESE), makefile.nt (VIETNAMESE), makefile.w32-in
Werner LEMBERG <wl@gnu.org>
parents: 43228
diff changeset
90 VIETNAMESE=$(srcdir)/quail/viqr.elc $(srcdir)/quail/vntelex.elc
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
91
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
92 LAO=$(srcdir)/quail/lao.elc $(srcdir)/quail/lrt.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
93
41635
8ae6fc3664e5 Rename devanagari.elc to indian.elc
Jason Rumney <jasonr@gnu.org>
parents: 37974
diff changeset
94 INDIAN=$(srcdir)/quail/indian.elc
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
95
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
96 TIBETAN=$(srcdir)/quail/tibetan.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
97
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
98 LATIN= $(srcdir)/quail/latin-pre.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
99 $(srcdir)/quail/latin-post.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
100 $(srcdir)/quail/latin-alt.elc \
48798
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
101 $(srcdir)/quail/latin-ltx.elc \
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
102 $(srcdir)/quail/welsh.elc
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
103
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
104 UNICODE=$(srcdir)/quail/sgml-input.elc \
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
105 $(srcdir)/quail/rfc1345.elc \
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
106 $(srcdir)/quail/uni-input.elc
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
107
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
108 SLAVIC= \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
109 $(srcdir)/quail/czech.elc \
49040
37e7677ca4d7 (SLAVIC): Add croatian.elc.
Dave Love <fx@gnu.org>
parents: 48798
diff changeset
110 $(srcdir)/quail/croatian.elc \
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
111 $(srcdir)/quail/slovak.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
112
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
113 GREEK=$(srcdir)/quail/greek.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
114
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
115 RUSSIAN=$(srcdir)/quail/cyrillic.elc $(srcdir)/quail/cyril-jis.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
116
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
117 MISC= \
96214
1a846c7b956a * makefile.w32-in (MISC): Add $(srcdir)/quail/arabic.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 96109
diff changeset
118 $(srcdir)/quail/arabic.elc \
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
119 $(srcdir)/quail/ethiopic.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
120 $(srcdir)/quail/ipa.elc \
48798
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
121 $(srcdir)/quail/hebrew.elc \
74444
c0c6a8dee4a4 (MISC): Add $(srcdir)/quail/sisheng.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 70122
diff changeset
122 $(srcdir)/quail/georgian.elc \
c0c6a8dee4a4 (MISC): Add $(srcdir)/quail/sisheng.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 70122
diff changeset
123 $(srcdir)/quail/sisheng.elc
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
124
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
125 MISC_DIC=\
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
126 quail/tsang-b5.elc \
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
127 quail/quick-b5.elc \
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
128 quail/tsang-cns.elc \
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
129 quail/quick-cns.elc \
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
130 quail/PY.elc \
37974
266a29987e3c (TIT-GB): Remove CTLau.elc from it.
Andrew Innes <andrewi@gnu.org>
parents: 37383
diff changeset
131 quail/ZIRANMA.elc \
266a29987e3c (TIT-GB): Remove CTLau.elc from it.
Andrew Innes <andrewi@gnu.org>
parents: 37383
diff changeset
132 quail/CTLau.elc \
266a29987e3c (TIT-GB): Remove CTLau.elc from it.
Andrew Innes <andrewi@gnu.org>
parents: 37383
diff changeset
133 quail/CTLau-b5.elc
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
134
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
135 CHINESE=$(CHINESE_GB) $(CHINESE_BIG5)
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
136 EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
137 ASIA=$(EASTASIA) $(THAI) $(VIETNAMESE) $(LAO) $(INDIAN) $(TIBETAN)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
138 EUROPEAN=$(LATIN) $(SLAVIC) $(GREEK) $(RUSSIAN)
48798
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
139 WORLD=$(ASIA) $(EUROPEAN) $(MISC) $(MISC_DIC) $(UNICODE)
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
140
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
141 TIT=$(CHINESE_TIT)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
142 NON_TIT=$(CHINESE_NON_TIT) $(JAPANESE) $(KOREAN) $(EUROPEAN) $(MISC)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
143
43228
c2d0770e7fd8 ($(TIT)): Don't depend on $(SUBDIRS).
Andrew Innes <andrewi@gnu.org>
parents: 41635
diff changeset
144 .SUFFIXES: .elc .el
c2d0770e7fd8 ($(TIT)): Don't depend on $(SUBDIRS).
Andrew Innes <andrewi@gnu.org>
parents: 41635
diff changeset
145
c2d0770e7fd8 ($(TIT)): Don't depend on $(SUBDIRS).
Andrew Innes <andrewi@gnu.org>
parents: 41635
diff changeset
146 .el.elc:
c2d0770e7fd8 ($(TIT)): Don't depend on $(SUBDIRS).
Andrew Innes <andrewi@gnu.org>
parents: 41635
diff changeset
147 $(RUN_EMACS) -f batch-byte-compile $<
c2d0770e7fd8 ($(TIT)): Don't depend on $(SUBDIRS).
Andrew Innes <andrewi@gnu.org>
parents: 41635
diff changeset
148
54216
638f83c80323 (all): Depends on $(WORLD) instead of $(TIT) and
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
149 all: $(BUILT_EMACS) $(SUBDIRS) $(WORLD) leim-list.el
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
150
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
151 # To ensure that we can run Emacs. This target is ignored (never
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
152 # being hit) if a user changes default value of EMACS.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
153 $(dot)$(dot)/src/emacs:
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
154 cd ../src; $(MAKE) $(MFLAGS) emacs
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
155
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
156 $(SUBDIRS):
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
157 mkdir "$@"
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
158 echo stamp>stamp-subdir
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
159
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
160 # The rules which generate $(TIT) and ${MISC_DIC) files create them all
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
161 # in one go. So we need to prevent parallel execution for that target,
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
162 # otherwise Emacs complains about files being locked. .NOTPARALLEL is
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
163 # for GNU Make, .NO_PARALLEL is for other Make's.
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
164 .NOTPARALLEL: $(TIT) $(MISC_DIC)
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
165
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
166 .NO_PARALLEL: $(TIT) $(MISC_DIC)
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
167
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
168 # Rule to generate quail/*.el from CXTERM-DIC/*.tit.
67641
8fdbccfbe833 ($(TIT), leim-list.el): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents: 64083
diff changeset
169 #
8fdbccfbe833 ($(TIT), leim-list.el): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents: 64083
diff changeset
170 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
8fdbccfbe833 ($(TIT), leim-list.el): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents: 64083
diff changeset
171 # this can break with GNU Make 3.81 and later if sh.exe is used.
43228
c2d0770e7fd8 ($(TIT)): Don't depend on $(SUBDIRS).
Andrew Innes <andrewi@gnu.org>
parents: 41635
diff changeset
172 $(TIT):
107549
0be378fcb83b Enclose the argument of "-l" in quotes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
173 $(RUN_EMACS) -l \
0be378fcb83b Enclose the argument of "-l" in quotes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
174 $(ARGQUOTE)$(buildlisppath)/international/titdic-cnv$(ARGQUOTE) \
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
175 --eval $(ARGQUOTE)(batch-titdic-convert t)$(ARGQUOTE) \
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
176 -dir quail $(srcdir)/CXTERM-DIC
107549
0be378fcb83b Enclose the argument of "-l" in quotes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
177 $(RUN_EMACS) -l \
0be378fcb83b Enclose the argument of "-l" in quotes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
178 $(ARGQUOTE)$(buildlisppath)/international/quail$(ARGQUOTE) \
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
179 -f batch-byte-compile $(TIT:.elc=.el)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
180
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
181 # Rule to generate quail/*.el from MISC_DIC/*.tit.
43228
c2d0770e7fd8 ($(TIT)): Don't depend on $(SUBDIRS).
Andrew Innes <andrewi@gnu.org>
parents: 41635
diff changeset
182 $(MISC_DIC):
107549
0be378fcb83b Enclose the argument of "-l" in quotes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
183 $(RUN_EMACS) -l \
0be378fcb83b Enclose the argument of "-l" in quotes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
184 $(ARGQUOTE)$(buildlisppath)/international/titdic-cnv$(ARGQUOTE) \
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
185 -f batch-miscdic-convert -dir quail $(srcdir)/MISC-DIC
107549
0be378fcb83b Enclose the argument of "-l" in quotes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
186 $(RUN_EMACS) -l \
0be378fcb83b Enclose the argument of "-l" in quotes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
187 $(ARGQUOTE)$(buildlisppath)/international/quail$(ARGQUOTE) \
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
188 -f batch-byte-compile $(MISC_DIC:.elc=.el)
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
189
67641
8fdbccfbe833 ($(TIT), leim-list.el): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents: 64083
diff changeset
190 #
74513
14feaadb133a (leim-list.el): Depend on leim-ext.el as well. Run Emacs to append
Eli Zaretskii <eliz@gnu.org>
parents: 74444
diff changeset
191 # WARNING: Do NOT split the parts inside $(ARGQUOTE)s into multiple lines as
67641
8fdbccfbe833 ($(TIT), leim-list.el): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
parents: 64083
diff changeset
192 # this can break with GNU Make 3.81 and later if sh.exe is used.
74513
14feaadb133a (leim-list.el): Depend on leim-ext.el as well. Run Emacs to append
Eli Zaretskii <eliz@gnu.org>
parents: 74444
diff changeset
193 leim-list.el: $(SUBDIRS) $(WORLD) $(srcdir)/leim-ext.el
95499
76ecec704841 (KOREAN): Remove ${srcdir}/quail/hangul3.elc.
Kenichi Handa <handa@m17n.org>
parents: 94711
diff changeset
194 - $(DEL) leim-list.el
107549
0be378fcb83b Enclose the argument of "-l" in quotes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
195 $(RUN_EMACS) -l \
0be378fcb83b Enclose the argument of "-l" in quotes.
Eli Zaretskii <eliz@gnu.org>
parents: 106815
diff changeset
196 $(ARGQUOTE)$(buildlisppath)/international/quail$(ARGQUOTE) \
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
197 --eval $(ARGQUOTE)(update-leim-list-file $(DQUOTE).$(DQUOTE))$(ARGQUOTE)
74513
14feaadb133a (leim-list.el): Depend on leim-ext.el as well. Run Emacs to append
Eli Zaretskii <eliz@gnu.org>
parents: 74444
diff changeset
198 $(RUN_EMACS) --eval $(ARGQUOTE)(w32-append-code-lines $(DQUOTE)$@$(DQUOTE) $(DQUOTE)$(srcdir)/leim-ext.el$(DQUOTE))$(ARGQUOTE)
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
199
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
200 install: all
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
201 - mkdir "$(INSTALLDIR)"
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
202 - $(DEL) same-dir.tst
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
203 - $(DEL) $(INSTALL_DIR)/same-dir.tst
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
204 echo SameDirTest > $(INSTALL_DIR)/same-dir.tst
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
205 $(IFNOTSAMEDIR) $(CP) leim-list.el $(INSTALLDIR) $(ENDIF)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
206 $(IFNOTSAMEDIR) $(CP_DIR) quail $(INSTALLDIR) $(ENDIF)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
207 $(IFNOTSAMEDIR) $(CP_DIR) ja-dic $(INSTALLDIR) $(ENDIF)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
208 - $(DEL) $(INSTALL_DIR)/same-dir.tst
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
209
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
210 clean mostlyclean:
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
211 - $(FOREACH) $(TIT) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
212 - $(FOREACH) $(MISC_DIC) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
213 - $(FOREACH) $(TIT:.elc=.el) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
214 - $(FOREACH) $(MISC_DIC:.elc=.el) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
215 - $(DEL) leim-list.el
96109
36a2027494b9 (clean mostlyclean): Delete leim-list.el~.
Eli Zaretskii <eliz@gnu.org>
parents: 96096
diff changeset
216 - $(DEL) leim-list.el~
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
217
62996
c45f07f05709 (distclean): Fix a typo (colon was after "clean").
Eli Zaretskii <eliz@gnu.org>
parents: 56026
diff changeset
218 distclean: clean
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
219 - $(DEL) stamp-subdir
96109
36a2027494b9 (clean mostlyclean): Delete leim-list.el~.
Eli Zaretskii <eliz@gnu.org>
parents: 96096
diff changeset
220 - $(DEL) makefile
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
221
54216
638f83c80323 (all): Depends on $(WORLD) instead of $(TIT) and
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
222 maintainer-clean: distclean
638f83c80323 (all): Depends on $(WORLD) instead of $(TIT) and
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
223 - $(FOREACH) $(WORLD) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
62996
c45f07f05709 (distclean): Fix a typo (colon was after "clean").
Eli Zaretskii <eliz@gnu.org>
parents: 56026
diff changeset
224
78178
2b73f6ae0386 (extraclean): Don't delete *~.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
225 # We used to delete *~ here, but that might inadvertently remove
2b73f6ae0386 (extraclean): Don't delete *~.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
226 # precious files if it happens to match their short 8+3 aliases.
62996
c45f07f05709 (distclean): Fix a typo (colon was after "clean").
Eli Zaretskii <eliz@gnu.org>
parents: 56026
diff changeset
227 extraclean: maintainer-clean
78178
2b73f6ae0386 (extraclean): Don't delete *~.
Eli Zaretskii <eliz@gnu.org>
parents: 75348
diff changeset
228 - $(FOREACH) *.el~ "#*" $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)