Get rid of the ELCFILES abomination.
[bpt/emacs.git] / lisp / Makefile.in
1 # Maintenance productions for the Lisp directory
2 # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
3 # 2009 Free Software Foundation, Inc.
4
5 # This file is part of GNU Emacs.
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/>.
19
20 SHELL = /bin/sh
21
22 lisp=@srcdir@
23 VPATH=@srcdir@
24 srcdir=@srcdir@/..
25
26 # You can specify a different executable on the make command line,
27 # e.g. "make EMACS=../src/emacs ...".
28
29 EMACS = ../src/emacs
30
31 # Command line flags for Emacs. This must include --multibyte,
32 # otherwise some files will not compile.
33
34 EMACSOPT = -batch --no-site-file --multibyte
35
36 # Extra flags to pass to the byte compiler
37 BYTE_COMPILE_EXTRA_FLAGS =
38 # For example to not display the undefined function warnings you can use this:
39 # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))'
40 # The example above is just for developers, it should not be used by default.
41
42 lisptagsfiles1 = $(lisp)/*.el
43 lisptagsfiles2 = $(lisp)/*/*.el
44 lisptagsfiles3 = $(lisp)/*/*/*.el
45 lisptagsfiles4 = $(lisp)/*/*/*/*.el
46 ETAGS = ../lib-src/etags
47
48 # Automatically generated autoload files, apart from lisp/loaddefs.el.
49 # Note this includes only those files that need special rules to
50 # build; ie it does not need to include things created via
51 # generated-autoload-file (eg calc/calc-loaddefs.el).
52 LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \
53 $(lisp)/calendar/diary-loaddefs.el \
54 $(lisp)/calendar/hol-loaddefs.el \
55 $(lisp)/mh-e/mh-loaddefs.el
56
57 # Elisp files auto-generated.
58 AUTOGENEL = loaddefs.el \
59 $(LOADDEFS) \
60 cus-load.el \
61 finder-inf.el \
62 subdirs.el \
63 calc/calc-loaddefs.el \
64 eshell/esh-groups.el \
65 cedet/semantic/loaddefs.el \
66 cedet/ede/loaddefs.el \
67 cedet/srecode/loaddefs.el
68
69 # Files to compile before others during a bootstrap. This is done to
70 # speed up the bootstrap process.
71
72 COMPILE_FIRST = \
73 $(lisp)/emacs-lisp/bytecomp.elc \
74 $(lisp)/emacs-lisp/byte-opt.elc \
75 $(lisp)/emacs-lisp/autoload.elc
76
77 # The actual Emacs command run in the targets below.
78
79 emacs = EMACSLOADPATH=$(lisp) LC_ALL=C $(EMACS) $(EMACSOPT)
80
81 # Common command to find subdirectories
82
83 setwins=subdirs=`(cd $$wd; find . -type d -print)`; \
84 for file in $$subdirs; do \
85 case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* ) ;; \
86 *) wins="$$wins $$wd/$$file" ;; \
87 esac; \
88 done
89
90 # Find all subdirectories except `obsolete' and `term'.
91
92 setwins_almost=subdirs=`(cd $$wd; find . -type d -print)`; \
93 for file in $$subdirs; do \
94 case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */obsolete | */term ) ;; \
95 *) wins="$$wins $$wd/$$file" ;; \
96 esac; \
97 done
98
99 # Find all subdirectories in which we might want to create subdirs.el
100
101 setwins_for_subdirs=subdirs=`(cd $$wd; find . -type d -print)`; \
102 for file in $$subdirs; do \
103 case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */cedet* ) ;; \
104 *) wins="$$wins $$wd/$$file" ;; \
105 esac; \
106 done
107
108 # `compile-main' tends to be slower than `recompile' but can be parallelized
109 # with "make -j" and results in more deterministic compilation warnings.
110 # cus-load and finder-inf are not explicitly requested by anything, so
111 # we add them here to make sure they get built.
112 all: compile-main $(lisp)/cus-load.el $(lisp)/finder-inf.el compile-clean
113
114 doit:
115
116 # custom-deps and finder-data both used to scan _all_ the *.el files.
117 # This could lead to problems in parallel builds if automatically
118 # generated *.el files (eg loaddefs etc) were being changed at the same time.
119 # One solution was to add autoloads as a prerequisite:
120 # http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-01/msg00469.html
121 # http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-12/msg00171.html
122 # However, this meant that running these targets modified loaddefs.el,
123 # every time (due to time-stamping). Calling these rules from
124 # bootstrap-after would modify loaddefs after src/emacs, resulting
125 # in make install remaking src/emacs for no real reason:
126 # http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00311.html
127 # Nowadays these commands don't scan automatically generated files,
128 # since they will never contain any useful information
129 # (see finder-no-scan-regexp and custom-dependencies-no-scan-regexp).
130 $(lisp)/cus-load.el:
131 $(MAKE) $(MFLAGS) custom-deps
132 custom-deps: doit
133 wd=$(lisp); $(setwins_almost); \
134 echo Directories: $$wins; \
135 $(emacs) -l cus-dep --eval '(setq generated-custom-dependencies-file "$(lisp)/cus-load.el")' -f custom-make-dependencies $$wins
136
137 $(lisp)/finder-inf.el:
138 $(MAKE) $(MFLAGS) finder-data
139 finder-data: doit
140 wd=$(lisp); $(setwins_almost); \
141 echo Directories: $$wins; \
142 $(emacs) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins
143
144 # The chmod +w is to handle env var CVSREAD=1. Files named
145 # are identified by being the value of `generated-autoload-file'.
146 autoloads: $(LOADDEFS) doit
147 chmod +w $(lisp)/ps-print.el $(lisp)/emulation/tpu-edt.el \
148 $(lisp)/emacs-lisp/cl-loaddefs.el $(lisp)/mail/rmail.el \
149 $(lisp)/dired.el $(lisp)/ibuffer.el
150 wd=$(lisp); $(setwins_almost); \
151 echo Directories: $$wins; \
152 $(emacs) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins
153
154 # This is required by the bootstrap-emacs target in ../src/Makefile, so
155 # we know that if we have an emacs executable, we also have a subdirs.el.
156 $(lisp)/subdirs.el:
157 $(MAKE) $(MFLAGS) update-subdirs
158 update-subdirs: doit
159 wd=$(lisp); $(setwins_for_subdirs); \
160 for file in $$wins; do \
161 $(srcdir)/update-subdirs $$file; \
162 done;
163
164 updates: update-subdirs autoloads finder-data custom-deps
165
166 # This is useful after "cvs up".
167 cvs-update: recompile autoloads finder-data custom-deps
168
169 # Update the AUTHORS file.
170
171 update-authors:
172 $(emacs) -l authors -f batch-update-authors $(srcdir)/etc/AUTHORS $(srcdir)
173
174 TAGS TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4)
175 els=`echo $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4) | sed -e "s,$(lisp)/[^ ]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \
176 ${ETAGS} -o $@ $$els
177
178 # The src/Makefile.in has its own set of dependencies and when they decide
179 # that one Lisp file needs to be re-compiled, we had better recompile it as
180 # well, otherwise every subsequent make will again call us, until we finally
181 # end up deciding that yes, the file deserves recompilation.
182 # One option is to try and reproduce exactly the same dependencies here as
183 # we have in src/Makefile.in, but it turns out to be painful
184 # (e.g. src/Makefile.in may have a dependency for ../lisp/foo.elc where we
185 # only know of $(lisp)/foo.elc). So instead we provide a direct way for
186 # src/Makefile.in to rebuild a particular Lisp file, no questions asked.
187 # Use byte-compile-refresh-preloaded to try and work around some of
188 # the most common problems of not bootstrapping from a clean state.
189 compile-onefile:
190 @echo Compiling $(THEFILE)
191 @# Use byte-compile-refresh-preloaded to try and work around some of
192 @# the most common bootstrapping problems.
193 @$(emacs) -l bytecomp -f byte-compile-refresh-preloaded $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(THEFILE)
194
195 # Files MUST be compiled one by one. If we compile several files in a
196 # row (i.e., in the same instance of Emacs) we can't make sure that
197 # the compilation environment is clean. We also set the load-path of
198 # the Emacs used for compilation to the current directory and its
199 # subdirectories, to make sure require's and load's in the files being
200 # compiled find the right files.
201
202 .SUFFIXES: .elc .el
203
204 # An old-fashioned suffix rule, which, according to the GNU Make manual,
205 # cannot have prerequisites.
206 .el.elc:
207 @echo Compiling $<
208 @$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $<
209
210 .PHONY: compile-first compile-main compile compile-always compile-elcfiles
211
212 compile-first: $(COMPILE_FIRST)
213
214 # ELCFILES is set dynamically in the recursive call from `compile-main'.
215 compile-elcfiles: $(ELCFILES)
216
217 # Compile all the Elisp files that need it. Beware: it approximates
218 # `no-byte-compile', so watch out for false-positives!
219 compile-main:
220 @wd=$(lisp); $(setwins); \
221 els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
222 for el in $$els; do \
223 test -f $$el || continue; \
224 test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \
225 files="$$files $${el}c"; \
226 done; \
227 $(MAKE) $(MFLAGS) compile-elcfiles EMACS=$(EMACS) ELCFILES="$$files"
228
229 # Erase left-over .elc files that do not have a corresponding .el file.
230 compile-clean:
231 @wd=$(lisp); $(setwins); \
232 elcs=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \
233 for el in $$(echo $$elcs | sed -e 's/\.elc/\.el/g'); do \
234 if test -f "$$el" -o \! -f "$${el}c"; then :; else \
235 echo rm "$${el}c"; \
236 rm "$${el}c"; \
237 fi \
238 done
239
240 # Compile all Lisp files, but don't recompile those that are up to
241 # date. Some .el files don't get compiled because they set the
242 # local variable no-byte-compile.
243 # Calling make recursively because suffix rule cannot have prerequisites.
244 # Explicitly pass EMACS (sometimes ../src/bootstrap-emacs) to those
245 # sub-makes that run rules that use it, for the sake of some non-GNU makes.
246 compile: $(LOADDEFS) autoloads compile-first compile-clean
247 $(MAKE) $(MFLAGS) compile-main EMACS=$(EMACS)
248
249 ## Doing this causes make install to dump another emacs.
250 # $(MAKE) $(MFLAGS) update-elclist
251
252 # Compile all Lisp files. This is like `compile' but compiles files
253 # unconditionally. Some files don't actually get compiled because they
254 # set the local variable no-byte-compile.
255 compile-always: doit
256 cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc
257 $(MAKE) $(MFLAGS) compile EMACS=$(EMACS)
258
259 # Backup compiled Lisp files in elc.tar.gz. If that file already
260 # exists, make a backup of it.
261
262 backup-compiled-files:
263 -mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
264 -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc $(lisp)/*/*/*/*.elc
265
266 # Compile Lisp files, but save old compiled files first.
267
268 compile-after-backup: backup-compiled-files compile-always
269
270 # Recompile all Lisp files which are newer than their .elc files and compile
271 # new ones.
272 # This has the same effect as compile-main (followed up with compile-last,
273 # if ELCFILES is out of date). recompile has some advantages:
274 # i) It is faster (on a single processor), since it only has to start
275 # Emacs once. It was 33% faster on a test with a random 10% of the .el
276 # files needing recompilation.
277 # ii) The explicit cc-mode dependency.
278 # recompile's disadvantages are:
279 # i) Not parallelizable.
280 # ii) Compiling multiple files in the same instance of Emacs is wrong,
281 # since the environment of later files is affected by definitions in
282 # earlier ones.
283 recompile: doit $(LOADDEFS) compile-first $(lisp)/progmodes/cc-mode.elc
284 $(emacs) --eval "(batch-byte-recompile-directory 0)" $(lisp)
285
286 # Update MH-E internal autoloads. These are not to be confused with
287 # the autoloads for the MH-E entry points, which are already in loaddefs.el.
288 MH_E_DIR = $(lisp)/mh-e
289 ## MH_E_SRC avoids a circular dependency warning for mh-loaddefs.el.
290 MH_E_SRC = $(MH_E_DIR)/mh-acros.el $(MH_E_DIR)/mh-alias.el \
291 $(MH_E_DIR)/mh-buffers.el $(MH_E_DIR)/mh-compat.el \
292 $(MH_E_DIR)/mh-comp.el $(MH_E_DIR)/mh-e.el \
293 $(MH_E_DIR)/mh-folder.el $(MH_E_DIR)/mh-funcs.el \
294 $(MH_E_DIR)/mh-gnus.el $(MH_E_DIR)/mh-identity.el \
295 $(MH_E_DIR)/mh-inc.el $(MH_E_DIR)/mh-junk.el \
296 $(MH_E_DIR)/mh-letter.el $(MH_E_DIR)/mh-limit.el \
297 $(MH_E_DIR)/mh-mime.el $(MH_E_DIR)/mh-print.el \
298 $(MH_E_DIR)/mh-scan.el $(MH_E_DIR)/mh-search.el \
299 $(MH_E_DIR)/mh-seq.el $(MH_E_DIR)/mh-show.el \
300 $(MH_E_DIR)/mh-speed.el $(MH_E_DIR)/mh-thread.el \
301 $(MH_E_DIR)/mh-tool-bar.el $(MH_E_DIR)/mh-utils.el \
302 $(MH_E_DIR)/mh-xface.el
303
304 mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el
305 $(MH_E_DIR)/mh-loaddefs.el: $(MH_E_SRC)
306 $(emacs) -l autoload \
307 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \
308 --eval "(setq generated-autoload-file \"$@\")" \
309 --eval "(setq make-backup-files nil)" \
310 -f batch-update-autoloads $(MH_E_DIR)
311
312 CAL_DIR = $(lisp)/calendar
313 ## Those files that may contain internal calendar autoload cookies.
314 ## Avoids circular dependency warning for *-loaddefs.el.
315 CAL_SRC = $(CAL_DIR)/cal-bahai.el $(CAL_DIR)/cal-china.el \
316 $(CAL_DIR)/cal-coptic.el $(CAL_DIR)/cal-dst.el \
317 $(CAL_DIR)/cal-french.el $(CAL_DIR)/cal-hebrew.el \
318 $(CAL_DIR)/cal-html.el $(CAL_DIR)/cal-islam.el \
319 $(CAL_DIR)/cal-iso.el $(CAL_DIR)/cal-julian.el \
320 $(CAL_DIR)/cal-mayan.el $(CAL_DIR)/cal-menu.el \
321 $(CAL_DIR)/cal-move.el $(CAL_DIR)/cal-persia.el \
322 $(CAL_DIR)/cal-tex.el $(CAL_DIR)/cal-x.el \
323 $(CAL_DIR)/calendar.el $(CAL_DIR)/diary-lib.el \
324 $(CAL_DIR)/holidays.el $(CAL_DIR)/lunar.el \
325 $(CAL_DIR)/solar.el
326
327 $(CAL_DIR)/cal-loaddefs.el: $(CAL_SRC)
328 $(emacs) -l autoload \
329 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \
330 --eval "(setq generated-autoload-file \"$@\")" \
331 --eval "(setq make-backup-files nil)" \
332 -f batch-update-autoloads $(CAL_DIR)
333
334 $(CAL_DIR)/diary-loaddefs.el: $(CAL_SRC)
335 $(emacs) -l autoload \
336 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \
337 --eval "(setq generated-autoload-file \"$@\")" \
338 --eval "(setq make-backup-files nil)" \
339 -f batch-update-autoloads $(CAL_DIR)
340
341 $(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC)
342 $(emacs) -l autoload \
343 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \
344 --eval "(setq generated-autoload-file \"$@\")" \
345 --eval "(setq make-backup-files nil)" \
346 -f batch-update-autoloads $(CAL_DIR)
347
348 # Prepare a bootstrap in the lisp subdirectory.
349 #
350 # Build loaddefs.el to make sure it's up-to-date. If it's not, that
351 # might lead to errors during the bootstrap because something fails to
352 # autoload as expected. If there is no emacs binary, then we can't
353 # build autoloads yet. In that case we have to use ldefs-boot.el.
354 # Bootstrap should always work with ldefs-boot.el. Therefore,
355 # whenever a new autoload cookie gets added that is necessary during
356 # bootstrapping, ldefs-boot.el should be updated by overwriting it with
357 # an up-to-date copy of loaddefs.el that is uncorrupted by
358 # local changes. (Because loaddefs.el is an automatically generated
359 # file, we don't want to store it in the source repository).
360
361 bootstrap-clean:
362 cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc $(AUTOGENEL)
363
364 distclean:
365 -rm -f ./Makefile
366
367 maintainer-clean: distclean bootstrap-clean
368
369 .PHONY: check-declare
370
371 check-declare:
372 $(emacs) -l $(lisp)/emacs-lisp/check-declare \
373 --eval '(check-declare-directory "$(lisp)")'
374
375 # Dependencies
376
377 # CC Mode uses a compile time macro system which causes a compile time
378 # dependency in cc-*.elc files on the macros in other cc-*.el and the
379 # version string in cc-defs.el.
380 $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-awk.elc\
381 $(lisp)/progmodes/cc-cmds.elc $(lisp)/progmodes/cc-compat.elc\
382 $(lisp)/progmodes/cc-engine.elc $(lisp)/progmodes/cc-fonts.elc\
383 $(lisp)/progmodes/cc-langs.elc $(lisp)/progmodes/cc-menus.elc\
384 $(lisp)/progmodes/cc-mode.elc $(lisp)/progmodes/cc-styles.elc\
385 $(lisp)/progmodes/cc-vars.elc: \
386 $(lisp)/progmodes/cc-bytecomp.elc $(lisp)/progmodes/cc-defs.elc
387
388 $(lisp)/progmodes/cc-align.elc: \
389 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc
390
391 $(lisp)/progmodes/cc-cmds.elc: \
392 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc
393
394 $(lisp)/progmodes/cc-compat.elc: \
395 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-styles.elc \
396 $(lisp)/progmodes/cc-engine.elc
397
398 $(lisp)/progmodes/cc-defs.elc: $(lisp)/progmodes/cc-bytecomp.elc \
399 $(lisp)/emacs-lisp/cl.elc $(lisp)/emacs-lisp/regexp-opt.elc
400
401 $(lisp)/progmodes/cc-engine.elc: $(lisp)/progmodes/cc-langs.elc \
402 $(lisp)/progmodes/cc-vars.elc
403
404 $(lisp)/progmodes/cc-fonts.elc: $(lisp)/progmodes/cc-langs.elc \
405 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \
406 $(lisp)/font-lock.elc
407
408 $(lisp)/progmodes/cc-langs.elc: $(lisp)/progmodes/cc-vars.elc \
409 $(lisp)/emacs-lisp/cl.elc
410
411 $(lisp)/progmodes/cc-mode.elc: $(lisp)/progmodes/cc-langs.elc \
412 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \
413 $(lisp)/progmodes/cc-styles.elc $(lisp)/progmodes/cc-cmds.elc \
414 $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-menus.elc
415
416 $(lisp)/progmodes/cc-styles.elc: $(lisp)/progmodes/cc-vars.elc \
417 $(lisp)/progmodes/cc-align.elc
418
419 $(lisp)/progmodes/cc-vars.elc: $(lisp)/custom.elc $(lisp)/widget.elc
420
421 # MH-E dependencies, mainly to prevent failures with parallel
422 # compilation, due to race conditions between writing a given FOO.elc
423 # file and another file being compiled that says "(require FOO)",
424 # which causes Emacs to try to read FOO.elc.
425 $(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-comp.elc $(MH_E_DIR)/mh-folder.elc\
426 $(MH_E_DIR)/mh-funcs.elc $(MH_E_DIR)/mh-identity.elc $(MH_E_DIR)/mh-inc.elc\
427 $(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-letter.elc $(MH_E_DIR)/mh-limit.elc\
428 $(MH_E_DIR)/mh-mime.elc $(MH_E_DIR)/mh-print.elc $(MH_E_DIR)/mh-scan.elc\
429 $(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-show.elc\
430 $(MH_E_DIR)/mh-speed.elc $(MH_E_DIR)/mh-thread.elc $(MH_E_DIR)/mh-tool-bar.elc\
431 $(MH_E_DIR)/mh-utils.elc $(MH_E_DIR)/mh-xface.elc:\
432 $(MH_E_DIR)/mh-e.elc
433
434 $(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-e.elc $(MH_E_DIR)/mh-folder.elc\
435 $(MH_E_DIR)/mh-inc.elc $(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-limit.elc\
436 $(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-speed.elc\
437 $(MH_E_DIR)/mh-utils.elc $(MH_E_DIR)/mh-xface.elc:\
438 $(lisp)/emacs-lisp/cl.elc
439
440 $(MH_E_DIR)/mh-comp.elc $(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-funcs.elc\
441 $(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-limit.elc $(MH_E_DIR)/mh-print.elc\
442 $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-show.elc $(MH_E_DIR)/mh-thread.elc:\
443 $(MH_E_DIR)/mh-scan.elc
444
445 $(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-letter.elc $(MH_E_DIR)/mh-mime.elc\
446 $(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-show.elc $(MH_E_DIR)/mh-speed.elc:\
447 $(lisp)/gnus/gnus-util.elc
448
449 $(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-search.elc:\
450 $(lisp)/progmodes/which-func.elc
451
452 $(MH_E_DIR)/mh-letter.elc $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-show.elc\
453 $(MH_E_DIR)/mh-utils.elc:\
454 $(lisp)/font-lock.elc
455
456 $(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-show.elc: $(lisp)/net/goto-addr.elc
457
458 $(MH_E_DIR)/mh-comp.elc: $(lisp)/mail/sendmail.elc
459
460 $(MH_E_DIR)/mh-e.elc: $(MH_E_DIR)/mh-buffers.elc $(lisp)/gnus/gnus.elc \
461 $(lisp)/cus-face.elc
462
463 $(MH_E_DIR)/mh-letter.elc: $(lisp)/gnus/mailcap.elc $(lisp)/gnus/mm-decode.elc \
464 $(lisp)/gnus/mm-view.elc $(lisp)/gnus/mml.elc $(lisp)/gnus/message.elc
465
466 $(MH_E_DIR)/mh-print.elc: $(lisp)/ps-print.elc
467
468 $(MH_E_DIR)/mh-search.elc: $(lisp)/imenu.elc
469
470 $(MH_E_DIR)/mh-show.elc: $(lisp)/gnus/gnus-cite.elc
471
472 $(MH_E_DIR)/mh-speed.elc: $(lisp)/speedbar.elc $(lisp)/emacs-lisp/timer.elc
473
474 $(MH_E_DIR)/mh-tool-bar.elc: $(lisp)/tool-bar.elc
475
476 # Makefile ends here.