]> code.delx.au - gnu-emacs/blobdiff - lisp/Makefile.in
Fix typos in docstrings.
[gnu-emacs] / lisp / Makefile.in
index afeab9cb88fa6915be26e3fdd8700f861c0b6297..82200009a1e76379e5fd8f03bb2e86dedcd7801c 100644 (file)
@@ -1,6 +1,6 @@
 # Maintenance productions for the Lisp directory
-# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
-#   2008  Free Software Foundation, Inc.
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008,
+#   2009, 2010  Free Software Foundation, Inc.
 
 # This file is part of GNU Emacs.
 
@@ -34,13 +34,15 @@ EMACS = ../src/emacs
 EMACSOPT = -batch --no-site-file --multibyte
 
 # Extra flags to pass to the byte compiler
-BYTE_COMPILE_EXTRA_FLAGS = 
+BYTE_COMPILE_EXTRA_FLAGS =
 # For example to not display the undefined function warnings you can use this:
 # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))'
 # The example above is just for developers, it should not be used by default.
 
 lisptagsfiles1 = $(lisp)/*.el
 lisptagsfiles2 = $(lisp)/*/*.el
+lisptagsfiles3 = $(lisp)/*/*/*.el
+lisptagsfiles4 = $(lisp)/*/*/*/*.el
 ETAGS = ../lib-src/etags
 
 # Automatically generated autoload files, apart from lisp/loaddefs.el.
@@ -59,26 +61,22 @@ AUTOGENEL = loaddefs.el \
        finder-inf.el \
        subdirs.el \
        calc/calc-loaddefs.el \
-       eshell/esh-groups.el
+       eshell/esh-groups.el \
+       cedet/semantic/loaddefs.el \
+       cedet/ede/loaddefs.el \
+       cedet/srecode/loaddefs.el
 
 # Files to compile before others during a bootstrap.  This is done to
-# speed up the bootstrap process.  The CC files are compiled first
-# because CC mode tweaks the compilation process, and requiring
-# cc-mode when it is not compiled doesn't work during the
-# bootstrapping.
+# speed up the bootstrap process.
 
 COMPILE_FIRST = \
-       $(lisp)/emacs-lisp/byte-opt.el \
-       $(lisp)/emacs-lisp/bytecomp.el \
-       $(lisp)/subr.el \
-       $(lisp)/progmodes/cc-mode.el \
-       $(lisp)/progmodes/cc-vars.el
+       $(lisp)/emacs-lisp/bytecomp.elc \
+       $(lisp)/emacs-lisp/byte-opt.elc \
+       $(lisp)/emacs-lisp/autoload.elc
 
 # The actual Emacs command run in the targets below.
 
 emacs = EMACSLOADPATH=$(lisp) LC_ALL=C $(EMACS) $(EMACSOPT)
-# Prerequisites for running $(emacs)
-emacs-deps = $(lisp)/subdirs.el
 
 # Common command to find subdirectories
 
@@ -98,68 +96,94 @@ setwins_almost=subdirs=`(cd $$wd; find . -type d -print)`; \
           esac; \
         done
 
+# Find all subdirectories in which we might want to create subdirs.el
+
+setwins_for_subdirs=subdirs=`(cd $$wd; find . -type d -print)`; \
+       for file in $$subdirs; do \
+          case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */cedet* ) ;; \
+               *) wins="$$wins $$wd/$$file" ;; \
+          esac; \
+        done
+
+# `compile-main' tends to be slower than `recompile' but can be parallelized
+# with "make -j" and results in more deterministic compilation warnings.
+# cus-load and finder-inf are not explicitly requested by anything, so
+# we add them here to make sure they get built.
+all: compile-main $(lisp)/cus-load.el $(lisp)/finder-inf.el
+       @: Let us check that we byte-compiled all the files.
+       $(MAKE) $(MFLAGS) compile-last EMACS=$(EMACS)
+
 doit:
 
 # custom-deps and finder-data both used to scan _all_ the *.el files.
-# Now they avoid auto-generated files, which should avoid this
-# historical problem:
-# In parallel builds, they should not run at the same time as anything
-# else that might modify any .el files, eg autoloads (or each other).
+# This could lead to problems in parallel builds if automatically
+# generated *.el files (eg loaddefs etc) were being changed at the same time.
 # One solution was to add autoloads as a prerequisite:
 # http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-01/msg00469.html
 # http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-12/msg00171.html
-# However, this means that running these targets modifies loaddefs.el,
+# However, this meant that running these targets modified loaddefs.el,
 # every time (due to time-stamping).  Calling these rules from
 # bootstrap-after would modify loaddefs after src/emacs, resulting
 # in make install remaking src/emacs for no real reason:
 # http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00311.html
-custom-deps: $(emacs-deps) doit
+# Nowadays these commands don't scan automatically generated files,
+# since they will never contain any useful information
+# (see finder-no-scan-regexp and custom-dependencies-no-scan-regexp).
+$(lisp)/cus-load.el:
+       $(MAKE) $(MFLAGS) custom-deps
+custom-deps: doit
        wd=$(lisp); $(setwins_almost); \
        echo Directories: $$wins; \
        $(emacs) -l cus-dep --eval '(setq generated-custom-dependencies-file "$(lisp)/cus-load.el")' -f custom-make-dependencies $$wins
 
-finder-data: $(emacs-deps) doit
+$(lisp)/finder-inf.el:
+       $(MAKE) $(MFLAGS) finder-data
+finder-data: doit
        wd=$(lisp); $(setwins_almost); \
        echo Directories: $$wins; \
        $(emacs) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins
 
 # The chmod +w is to handle env var CVSREAD=1.  Files named
 # are identified by being the value of `generated-autoload-file'.
-autoloads: $(emacs-deps) $(LOADDEFS) doit
+autoloads: $(LOADDEFS) doit
        chmod +w $(lisp)/ps-print.el $(lisp)/emulation/tpu-edt.el \
-         $(lisp)/emacs-lisp/cl-loaddefs.el
+         $(lisp)/emacs-lisp/cl-loaddefs.el $(lisp)/mail/rmail.el \
+         $(lisp)/dired.el $(lisp)/ibuffer.el
        wd=$(lisp); $(setwins_almost); \
        echo Directories: $$wins; \
        $(emacs) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins
 
