annotate leim/makefile.nt @ 42311:4c8338cf29e9

Fix Lisp footer.
author Pavel Janík <Pavel@Janik.cz>
date Tue, 25 Dec 2001 10:53:42 +0000
parents 8ae6fc3664e5
children 223fa5122806
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
1 # Makefile for leim subdirectory in GNU Emacs on the Microsoft W32 API.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
2 # Copyright (C) 1997 Electrotechnical Laboratory, JAPAN.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
3 # Licensed to the Free Software Foundation.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
4
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
5 # This file is part of GNU Emacs.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
6
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
7 # GNU Emacs is free software; you can redistribute it and/or modify
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
8 # it under the terms of the GNU General Public License as published by
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
9 # the Free Software Foundation; either version 2, or (at your option)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
10 # any later version.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
11 #
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
12 # GNU Emacs is distributed in the hope that it will be useful,
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
15 # GNU General Public License for more details.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
16 #
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
17 # You should have received a copy of the GNU General Public License
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
18 # along with GNU Emacs; see the file COPYING. If not, write to the
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
19 # Free Software Foundation, Inc., 59 Temple Place - Suite 330,
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
20 # Boston, MA 02111-1307, USA.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
21
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
22 #
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
23 # Sets up the system dependent macros.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
24 #
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
25 !include ..\nt\makefile.def
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
26
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
27 srcdir=.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
28
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
29 # Where to install LEIM files.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
30 INSTALLDIR=$(INSTALL_DIR)\leim
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
31
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
32 # On Xenix and the IBM RS6000, double-dot gets screwed up.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
33 dot = .
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
34
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
35 # Which Emacs to use to convert TIT files to Emacs Lisp files,
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
36 # byte-compile Emacs Lisp files, and generate the file leim-list.el.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
37 BUILT_EMACS = $(dot)$(dot)\src\$(BLD)\emacs.exe
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
38
35107
bc7d1e3b8eac ($(TIT)): Map .elc to .el.
Andrew Innes <andrewi@gnu.org>
parents: 33857
diff changeset
39 buildlisppath=$(MAKEDIR:\=/)/$(dot)$(dot)/lisp
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
40
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
41 # How to run Emacs.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
42 RUN_EMACS = $(BUILT_EMACS) -batch --no-init-file --no-site-file --multibyte
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
43
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
44 # Subdirectories to be made if $(srcdir) is different from the current
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
45 # directory.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
46 SUBDIRS=quail
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
47
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
48 # Files generated from TIT dictionaries for Chinese GB character set.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
49 TIT_GB=\
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
50 quail/CCDOSPY.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
51 quail/Punct.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
52 quail/QJ.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
53 quail/SW.elc \
37973
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
54 quail/TONEPY.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
55
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
56 # Files generated from TIT dictionaries for Chinese BIG5 character set.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
57 TIT_BIG5=\
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
58 quail/4Corner.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
59 quail/ARRAY30.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
60 quail/ECDICT.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
61 quail/ETZY.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
62 quail/Punct-b5.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
63 quail/PY-b5.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
64 quail/QJ-b5.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
65 quail/ZOZY.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
66
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
67 CHINESE_TIT=$(TIT_GB) $(TIT_BIG5)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
68
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
69 NON_TIT_GB=$(srcdir)/quail/py-punct.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
70
37973
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
71 NON_TIT_BIG5=$(srcdir)/quail/quick-b5.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
72
37973
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
73 CHINESE_NON_TIT=$(NON_TIT_GB) $(NON_TIT_BIG5)
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
74
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
75 CHINESE_GB=$(TIT_GB) $(NON_TIT_GB)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
76
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
77 CHINESE_BIG5=$(TIT_BIG5) $(NON_TIT_BIG5)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
78
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
79 JAPANESE=$(srcdir)/quail/japanese.elc $(srcdir)/ja-dic/ja-dic.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
80
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
81 KOREAN= $(srcdir)/quail/hangul.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
82 $(srcdir)/quail/hangul3.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
83 $(srcdir)/quail/hanja.elc \
37973
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
84 $(srcdir)/quail/hanja3.elc \
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
85 $(srcdir)/quail/hanja-jis.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
86 $(srcdir)/quail/symbol-ksc.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
87
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
88 THAI=$(srcdir)/quail/thai.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
89
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
90 VIETNAMESE=$(srcdir)/quail/viqr.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
91
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
92 LAO=$(srcdir)/quail/lao.elc $(srcdir)/quail/lrt.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
93
41635
8ae6fc3664e5 Rename devanagari.elc to indian.elc
Jason Rumney <jasonr@gnu.org>
parents: 37973
diff changeset
94 INDIAN=$(srcdir)/quail/indian.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
95
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
96 TIBETAN=$(srcdir)/quail/tibetan.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
97
37973
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
98 LATIN= $(srcdir)/quail/latin-pre.elc \
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
99 $(srcdir)/quail/latin-post.elc \
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
100 $(srcdir)/quail/latin-alt.elc \
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
101 $(srcdir)/quail/latin-ltx.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
102
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@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
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@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
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@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
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
110
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@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
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
115
37973
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
116 MISC_DIC=\
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
117 quail/tsang-b5.elc \
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
118 quail/quick-b5.elc \
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
119 quail/tsang-cns.elc \
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
120 quail/quick-cns.elc \
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
121 quail/PY.elc \
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
122 quail/ZIRANMA.elc \
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
123 quail/CTLau.elc \
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
124 quail/CTLau-b5.elc
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
125
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
126 CHINESE=$(CHINESE_GB) $(CHINESE_BIG5)
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
127 EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
128 ASIA=$(EASTASIA) $(THAI) $(VIETNAMESE) $(LAO) $(INDIAN) $(TIBETAN)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
129 EUROPEAN=$(LATIN) $(SLAVIC) $(GREEK) $(RUSSIAN)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
130 WORLD=$(ASIA) $(EUROPEAN) $(MISC)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
131
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
132 TIT=$(CHINESE_TIT)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
133 NON_TIT=$(CHINESE_NON_TIT) $(JAPANESE) $(KOREAN) $(EUROPEAN) $(MISC)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
134
37973
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
135 all: $(BUILT_EMACS) $(SUBDIRS) $(TIT) $(MISC_DIC) leim-list.el
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
136
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
137 # To ensure that we can run Emacs. This target is ignored (never
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
138 # being hit) if a user changes default value of EMACS.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
139 $(dot)$(dot)/src/emacs:
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
140 cd ../src; $(MAKE) $(MFLAGS) emacs
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
141
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
142 $(SUBDIRS):
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
143 mkdir $@
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
144 echo stamp>stamp-subdir
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
145
37973
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
146 # The rules which generate $(TIT) and ${MISC_DIC) files create them all
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
147 # in one go. So we need to prevent parallel execution for that target,
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
148 # otherwise Emacs complains about files being locked. .NOTPARALLEL is
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
149 # for GNU Make, .NO_PARALLEL is for other Make's.
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
150 .NOTPARALLEL: $(TIT) $(MISC_DIC)
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
151
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
152 .NO_PARALLEL: $(TIT) $(MISC_DIC)
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
153
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
154 # 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
155 $(TIT): $(SUBDIRS)
31678
30d8d153fa6e ($(TIT)): Set EMACSLOADPATH when running emacs.
Andrew Innes <andrewi@gnu.org>
parents: 31621
diff changeset
156 set EMACSLOADPATH=$(buildlisppath)
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
157 $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
158 --eval "(batch-titdic-convert t)" -dir quail $(srcdir)/CXTERM-DIC
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
159 $(RUN_EMACS) -l $(buildlisppath)/international/quail \
35107
bc7d1e3b8eac ($(TIT)): Map .elc to .el.
Andrew Innes <andrewi@gnu.org>
parents: 33857
diff changeset
160 -f batch-byte-compile $(TIT:.elc=.el)
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
161
37973
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
162 # Rule to generate quail/*.el from CXTERM-DIC/*.tit.
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
163 $(MISC_DIC): $(SUBDIRS)
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
164 set EMACSLOADPATH=$(buildlisppath)
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
165 $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
166 -f batch-miscdic-convert -dir quail $(srcdir)/MISC-DIC
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
167 $(RUN_EMACS) -l $(buildlisppath)/international/quail \
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
168 -f batch-byte-compile $(MISC_DIC:.elc=.el)
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
169
33857
ebdb59856b55 (.SUFFIXES): New target, include .elc .el.
Andrew Innes <andrewi@gnu.org>
parents: 32717
diff changeset
170 .SUFFIXES: .elc .el
ebdb59856b55 (.SUFFIXES): New target, include .elc .el.
Andrew Innes <andrewi@gnu.org>
parents: 32717
diff changeset
171
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
172 .el.elc:
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
173 set EMACSLOADPATH=$(buildlisppath)
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
174 $(RUN_EMACS) -f batch-byte-compile $<
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
175
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
176 leim-list.el: $(SUBDIRS) $(WORLD)
31678
30d8d153fa6e ($(TIT)): Set EMACSLOADPATH when running emacs.
Andrew Innes <andrewi@gnu.org>
parents: 31621
diff changeset
177 set EMACSLOADPATH=$(buildlisppath)
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
178 $(RUN_EMACS) -l $(buildlisppath)/international/quail \
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
179 --eval "(update-leim-list-file \".\")"
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
180
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
181 install: all
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
182 - mkdir $(INSTALLDIR)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
183 - $(DEL) same-dir.tst
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
184 - $(DEL) $(INSTALLDIR)\same-dir.tst
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
185 echo SameDirTest > $(INSTALLDIR)\same-dir.tst
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
186 if not exist same-dir.tst $(CP) leim-list.el $(INSTALLDIR)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
187 if not exist same-dir.tst $(CP_DIR) quail $(INSTALLDIR)\quail
31621
b4b7c7c35095 Rename skkdic to ja-dic.
Andrew Innes <andrewi@gnu.org>
parents: 26539
diff changeset
188 if not exist same-dir.tst $(CP_DIR) ja-dic $(INSTALLDIR)\ja-dic
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
189 - $(DEL) $(INSTALLDIR)\same-dir.tst
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
190
37973
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
191 TIT_EL=$(TIT:.elc=.el)
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
192 MISC_DIC_EL=$(MISC_DIC:.elc=.el)
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
193
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
194 clean mostlyclean:
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
195 for %%f in ($(TIT:/=\)) do $(DEL) %%f
37973
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
196 for %%f in ($(TIT_EL:/=\)) do $(DEL) %%f
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
197 for %%f in ($(MISC_DIC:/=\)) do $(DEL) %%f
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
198 for %%f in ($(MISC_DIC_EL:/=\)) do $(DEL) %%f
fcc11950fae1 (TIT_GB): Remove quail/PY.elc and quail/ZIRANMA.elc.
Andrew Innes <andrewi@gnu.org>
parents: 35107
diff changeset
199 for %%f in ($(WORLD:/=\)) do $(DEL) %%f
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
200 $(DEL) leim-list.el
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
201
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
202 distclean maintainer-clean:
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
203 if exist stamp-subdir $(DELTREE) $(SUBDIRS)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
204 $(DEL) stamp-subdir