Makefile.in 21 KB

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