55092
|
1 # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
|
64769
|
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004,
|
100908
|
3 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
|
94683
|
4
|
31631
|
5 # This file is part of GNU Emacs.
|
94683
|
6
|
|
7 # GNU Emacs is free software: you can redistribute it and/or modify
|
|
8 # it under the terms of the GNU General Public License as published by
|
|
9 # the Free Software Foundation, either version 3 of the License, or
|
|
10 # (at your option) any later version.
|
|
11
|
|
12 # GNU Emacs is distributed in the hope that it will be useful,
|
|
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
15 # GNU General Public License for more details.
|
|
16
|
|
17 # You should have received a copy of the GNU General Public License
|
|
18 # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
|
31631
|
19
|
|
20 ALL =
|
|
21
|
|
22 all: $(ALL)
|
|
23
|
|
24 SQUOTE='
|
|
25 # '
|
|
26
|
34273
|
27 lisp = $(CURDIR)
|
46629
|
28 srcdir = $(CURDIR)/..
|
31631
|
29
|
|
30 # You can specify a different executable on the make command line,
|
|
31 # e.g. "make EMACS=../src/emacs ...".
|
|
32
|
71163
|
33 EMACS = $(THISDIR)/../bin/emacs.exe
|
31631
|
34
|
|
35 # Command line flags for Emacs. This must include --multibyte,
|
|
36 # otherwise some files will not compile.
|
|
37
|
|
38 EMACSOPT = -batch --no-init-file --no-site-file --multibyte
|
|
39
|
87181
|
40 # Extra flags to pass to the byte compiler
|
|
41 BYTE_COMPILE_EXTRA_FLAGS =
|
|
42 # For example to not display the undefined function warnings you can use this:
|
|
43 # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))'
|
|
44 # The example above is just for developers, it should not be used by default.
|
|
45
|
37384
|
46 # Set EMACSLOADPATH correctly (already defined in environment).
|
|
47 EMACSLOADPATH=$(lisp)
|
|
48
|
89970
|
49 # Use C locale
|
|
50 LC_ALL = C
|
|
51
|
31631
|
52 lisptagsfiles1 = $(lisp)/*.el
|
|
53 lisptagsfiles2 = $(lisp)/*/*.el
|
|
54 ETAGS = "../lib-src/$(BLD)/etags"
|
|
55
|
92942
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
56 # Automatically generated autoload files, apart from lisp/loaddefs.el.
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
57 LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \
|
93926
|
58 $(lisp)/calendar/diary-loaddefs.el $(lisp)/calendar/hol-loaddefs.el \
|
|
59 $(lisp)/mh-e/mh-loaddefs.el
|
|
60
|
|
61 AUTOGENEL = $(lisp)/loaddefs.el $(LOADDEFS) $(lisp)/cus-load.el \
|
93969
|
62 $(lisp)/finder-inf.el $(lisp)/subdirs.el $(lisp)/eshell/esh-groups.el \
|
96113
|
63 $(lisp)/calc/calc-loaddefs.el $(lisp)/nxml/subdirs.el
|
92942
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
64
|
36918
|
65 # Files to compile before others during a bootstrap. This is done to
|
|
66 # speed up the bootstrap process. The CC files are compiled first
|
|
67 # because CC mode tweaks the compilation process, and requiring
|
|
68 # cc-mode when it is not compiled doesn't work during the
|
|
69 # bootstrapping.
|
31631
|
70
|
|
71 COMPILE_FIRST = \
|
|
72 $(lisp)/emacs-lisp/byte-opt.el \
|
|
73 $(lisp)/emacs-lisp/bytecomp.el \
|
36918
|
74 $(lisp)/subr.el \
|
|
75 $(lisp)/progmodes/cc-mode.el \
|
|
76 $(lisp)/progmodes/cc-vars.el
|
31631
|
77
|
|
78 # The actual Emacs command run in the targets below.
|
71163
|
79 # The quotes around $(EMACS) are here because the user could type
|
|
80 # it with forward slashes and without quotes, which will fail if
|
|
81 # the shell is cmd.exe.
|
31631
|
82
|
71163
|
83 emacs = "$(EMACS)" $(EMACSOPT)
|
31631
|
84
|
|
85 # Have to define the list of subdirs manually when not using sh.
|
73817
|
86 WINS_ALMOST=\
|
47039
|
87 calc \
|
31631
|
88 calendar \
|
|
89 emacs-lisp \
|
|
90 emulation \
|
68467
|
91 erc \
|
31631
|
92 eshell \
|
|
93 gnus \
|
|
94 international \
|
|
95 language \
|
|
96 mail \
|
49459
|
97 mh-e \
|
31631
|
98 net \
|
86371
|
99 nxml \
|
93150
|
100 org \
|
31631
|
101 play \
|
|
102 progmodes \
|
44165
|
103 textmodes \
|
55064
|
104 url
|
31631
|
105
|
73817
|
106 WINS= $(WINS_ALMOST) \
|
92117
|
107 term \
|
73817
|
108 obsolete
|
|
109
|
31631
|
110 doit:
|
|
111
|
96114
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
112 cus-load.el-SH:
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
113 echo ";;; cus-load.el --- automatically extracted custom dependencies" > $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
114 echo ";;" >> $@; echo ";;; Code:" >> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
115 echo "" >> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
116 echo ";; Local Variables:" >> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
117 echo ";; version-control: never" >> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
118 echo ";; no-byte-compile: t" >> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
119 echo ";; no-update-autoloads: t" >> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
120 echo ";; End:" >> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
121
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
122 cus-load.el-CMD:
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
123 echo ;;; cus-load.el --- automatically extracted custom dependencies> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
124 echo ;;>> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
125 echo ;;; Code:>> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
126 echo.>> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
127 echo ;; Local Variables:>> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
128 echo ;; version-control: never>> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
129 echo ;; no-byte-compile: t>> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
130 echo ;; no-update-autoloads: t>> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
131 echo ;; End:>> $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
132
|
66160
|
133 $(lisp)/cus-load.el:
|
96114
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
134 $(MAKE) $(MFLAGS) cus-load.el-$(SHELLTYPE)
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
135 mv cus-load.el-$(SHELLTYPE) $@
|
d2cbd54eeb90
($(lisp)/cus-load.el): Don't use `touch'. Instead, generate an empty
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
136
|
67640
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
137 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
|
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
138 # this can break with GNU Make 3.81 and later if sh.exe is used.
|
75410
|
139 custom-deps: $(lisp)/cus-load.el $(lisp)/loaddefs.el doit
|
92117
|
140 @echo Directories: $(WINS_ALMOST)
|
|
141 -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS_ALMOST)
|
31631
|
142
|
75410
|
143 finder-data: $(lisp)/loaddefs.el doit
|
92117
|
144 @echo Directories: $(WINS_ALMOST)
|
|
145 $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS_ALMOST)
|
31631
|
146
|
66160
|
147 $(lisp)/loaddefs.el:
|
49259
|
148 $(MAKE) $(MFLAGS) loaddefs.el-$(SHELLTYPE)
|
|
149 cp loaddefs.el-$(SHELLTYPE) $@
|
|
150 rm loaddefs.el-$(SHELLTYPE)
|
|
151
|
|
152 loaddefs.el-SH:
|
|
153 echo ";;; loaddefs.el --- automatically extracted autoloads" > $@
|
|
154 echo ";;" >> $@; echo ";;; Code:" >> $@
|
|
155 echo "" >> $@
|
96108
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
156 echo ";; Local Variables:" >> $@
|
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
157 echo ";; version-control: never" >> $@
|
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
158 echo ";; no-byte-compile: t" >> $@
|
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
159 echo ";; no-update-autoloads: t" >> $@
|
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
160 echo ";; coding: utf-8" >> $@
|
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
161 echo ";; End:" >> $@
|
49259
|
162 echo ";;; loaddefs.el ends here" >> $@
|
|
163
|
|
164 loaddefs.el-CMD:
|
31631
|
165 echo ;;; loaddefs.el --- automatically extracted autoloads> $@
|
96108
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
166 echo ;;>> $@
|
31631
|
167 echo ;;; Code:>> $@
|
66160
|
168 echo.>> $@
|
96108
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
169 echo ;; Local Variables:>> $@
|
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
170 echo ;; version-control: never>> $@
|
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
171 echo ;; no-byte-compile: t>> $@
|
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
172 echo ;; no-update-autoloads: t>> $@
|
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
173 echo ;; coding: utf-8>> $@
|
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
174 echo ;; End:>> $@
|
31631
|
175 echo ;;; loaddefs.el ends here>> $@
|
|
176
|
66385
0c86bdf8a4cf
(autoloads): Use "." instead of $(lisp) in the list of directories passed
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
177 # Use . instead of $(lisp) because $(lisp) is an absolute file name,
|
0c86bdf8a4cf
(autoloads): Use "." instead of $(lisp) in the list of directories passed
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
178 # including a drive letter and any leading directories, so the generated
|
0c86bdf8a4cf
(autoloads): Use "." instead of $(lisp) in the list of directories passed
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
179 # loaddefs.el will mention file names that on other machine reference
|
0c86bdf8a4cf
(autoloads): Use "." instead of $(lisp) in the list of directories passed
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
180 # possibly non-existent directories.
|
67640
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
181 #
|
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
182 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
|
8b927f8d61a2
(autoloads, custom-deps): Warn that parts of commands enclosed in $(ARGQUOTE)s
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
183 # this can break with GNU Make 3.81 and later if sh.exe is used.
|
92942
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
184 autoloads: $(lisp)/loaddefs.el $(LOADDEFS) doit
|
73817
|
185 @echo Directories: . $(WINS_ALMOST)
|
37807
|
186 $(emacs) -l autoload \
|
67795
261fb2953410
(autoloads, $(lisp)/mh-e/mh-loaddefs.el): Use w32-batch-update-autoloads,
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
187 --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \
|
73817
|
188 -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . $(WINS_ALMOST)
|
31631
|
189
|
66160
|
190 $(lisp)/subdirs.el:
|
31631
|
191 $(MAKE) $(MFLAGS) update-subdirs
|
|
192
|
|
193 # Need separate version for sh and native cmd.exe
|
|
194 update-subdirs: update-subdirs-$(SHELLTYPE)
|
|
195
|
|
196 update-subdirs-CMD: doit
|
66160
|
197 echo ;; -*- no-byte-compile: t -*-> $(lisp)/subdirs.el
|
|
198 echo ;; In load-path, after this directory should come>> $(lisp)/subdirs.el
|
|
199 echo ;; certain of its subdirectories. Here we specify them.>> $(lisp)/subdirs.el
|
|
200 echo (normal-top-level-add-to-load-path $(SQUOTE)(>> $(lisp)/subdirs.el
|
|
201 @for %%d in ($(WINS)) do if not (%%d)==(term) echo "%%d">> $(lisp)/subdirs.el
|
|
202 echo ))>> $(lisp)/subdirs.el
|
31631
|
203
|
|
204 update-subdirs-SH: doit
|
49482
|
205 $(srcdir)/update-subdirs $(lisp); \
|
49259
|
206 for file in $(WINS); do \
|
31631
|
207 $(srcdir)/update-subdirs $$file; \
|
|
208 done;
|
|
209
|
66058
|
210 updates: update-subdirs autoloads mh-autoloads finder-data custom-deps
|
31631
|
211
|
67952
|
212 # This is useful after "cvs up".
|
|
213 cvs-update: recompile autoloads finder-data custom-deps
|
|
214
|
46629
|
215 # Update the AUTHORS file.
|
|
216
|
|
217 update-authors:
|
84416
|
218 $(emacs) -l authors -f batch-update-authors $(srcdir)/etc/AUTHORS $(srcdir)
|
46629
|
219
|
31631
|
220 TAGS: $(lisptagsfiles1) $(lisptagsfiles2)
|
|
221 $(ETAGS) $(lisptagsfiles1) $(lisptagsfiles2)
|
|
222
|
46629
|
223 TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
|
|
224 $(ETAGS) -o TAGS-LISP $(lisptagsfiles1) $(lisptagsfiles2)
|
31631
|
225
|
33904
|
226 .SUFFIXES: .elc .el
|
|
227
|
31631
|
228 .el.elc:
|
87181
|
229 -$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $<
|
31631
|
230
|
61527
|
231 # Compile all Lisp files, but don't recompile those that are up to
|
|
232 # date. Some files don't actually get compiled because they set the
|
|
233 # local variable no-byte-compile.
|
46629
|
234
|
61527
|
235 # All .elc files are made writable before compilation in case we
|
|
236 # checked out read-only (CVS option -r). Files MUST be compiled one by
|
|
237 # one. If we compile several files in a row we can't make sure that
|
|
238 # the compilation environment is clean. We also set the load-path of
|
|
239 # the Emacs used for compilation to the current directory and its
|
|
240 # subdirectories, to make sure require's and load's in the files being
|
|
241 # compiled find the right files.
|
31631
|
242
|
|
243 # Need separate version for sh and native cmd.exe
|
66160
|
244 compile: $(lisp)/subdirs.el mh-autoloads compile-$(SHELLTYPE) doit
|
31631
|
245
|
46781
|
246 compile-CMD:
|
56151
|
247 # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g
|
|
248 for %%f in ($(COMPILE_FIRST)) do \
|
87181
|
249 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done %%f
|
56151
|
250 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do \
|
87181
|
251 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done %%f/%%g
|
31631
|
252
|
46781
|
253 compile-SH:
|
31631
|
254 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done
|
|
255 for el in $(COMPILE_FIRST); do \
|
|
256 echo Compiling $$el; \
|
87181
|
257 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done $$el; \
|
31631
|
258 done
|
|
259 for dir in $(lisp) $(WINS); do \
|
|
260 for el in $$dir/*.el; do \
|
46629
|
261 if test -f $$el; \
|
|
262 then \
|
|
263 echo Compiling $$el; \
|
87181
|
264 $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done $$el; \
|
46629
|
265 fi \
|
|
266 done; \
|
|
267 done
|
|
268
|
61527
|
269 # Compile all Lisp files. This is like `compile' but compiles files
|
|
270 # unconditionally. Some files don't actually get compiled because they
|
|
271 # set the local variable no-byte-compile.
|
|
272
|
66160
|
273 compile-always: $(lisp)/subdirs.el compile-always-$(SHELLTYPE) doit
|
46629
|
274
|
|
275 compile-always-CMD:
|
56151
|
276 # -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g
|
87181
|
277 for %%f in ($(COMPILE_FIRST)) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f
|
|
278 for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f/%%g
|
46629
|
279
|
|
280 compile-always-SH:
|
|
281 # for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done
|
|
282 for el in $(COMPILE_FIRST); do \
|
|
283 echo Compiling $$el; \
|
87181
|
284 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
|
46629
|
285 done
|
|
286 for dir in $(lisp) $(WINS); do \
|
|
287 for el in $$dir/*.el; do \
|
31631
|
288 echo Compiling $$el; \
|
87181
|
289 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
|
31631
|
290 done; \
|
|
291 done
|
|
292
|
46629
|
293 compile-calc: compile-calc-$(SHELLTYPE)
|
|
294
|
|
295 compile-calc-CMD:
|
87181
|
296 for %%f in ($(lisp)/calc/*.el) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f
|
46629
|
297
|
47727
|
298 compile-calc-SH:
|
46629
|
299 for el in $(lisp)/calc/*.el; do \
|
|
300 echo Compiling $$el; \
|
87181
|
301 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
|
46629
|
302 done
|
|
303
|
31631
|
304 # Backup compiled Lisp files in elc.tar.gz. If that file already
|
|
305 # exists, make a backup of it.
|
|
306
|
|
307 backup-compiled-files:
|
|
308 -mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
|
|
309 -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc
|
|
310
|
|
311 # Compile Lisp files, but save old compiled files first.
|
|
312
|
46781
|
313 compile-after-backup: backup-compiled-files compile-always
|
31631
|
314
|
99797
|
315 compile-first: $(lisp)/emacs-lisp/bytecomp.elc $(lisp)/emacs-lisp/byte-opt.elc \
|
|
316 $(lisp)/emacs-lisp/autoload.elc
|
|
317
|
31631
|
318 # Recompile all Lisp files which are newer than their .elc files.
|
|
319 # Note that this doesn't create .elc files. It only recompiles if an
|
|
320 # .elc is present.
|
68165
|
321 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
|
|
322 # this can break with GNU Make 3.81 and later if sh.exe is used.
|
99797
|
323 recompile: compile-first autoloads doit $(lisp)/progmodes/cc-mode.elc
|
68165
|
324 $(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp)
|
31631
|
325
|
92942
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
326 $(lisp)/calendar/cal-loaddefs.el:
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
327 "$(EMACS)" $(EMACSOPT) -l autoload \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
328 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
329 --eval "(setq find-file-suppress-same-file-warnings t)" \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
330 --eval "(setq make-backup-files nil)" \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
331 -f w32-batch-update-autoloads "$(lisp)/calendar/cal-loaddefs.el" \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
332 ./calendar
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
333
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
334 $(lisp)/calendar/diary-loaddefs.el:
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
335 "$(EMACS)" $(EMACSOPT) -l autoload \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
336 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
337 --eval "(setq find-file-suppress-same-file-warnings t)" \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
338 --eval "(setq make-backup-files nil)" \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
339 -f w32-batch-update-autoloads $(lisp)/calendar/diary-loaddefs.el \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
340 ./calendar
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
341
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
342 $(lisp)/calendar/hol-loaddefs.el:
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
343 "$(EMACS)" $(EMACSOPT) -l autoload \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
344 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
345 --eval "(setq find-file-suppress-same-file-warnings t)" \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
346 --eval "(setq make-backup-files nil)" \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
347 -f w32-batch-update-autoloads $(lisp)/calendar/hol-loaddefs.el \
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
348 ./calendar
|
e5878cb053f7
($(lisp)/calendar/cal-loaddefs.el, $(lisp)/calendar/diary-loaddefs.el)
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
349
|
66058
|
350 # Update MH-E internal autoloads. These are not to be confused with
|
|
351 # the autoloads for the MH-E entry points, which are already in
|
|
352 # loaddefs.el.
|
66068
52a67cff7f8a
(MH_E_SRC): Renamed from MH-E-SRC per NMAKE restrictions. Suggested by
Bill Wohler <wohler@newt.com>
diff
changeset
|
353 MH_E_SRC = $(lisp)/mh-e/mh-acros.el $(lisp)/mh-e/mh-alias.el \
|
68467
|
354 $(lisp)/mh-e/mh-buffers.el $(lisp)/mh-e/mh-compat.el \
|
|
355 $(lisp)/mh-e/mh-comp.el $(lisp)/mh-e/mh-e.el \
|
|
356 $(lisp)/mh-e/mh-folder.el $(lisp)/mh-e/mh-funcs.el \
|
|
357 $(lisp)/mh-e/mh-gnus.el $(lisp)/mh-e/mh-identity.el \
|
|
358 $(lisp)/mh-e/mh-inc.el $(lisp)/mh-e/mh-junk.el \
|
|
359 $(lisp)/mh-e/mh-letter.el $(lisp)/mh-e/mh-limit.el \
|
|
360 $(lisp)/mh-e/mh-mime.el $(lisp)/mh-e/mh-print.el \
|
|
361 $(lisp)/mh-e/mh-scan.el $(lisp)/mh-e/mh-search.el \
|
|
362 $(lisp)/mh-e/mh-seq.el $(lisp)/mh-e/mh-show.el \
|
|
363 $(lisp)/mh-e/mh-speed.el $(lisp)/mh-e/mh-thread.el \
|
|
364 $(lisp)/mh-e/mh-tool-bar.el $(lisp)/mh-e/mh-utils.el \
|
|
365 $(lisp)/mh-e/mh-xface.el
|
66058
|
366
|
77589
|
367 # See the commentary for autoloads above for why we use ./mh-e below
|
|
368 # instead of $(lisp)/mh-e.
|
66058
|
369 mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el
|
66068
52a67cff7f8a
(MH_E_SRC): Renamed from MH-E-SRC per NMAKE restrictions. Suggested by
Bill Wohler <wohler@newt.com>
diff
changeset
|
370 $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC)
|
71233
|
371 "$(EMACS)" $(EMACSOPT) \
|
66159
|
372 -l autoload \
|
93926
|
373 --eval $(ARGQUOTE)(setq generate-autoload-cookie $(DQUOTE);;;###mh-autoload$(DQUOTE))$(ARGQUOTE) \
|
|
374 --eval $(ARGQUOTE)(setq find-file-suppress-same-file-warnings t)$(ARGQUOTE) \
|
|
375 --eval $(ARGQUOTE)(setq make-backup-files nil)$(ARGQUOTE) \
|
67795
261fb2953410
(autoloads, $(lisp)/mh-e/mh-loaddefs.el): Use w32-batch-update-autoloads,
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
376 -f w32-batch-update-autoloads \
|
93926
|
377 $(ARGQUOTE)$(lisp)/mh-e/mh-loaddefs.el$(ARGQUOTE) ./mh-e
|
66159
|
378
|
52512
|
379 # Prepare a bootstrap in the lisp subdirectory.
|
|
380 #
|
63341
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
381 # Build loaddefs.el to make sure it's up-to-date. If it's not, that
|
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
382 # might lead to errors during the bootstrap because something fails to
|
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
383 # autoload as expected. If there is no emacs binary, then we can't
|
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
384 # build autoloads yet. In that case we have to use ldefs-boot.el;
|
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
385 # bootstrap should always work with ldefs-boot.el. (Because
|
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
386 # loaddefs.el is an automatically generated file, we don't want to
|
dccd42ff9e1a
(bootstrap-clean-CMD, bootstrap-clean-SH): Don't use an old loaddefs.el,
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
387 # store it in the source repository).
|
52512
|
388 #
|
|
389 # Remove compiled Lisp files so that bootstrap-emacs will be built from
|
|
390 # sources only.
|
31631
|
391
|
|
392 # Need separate version for sh and native cmd.exe
|
96108
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
393 bootstrap-clean:
|
68a3c2c3dbe5
* makefile.w32-in (bootstrap-clean-CMD, bootstrap-clean-SH):
Juanma Barranquero <lekktu@gmail.com>
diff
changeset
|
394 - $(DEL) $(lisp)/loaddefs.el
|
74838
5b6a90ea7037
(bootstrap-clean): Run bootstrap-clean-$(SHELLTYPE) explicitly in a recursive
Eli Zaretskii <eliz@gnu.org>
diff
changeset
|
395 $(MAKE) $(MFLAGS) bootstrap-clean-$(SHELLTYPE)
|
31631
|
396
|
|
397 bootstrap-clean-CMD:
|
71233
|
398 # if exist "$(EMACS)" $(MAKE) $(MFLAGS) autoloads
|
56151
|
399 -for %%f in (. $(WINS)) do for %%g in (%%f\*.elc) do @$(DEL) %%g
|
31631
|
400
|
|
401 bootstrap-clean-SH:
|
71233
|
402 # if test -f "$(EMACS)"; then $(MAKE) $(MFLAGS) autoloads; fi
|
44192
|
403 # -rm -f $(lisp)/*.elc $(lisp)/*/*.elc
|
|
404 -for dir in . $(WINS); do rm -f $$dir/*.elc; done
|
31631
|
405
|
|
406 # Generate/update files for the bootstrap process.
|
63909
|
407 # When done, remove bootstrap-emacs from ../bin, so that
|
|
408 # it will not be mistaken for an installed binary.
|
31631
|
409
|
66058
|
410 bootstrap: update-subdirs autoloads mh-autoloads compile finder-data custom-deps
|
71233
|
411 - $(DEL) "$(EMACS)"
|
31631
|
412
|
|
413 #
|
|
414 # Assuming INSTALL_DIR is defined, copy the elisp files to it
|
|
415 # Windows 95 makes this harder than it should be.
|
|
416 #
|
|
417 install:
|
|
418 - mkdir "$(INSTALL_DIR)/lisp"
|
|
419 - $(DEL) ../same-dir.tst
|
|
420 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
|
|
421 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
|
|
422 #ifdef COPY_LISP_SOURCE
|
78117
|
423 $(IFNOTSAMEDIR) $(MAKE) $(MFLAGS) install-lisp-$(SHELLTYPE) $(ENDIF)
|
31631
|
424 #else
|
|
425 # $(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF)
|
|
426 # $(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF)
|
|
427 # $(IFNOTSAMEDIR) $(CP) forms*.el "$(INSTALL_DIR)/lisp" $(ENDIF)
|
|
428 # $(IFNOTSAMEDIR) $(CP) patcomp.el "$(INSTALL_DIR)/lisp" $(ENDIF)
|
|
429 # $(IFNOTSAMEDIR) $(CP) subdirs.el "$(INSTALL_DIR)/lisp" $(ENDIF)
|
|
430 # $(IFNOTSAMEDIR) $(CP) version.el "$(INSTALL_DIR)/lisp" $(ENDIF)
|
|
431 # $(IFNOTSAMEDIR) $(CP) mail/blessmail.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF)
|
|
432 # $(IFNOTSAMEDIR) $(CP) mail/sc.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF)
|
|
433 # $(IFNOTSAMEDIR) $(CP) play/bruce.el "$(INSTALL_DIR)/lisp/play" $(ENDIF)
|
|
434 # $(IFNOTSAMEDIR) $(CP) international/latin-*.el "$(INSTALL_DIR)/lisp/international" $(ENDIF)
|
|
435 # $(IFNOTSAMEDIR) $(CP) international/mule-conf.el "$(INSTALL_DIR)/lisp/international" $(ENDIF)
|
|
436 #endif
|
|
437 - $(DEL) ../same-dir.tst
|
|
438 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
|
|
439
|
78117
|
440 # Need to copy *.el files first, to avoid "source file is newer" annoyance
|
|
441 # since cp does not preserve time stamps
|
|
442 install-lisp-SH:
|
|
443 cp -f *.el "$(INSTALL_DIR)/lisp"
|
78170
|
444 for dir in $(WINS); do [ -d "$(INSTALL_DIR)/lisp/$$dir" ] || mkdir "$(INSTALL_DIR)/lisp/$$dir"; done
|
|
445 for dir in $(WINS); do cp -f $$dir/*.el "$(INSTALL_DIR)/lisp/$$dir"; done
|
78117
|
446 for dir in . $(WINS); do cp $$dir/*.elc "$(INSTALL_DIR)/lisp/$$dir"; done
|
|
447
|
|
448 install-lisp-CMD:
|
|
449 cp -f *.el "$(INSTALL_DIR)/lisp"
|
78170
|
450 for %%f in ($(WINS)) do if not exist "$(INSTALL_DIR)/lisp/%%f" mkdir "$(INSTALL_DIR)/lisp/%%f"
|
78117
|
451 for %%f in ($(WINS)) do cp -f %%f/*.el "$(INSTALL_DIR)/lisp/%%f"
|
|
452 for %%f in (. $(WINS)) do cp -f %%f/*.elc "$(INSTALL_DIR)/lisp/%%f"
|
|
453
|
87181
|
454 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
|
|
455 # this can break with GNU Make 3.81 and later if sh.exe is used.
|
|
456 check-declare:
|
|
457 $(emacs) -l $(lisp)/emacs-lisp/check-declare --eval $(ARGQUOTE)(check-declare-directory $(DQUOTE)$(lisp)$(DQUOTE))$(ARGQUOTE)
|
|
458
|
31631
|
459 #
|
|
460 # Maintenance
|
47727
|
461 #
|
78170
|
462 # We used to delete *~ here, but that might inadvertently remove
|
|
463 # precious files if it happens to match their short 8+3 aliases.
|
31631
|
464 clean:
|
93926
|
465 - $(DEL) *.el~
|
96113
|
466 - $(DEL) calc/calc-loaddefs.el~
|
|
467 - $(DEL) eshell/esh-groups.el~
|
93926
|
468
|
96113
|
469 distclean: clean
|
93926
|
470 - $(DEL) $(lisp)/Makefile
|
|
471
|
|
472 maintainer-clean: bootstrap-clean distclean
|
|
473 - $(DEL) $(AUTOGENEL)
|
98362
|
474
|
|
475 # Dependencies
|
|
476
|
|
477 # CC Mode uses a compile time macro system which causes a compile time
|
|
478 # dependency in cc-*.elc files on the macros in other cc-*.el and the
|
|
479 # version string in cc-defs.el.
|
|
480 $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-awk.elc\
|
|
481 $(lisp)/progmodes/cc-cmds.elc $(lisp)/progmodes/cc-compat.elc\
|
|
482 $(lisp)/progmodes/cc-engine.elc $(lisp)/progmodes/cc-fonts.elc\
|
|
483 $(lisp)/progmodes/cc-langs.elc $(lisp)/progmodes/cc-menus.elc\
|
|
484 $(lisp)/progmodes/cc-mode.elc $(lisp)/progmodes/cc-styles.elc\
|
|
485 $(lisp)/progmodes/cc-subword.elc $(lisp)/progmodes/cc-vars.elc: \
|
|
486 $(lisp)/progmodes/cc-bytecomp.elc $(lisp)/progmodes/cc-defs.elc
|
|
487
|
|
488 $(lisp)/progmodes/cc-align.elc: \
|
|
489 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc
|
|
490
|
|
491 $(lisp)/progmodes/cc-cmds.elc: \
|
|
492 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc
|
|
493
|
|
494 $(lisp)/progmodes/cc-compat.elc: \
|
|
495 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-styles.elc \
|
|
496 $(lisp)/progmodes/cc-engine.elc
|
|
497
|
|
498 $(lisp)/progmodes/cc-defs.elc: $(lisp)/progmodes/cc-bytecomp.elc \
|
|
499 $(lisp)/emacs-lisp/cl.elc $(lisp)/emacs-lisp/regexp-opt.elc
|
|
500
|
|
501 $(lisp)/progmodes/cc-engine.elc: $(lisp)/progmodes/cc-langs.elc \
|
|
502 $(lisp)/progmodes/cc-vars.elc
|
|
503
|
|
504 $(lisp)/progmodes/cc-fonts.elc: $(lisp)/progmodes/cc-langs.elc \
|
|
505 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \
|
|
506 $(lisp)/font-lock.elc
|
|
507
|
|
508 $(lisp)/progmodes/cc-langs.elc: $(lisp)/progmodes/cc-vars.elc \
|
|
509 $(lisp)/emacs-lisp/cl.elc
|
|
510
|
|
511 $(lisp)/progmodes/cc-mode.elc: $(lisp)/progmodes/cc-langs.elc \
|
|
512 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \
|
|
513 $(lisp)/progmodes/cc-styles.elc $(lisp)/progmodes/cc-cmds.elc \
|
|
514 $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-menus.elc
|
|
515
|
|
516 $(lisp)/progmodes/cc-styles.elc: $(lisp)/progmodes/cc-vars.elc \
|
|
517 $(lisp)/progmodes/cc-align.elc
|
|
518
|
|
519 $(lisp)/progmodes/cc-subword.elc: $(lisp)/progmodes/cc-cmds.elc
|
|
520
|
|
521 $(lisp)/progmodes/cc-vars.elc: $(lisp)/custom.elc $(lisp)/widget.elc
|
100705
|
522
|
|
523 # MH-E dependencies, mainly to prevent failures with parallel
|
|
524 # compilation, due to race conditions between writing a given FOO.elc
|
|
525 # file and another file being compiled that says "(require FOO)",
|
|
526 # which causes Emacs to try to read FOO.elc.
|
|
527 MH_E_DIR = ./mh-e
|
|
528 $(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-comp.elc $(MH_E_DIR)/mh-folder.elc\
|
|
529 $(MH_E_DIR)/mh-funcs.elc $(MH_E_DIR)/mh-identity.elc $(MH_E_DIR)/mh-inc.elc\
|
|
530 $(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-letter.elc $(MH_E_DIR)/mh-limit.elc\
|
|
531 $(MH_E_DIR)/mh-mime.elc $(MH_E_DIR)/mh-print.elc $(MH_E_DIR)/mh-scan.elc\
|
|
532 $(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-show.elc\
|
|
533 $(MH_E_DIR)/mh-speed.elc $(MH_E_DIR)/mh-thread.elc $(MH_E_DIR)/mh-tool-bar.elc\
|
|
534 $(MH_E_DIR)/mh-utils.elc $(MH_E_DIR)/mh-xface.elc:\
|
|
535 $(MH_E_DIR)/mh-e.elc
|
|
536
|
|
537 $(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-e.elc $(MH_E_DIR)/mh-folder.elc\
|
|
538 $(MH_E_DIR)/mh-inc.elc $(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-limit.elc\
|
|
539 $(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-speed.elc\
|
|
540 $(MH_E_DIR)/mh-utils.elc $(MH_E_DIR)/mh-xface.elc:\
|
|
541 $(lisp)/emacs-lisp/cl.elc
|
|
542
|
|
543 $(MH_E_DIR)/mh-comp.elc $(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-funcs.elc\
|
|
544 $(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-limit.elc $(MH_E_DIR)/mh-print.elc\
|
|
545 $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-show.elc $(MH_E_DIR)/mh-thread.elc:\
|
|
546 $(MH_E_DIR)/mh-scan.elc
|
|
547
|
|
548 $(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-letter.elc $(MH_E_DIR)/mh-mime.elc\
|
|
549 $(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-show.elc $(MH_E_DIR)/mh-speed.elc:\
|
|
550 $(lisp)/gnus/gnus-util.elc
|
|
551
|
|
552 $(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-search.elc:\
|
|
553 $(lisp)/progmodes/which-func.elc
|
|
554
|
|
555 $(MH_E_DIR)/mh-letter.elc $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-show.elc\
|
|
556 $(MH_E_DIR)/mh-utils.elc:\
|
|
557 $(lisp)/font-lock.elc
|
|
558
|
|
559 $(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-show.elc: $(lisp)/net/goto-addr.elc
|
|
560
|
|
561 $(MH_E_DIR)/mh-comp.elc: $(lisp)/mail/sendmail.elc
|
|
562
|
|
563 $(MH_E_DIR)/mh-e.elc: $(MH_E_DIR)/mh-buffers.elc $(lisp)/gnus/gnus.elc \
|
|
564 $(lisp)/cus-face.elc
|
|
565
|
|
566 $(MH_E_DIR)/mh-letter.elc: $(lisp)/gnus/mailcap.elc $(lisp)/gnus/mm-decode.elc \
|
|
567 $(lisp)/gnus/mm-view.elc $(lisp)/gnus/mml.elc $(lisp)/gnus/message.elc
|
|
568
|
|
569 $(MH_E_DIR)/mh-print.elc: $(lisp)/ps-print.elc
|
|
570
|
|
571 $(MH_E_DIR)/mh-search.elc: $(lisp)/imenu.elc
|
|
572
|
|
573 $(MH_E_DIR)/mh-show.elc: $(lisp)/gnus/gnus-cite.elc
|
|
574
|
|
575 $(MH_E_DIR)/mh-speed.elc: $(lisp)/speedbar.elc $(lisp)/emacs-lisp/timer.elc
|
|
576
|
|
577 $(MH_E_DIR)/mh-tool-bar.elc: $(lisp)/tool-bar.elc
|