annotate leim/makefile.nt @ 32849:e1dec7e5a57c

(get_char_property_and_overlay): New function. (Fget_char_property): Use it.
author Miles Bader <miles@gnu.org>
date Wed, 25 Oct 2000 05:14:01 +0000
parents c2eaf354c3ba
children ebdb59856b55
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
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
39 buildlisppath=$(dot)$(dot)/lisp
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/CTLau.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
51 quail/CCDOSPY.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
52 quail/Punct.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
53 quail/PY.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
54 quail/QJ.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
55 quail/SW.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
56 quail/TONEPY.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
57 quail/ZIRANMA.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
58
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
59 # Files generated from TIT dictionaries for Chinese BIG5 character set.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
60 TIT_BIG5=\
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
61 quail/4Corner.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
62 quail/ARRAY30.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
63 quail/CTLauB.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
64 quail/ECDICT.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
65 quail/ETZY.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
66 quail/Punct-b5.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
67 quail/PY-b5.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
68 quail/QJ-b5.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
69 quail/ZOZY.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
70
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
71 CHINESE_TIT=$(TIT_GB) $(TIT_BIG5)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
72
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
73 NON_TIT_GB=$(srcdir)/quail/py-punct.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
74
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
75 NON_TIT_BIG5=$(srcdir)/quail/quick-b5.elc $(srcdir)/quail/tsang-b5.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
76 $(srcdir)/quail/pypunct-b5.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
77
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
78 NON_TIT_CNS=$(srcdir)/quail/quick-cns.elc $(srcdir)/quail/tsang-cns.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
79
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
80 CHINESE_NON_TIT=$(NON_TIT_GB) $(NON_TIT_BIG5) $(NON_TIT_CNS)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
81
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
82 CHINESE_GB=$(TIT_GB) $(NON_TIT_GB)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
83
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
84 CHINESE_BIG5=$(TIT_BIG5) $(NON_TIT_BIG5)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
85
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
86 CHINESE_CNS=$(NON_TIT_CNS)
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 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
89
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
90 KOREAN= $(srcdir)/quail/hangul.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
91 $(srcdir)/quail/hangul3.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
92 $(srcdir)/quail/hanja.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
93 $(srcdir)/quail/hanja-jis.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
94 $(srcdir)/quail/symbol-ksc.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 THAI=$(srcdir)/quail/thai.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
97
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
98 VIETNAMESE=$(srcdir)/quail/viqr.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
99
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
100 LAO=$(srcdir)/quail/lao.elc $(srcdir)/quail/lrt.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
101
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
102 INDIAN=$(srcdir)/quail/devanagari.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
103
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
104 TIBETAN=$(srcdir)/quail/tibetan.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
105
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
106 LATIN=$(srcdir)/quail/latin-pre.elc $(srcdir)/quail/latin-post.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
107
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
108 SLAVIC= \
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
109 $(srcdir)/quail/czech.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
110 $(srcdir)/quail/slovak.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
111
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
112 GREEK=$(srcdir)/quail/greek.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
113
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
114 RUSSIAN=$(srcdir)/quail/cyrillic.elc $(srcdir)/quail/cyril-jis.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
115
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
116 MISC= \
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
117 $(srcdir)/quail/ethiopic.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
118 $(srcdir)/quail/ipa.elc \
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
119 $(srcdir)/quail/hebrew.elc
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
120
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
121 CHINESE=$(CHINESE_GB) $(CHINESE_BIG5) $(CHINESE_CNS)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
122 EASTASIA=$(CHINESE) $(JAPANESE) $(KOREAN)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
123 ASIA=$(EASTASIA) $(THAI) $(VIETNAMESE) $(LAO) $(INDIAN) $(TIBETAN)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
124 EUROPEAN=$(LATIN) $(SLAVIC) $(GREEK) $(RUSSIAN)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
125 WORLD=$(ASIA) $(EUROPEAN) $(MISC)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
126
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
127 TIT=$(CHINESE_TIT)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
128 NON_TIT=$(CHINESE_NON_TIT) $(JAPANESE) $(KOREAN) $(EUROPEAN) $(MISC)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
129
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
130 all: $(BUILT_EMACS) $(SUBDIRS) $(TIT) leim-list.el
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 # 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
133 # being hit) if a user changes default value of EMACS.
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
134 $(dot)$(dot)/src/emacs:
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
135 cd ../src; $(MAKE) $(MFLAGS) emacs
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 $(SUBDIRS):
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
138 mkdir $@
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
139 echo stamp>stamp-subdir
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
140
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
141 # 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
142 $(TIT): $(SUBDIRS)
31678
30d8d153fa6e ($(TIT)): Set EMACSLOADPATH when running emacs.
Andrew Innes <andrewi@gnu.org>
parents: 31621
diff changeset
143 set EMACSLOADPATH=$(buildlisppath)
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
144 $(RUN_EMACS) -l $(buildlisppath)/international/titdic-cnv \
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
145 --eval "(batch-titdic-convert t)" -dir quail $(srcdir)/CXTERM-DIC
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
146 $(RUN_EMACS) -l $(buildlisppath)/international/quail \
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
147 -f batch-byte-compile $(TIT)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
148
32717
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
149 .el.elc:
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
150 set EMACSLOADPATH=$(buildlisppath)
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
151 $(RUN_EMACS) -f batch-byte-compile $<
c2eaf354c3ba ($(TIT)): Add $(SUBDIRS) as dependents, instead
Andrew Innes <andrewi@gnu.org>
parents: 31678
diff changeset
152
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
153 leim-list.el: $(SUBDIRS) $(WORLD)
31678
30d8d153fa6e ($(TIT)): Set EMACSLOADPATH when running emacs.
Andrew Innes <andrewi@gnu.org>
parents: 31621
diff changeset
154 set EMACSLOADPATH=$(buildlisppath)
26537
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
155 $(RUN_EMACS) -l $(buildlisppath)/international/quail \
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
156 --eval "(update-leim-list-file \".\")"
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
157
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
158 install: all
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
159 - mkdir $(INSTALLDIR)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
160 - $(DEL) same-dir.tst
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
161 - $(DEL) $(INSTALLDIR)\same-dir.tst
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
162 echo SameDirTest > $(INSTALLDIR)\same-dir.tst
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
163 if not exist same-dir.tst $(CP) leim-list.el $(INSTALLDIR)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
164 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
165 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
166 - $(DEL) $(INSTALLDIR)\same-dir.tst
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
167
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
168 clean mostlyclean:
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
169 for %%f in ($(TIT:/=\)) do $(DEL) %%fc
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
170 for %%f in ($(TIT:/=\)) do $(DEL) %%f
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
171 $(DEL) leim-list.el
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
172
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
173 distclean maintainer-clean:
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
174 if exist stamp-subdir $(DELTREE) $(SUBDIRS)
a225257f9bb0 Leim makefile for NT.
Gerd Moellmann <gerd@gnu.org>
parents:
diff changeset
175 $(DEL) stamp-subdir