-# Note: every rule that runs $(emacs) and is called during bootstrap must
-# depend on this.
+# This is required by the bootstrap-emacs target in ../src/Makefile, so
+# we know that if we have an emacs executable, we also have a subdirs.el.
 $(lisp)/subdirs.el:
        $(MAKE) $(MFLAGS) update-subdirs
 update-subdirs: doit
-       wd=$(lisp); $(setwins); \
+       wd=$(lisp); $(setwins_for_subdirs); \
        for file in $$wins; do \
           $(srcdir)/update-subdirs $$file; \
        done;
 
 updates: update-subdirs autoloads finder-data custom-deps
 
-# This is useful after "cvs up".
-cvs-update: recompile autoloads finder-data custom-deps
+# This is useful after "bzr up".
+bzr-update: recompile autoloads finder-data custom-deps
+
+# For backwards compatibility:
+cvs-update: bzr-update
 
 # Update the AUTHORS file.
 
 update-authors:
        $(emacs) -l authors -f batch-update-authors $(srcdir)/etc/AUTHORS $(srcdir)
 
-TAGS TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
-       els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e "s,$(lisp)/[^ ]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \
+TAGS TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4)
+       els=`echo $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4) | sed -e "s,$(lisp)/[^ ]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \
        ${ETAGS} -o $@ $$els
 
 .PHONY: update-elclist
 
-## Post-bootstrap, find the list of .elc files, exclude the members
-## of COMPILE_FIRST, and use sed to update ELCFILES in Makefile.in.
+## Post-bootstrap, find the list of .elc files and use sed to update
+## ELCFILES in Makefile.in.
 ## Errors in the final sed are non-fatal, since they have no effect on
 ## building Emacs.  chmod +w is for CVSREAD=1.
 ## "echo" is non-portable with regards to backslashes, eg between zsh
@@ -168,8 +192,7 @@ TAGS TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
 update-elclist:
        echo "/^ELCFILES/,/^$$/c\\" > temp.sed
        echo "ELCFILES =" | sed -e 's/$$/ \\\\\\/' >> temp.sed
-       exclude=`echo $(COMPILE_FIRST) | sed -e 's, ,\\\\|,g' -e 's,\/,\\\\/,g'`; \
-       LC_COLLATE=C ls $(lisp)/*.elc $(lisp)/*/*.elc | sed -e "/$$exclude/d" -e "s|^$(lisp)|   \$$(lisp)|" -e 's/$$/ \\\\\\/' -e '$$ s/ \\\\//' >> temp.sed
+       LC_COLLATE=C ls $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc $(lisp)/*/*/*/*.elc | sed -e "s|^$(lisp)|       \$$(lisp)|" -e 's/$$/ \\\\\\/' -e '$$ s/ \\\\//' >> temp.sed
        echo "" >> temp.sed
        -sed -f temp.sed $(lisp)/Makefile.in > temp-elcfiles || rm temp-elcfiles
        rm temp.sed
@@ -178,6 +201,12 @@ update-elclist:
          chmod +w $(lisp)/Makefile.in; \
          mv -f temp-elcfiles $(lisp)/Makefile.in; \
        fi
+       -(LC_COLLATE=C ls $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc $(lisp)/*/*/*/*.elc | sed 's/elc$$/el/';  \
+         LC_COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el $(lisp)/*/*/*.el $(lisp)/*/*/*/*.el; \
+         LC_COLLATE=C ls $(lisp)/*.el $(lisp)/*/*.el $(lisp)/*/*/*.el $(lisp)/*/*/*/*.el) |       \
+            sort | uniq -u | while read extra; do                         \
+                echo "Found left over byte-compiled file: $${extra}c !!" ;\
+            done
 
 ## Explicitly list the .elc files, for the sake of parallel builds.
 ## http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-05/msg00016.html
@@ -275,6 +304,149 @@ ELCFILES = \
        $(lisp)/calendar/todo-mode.elc \
        $(lisp)/case-table.elc \
        $(lisp)/cdl.elc \
+       $(lisp)/cedet/cedet-cscope.elc \
+       $(lisp)/cedet/cedet-files.elc \
+       $(lisp)/cedet/cedet-global.elc \
+       $(lisp)/cedet/cedet-idutils.elc \
+       $(lisp)/cedet/cedet.elc \
+       $(lisp)/cedet/data-debug.elc \
+       $(lisp)/cedet/ede.elc \
+       $(lisp)/cedet/ede/autoconf-edit.elc \
+       $(lisp)/cedet/ede/cpp-root.elc \
+       $(lisp)/cedet/ede/dired.elc \
+       $(lisp)/cedet/ede/emacs.elc \
+       $(lisp)/cedet/ede/files.elc \
+       $(lisp)/cedet/ede/linux.elc \
+       $(lisp)/cedet/ede/locate.elc \
+       $(lisp)/cedet/ede/make.elc \
+       $(lisp)/cedet/ede/makefile-edit.elc \
+       $(lisp)/cedet/ede/pconf.elc \
+       $(lisp)/cedet/ede/pmake.elc \
+       $(lisp)/cedet/ede/proj-archive.elc \
+       $(lisp)/cedet/ede/proj-aux.elc \
+       $(lisp)/cedet/ede/proj-comp.elc \
+       $(lisp)/cedet/ede/proj-elisp.elc \
+       $(lisp)/cedet/ede/proj-info.elc \
+       $(lisp)/cedet/ede/proj-misc.elc \
+       $(lisp)/cedet/ede/proj-obj.elc \
+       $(lisp)/cedet/ede/proj-prog.elc \
+       $(lisp)/cedet/ede/proj-scheme.elc \
+       $(lisp)/cedet/ede/proj-shared.elc \
+       $(lisp)/cedet/ede/proj.elc \
+       $(lisp)/cedet/ede/project-am.elc \
+       $(lisp)/cedet/ede/shell.elc \
+       $(lisp)/cedet/ede/simple.elc \
+       $(lisp)/cedet/ede/source.elc \
+       $(lisp)/cedet/ede/speedbar.elc \
+       $(lisp)/cedet/ede/srecode.elc \
+       $(lisp)/cedet/ede/system.elc \
+       $(lisp)/cedet/ede/util.elc \
+       $(lisp)/cedet/inversion.elc \
+       $(lisp)/cedet/mode-local.elc \
+       $(lisp)/cedet/pulse.elc \
+       $(lisp)/cedet/semantic.elc \
+       $(lisp)/cedet/semantic/analyze.elc \
+       $(lisp)/cedet/semantic/analyze/complete.elc \
+       $(lisp)/cedet/semantic/analyze/debug.elc \
+       $(lisp)/cedet/semantic/analyze/fcn.elc \
+       $(lisp)/cedet/semantic/analyze/refs.elc \
+       $(lisp)/cedet/semantic/bovine.elc \
+       $(lisp)/cedet/semantic/bovine/c-by.elc \
+       $(lisp)/cedet/semantic/bovine/c.elc \
+       $(lisp)/cedet/semantic/bovine/debug.elc \
+       $(lisp)/cedet/semantic/bovine/el.elc \
+       $(lisp)/cedet/semantic/bovine/gcc.elc \
+       $(lisp)/cedet/semantic/bovine/make-by.elc \
+       $(lisp)/cedet/semantic/bovine/make.elc \
+       $(lisp)/cedet/semantic/bovine/scm-by.elc \
+       $(lisp)/cedet/semantic/bovine/scm.elc \
+       $(lisp)/cedet/semantic/chart.elc \
+       $(lisp)/cedet/semantic/complete.elc \
+       $(lisp)/cedet/semantic/ctxt.elc \
+       $(lisp)/cedet/semantic/db-debug.elc \
+       $(lisp)/cedet/semantic/db-ebrowse.elc \
+       $(lisp)/cedet/semantic/db-el.elc \
+       $(lisp)/cedet/semantic/db-file.elc \
+       $(lisp)/cedet/semantic/db-find.elc \
+       $(lisp)/cedet/semantic/db-global.elc \
+       $(lisp)/cedet/semantic/db-javascript.elc \
+       $(lisp)/cedet/semantic/db-mode.elc \
+       $(lisp)/cedet/semantic/db-ref.elc \
+       $(lisp)/cedet/semantic/db-typecache.elc \
+       $(lisp)/cedet/semantic/db.elc \
+       $(lisp)/cedet/semantic/debug.elc \
+       $(lisp)/cedet/semantic/decorate.elc \
+       $(lisp)/cedet/semantic/decorate/include.elc \
+       $(lisp)/cedet/semantic/decorate/mode.elc \
+       $(lisp)/cedet/semantic/dep.elc \
+       $(lisp)/cedet/semantic/doc.elc \
+       $(lisp)/cedet/semantic/ede-grammar.elc \
+       $(lisp)/cedet/semantic/edit.elc \
+       $(lisp)/cedet/semantic/find.elc \
+       $(lisp)/cedet/semantic/format.elc \
+       $(lisp)/cedet/semantic/fw.elc \
+       $(lisp)/cedet/semantic/grammar-wy.elc \
+       $(lisp)/cedet/semantic/grammar.elc \
+       $(lisp)/cedet/semantic/html.elc \
+       $(lisp)/cedet/semantic/ia-sb.elc \
+       $(lisp)/cedet/semantic/ia.elc \
+       $(lisp)/cedet/semantic/idle.elc \
+       $(lisp)/cedet/semantic/java.elc \
+       $(lisp)/cedet/semantic/lex-spp.elc \
+       $(lisp)/cedet/semantic/lex.elc \
+       $(lisp)/cedet/semantic/mru-bookmark.elc \
+       $(lisp)/cedet/semantic/sb.elc \
+       $(lisp)/cedet/semantic/scope.elc \
+       $(lisp)/cedet/semantic/senator.elc \
+       $(lisp)/cedet/semantic/sort.elc \
+       $(lisp)/cedet/semantic/symref.elc \
+       $(lisp)/cedet/semantic/symref/cscope.elc \
+       $(lisp)/cedet/semantic/symref/filter.elc \
+       $(lisp)/cedet/semantic/symref/global.elc \
+       $(lisp)/cedet/semantic/symref/grep.elc \
+       $(lisp)/cedet/semantic/symref/idutils.elc \
+       $(lisp)/cedet/semantic/symref/list.elc \
+       $(lisp)/cedet/semantic/tag-file.elc \
+       $(lisp)/cedet/semantic/tag-ls.elc \
+       $(lisp)/cedet/semantic/tag-write.elc \
+       $(lisp)/cedet/semantic/tag.elc \
+       $(lisp)/cedet/semantic/texi.elc \
+       $(lisp)/cedet/semantic/util-modes.elc \
+       $(lisp)/cedet/semantic/util.elc \
+       $(lisp)/cedet/semantic/wisent.elc \
+       $(lisp)/cedet/semantic/wisent/comp.elc \
+       $(lisp)/cedet/semantic/wisent/java-tags.elc \
+       $(lisp)/cedet/semantic/wisent/javascript.elc \
+       $(lisp)/cedet/semantic/wisent/javat-wy.elc \
+       $(lisp)/cedet/semantic/wisent/js-wy.elc \
+       $(lisp)/cedet/semantic/wisent/python-wy.elc \
+       $(lisp)/cedet/semantic/wisent/python.elc \
+       $(lisp)/cedet/semantic/wisent/wisent.elc \
+       $(lisp)/cedet/srecode.elc \
+       $(lisp)/cedet/srecode/args.elc \
+       $(lisp)/cedet/srecode/compile.elc \
+       $(lisp)/cedet/srecode/cpp.elc \
+       $(lisp)/cedet/srecode/ctxt.elc \
+       $(lisp)/cedet/srecode/dictionary.elc \
+       $(lisp)/cedet/srecode/document.elc \
+       $(lisp)/cedet/srecode/el.elc \
+       $(lisp)/cedet/srecode/expandproto.elc \
+       $(lisp)/cedet/srecode/extract.elc \
+       $(lisp)/cedet/srecode/fields.elc \
+       $(lisp)/cedet/srecode/filters.elc \
+       $(lisp)/cedet/srecode/find.elc \
+       $(lisp)/cedet/srecode/getset.elc \
+       $(lisp)/cedet/srecode/insert.elc \
+       $(lisp)/cedet/srecode/java.elc \
+       $(lisp)/cedet/srecode/map.elc \
+       $(lisp)/cedet/srecode/mode.elc \
+       $(lisp)/cedet/srecode/semantic.elc \
+       $(lisp)/cedet/srecode/srt-mode.elc \
+       $(lisp)/cedet/srecode/srt-wy.elc \
+       $(lisp)/cedet/srecode/srt.elc \
+       $(lisp)/cedet/srecode/table.elc \
+       $(lisp)/cedet/srecode/template.elc \
+       $(lisp)/cedet/srecode/texi.elc \
        $(lisp)/chistory.elc \
        $(lisp)/cmuscheme.elc \
        $(lisp)/comint.elc \
@@ -333,7 +505,10 @@ ELCFILES = \
        $(lisp)/emacs-lisp/backquote.elc \
        $(lisp)/emacs-lisp/benchmark.elc \
        $(lisp)/emacs-lisp/bindat.elc \
+       $(lisp)/emacs-lisp/byte-opt.elc \
        $(lisp)/emacs-lisp/byte-run.elc \
+       $(lisp)/emacs-lisp/bytecomp.elc \
+       $(lisp)/emacs-lisp/chart.elc \
        $(lisp)/emacs-lisp/check-declare.elc \
        $(lisp)/emacs-lisp/checkdoc.elc \
        $(lisp)/emacs-lisp/cl-compat.elc \
@@ -351,6 +526,13 @@ ELCFILES = \
        $(lisp)/emacs-lisp/easy-mmode.elc \
        $(lisp)/emacs-lisp/easymenu.elc \
        $(lisp)/emacs-lisp/edebug.elc \
+       $(lisp)/emacs-lisp/eieio-base.elc \
+       $(lisp)/emacs-lisp/eieio-comp.elc \
+       $(lisp)/emacs-lisp/eieio-custom.elc \
+       $(lisp)/emacs-lisp/eieio-datadebug.elc \
+       $(lisp)/emacs-lisp/eieio-opt.elc \
+       $(lisp)/emacs-lisp/eieio-speedbar.elc \
+       $(lisp)/emacs-lisp/eieio.elc \
        $(lisp)/emacs-lisp/eldoc.elc \
        $(lisp)/emacs-lisp/elint.elc \
        $(lisp)/emacs-lisp/elp.elc \
@@ -361,12 +543,10 @@ ELCFILES = \
        $(lisp)/emacs-lisp/generic.elc \
        $(lisp)/emacs-lisp/gulp.elc \
        $(lisp)/emacs-lisp/helper.elc \
-       $(lisp)/emacs-lisp/levents.elc \
        $(lisp)/emacs-lisp/lisp-mnt.elc \
        $(lisp)/emacs-lisp/lisp-mode.elc \
        $(lisp)/emacs-lisp/lisp.elc \
        $(lisp)/emacs-lisp/lmenu.elc \
-       $(lisp)/emacs-lisp/lucid.elc \
        $(lisp)/emacs-lisp/macroexp.elc \
        $(lisp)/emacs-lisp/map-ynp.elc \
        $(lisp)/emacs-lisp/pp.elc \
@@ -492,6 +672,7 @@ ELCFILES = \
        $(lisp)/faces.elc \
        $(lisp)/ffap.elc \
        $(lisp)/filecache.elc \
+       $(lisp)/files-x.elc \
        $(lisp)/files.elc \
        $(lisp)/filesets.elc \
        $(lisp)/find-cmd.elc \
@@ -504,6 +685,7 @@ ELCFILES = \
        $(lisp)/follow.elc \
        $(lisp)/font-core.elc \
        $(lisp)/font-lock.elc \
+       $(lisp)/font-setting.elc \
        $(lisp)/format-spec.elc \
        $(lisp)/format.elc \
        $(lisp)/forms.elc \
@@ -650,10 +832,12 @@ ELCFILES = \
        $(lisp)/help.elc \
        $(lisp)/hex-util.elc \
        $(lisp)/hexl.elc \
+       $(lisp)/hfy-cmap.elc \
        $(lisp)/hi-lock.elc \
        $(lisp)/hilit-chg.elc \
        $(lisp)/hippie-exp.elc \
        $(lisp)/hl-line.elc \
+       $(lisp)/htmlfontify.elc \
        $(lisp)/ibuf-ext.elc \
        $(lisp)/ibuf-macs.elc \
        $(lisp)/ibuffer.elc \
@@ -673,8 +857,6 @@ ELCFILES = \
        $(lisp)/informat.elc \
        $(lisp)/international/ccl.elc \
        $(lisp)/international/characters.elc \
-       $(lisp)/international/codepage.elc \
-       $(lisp)/international/encoded-kb.elc \
        $(lisp)/international/fontset.elc \
        $(lisp)/international/isearch-x.elc \
        $(lisp)/international/iso-ascii.elc \
@@ -687,6 +869,7 @@ ELCFILES = \
        $(lisp)/international/latexenc.elc \
        $(lisp)/international/latin1-disp.elc \
        $(lisp)/international/mule-cmds.elc \
+       $(lisp)/international/mule-conf.elc \
        $(lisp)/international/mule-diag.elc \
        $(lisp)/international/mule-util.elc \
        $(lisp)/international/mule.elc \
@@ -694,8 +877,8 @@ ELCFILES = \
        $(lisp)/international/quail.elc \
        $(lisp)/international/robin.elc \
        $(lisp)/international/titdic-cnv.elc \
+       $(lisp)/international/ucs-normalize.elc \
        $(lisp)/international/utf-7.elc \
-       $(lisp)/isearch-multi.elc \
        $(lisp)/isearch.elc \
        $(lisp)/isearchb.elc \
        $(lisp)/iswitchb.elc \
@@ -757,6 +940,7 @@ ELCFILES = \
        $(lisp)/mail/rmail.elc \
        $(lisp)/mail/rmailedit.elc \
        $(lisp)/mail/rmailkwd.elc \
+       $(lisp)/mail/rmailmm.elc \
        $(lisp)/mail/rmailmsc.elc \
        $(lisp)/mail/rmailout.elc \
        $(lisp)/mail/rmailsort.elc \
@@ -800,10 +984,12 @@ ELCFILES = \
        $(lisp)/minibuf-eldef.elc \
        $(lisp)/minibuffer.elc \
        $(lisp)/misc.elc \
+       $(lisp)/misearch.elc \
        $(lisp)/mouse-copy.elc \
        $(lisp)/mouse-drag.elc \
        $(lisp)/mouse-sel.elc \
        $(lisp)/mouse.elc \
+       $(lisp)/mpc.elc \
        $(lisp)/msb.elc \
        $(lisp)/mwheel.elc \
        $(lisp)/net/ange-ftp.elc \
@@ -823,8 +1009,10 @@ ELCFILES = \
        $(lisp)/net/goto-addr.elc \
        $(lisp)/net/hmac-def.elc \
        $(lisp)/net/hmac-md5.elc \
+       $(lisp)/net/imap-hash.elc \
        $(lisp)/net/imap.elc \
        $(lisp)/net/ldap.elc \
+       $(lisp)/net/mairix.elc \
        $(lisp)/net/net-utils.elc \
        $(lisp)/net/netrc.elc \
        $(lisp)/net/newst-backend.elc \
@@ -851,12 +1039,15 @@ ELCFILES = \
        $(lisp)/net/tramp-compat.elc \
        $(lisp)/net/tramp-fish.elc \
        $(lisp)/net/tramp-ftp.elc \
+       $(lisp)/net/tramp-gvfs.elc \
        $(lisp)/net/tramp-gw.elc \
+       $(lisp)/net/tramp-imap.elc \
        $(lisp)/net/tramp-smb.elc \
        $(lisp)/net/tramp-uu.elc \
        $(lisp)/net/tramp.elc \
        $(lisp)/net/trampver.elc \
        $(lisp)/net/webjump.elc \
+       $(lisp)/net/xesam.elc \
        $(lisp)/net/zeroconf.elc \
        $(lisp)/newcomment.elc \
        $(lisp)/novice.elc \
@@ -890,39 +1081,68 @@ ELCFILES = \
        $(lisp)/obsolete/iso-insert.elc \
        $(lisp)/obsolete/iso-swed.elc \
        $(lisp)/obsolete/lazy-lock.elc \
+       $(lisp)/obsolete/levents.elc \
+       $(lisp)/obsolete/lucid.elc \
        $(lisp)/obsolete/old-whitespace.elc \
        $(lisp)/obsolete/options.elc \
+       $(lisp)/obsolete/resume.elc \
        $(lisp)/obsolete/rnews.elc \
        $(lisp)/obsolete/rnewspost.elc \
        $(lisp)/obsolete/sc.elc \
        $(lisp)/obsolete/scribe.elc \
        $(lisp)/obsolete/swedish.elc \
+       $(lisp)/obsolete/sym-comp.elc \
+       $(lisp)/obsolete/vc-mcvs.elc \
        $(lisp)/obsolete/x-menu.elc \
        $(lisp)/org/org-agenda.elc \
        $(lisp)/org/org-archive.elc \
+       $(lisp)/org/org-ascii.elc \
+       $(lisp)/org/org-attach.elc \
        $(lisp)/org/org-bbdb.elc \
        $(lisp)/org/org-bibtex.elc \
        $(lisp)/org/org-clock.elc \
        $(lisp)/org/org-colview.elc \
        $(lisp)/org/org-compat.elc \
+       $(lisp)/org/org-crypt.elc \
+       $(lisp)/org/org-datetree.elc \
+       $(lisp)/org/org-docbook.elc \
+       $(lisp)/org/org-exp-blocks.elc \
        $(lisp)/org/org-exp.elc \
-       $(lisp)/org/org-export-latex.elc \
        $(lisp)/org/org-faces.elc \
+       $(lisp)/org/org-feed.elc \
+       $(lisp)/org/org-footnote.elc \
+       $(lisp)/org/org-freemind.elc \
        $(lisp)/org/org-gnus.elc \
+       $(lisp)/org/org-habit.elc \
+       $(lisp)/org/org-html.elc \
+       $(lisp)/org/org-icalendar.elc \
+       $(lisp)/org/org-id.elc \
+       $(lisp)/org/org-indent.elc \
        $(lisp)/org/org-info.elc \
+       $(lisp)/org/org-inlinetask.elc \
+       $(lisp)/org/org-install.elc \
        $(lisp)/org/org-irc.elc \
        $(lisp)/org/org-jsinfo.elc \
+       $(lisp)/org/org-latex.elc \
+       $(lisp)/org/org-list.elc \
        $(lisp)/org/org-mac-message.elc \
        $(lisp)/org/org-macs.elc \
        $(lisp)/org/org-mew.elc \
        $(lisp)/org/org-mhe.elc \
+       $(lisp)/org/org-mobile.elc \
        $(lisp)/org/org-mouse.elc \
+       $(lisp)/org/org-plot.elc \
+       $(lisp)/org/org-protocol.elc \
        $(lisp)/org/org-publish.elc \
        $(lisp)/org/org-remember.elc \
        $(lisp)/org/org-rmail.elc \
+       $(lisp)/org/org-src.elc \
        $(lisp)/org/org-table.elc \
+       $(lisp)/org/org-timer.elc \
        $(lisp)/org/org-vm.elc \
+       $(lisp)/org/org-w3m.elc \
        $(lisp)/org/org-wl.elc \
+       $(lisp)/org/org-xoxo.elc \
        $(lisp)/org/org.elc \
        $(lisp)/outline.elc \
        $(lisp)/paren.elc \
@@ -993,8 +1213,9 @@ ELCFILES = \
        $(lisp)/progmodes/cc-fonts.elc \
        $(lisp)/progmodes/cc-langs.elc \
        $(lisp)/progmodes/cc-menus.elc \
+       $(lisp)/progmodes/cc-mode.elc \
        $(lisp)/progmodes/cc-styles.elc \
-       $(lisp)/progmodes/cc-subword.elc \
+       $(lisp)/progmodes/cc-vars.elc \
        $(lisp)/progmodes/cfengine.elc \
        $(lisp)/progmodes/cmacexp.elc \
        $(lisp)/progmodes/compile.elc \
@@ -1030,6 +1251,7 @@ ELCFILES = \
        $(lisp)/progmodes/idlw-toolbar.elc \
        $(lisp)/progmodes/idlwave.elc \
        $(lisp)/progmodes/inf-lisp.elc \
+       $(lisp)/progmodes/js.elc \
        $(lisp)/progmodes/ld-script.elc \
        $(lisp)/progmodes/m4-mode.elc \
        $(lisp)/progmodes/make-mode.elc \
@@ -1044,11 +1266,12 @@ ELCFILES = \
        $(lisp)/progmodes/prolog.elc \
        $(lisp)/progmodes/ps-mode.elc \
        $(lisp)/progmodes/python.elc \
+       $(lisp)/progmodes/ruby-mode.elc \
        $(lisp)/progmodes/scheme.elc \
        $(lisp)/progmodes/sh-script.elc \
        $(lisp)/progmodes/simula.elc \
        $(lisp)/progmodes/sql.elc \
-       $(lisp)/progmodes/sym-comp.elc \
+       $(lisp)/progmodes/subword.elc \
        $(lisp)/progmodes/tcl.elc \
        $(lisp)/progmodes/vera-mode.elc \
        $(lisp)/progmodes/verilog-mode.elc \
@@ -1066,7 +1289,6 @@ ELCFILES = \
        $(lisp)/repeat.elc \
        $(lisp)/replace.elc \
        $(lisp)/reposition.elc \
-       $(lisp)/resume.elc \
        $(lisp)/reveal.elc \
        $(lisp)/rfn-eshadow.elc \
        $(lisp)/rot13.elc \
@@ -1092,13 +1314,16 @@ ELCFILES = \
        $(lisp)/speedbar.elc \
        $(lisp)/startup.elc \
        $(lisp)/strokes.elc \
+       $(lisp)/subr.elc \
        $(lisp)/t-mouse.elc \
        $(lisp)/tabify.elc \
        $(lisp)/talk.elc \
        $(lisp)/tar-mode.elc \
        $(lisp)/tempo.elc \
        $(lisp)/term.elc \
-       $(lisp)/term/mac-win.elc \
+       $(lisp)/term/common-win.elc \
+       $(lisp)/term/internal.elc \
+       $(lisp)/term/ns-win.elc \
        $(lisp)/term/pc-win.elc \
        $(lisp)/term/rxvt.elc \
        $(lisp)/term/sun.elc \
@@ -1144,6 +1369,7 @@ ELCFILES = \
        $(lisp)/textmodes/reftex-vars.elc \
        $(lisp)/textmodes/reftex.elc \
        $(lisp)/textmodes/remember.elc \
+       $(lisp)/textmodes/rst.elc \
        $(lisp)/textmodes/sgml-mode.elc \
        $(lisp)/textmodes/spell.elc \
        $(lisp)/textmodes/table.elc \
@@ -1196,16 +1422,17 @@ ELCFILES = \
        $(lisp)/url/url-util.elc \
        $(lisp)/url/url-vars.elc \
        $(lisp)/url/url.elc \
-       $(lisp)/url/vc-dav.elc \
        $(lisp)/userlock.elc \
+       $(lisp)/vc-annotate.elc \
        $(lisp)/vc-arch.elc \
        $(lisp)/vc-bzr.elc \
        $(lisp)/vc-cvs.elc \
+       $(lisp)/vc-dav.elc \
+       $(lisp)/vc-dir.elc \
        $(lisp)/vc-dispatcher.elc \
        $(lisp)/vc-git.elc \
        $(lisp)/vc-hg.elc \
        $(lisp)/vc-hooks.elc \
-       $(lisp)/vc-mcvs.elc \
        $(lisp)/vc-mtn.elc \
        $(lisp)/vc-rcs.elc \
        $(lisp)/vc-sccs.elc \
@@ -1230,6 +1457,23 @@ ELCFILES = \
        $(lisp)/xml.elc \
        $(lisp)/xt-mouse.elc
 
+# The src/Makefile.in has its own set of dependencies and when they decide
+# that one Lisp file needs to be re-compiled, we had better recompile it as
+# well, otherwise every subsequent make will again call us, until we finally
+# end up deciding that yes, the file deserves recompilation.
+# One option is to try and reproduce exactly the same dependencies here as
+# we have in src/Makefile.in, but it turns out to be painful
+# (e.g. src/Makefile.in may have a dependency for ../lisp/foo.elc where we
+# only know of $(lisp)/foo.elc).  So instead we provide a direct way for
+# src/Makefile.in to rebuild a particular Lisp file, no questions asked.
+# Use byte-compile-refresh-preloaded to try and work around some of
+# the most common problems of not bootstrapping from a clean state.
+compile-onefile:
+       @echo Compiling $(THEFILE)
+       @# Use byte-compile-refresh-preloaded to try and work around some of
+       @# the most common bootstrapping problems.
+       @$(emacs) -l bytecomp -f byte-compile-refresh-preloaded $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(THEFILE)
+
 # Files MUST be compiled one by one. If we compile several files in a
 # row (i.e., in the same instance of Emacs) we can't make sure that
 # the compilation environment is clean.  We also set the load-path of
@@ -1249,11 +1493,7 @@ ELCFILES = \
 
 .PHONY: compile-first compile-main compile-last compile compile-always
 
-compile-first: $(emacs-deps) $(LOADDEFS) autoloads $(COMPILE_FIRST)
-       for el in $(COMPILE_FIRST); do \
-         echo Compiling $$el; \
-         $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done $$el || exit 1; \
-       done
+compile-first: $(COMPILE_FIRST)
 
 compile-main: $(ELCFILES)
 
@@ -1263,7 +1503,7 @@ compile-main: $(ELCFILES)
 # Calling make recursively because suffix rule cannot have prerequisites.
 # Explicitly pass EMACS (sometimes ../src/bootstrap-emacs) to those
 # sub-makes that run rules that use it, for the sake of some non-GNU makes.
-compile: $(emacs-deps) $(LOADDEFS) autoloads compile-first
+compile: $(LOADDEFS) autoloads compile-first
        $(MAKE) $(MFLAGS) compile-main EMACS=$(EMACS)
        $(MAKE) $(MFLAGS) compile-last EMACS=$(EMACS)
 
@@ -1274,17 +1514,17 @@ compile: $(emacs-deps) $(LOADDEFS) autoloads compile-first
 # unconditionally.  Some files don't actually get compiled because they
 # set the local variable no-byte-compile.
 compile-always: doit
-       cd $(lisp); rm -f *.elc */*.elc
+       cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc
        $(MAKE) $(MFLAGS) compile EMACS=$(EMACS)
 
 ## In case any files are missing from ELCFILES.
 compile-last:
        @wd=$(lisp); $(setwins); \
        els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
-       for el in $(COMPILE_FIRST) $$els; do \
+       for el in $$els; do \
          test -f $$el || continue; \
          test -f $${el}c && continue; \
-         grep 'no-byte-compile: t' $$el > /dev/null && continue; \
+         GREP_OPTIONS= grep 'no-byte-compile: t' $$el > /dev/null && continue; \
          sel=`echo $$el | sed "s|^$(lisp)|\\$$(lisp)|"`; \
          echo "Maintainer warning: $$sel missing from \$$ELCFILES?"; \
          echo "Compiling $$el"; \
@@ -1302,7 +1542,7 @@ compile-calc:
 
 backup-compiled-files:
        -mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
-       -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc
+       -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc $(lisp)/*/*/*/*.elc
 
 # Compile Lisp files, but save old compiled files first.
 
@@ -1310,21 +1550,20 @@ compile-after-backup: backup-compiled-files compile-always
 
 # Recompile all Lisp files which are newer than their .elc files and compile
 # new ones.
-# FIXME this could use the 'compile' target now, and let make figure out
-# what needs to be done.  That would be parallelizable, but would not
-# pick up new files not in ELCFILES.
-recompile: doit $(LOADDEFS) $(lisp)/progmodes/cc-mode.elc
+# This has the same effect as compile-main (followed up with compile-last,
+# if ELCFILES is out of date).  recompile has some advantages:
+# i) It is faster (on a single processor), since it only has to start
+# Emacs once.  It was 33% faster on a test with a random 10% of the .el
+# files needing recompilation.
+# ii) The explicit cc-mode dependency.
+# recompile's disadvantages are:
+# i) Not parallelizable.
+# ii) Compiling multiple files in the same instance of Emacs is wrong,
+# since the environment of later files is affected by definitions in
+# earlier ones.
+recompile: doit $(LOADDEFS) compile-first $(lisp)/progmodes/cc-mode.elc
        $(emacs) --eval "(batch-byte-recompile-directory 0)" $(lisp)
 
-# CC Mode uses a compile time macro system which causes a compile time
-# dependency in cc-mode.elc on the macros in cc-langs.el and the
-# version string in cc-defs.el.
-$(lisp)/progmodes/cc-mode.elc: \
-       $(lisp)/progmodes/cc-mode.el \
-       $(lisp)/progmodes/cc-langs.el \
-       $(lisp)/progmodes/cc-defs.el
-       $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $@
-
 # Update MH-E internal autoloads. These are not to be confused with
 # the autoloads for the MH-E entry points, which are already in loaddefs.el.
 MH_E_DIR = $(lisp)/mh-e
@@ -1344,7 +1583,7 @@ MH_E_SRC = $(MH_E_DIR)/mh-acros.el $(MH_E_DIR)/mh-alias.el    \
        $(MH_E_DIR)/mh-xface.el
 
 mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el
-$(MH_E_DIR)/mh-loaddefs.el: $(emacs-deps) $(MH_E_SRC)
+$(MH_E_DIR)/mh-loaddefs.el: $(MH_E_SRC)
        $(emacs) -l autoload \
           --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \
           --eval "(setq generated-autoload-file \"$@\")" \
@@ -1366,21 +1605,21 @@ CAL_SRC = $(CAL_DIR)/cal-bahai.el $(CAL_DIR)/cal-china.el  \
        $(CAL_DIR)/holidays.el    $(CAL_DIR)/lunar.el      \
        $(CAL_DIR)/solar.el
 
-$(CAL_DIR)/cal-loaddefs.el: $(emacs-deps) $(CAL_SRC)
+$(CAL_DIR)/cal-loaddefs.el: $(CAL_SRC)
        $(emacs) -l autoload \
           --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \
           --eval "(setq generated-autoload-file \"$@\")" \
           --eval "(setq make-backup-files nil)" \
           -f batch-update-autoloads $(CAL_DIR)
 
-$(CAL_DIR)/diary-loaddefs.el: $(emacs-deps) $(CAL_SRC)
+$(CAL_DIR)/diary-loaddefs.el: $(CAL_SRC)
        $(emacs) -l autoload \
           --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \
           --eval "(setq generated-autoload-file \"$@\")" \
           --eval "(setq make-backup-files nil)" \
           -f batch-update-autoloads $(CAL_DIR)
 
-$(CAL_DIR)/hol-loaddefs.el: $(emacs-deps) $(CAL_SRC)
+$(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC)
        $(emacs) -l autoload \
           --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \
           --eval "(setq generated-autoload-file \"$@\")" \
@@ -1400,35 +1639,119 @@ $(CAL_DIR)/hol-loaddefs.el: $(emacs-deps) $(CAL_SRC)
 # local changes.  (Because loaddefs.el is an automatically generated
 # file, we don't want to store it in the source repository).
 
-bootstrap-prepare:
-       if test -x $(EMACS); then                               \
-         $(MAKE) $(MFLAGS) autoloads EMACS=$(EMACS);           \
-       fi
+bootstrap-clean:
+       cd $(lisp); rm -f *.elc */*.elc */*/*.elc */*/*/*.elc $(AUTOGENEL)
 
-autogen-clean:
-       cd $(lisp); rm -f $(AUTOGENEL)
+distclean:
+       -rm -f ./Makefile
 
 maintainer-clean: distclean bootstrap-clean
 
-bootstrap-clean: autogen-clean
-       cd $(lisp); rm -f *.elc */*.elc
+.PHONY: check-declare
 
-# Generate/update files for the bootstrap process.
+check-declare:
+       $(emacs) -l $(lisp)/emacs-lisp/check-declare \
+         --eval '(check-declare-directory "$(lisp)")'
 
-bootstrap: update-subdirs autoloads compile
+# Dependencies
 
-# Generate/update files after the bootstrap process.
-# custom-deps needs `preloaded-file-list'.
+# CC Mode uses a compile time macro system which causes a compile time
+# dependency in cc-*.elc files on the macros in other cc-*.el and the
+# version string in cc-defs.el.
+$(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-awk.elc\
+ $(lisp)/progmodes/cc-cmds.elc $(lisp)/progmodes/cc-compat.elc\
+ $(lisp)/progmodes/cc-engine.elc $(lisp)/progmodes/cc-fonts.elc\
+ $(lisp)/progmodes/cc-langs.elc $(lisp)/progmodes/cc-menus.elc\
+ $(lisp)/progmodes/cc-mode.elc $(lisp)/progmodes/cc-styles.elc\
+ $(lisp)/progmodes/cc-vars.elc: \
+   $(lisp)/progmodes/cc-bytecomp.elc $(lisp)/progmodes/cc-defs.elc
 
-bootstrap-after: finder-data custom-deps
+$(lisp)/progmodes/cc-align.elc: \
+   $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc
 
-distclean:
-       -rm -f ./Makefile
+$(lisp)/progmodes/cc-cmds.elc: \
+   $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc
 
-.PHONY: check-declare
+$(lisp)/progmodes/cc-compat.elc: \
+   $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-styles.elc \
+   $(lisp)/progmodes/cc-engine.elc
 
-check-declare:
-       $(emacs) -l $(lisp)/emacs-lisp/check-declare \
-         --eval '(check-declare-directory "$(lisp)")'
+$(lisp)/progmodes/cc-defs.elc: $(lisp)/progmodes/cc-bytecomp.elc \
+   $(lisp)/emacs-lisp/cl.elc $(lisp)/emacs-lisp/regexp-opt.elc
+
+$(lisp)/progmodes/cc-engine.elc: $(lisp)/progmodes/cc-langs.elc \
+   $(lisp)/progmodes/cc-vars.elc
+
+$(lisp)/progmodes/cc-fonts.elc: $(lisp)/progmodes/cc-langs.elc \
+   $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \
+   $(lisp)/font-lock.elc
+
+$(lisp)/progmodes/cc-langs.elc: $(lisp)/progmodes/cc-vars.elc \
+   $(lisp)/emacs-lisp/cl.elc
+
+$(lisp)/progmodes/cc-mode.elc: $(lisp)/progmodes/cc-langs.elc \
+   $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \
+   $(lisp)/progmodes/cc-styles.elc $(lisp)/progmodes/cc-cmds.elc \
+   $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-menus.elc
+
+$(lisp)/progmodes/cc-styles.elc: $(lisp)/progmodes/cc-vars.elc \
+   $(lisp)/progmodes/cc-align.elc
+
+$(lisp)/progmodes/cc-vars.elc: $(lisp)/custom.elc $(lisp)/widget.elc
+
+# MH-E dependencies, mainly to prevent failures with parallel
+# compilation, due to race conditions between writing a given FOO.elc
+# file and another file being compiled that says "(require FOO)",
+# which causes Emacs to try to read FOO.elc.
+$(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-comp.elc $(MH_E_DIR)/mh-folder.elc\
+ $(MH_E_DIR)/mh-funcs.elc $(MH_E_DIR)/mh-identity.elc $(MH_E_DIR)/mh-inc.elc\
+ $(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-letter.elc $(MH_E_DIR)/mh-limit.elc\
+ $(MH_E_DIR)/mh-mime.elc $(MH_E_DIR)/mh-print.elc $(MH_E_DIR)/mh-scan.elc\
+ $(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-show.elc\
+ $(MH_E_DIR)/mh-speed.elc $(MH_E_DIR)/mh-thread.elc $(MH_E_DIR)/mh-tool-bar.elc\
+ $(MH_E_DIR)/mh-utils.elc $(MH_E_DIR)/mh-xface.elc:\
+   $(MH_E_DIR)/mh-e.elc
+
+$(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-e.elc $(MH_E_DIR)/mh-folder.elc\
+ $(MH_E_DIR)/mh-inc.elc $(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-limit.elc\
+ $(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-speed.elc\
+ $(MH_E_DIR)/mh-utils.elc $(MH_E_DIR)/mh-xface.elc:\
+   $(lisp)/emacs-lisp/cl.elc
+
+$(MH_E_DIR)/mh-comp.elc $(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-funcs.elc\
+ $(MH_E_DIR)/mh-junk.elc $(MH_E_DIR)/mh-limit.elc $(MH_E_DIR)/mh-print.elc\
+ $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-show.elc $(MH_E_DIR)/mh-thread.elc:\
+   $(MH_E_DIR)/mh-scan.elc
+
+$(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-letter.elc $(MH_E_DIR)/mh-mime.elc\
+ $(MH_E_DIR)/mh-search.elc $(MH_E_DIR)/mh-show.elc $(MH_E_DIR)/mh-speed.elc:\
+   $(lisp)/gnus/gnus-util.elc
+
+$(MH_E_DIR)/mh-folder.elc $(MH_E_DIR)/mh-search.elc:\
+   $(lisp)/progmodes/which-func.elc
+
+$(MH_E_DIR)/mh-letter.elc $(MH_E_DIR)/mh-seq.elc $(MH_E_DIR)/mh-show.elc\
+ $(MH_E_DIR)/mh-utils.elc:\
+   $(lisp)/font-lock.elc
+
+$(MH_E_DIR)/mh-alias.elc $(MH_E_DIR)/mh-show.elc: $(lisp)/net/goto-addr.elc
+
+$(MH_E_DIR)/mh-comp.elc: $(lisp)/mail/sendmail.elc
+
+$(MH_E_DIR)/mh-e.elc: $(MH_E_DIR)/mh-buffers.elc $(lisp)/gnus/gnus.elc \
+   $(lisp)/cus-face.elc
+
+$(MH_E_DIR)/mh-letter.elc: $(lisp)/gnus/mailcap.elc $(lisp)/gnus/mm-decode.elc \
+   $(lisp)/gnus/mm-view.elc  $(lisp)/gnus/mml.elc $(lisp)/gnus/message.elc
+
+$(MH_E_DIR)/mh-print.elc:  $(lisp)/ps-print.elc
+
+$(MH_E_DIR)/mh-search.elc: $(lisp)/imenu.elc
+
+$(MH_E_DIR)/mh-show.elc: $(lisp)/gnus/gnus-cite.elc
+
+$(MH_E_DIR)/mh-speed.elc: $(lisp)/speedbar.elc $(lisp)/emacs-lisp/timer.elc
+
+$(MH_E_DIR)/mh-tool-bar.elc: $(lisp)/tool-bar.elc
 
 # Makefile ends here.