annotate leim/makefile.w32-in @ 66780:5bb175fa0f8e

*** empty log message ***
author Kim F. Storm <storm@cua.dk>
date Wed, 09 Nov 2005 23:21:52 +0000
parents 23a17af379b1
children 8fdbccfbe833 f9a65d7ebd29
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.
56026
bb6720f21c54 Revision: miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-396
Miles Bader <miles@gnu.org>
parents: 55092
diff changeset
2 # Copyright (C) 1997, 2004 Electrotechnical Laboratory, JAPAN.
62996
c45f07f05709 (distclean): Fix a typo (colon was after "clean").
Eli Zaretskii <eliz@gnu.org>
parents: 56026
diff changeset
3 # Licensed to the Free Software Foundation.
c45f07f05709 (distclean): Fix a typo (colon was after "clean").
Eli Zaretskii <eliz@gnu.org>
parents: 56026
diff changeset
4 # Copyright (C) 2005, Free Software Foundation, Inc.
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
5
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
6 # This file is part of GNU Emacs.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
7
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
8 # GNU Emacs is free software; you can redistribute it and/or modify
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
9 # it under the terms of the GNU General Public License as published by
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
10 # the Free Software Foundation; either version 2, or (at your option)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
11 # any later version.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
12 #
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
13 # 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
14 # 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
15 # 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
16 # GNU General Public License for more details.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
17 #
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
18 # You should have received a copy of the GNU General Public License
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
19 # along with GNU Emacs; see the file COPYING. If not, write to the
64083
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62996
diff changeset
20 # Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
23a17af379b1 Update FSF's address.
Lute Kamstra <lute@gnu.org>
parents: 62996
diff changeset
21 # Boston, MA 02110-1301, USA.
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
22
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
23 srcdir=.
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 # Where to install LEIM files.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
26 INSTALLDIR=$(INSTALL_DIR)/leim
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
27
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
28 # On Xenix and the IBM RS6000, double-dot gets screwed up.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
29 dot = .
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
30
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
31 # 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
32 # 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
33 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
34
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
35 buildlisppath=$(CURDIR)/$(dot)$(dot)/lisp
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 # How to run Emacs.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
38 RUN_EMACS = "$(BUILT_EMACS)" -batch --no-init-file --no-site-file --multibyte
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
39
37383
037044a4e3a6 (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 37176
diff changeset
40 # Set EMACSLOADPATH correctly (already defined in environment).
037044a4e3a6 (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 37176
diff changeset
41 EMACSLOADPATH=$(buildlisppath)
037044a4e3a6 (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 37176
diff changeset
42
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
43 # 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
44 # directory.
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
45 SUBDIRS=quail
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
46
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
47 # 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
48 TIT_GB=\
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
49 quail/CCDOSPY.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
50 quail/Punct.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
51 quail/QJ.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
52 quail/SW.elc \
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
53 quail/TONEPY.elc
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
54
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
55 # 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
56 TIT_BIG5=\
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
57 quail/4Corner.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
58 quail/ARRAY30.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
59 quail/ECDICT.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
60 quail/ETZY.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
61 quail/Punct-b5.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
62 quail/PY-b5.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
63 quail/QJ-b5.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
64 quail/ZOZY.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
65
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
66 CHINESE_TIT=$(TIT_GB) $(TIT_BIG5)
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 NON_TIT_GB=$(srcdir)/quail/py-punct.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
69
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
70 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
71
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
72 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
73
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
74 CHINESE_GB=$(TIT_GB) $(NON_TIT_GB)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
75
49600
23a1cea22d13 Trailing whitespace deleted.
Juanma Barranquero <lekktu@gmail.com>
parents: 49040
diff changeset
76 CHINESE_BIG5=$(TIT_BIG5) $(NON_TIT_BIG5)
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
77
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
78 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
79
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
80 KOREAN= $(srcdir)/quail/hangul.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
81 $(srcdir)/quail/hangul3.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
82 $(srcdir)/quail/hanja.elc \
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
83 $(srcdir)/quail/hanja3.elc \
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
84 $(srcdir)/quail/hanja-jis.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
85 $(srcdir)/quail/symbol-ksc.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
86
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
87 THAI=$(srcdir)/quail/thai.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
88
43705
223fa5122806 * Makefile.in (VIETNAMESE), makefile.nt (VIETNAMESE), makefile.w32-in
Werner LEMBERG <wl@gnu.org>
parents: 43228
diff changeset
89 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
90
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
91 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
92
41635
8ae6fc3664e5 Rename devanagari.elc to indian.elc
Jason Rumney <jasonr@gnu.org>
parents: 37974
diff changeset
93 INDIAN=$(srcdir)/quail/indian.elc
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
94
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
95 TIBETAN=$(srcdir)/quail/tibetan.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
96
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
97 LATIN= $(srcdir)/quail/latin-pre.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
98 $(srcdir)/quail/latin-post.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
99 $(srcdir)/quail/latin-alt.elc \
48798
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
100 $(srcdir)/quail/latin-ltx.elc \
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
101 $(srcdir)/quail/welsh.elc
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
102
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
103 UNICODE=$(srcdir)/quail/sgml-input.elc \
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
104 $(srcdir)/quail/rfc1345.elc \
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
105 $(srcdir)/quail/uni-input.elc
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
106
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
107 SLAVIC= \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
108 $(srcdir)/quail/czech.elc \
49040
37e7677ca4d7 (SLAVIC): Add croatian.elc.
Dave Love <fx@gnu.org>
parents: 48798
diff changeset
109 $(srcdir)/quail/croatian.elc \
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
110 $(srcdir)/quail/slovak.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
111
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
112 GREEK=$(srcdir)/quail/greek.elc
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
113
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
114 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
115
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
116 MISC= \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
117 $(srcdir)/quail/ethiopic.elc \
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
118 $(srcdir)/quail/ipa.elc \
48798
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
119 $(srcdir)/quail/hebrew.elc \
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
120 $(srcdir)/quail/georgian.elc
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
121
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
122 MISC_DIC=\
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
123 quail/tsang-b5.elc \
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
124 quail/quick-b5.elc \
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
125 quail/tsang-cns.elc \
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
126 quail/quick-cns.elc \
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
127 quail/PY.elc \
37974
266a29987e3c (TIT-GB): Remove CTLau.elc from it.
Andrew Innes <andrewi@gnu.org>
parents: 37383
diff changeset
128 quail/ZIRANMA.elc \
266a29987e3c (TIT-GB): Remove CTLau.elc from it.
Andrew Innes <andrewi@gnu.org>
parents: 37383
diff changeset
129 quail/CTLau.elc \
266a29987e3c (TIT-GB): Remove CTLau.elc from it.
Andrew Innes <andrewi@gnu.org>
parents: 37383
diff changeset
130 quail/CTLau-b5.elc
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
131
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
132 CHINESE=$(CHINESE_GB) $(CHINESE_BIG5)
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
133 EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
134 ASIA=$(EASTASIA) $(THAI) $(VIETNAMESE) $(LAO) $(INDIAN) $(TIBETAN)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
135 EUROPEAN=$(LATIN) $(SLAVIC) $(GREEK) $(RUSSIAN)
48798
d9df339c7f01 (LATIN): Add welsh.elc.
Juanma Barranquero <lekktu@gmail.com>
parents: 43705
diff changeset
136 WORLD=$(ASIA) $(EUROPEAN) $(MISC) $(MISC_DIC) $(UNICODE)
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
137
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
138 TIT=$(CHINESE_TIT)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
139 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
140
43228
c2d0770e7fd8 ($(TIT)): Don't depend on $(SUBDIRS).
Andrew Innes <andrewi@gnu.org>
parents: 41635
diff changeset
141 .SUFFIXES: .elc .el
c2d0770e7fd8 ($(TIT)): Don't depend on $(SUBDIRS).
Andrew Innes <andrewi@gnu.org>
parents: 41635
diff changeset
142
c2d0770e7fd8 ($(TIT)): Don't depend on $(SUBDIRS).
Andrew Innes <andrewi@gnu.org>
parents: 41635
diff changeset
143 .el.elc:
c2d0770e7fd8 ($(TIT)): Don't depend on $(SUBDIRS).
Andrew Innes <andrewi@gnu.org>
parents: 41635
diff changeset
144 $(RUN_EMACS) -f batch-byte-compile $<
c2d0770e7fd8 ($(TIT)): Don't depend on $(SUBDIRS).
Andrew Innes <andrewi@gnu.org>
parents: 41635
diff changeset
145
54216
638f83c80323 (all): Depends on $(WORLD) instead of $(TIT) and
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
146 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
147
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
148 # 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
149 # 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
150 $(dot)$(dot)/src/emacs:
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
151 cd ../src; $(MAKE) $(MFLAGS) emacs
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
152
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
153 $(SUBDIRS):
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
154 mkdir "$@"
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
155 echo stamp>stamp-subdir
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
156
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
157 # 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
158 # 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
159 # 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
160 # 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
161 .NOTPARALLEL: $(TIT) $(MISC_DIC)
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
162
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
163 .NO_PARALLEL: $(TIT) $(MISC_DIC)
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
164
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
165 # Rule to generate quail/*.el from CXTERM-DIC/*.tit.
43228
c2d0770e7fd8 ($(TIT)): Don't depend on $(SUBDIRS).
Andrew Innes <andrewi@gnu.org>
parents: 41635
diff changeset
166 $(TIT):
37383
037044a4e3a6 (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 37176
diff changeset
167 $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
168 --eval $(ARGQUOTE)(batch-titdic-convert t)$(ARGQUOTE) \
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
169 -dir quail $(srcdir)/CXTERM-DIC
37383
037044a4e3a6 (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 37176
diff changeset
170 $(RUN_EMACS) -l $(buildlisppath)/international/quail \
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
171 -f batch-byte-compile $(TIT:.elc=.el)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
172
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
173 # 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
174 $(MISC_DIC):
37383
037044a4e3a6 (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 37176
diff changeset
175 $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
176 -f batch-miscdic-convert -dir quail $(srcdir)/MISC-DIC
37383
037044a4e3a6 (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 37176
diff changeset
177 $(RUN_EMACS) -l $(buildlisppath)/international/quail \
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
178 -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
179
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
180 leim-list.el: $(SUBDIRS) $(WORLD)
37383
037044a4e3a6 (EMACSLOADPATH): Define.
Andrew Innes <andrewi@gnu.org>
parents: 37176
diff changeset
181 $(RUN_EMACS) -l $(buildlisppath)/international/quail \
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
182 --eval $(ARGQUOTE)(update-leim-list-file $(DQUOTE).$(DQUOTE))$(ARGQUOTE)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
183
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
184 install: all
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
185 - mkdir "$(INSTALLDIR)"
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
186 - $(DEL) same-dir.tst
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
187 - $(DEL) $(INSTALL_DIR)/same-dir.tst
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
188 echo SameDirTest > $(INSTALL_DIR)/same-dir.tst
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
189 $(IFNOTSAMEDIR) $(CP) leim-list.el $(INSTALLDIR) $(ENDIF)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
190 $(IFNOTSAMEDIR) $(CP_DIR) quail $(INSTALLDIR) $(ENDIF)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
191 $(IFNOTSAMEDIR) $(CP_DIR) ja-dic $(INSTALLDIR) $(ENDIF)
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
192 - $(DEL) $(INSTALL_DIR)/same-dir.tst
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
193
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
194 clean mostlyclean:
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
195 - $(FOREACH) $(TIT) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
37176
31dab93d19b4 (TIT_GB): Delete quail/PY.elc and
Andrew Innes <andrewi@gnu.org>
parents: 35930
diff changeset
196 - $(FOREACH) $(MISC_DIC) $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
197 - $(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
198 - $(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
199 - $(DEL) leim-list.el
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
200
62996
c45f07f05709 (distclean): Fix a typo (colon was after "clean").
Eli Zaretskii <eliz@gnu.org>
parents: 56026
diff changeset
201 distclean: clean
54768
3667cb56ffeb (distclean clean): Remove nmake specific
Andrew Innes <andrewi@gnu.org>
parents: 54216
diff changeset
202 - $(DELTREE) $(SUBDIRS)
35930
001727d02063 Convert back to Unix line endings.
Andrew Innes <andrewi@gnu.org>
parents: 35902
diff changeset
203 - $(DEL) stamp-subdir
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 49600
diff changeset
204
54216
638f83c80323 (all): Depends on $(WORLD) instead of $(TIT) and
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
205 maintainer-clean: distclean
638f83c80323 (all): Depends on $(WORLD) instead of $(TIT) and
Kenichi Handa <handa@m17n.org>
parents: 52401
diff changeset
206 - $(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
207
c45f07f05709 (distclean): Fix a typo (colon was after "clean").
Eli Zaretskii <eliz@gnu.org>
parents: 56026
diff changeset
208 extraclean: maintainer-clean
c45f07f05709 (distclean): Fix a typo (colon was after "clean").
Eli Zaretskii <eliz@gnu.org>
parents: 56026
diff changeset
209 - $(FOREACH) *~ "#*" $(FORDO) $(DEL) $(FORVAR) $(ENDFOR)