PageRenderTime 3048ms CodeModel.GetById 1ms RepoModel.GetById 0ms app.codeStats 1ms

/lisp/Makefile.in

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