* lisp/Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
[bpt/emacs.git] / lisp / Makefile.in
1 ### @configure_input@
2
3 # Copyright (C) 2000-2013 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 = @SHELL@
21
22 srcdir = @srcdir@
23 top_srcdir = @top_srcdir@
24 lisp = $(srcdir)
25 VPATH = $(srcdir)
26
27 # Empty for all systems except MinGW, where xargs needs an explicit
28 # limitation.
29 XARGS_LIMIT = @XARGS_LIMIT@
30
31 # You can specify a different executable on the make command line,
32 # e.g. "make EMACS=../src/emacs ...".
33
34 # We never change directory before running Emacs, so a relative file
35 # name is fine, and makes life easier. If we need to change
36 # directory, we can use emacs --chdir.
37 EMACS = ../src/emacs
38
39 # Command line flags for Emacs.
40
41 EMACSOPT = -batch --no-site-file --no-site-lisp
42
43 # Extra flags to pass to the byte compiler
44 BYTE_COMPILE_EXTRA_FLAGS =
45 # For example to not display the undefined function warnings you can use this:
46 # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))'
47 # The example above is just for developers, it should not be used by default.
48
49 # Automatically generated autoload files, apart from lisp/loaddefs.el.
50 # Note this includes only those files that need special rules to
51 # build; ie it does not need to include things created via
52 # generated-autoload-file (eg calc/calc-loaddefs.el).
53 LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \
54 $(lisp)/calendar/diary-loaddefs.el \
55 $(lisp)/calendar/hol-loaddefs.el \
56 $(lisp)/mh-e/mh-loaddefs.el \
57 $(lisp)/net/tramp-loaddefs.el
58
59 # Elisp files auto-generated.
60 AUTOGENEL = loaddefs.el \
61 $(LOADDEFS) \
62 cus-load.el \
63 finder-inf.el \
64 subdirs.el \
65 emacs-lisp/cl-loaddefs.el \
66 calc/calc-loaddefs.el \
67 eshell/esh-groups.el \
68 cedet/semantic/loaddefs.el \
69 cedet/ede/loaddefs.el \
70 cedet/srecode/loaddefs.el \
71 org/org-loaddefs.el
72
73 # Versioned files that are the value of someone's `generated-autoload-file'.
74 # Note that update_loaddefs parses this.
75 AUTOGEN_VCS = \
76 ps-print.el \
77 emulation/tpu-edt.el \
78 mail/rmail.el \
79 dired.el \
80 ibuffer.el \
81 htmlfontify.el \
82 emacs-lisp/eieio.el
83
84 # Value of max-lisp-eval-depth when compiling initially.
85 # During bootstrapping the byte-compiler is run interpreted when compiling
86 # itself, and uses more stack than usual.
87 #
88 BIG_STACK_DEPTH = 2200
89 BIG_STACK_OPTS = --eval "(setq max-lisp-eval-depth $(BIG_STACK_DEPTH))"
90
91 BYTE_COMPILE_FLAGS = $(BIG_STACK_OPTS) $(BYTE_COMPILE_EXTRA_FLAGS)
92
93 # Files to compile before others during a bootstrap. This is done to
94 # speed up the bootstrap process. They're ordered by size, so we use
95 # the slowest-compiler on the smallest file and move to larger files as the
96 # compiler gets faster. `autoload.elc' comes last because it is not used by
97 # the compiler (so its compilation does not speed up subsequent compilations),
98 # it's only placed here so as to speed up generation of the loaddefs.el file.
99
100 COMPILE_FIRST = \
101 $(lisp)/emacs-lisp/macroexp.elc \
102 $(lisp)/emacs-lisp/cconv.elc \
103 $(lisp)/emacs-lisp/byte-opt.elc \
104 $(lisp)/emacs-lisp/bytecomp.elc \
105 $(lisp)/emacs-lisp/autoload.elc
106
107 # The actual Emacs command run in the targets below.
108 # Prevent any setting of EMACSLOADPATH in user environment causing problems.
109 emacs = unset EMACSLOADPATH; "$(EMACS)" $(EMACSOPT)
110
111 # Common command to find subdirectories
112 setwins=for file in `find . -type d -print`; do \
113 case $$file in */.* ) ;; \
114 *) wins="$$wins$${wins:+ }$$file" ;; \
115 esac; \
116 done
117
118 # Find all subdirectories except `obsolete' and `term'.
119 setwins_almost=for file in `find . -type d -print`; do \
120 case $$file in */.* | */obsolete | */term ) ;; \
121 *) wins="$$wins$${wins:+ }$$file" ;; \
122 esac; \
123 done
124
125 # Find all subdirectories in which we might want to create subdirs.el
126 setwins_for_subdirs=for file in `find . -type d -print`; do \
127 case $$file in */.* | */cedet* ) ;; \
128 *) wins="$$wins$${wins:+ }$$file" ;; \
129 esac; \
130 done
131
132 # cus-load and finder-inf are not explicitly requested by anything, so
133 # we add them here to make sure they get built.
134 all: compile-main $(lisp)/cus-load.el $(lisp)/finder-inf.el
135
136 doit:
137
138 .PHONY: all doit custom-deps finder-data autoloads update-subdirs
139
140 # custom-deps and finder-data both used to scan _all_ the *.el files.
141 # This could lead to problems in parallel builds if automatically
142 # generated *.el files (eg loaddefs etc) were being changed at the same time.
143 # One solution was to add autoloads as a prerequisite:
144 # http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-01/msg00469.html
145 # http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-12/msg00171.html
146 # However, this meant that running these targets modified loaddefs.el,
147 # every time (due to time-stamping). Calling these rules from
148 # bootstrap-after would modify loaddefs after src/emacs, resulting
149 # in make install remaking src/emacs for no real reason:
150 # http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00311.html
151 # Nowadays these commands don't scan automatically generated files,
152 # since they will never contain any useful information
153 # (see finder-no-scan-regexp and custom-dependencies-no-scan-regexp).
154 $(lisp)/cus-load.el:
155 $(MAKE) $(MFLAGS) custom-deps
156 custom-deps: doit
157 thisdir=`pwd`; cd $(lisp) && $(setwins_almost); cd "$$thisdir"; \
158 echo Directories: $$wins; \
159 $(emacs) --chdir $(lisp) -l cus-dep -f custom-make-dependencies $$wins
160
161 $(lisp)/finder-inf.el:
162 $(MAKE) $(MFLAGS) finder-data
163 finder-data: doit
164 thisdir=`pwd`; cd $(lisp) && $(setwins_almost); cd "$$thisdir"; \
165 echo Directories: $$wins; \
166 $(emacs) --chdir $(lisp) -l finder \
167 -f finder-compile-keywords-make-dist $$wins
168
169 # The chmod +w is to handle env var CVSREAD=1.
170 # Use expand-file-name rather than $abs_scrdir so that Emacs does not
171 # get confused when it compares file-names for equality.
172 autoloads: $(LOADDEFS) doit
173 cd $(lisp) && chmod +w $(AUTOGEN_VCS)
174 thisdir=`pwd`; cd $(lisp) && $(setwins_almost); cd "$$thisdir"; \
175 echo Directories: $$wins; \
176 $(emacs) --chdir $(lisp) -l autoload \
177 --eval '(setq autoload-builtin-package-versions t)' \
178 --eval '(setq generated-autoload-file (expand-file-name "loaddefs.el"))' \
179 -f batch-update-autoloads $$wins
180
181 # This is required by the bootstrap-emacs target in ../src/Makefile, so
182 # we know that if we have an emacs executable, we also have a subdirs.el.
183 $(lisp)/subdirs.el:
184 $(MAKE) $(MFLAGS) update-subdirs
185 update-subdirs: doit
186 cd $(lisp) && $(setwins_for_subdirs); \
187 for file in $$wins; do \
188 ../build-aux/update-subdirs $$file; \
189 done;
190
191 .PHONY: updates bzr-update update-authors
192
193 # Some modes of make-dist use this.
194 updates: update-subdirs autoloads finder-data custom-deps
195
196 # This is useful after "bzr up"; but it doesn't do anything that a
197 # plain "make" at top-level doesn't.
198 # The only difference between this and this directory's "all" rule
199 # is that this runs "autoloads" as well (because it uses "compile"
200 # rather than "compile-main"). In a bootstrap, $(lisp) in src/Makefile
201 # triggers this directory's autoloads rule.
202 bzr-update: compile finder-data custom-deps
203
204 # Update the AUTHORS file.
205
206 update-authors:
207 $(emacs) -l authors -f batch-update-authors $(top_srcdir)/etc/AUTHORS $(top_srcdir)
208
209
210 ETAGS = ../lib-src/etags
211
212 lisptagsfiles1 = $(srcdir)/*.el
213 lisptagsfiles2 = $(srcdir)/*/*.el
214 lisptagsfiles3 = $(srcdir)/*/*/*.el
215 lisptagsfiles4 = $(srcdir)/*/*/*/*.el
216
217 ## The echo | sed | xargs is to stop the command line getting too long
218 ## on MS Windows, when the MSYS Bash passes it to a MinGW compiled
219 ## etags. It might be better to use find in a similar way to
220 ## compile-main. But maybe this is not even necessary any more now
221 ## that this uses relative filenames.
222 TAGS: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4)
223 rm -f $@
224 touch $@
225 echo $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4) | \
226 sed -e 's,$(srcdir)/[^ ]*loaddefs[^ ]*,,g' \
227 -e 's,$(srcdir)/ldefs-boot[^ ]*,,' \
228 -e 's,$(srcdir)/[^ ]*esh-groups.el[^ ]*,,' | \
229 xargs $(XARGS_LIMIT) "$(ETAGS)" -a -o $@
230
231
232 # The src/Makefile.in has its own set of dependencies and when they decide
233 # that one Lisp file needs to be re-compiled, we had better recompile it as
234 # well, otherwise every subsequent make will again call us, until we finally
235 # end up deciding that yes, the file deserves recompilation.
236 # One option is to try and reproduce exactly the same dependencies here as
237 # we have in src/Makefile.in, but it turns out to be painful
238 # (e.g. src/Makefile.in may have a dependency for ../lisp/foo.elc where we
239 # only know of $(lisp)/foo.elc). So instead we provide a direct way for
240 # src/Makefile.in to rebuild a particular Lisp file, no questions asked.
241 # Use byte-compile-refresh-preloaded to try and work around some of
242 # the most common problems of not bootstrapping from a clean state.
243 .PHONY: compile-onefile
244 compile-onefile:
245 @echo Compiling $(THEFILE)
246 @# Use byte-compile-refresh-preloaded to try and work around some of
247 @# the most common bootstrapping problems.
248 @$(emacs) $(BYTE_COMPILE_FLAGS) \
249 -l bytecomp -f byte-compile-refresh-preloaded \
250 -f batch-byte-compile $(THEFILE)
251
252 # Files MUST be compiled one by one. If we compile several files in a
253 # row (i.e., in the same instance of Emacs) we can't make sure that
254 # the compilation environment is clean. We also set the load-path of
255 # the Emacs used for compilation to the current directory and its
256 # subdirectories, to make sure require's and load's in the files being
257 # compiled find the right files.
258
259 .SUFFIXES: .elc .el
260
261 # An old-fashioned suffix rule, which, according to the GNU Make manual,
262 # cannot have prerequisites.
263 .el.elc:
264 @echo Compiling $<
265 @# The BIG_STACK_OPTS are only needed to byte-compile the byte-compiler
266 @# files, which is normally done in compile-first, but may also be
267 @# recompiled via this rule.
268 @$(emacs) $(BYTE_COMPILE_FLAGS) \
269 -f batch-byte-compile $<
270
271 .PHONY: compile-first compile-main compile compile-always
272
273 compile-first: $(COMPILE_FIRST)
274
275 # In `compile-main' we could directly do
276 # ... | xargs $(MAKE) $(MFLAGS) EMACS="$(EMACS)"
277 # and it works, but it generates a lot of messages like
278 # make[2]: gnus/gnus-mlspl.elc is up to date.
279 # so instead, we use "xargs echo" to split the list of file into manageable
280 # chunks and then use an intermediate `compile-targets' target so the
281 # actual targets (the .elc files) are not mentioned as targets on the
282 # make command line.
283
284
285 .PHONY: compile-targets
286 # TARGETS is set dynamically in the recursive call from `compile-main'.
287 compile-targets: $(TARGETS)
288
289 # Compile all the Elisp files that need it. Beware: it approximates
290 # `no-byte-compile', so watch out for false-positives!
291 compile-main: compile-clean
292 @(cd $(lisp) && $(setwins); \
293 els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
294 for el in $$els; do \
295 test -f $$el || continue; \
296 test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \
297 echo "$${el}c"; \
298 done | xargs $(XARGS_LIMIT) echo) | \
299 while read chunk; do \
300 $(MAKE) $(MFLAGS) compile-targets EMACS="$(EMACS)" TARGETS="$$chunk"; \
301 done
302
303 .PHONY: compile-clean
304 # Erase left-over .elc files that do not have a corresponding .el file.
305 compile-clean:
306 @cd $(lisp) && $(setwins); \
307 elcs=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \
308 for el in `echo $$elcs | sed -e 's/\.elc/\.el/g'`; do \
309 if test -f "$$el" -o \! -f "$${el}c"; then :; else \
310 echo rm "$${el}c"; \
311 rm "$${el}c"; \
312 fi \
313 done
314
315 # Compile all Lisp files, but don't recompile those that are up to
316 # date. Some .el files don't get compiled because they set the
317 # local variable no-byte-compile.
318 # Calling make recursively because suffix rule cannot have prerequisites.
319 # Explicitly pass EMACS (sometimes ../src/bootstrap-emacs) to those
320 # sub-makes that run rules that use it, for the sake of some non-GNU makes.
321 compile: $(LOADDEFS) autoloads compile-first
322 $(MAKE) $(MFLAGS) compile-main EMACS="$(EMACS)"
323
324 # Compile all Lisp files. This is like `compile' but compiles files
325 # unconditionally. Some files don't actually get compiled because they
326 # set the local variable no-byte-compile.
327 compile-always: doit
328 cd $(lisp) && rm -f *.elc */*.elc */*/*.elc */*/*/*.elc
329 $(MAKE) $(MFLAGS) compile EMACS="$(EMACS)"
330
331 .PHONY: backup-compiled-files compile-after-backup
332
333 # Backup compiled Lisp files in elc.tar.gz. If that file already
334 # exists, make a backup of it.
335
336 backup-compiled-files:
337 -mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
338 -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc $(lisp)/*/*/*/*.elc
339
340 # Compile Lisp files, but save old compiled files first.
341
342 compile-after-backup: backup-compiled-files compile-always
343
344 # This does the same job as the "compile" rule, but in a different way.
345 # Rather than spawning a separate Emacs instance to compile each file,
346 # it uses the same Emacs instance to compile everything.
347 # This is faster on a single core, since it avoids the overhead of
348 # starting Emacs many times (it was 33% faster on a test with a
349 # random 10% of the .el files needing recompilation).
350 # Unlike compile, this is not parallelizable; so if you have more than
351 # one core and use make -j#, compile will be (much) faster.
352 # This rule also produces less accurate compilation warnings.
353 # The environment of later files is affected by definitions in
354 # earlier ones, so it does not produce some warnings that it should.
355 # It can also produces spurious warnings about "invalid byte code" if
356 # files that use byte-compile-dynamic are updated.
357 # There is no reason to use this rule unless you only have a single
358 # core and CPU time is an issue.
359 .PHONY: compile-one-process
360 compile-one-process: doit $(LOADDEFS) compile-first $(lisp)/progmodes/cc-mode.elc
361 $(emacs) $(BYTE_COMPILE_FLAGS) \
362 --eval "(batch-byte-recompile-directory 0)" $(lisp)
363
364 # Update MH-E internal autoloads. These are not to be confused with
365 # the autoloads for the MH-E entry points, which are already in loaddefs.el.
366 MH_E_DIR = $(lisp)/mh-e
367 ## MH_E_SRC avoids a circular dependency warning for mh-loaddefs.el.
368 MH_E_SRC = $(MH_E_DIR)/mh-acros.el $(MH_E_DIR)/mh-alias.el \
369 $(MH_E_DIR)/mh-buffers.el $(MH_E_DIR)/mh-compat.el \
370 $(MH_E_DIR)/mh-comp.el $(MH_E_DIR)/mh-e.el \
371 $(MH_E_DIR)/mh-folder.el $(MH_E_DIR)/mh-funcs.el \
372 $(MH_E_DIR)/mh-gnus.el $(MH_E_DIR)/mh-identity.el \
373 $(MH_E_DIR)/mh-inc.el $(MH_E_DIR)/mh-junk.el \
374 $(MH_E_DIR)/mh-letter.el $(MH_E_DIR)/mh-limit.el \
375 $(MH_E_DIR)/mh-mime.el $(MH_E_DIR)/mh-print.el \
376 $(MH_E_DIR)/mh-scan.el $(MH_E_DIR)/mh-search.el \
377 $(MH_E_DIR)/mh-seq.el $(MH_E_DIR)/mh-show.el \
378 $(MH_E_DIR)/mh-speed.el $(MH_E_DIR)/mh-thread.el \
379 $(MH_E_DIR)/mh-tool-bar.el $(MH_E_DIR)/mh-utils.el \
380 $(MH_E_DIR)/mh-xface.el
381
382 .PHONY: mh-autoloads
383 mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el
384 $(MH_E_DIR)/mh-loaddefs.el: $(MH_E_SRC)
385 $(emacs) -l autoload \
386 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \
387 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
388 --eval "(setq make-backup-files nil)" \
389 -f batch-update-autoloads $(MH_E_DIR)
390
391 # Update TRAMP internal autoloads. Maybe we could move tramp*.el into
392 # an own subdirectory. OTOH, it does not hurt to keep them in
393 # lisp/net.
394 TRAMP_DIR = $(lisp)/net
395 TRAMP_SRC = $(TRAMP_DIR)/tramp.el $(TRAMP_DIR)/tramp-adb.el \
396 $(TRAMP_DIR)/tramp-cache.el $(TRAMP_DIR)/tramp-cmds.el \
397 $(TRAMP_DIR)/tramp-compat.el $(TRAMP_DIR)/tramp-ftp.el \
398 $(TRAMP_DIR)/tramp-gvfs.el $(TRAMP_DIR)/tramp-gw.el \
399 $(TRAMP_DIR)/tramp-sh.el $(TRAMP_DIR)/tramp-smb.el \
400 $(TRAMP_DIR)/tramp-uu.el $(TRAMP_DIR)/trampver.el
401
402 $(TRAMP_DIR)/tramp-loaddefs.el: $(TRAMP_SRC)
403 $(emacs) -l autoload \
404 --eval "(setq generate-autoload-cookie \";;;###tramp-autoload\")" \
405 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
406 --eval "(setq make-backup-files nil)" \
407 -f batch-update-autoloads $(TRAMP_DIR)
408
409 CAL_DIR = $(lisp)/calendar
410 ## Those files that may contain internal calendar autoload cookies.
411 ## Avoids circular dependency warning for *-loaddefs.el.
412 CAL_SRC = $(CAL_DIR)/cal-bahai.el $(CAL_DIR)/cal-china.el \
413 $(CAL_DIR)/cal-coptic.el $(CAL_DIR)/cal-dst.el \
414 $(CAL_DIR)/cal-french.el $(CAL_DIR)/cal-hebrew.el \
415 $(CAL_DIR)/cal-html.el $(CAL_DIR)/cal-islam.el \
416 $(CAL_DIR)/cal-iso.el $(CAL_DIR)/cal-julian.el \
417 $(CAL_DIR)/cal-mayan.el $(CAL_DIR)/cal-menu.el \
418 $(CAL_DIR)/cal-move.el $(CAL_DIR)/cal-persia.el \
419 $(CAL_DIR)/cal-tex.el $(CAL_DIR)/cal-x.el \
420 $(CAL_DIR)/calendar.el $(CAL_DIR)/diary-lib.el \
421 $(CAL_DIR)/holidays.el $(CAL_DIR)/lunar.el \
422 $(CAL_DIR)/solar.el
423
424 $(CAL_DIR)/cal-loaddefs.el: $(CAL_SRC)
425 $(emacs) -l autoload \
426 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \
427 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
428 --eval "(setq make-backup-files nil)" \
429 -f batch-update-autoloads $(CAL_DIR)
430
431 $(CAL_DIR)/diary-loaddefs.el: $(CAL_SRC)
432 $(emacs) -l autoload \
433 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \
434 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
435 --eval "(setq make-backup-files nil)" \
436 -f batch-update-autoloads $(CAL_DIR)
437
438 $(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC)
439 $(emacs) -l autoload \
440 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \
441 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
442 --eval "(setq make-backup-files nil)" \
443 -f batch-update-autoloads $(CAL_DIR)
444
445 .PHONY: bootstrap-clean distclean maintainer-clean
446
447 bootstrap-clean:
448 -cd $(lisp) && rm -f *.elc */*.elc */*/*.elc */*/*/*.elc $(AUTOGENEL)
449
450 distclean:
451 -rm -f ./Makefile $(lisp)/loaddefs.el~
452
453 maintainer-clean: distclean bootstrap-clean
454 rm -f TAGS
455
456 .PHONY: check-declare
457
458 check-declare:
459 $(emacs) -l check-declare --eval '(check-declare-directory "$(lisp)")'
460
461 # Dependencies
462
463 ## None of the following matters for bootstrap, which is the only way
464 ## to ensure a correct compilation of all lisp files.
465 ## Manually specifying dependencies of a handful of lisp files, (and
466 ## ones that don't change very often at that) seems pretty pointless
467 ## to me.
468
469 # http://debbugs.gnu.org/1004
470 # CC Mode uses a compile time macro system which causes a compile time
471 # dependency in cc-*.elc files on the macros in other cc-*.el and the
472 # version string in cc-defs.el.
473 $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-awk.elc\
474 $(lisp)/progmodes/cc-cmds.elc $(lisp)/progmodes/cc-compat.elc\
475 $(lisp)/progmodes/cc-engine.elc $(lisp)/progmodes/cc-fonts.elc\
476 $(lisp)/progmodes/cc-langs.elc $(lisp)/progmodes/cc-menus.elc\
477 $(lisp)/progmodes/cc-mode.elc $(lisp)/progmodes/cc-styles.elc\
478 $(lisp)/progmodes/cc-vars.elc: \
479 $(lisp)/progmodes/cc-bytecomp.elc $(lisp)/progmodes/cc-defs.elc
480
481 $(lisp)/progmodes/cc-align.elc: \
482 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc
483
484 $(lisp)/progmodes/cc-cmds.elc: \
485 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc
486
487 $(lisp)/progmodes/cc-compat.elc: \
488 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-styles.elc \
489 $(lisp)/progmodes/cc-engine.elc
490
491 $(lisp)/progmodes/cc-defs.elc: $(lisp)/progmodes/cc-bytecomp.elc \
492 $(lisp)/emacs-lisp/cl.elc $(lisp)/emacs-lisp/regexp-opt.elc
493
494 $(lisp)/progmodes/cc-engine.elc: $(lisp)/progmodes/cc-langs.elc \
495 $(lisp)/progmodes/cc-vars.elc
496
497 $(lisp)/progmodes/cc-fonts.elc: $(lisp)/progmodes/cc-langs.elc \
498 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \
499 $(lisp)/font-lock.elc
500
501 $(lisp)/progmodes/cc-langs.elc: $(lisp)/progmodes/cc-vars.elc \
502 $(lisp)/emacs-lisp/cl.elc
503
504 $(lisp)/progmodes/cc-mode.elc: $(lisp)/progmodes/cc-langs.elc \
505 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \
506 $(lisp)/progmodes/cc-styles.elc $(lisp)/progmodes/cc-cmds.elc \
507 $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-menus.elc
508
509 $(lisp)/progmodes/cc-styles.elc: $(lisp)/progmodes/cc-vars.elc \
510 $(lisp)/progmodes/cc-align.elc
511
512 $(lisp)/progmodes/cc-vars.elc: $(lisp)/custom.elc $(lisp)/widget.elc
513
514 # Makefile ends here.