]> code.delx.au - gnu-emacs/blob - lisp/Makefile.in
reftex generate autoloads to non versioned file.
[gnu-emacs] / lisp / Makefile.in
1 ### @configure_input@
2
3 # Copyright (C) 2000-2015 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 EXEEXT = @EXEEXT@
27
28 # Empty for all systems except MinGW, where xargs needs an explicit
29 # limitation.
30 XARGS_LIMIT = @XARGS_LIMIT@
31
32 # 'make' verbosity.
33 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@
34
35 AM_V_ELC = $(am__v_ELC_@AM_V@)
36 am__v_ELC_ = $(am__v_ELC_@AM_DEFAULT_V@)
37 am__v_ELC_0 = @echo " ELC " $@;
38 am__v_ELC_1 =
39
40 AM_V_GEN = $(am__v_GEN_@AM_V@)
41 am__v_GEN_ = $(am__v_GEN_@AM_DEFAULT_V@)
42 am__v_GEN_0 = @echo " GEN " $@;
43 am__v_GEN_1 =
44
45 AM_V_at = $(am__v_at_@AM_V@)
46 am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
47 am__v_at_0 = @
48 am__v_at_1 =
49
50 # You can specify a different executable on the make command line,
51 # e.g. "make EMACS=../src/emacs ...".
52
53 # We never change directory before running Emacs, so a relative file
54 # name is fine, and makes life easier. If we need to change
55 # directory, we can use emacs --chdir.
56 EMACS = ../src/emacs${EXEEXT}
57
58 # Command line flags for Emacs.
59
60 EMACSOPT = -batch --no-site-file --no-site-lisp
61
62 # Extra flags to pass to the byte compiler
63 BYTE_COMPILE_EXTRA_FLAGS =
64 # For example to not display the undefined function warnings you can use this:
65 # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))'
66 # The example above is just for developers, it should not be used by default.
67
68 # Automatically generated autoload files, apart from lisp/loaddefs.el.
69 # Note this includes only those files that need special rules to
70 # build; ie it does not need to include things created via
71 # generated-autoload-file (eg calc/calc-loaddefs.el).
72 LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \
73 $(lisp)/calendar/diary-loaddefs.el \
74 $(lisp)/calendar/hol-loaddefs.el \
75 $(lisp)/mh-e/mh-loaddefs.el \
76 $(lisp)/net/tramp-loaddefs.el
77
78 # Elisp files auto-generated.
79 AUTOGENEL = loaddefs.el \
80 $(LOADDEFS) \
81 cus-load.el \
82 finder-inf.el \
83 subdirs.el \
84 emacs-lisp/cl-loaddefs.el \
85 calc/calc-loaddefs.el \
86 eshell/esh-groups.el \
87 cedet/semantic/loaddefs.el \
88 cedet/ede/loaddefs.el \
89 cedet/srecode/loaddefs.el \
90 org/org-loaddefs.el \
91 textmodes/reftex-loaddefs.el
92
93 # Set load-prefer-newer for the benefit of the non-bootstrappers.
94 BYTE_COMPILE_FLAGS = \
95 --eval '(setq load-prefer-newer t)' $(BYTE_COMPILE_EXTRA_FLAGS)
96
97 # Files to compile before others during a bootstrap. This is done to
98 # speed up the bootstrap process. They're ordered by size, so we use
99 # the slowest-compiler on the smallest file and move to larger files as the
100 # compiler gets faster. 'autoload.elc' comes last because it is not used by
101 # the compiler (so its compilation does not speed up subsequent compilations),
102 # it's only placed here so as to speed up generation of the loaddefs.el file.
103
104 COMPILE_FIRST = \
105 $(lisp)/emacs-lisp/macroexp.elc \
106 $(lisp)/emacs-lisp/cconv.elc \
107 $(lisp)/emacs-lisp/byte-opt.elc \
108 $(lisp)/emacs-lisp/bytecomp.elc \
109 $(lisp)/emacs-lisp/autoload.elc
110
111 # Prevent any settings in the user environment causing problems.
112 unexport EMACSDATA EMACSDOC EMACSPATH
113
114 # The actual Emacs command run in the targets below.
115 # Prevent any setting of EMACSLOADPATH in user environment causing problems.
116 emacs = EMACSLOADPATH= '$(EMACS)' $(EMACSOPT)
117
118 ## Subdirectories, relative to builddir.
119 SUBDIRS = $(sort $(shell find ${srcdir} -type d -print))
120 ## Subdirectories, relative to srcdir.
121 SUBDIRS_REL = $(patsubst ${srcdir}%,.%,${SUBDIRS})
122 ## All subdirectories except 'obsolete' and 'term'.
123 SUBDIRS_ALMOST = $(filter-out ${srcdir}/obsolete ${srcdir}/term,${SUBDIRS})
124 ## All subdirectories except 'obsolete', 'term', and 'leim' (and subdirs).
125 ## We don't want the leim files listed as packages, especially
126 ## since many share basenames with files in language/.
127 SUBDIRS_FINDER = $(filter-out ${srcdir}/leim%,${SUBDIRS_ALMOST})
128 ## All subdirectories in which we might want to create subdirs.el.
129 SUBDIRS_SUBDIRS = $(filter-out ${srcdir}/cedet% ${srcdir}/leim%,${SUBDIRS})
130
131 # cus-load and finder-inf are not explicitly requested by anything, so
132 # we add them here to make sure they get built.
133 all: compile-main $(lisp)/cus-load.el $(lisp)/finder-inf.el
134
135 PHONY_EXTRAS =
136 .PHONY: all custom-deps finder-data autoloads update-subdirs $(PHONY_EXTRAS)
137
138 # custom-deps and finder-data both used to scan _all_ the *.el files.
139 # This could lead to problems in parallel builds if automatically
140 # generated *.el files (eg loaddefs etc) were being changed at the same time.
141 # One solution was to add autoloads as a prerequisite:
142 # http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-01/msg00469.html
143 # http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-12/msg00171.html
144 # However, this meant that running these targets modified loaddefs.el,
145 # every time (due to time-stamping). Calling these rules from
146 # bootstrap-after would modify loaddefs after src/emacs, resulting
147 # in make install remaking src/emacs for no real reason:
148 # http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00311.html
149 # Nowadays these commands don't scan automatically generated files,
150 # since they will never contain any useful information
151 # (see finder-no-scan-regexp and custom-dependencies-no-scan-regexp).
152 custom-deps:
153 $(AM_V_at)$(MAKE) PHONY_EXTRAS=$(lisp)/cus-load.el $(lisp)/cus-load.el
154 $(lisp)/cus-load.el:
155 $(AM_V_GEN)$(emacs) -l cus-dep \
156 --eval '(setq generated-custom-dependencies-file (unmsys--file-name "$(srcdir)/cus-load.el"))' \
157 -f custom-make-dependencies ${SUBDIRS_ALMOST}
158
159 finder-data:
160 $(AM_V_at)$(MAKE) PHONY_EXTRAS=$(lisp)/finder-inf.el \
161 $(lisp)/finder-inf.el
162 $(lisp)/finder-inf.el:
163 $(AM_V_GEN)$(emacs) -l finder \
164 --eval '(setq generated-finder-keywords-file (unmsys--file-name "$(srcdir)/finder-inf.el"))' \
165 -f finder-compile-keywords-make-dist ${SUBDIRS_FINDER}
166
167 # Use expand-file-name rather than $abs_scrdir so that Emacs does not
168 # get confused when it compares file-names for equality.
169 #
170 # Note that we set no-update-autoloads in _generated_ leim files.
171 # If you want to allow autoloads in such files, remove that,
172 # and make this depend on leim.
173 autoloads .PHONY: $(lisp)/loaddefs.el
174 $(lisp)/loaddefs.el: $(LOADDEFS)
175 @echo Directories for loaddefs: ${SUBDIRS_ALMOST}
176 $(AM_V_GEN)$(emacs) -l autoload \
177 --eval '(setq autoload-ensure-writable t)' \
178 --eval '(setq autoload-builtin-package-versions t)' \
179 --eval '(setq generated-autoload-file (expand-file-name (unmsys--file-name "$@")))' \
180 -f batch-update-autoloads ${SUBDIRS_ALMOST}
181
182 # This is required by the bootstrap-emacs target in ../src/Makefile, so
183 # we know that if we have an emacs executable, we also have a subdirs.el.
184 $(lisp)/subdirs.el:
185 $(AM_V_GEN)$(MAKE) update-subdirs
186 update-subdirs:
187 $(AM_V_at)for file in ${SUBDIRS_SUBDIRS}; do \
188 $(srcdir)/../build-aux/update-subdirs $$file; \
189 done;
190
191 .PHONY: updates repo-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 updating from the repository; but it doesn't do
197 # anything that a plain "make" at top-level doesn't. The only
198 # difference between this and this directory's "all" rule is that this
199 # runs "autoloads" as well (because it uses "compile" rather than
200 # "compile-main"). In a bootstrap, $(lisp) in src/Makefile triggers
201 # this directory's autoloads rule.
202 repo-update: compile finder-data custom-deps
203
204 # Update the AUTHORS file.
205
206 update-authors:
207 $(emacs) -L "$(top_srcdir)/admin" -l authors \
208 -f batch-update-authors "$(top_srcdir)/etc/AUTHORS" "$(top_srcdir)"
209
210
211 ETAGS = ../lib-src/etags
212
213 lisptagsfiles1 = $(srcdir)/*.el
214 lisptagsfiles2 = $(srcdir)/*/*.el
215 lisptagsfiles3 = $(srcdir)/*/*/*.el
216 lisptagsfiles4 = $(srcdir)/*/*/*/*.el
217
218 ## The ls | sed | xargs is to stop the command line getting too long
219 ## on MS Windows, when the MSYS Bash passes it to a MinGW compiled
220 ## etags. It might be better to use find in a similar way to
221 ## compile-main. But maybe this is not even necessary any more now
222 ## that this uses relative filenames.
223 TAGS: $(lisptagsfiles1) $(lisptagsfiles2) $(lisptagsfiles3) $(lisptagsfiles4)
224 rm -f $@
225 touch $@
226 ls $(lisptagsfiles1) $(lisptagsfiles2) \
227 $(lisptagsfiles3) $(lisptagsfiles4) | \
228 sed -e '/loaddefs/d; /\/ldefs-boot/d; /esh-groups\.el/d' | \
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 THEFILE = no-such-file
244 .PHONY: $(THEFILE)c
245 $(THEFILE)c:
246 $(AM_V_ELC)$(emacs) $(BYTE_COMPILE_FLAGS) \
247 -l bytecomp -f byte-compile-refresh-preloaded \
248 -f batch-byte-compile $(THEFILE)
249
250 # Files MUST be compiled one by one. If we compile several files in a
251 # row (i.e., in the same instance of Emacs) we can't make sure that
252 # the compilation environment is clean. We also set the load-path of
253 # the Emacs used for compilation to the current directory and its
254 # subdirectories, to make sure require's and load's in the files being
255 # compiled find the right files.
256
257 .SUFFIXES: .elc .el
258
259 # An old-fashioned suffix rule, which, according to the GNU Make manual,
260 # cannot have prerequisites.
261 .el.elc:
262 $(AM_V_ELC)$(emacs) $(BYTE_COMPILE_FLAGS) -f batch-byte-compile $<
263
264 .PHONY: compile-first compile-main compile compile-always
265
266 compile-first: $(COMPILE_FIRST)
267
268 # In 'compile-main' we could directly do
269 # ... | xargs $(MAKE)
270 # and it works, but it generates a lot of messages like
271 # make[2]: gnus/gnus-mlspl.elc is up to date.
272 # so instead, we use "xargs echo" to split the list of file into manageable
273 # chunks and then use an intermediate 'compile-targets' target so the
274 # actual targets (the .elc files) are not mentioned as targets on the
275 # make command line.
276
277
278 .PHONY: compile-targets
279 # TARGETS is set dynamically in the recursive call from 'compile-main'.
280 compile-targets: $(TARGETS)
281
282 # Compile all the Elisp files that need it. Beware: it approximates
283 # 'no-byte-compile', so watch out for false-positives!
284 compile-main: leim semantic compile-clean
285 @(cd $(lisp) && \
286 els=`echo "${SUBDIRS_REL} " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
287 for el in $$els; do \
288 test -f $$el || continue; \
289 test ! -f $${el}c && GREP_OPTIONS= grep '^;.*no-byte-compile: t' $$el > /dev/null && continue; \
290 echo "$${el}c"; \
291 done | xargs $(XARGS_LIMIT) echo) | \
292 while read chunk; do \
293 $(MAKE) compile-targets TARGETS="$$chunk"; \
294 done
295
296 .PHONY: compile-clean
297 # Erase left-over .elc files that do not have a corresponding .el file.
298 compile-clean:
299 @cd $(lisp) && \
300 elcs=`echo "${SUBDIRS_REL} " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.elc |g'`; \
301 for el in `echo $$elcs | sed -e 's/\.elc/\.el/g'`; do \
302 if test -f "$$el" || test ! -f "$${el}c"; then :; else \
303 echo rm "$${el}c"; \
304 rm "$${el}c"; \
305 fi \
306 done
307
308 .PHONY: leim semantic
309 leim:
310 $(MAKE) -C ../leim all EMACS="$(EMACS)"
311
312 semantic:
313 $(MAKE) -C ../admin/grammars all EMACS="$(EMACS:.%=../.%)"
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 compile: $(LOADDEFS) autoloads compile-first
320 $(MAKE) compile-main
321
322 # Compile all Lisp files. This is like 'compile' but compiles files
323 # unconditionally. Some files don't actually get compiled because they
324 # set the local variable no-byte-compile.
325 compile-always:
326 cd $(lisp) && rm -f *.elc */*.elc */*/*.elc */*/*/*.elc
327 $(MAKE) compile
328
329 .PHONY: backup-compiled-files compile-after-backup
330
331 # Backup compiled Lisp files in elc.tar.gz. If that file already
332 # exists, make a backup of it.
333
334 backup-compiled-files:
335 -mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
336 -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc $(lisp)/*/*/*.elc $(lisp)/*/*/*/*.elc
337
338 # Compile Lisp files, but save old compiled files first.
339
340 compile-after-backup: backup-compiled-files compile-always
341
342 # This does the same job as the "compile" rule, but in a different way.
343 # Rather than spawning a separate Emacs instance to compile each file,
344 # it uses the same Emacs instance to compile everything.
345 # This is faster on a single core, since it avoids the overhead of
346 # starting Emacs many times (it was 33% faster on a test with a
347 # random 10% of the .el files needing recompilation).
348 # Unlike compile, this is not parallelizable; so if you have more than
349 # one core and use make -j#, compile will be (much) faster.
350 # This rule also produces less accurate compilation warnings.
351 # The environment of later files is affected by definitions in
352 # earlier ones, so it does not produce some warnings that it should.
353 # It can also produces spurious warnings about "invalid byte code" if
354 # files that use byte-compile-dynamic are updated.
355 # There is no reason to use this rule unless you only have a single
356 # core and CPU time is an issue.
357 .PHONY: compile-one-process
358 compile-one-process: $(LOADDEFS) compile-first
359 $(emacs) $(BYTE_COMPILE_FLAGS) \
360 --eval "(batch-byte-recompile-directory 0)" $(lisp)
361
362 # Update MH-E internal autoloads. These are not to be confused with
363 # the autoloads for the MH-E entry points, which are already in loaddefs.el.
364 MH_E_DIR = $(lisp)/mh-e
365 MH_E_SRC = $(sort $(wildcard ${MH_E_DIR}/mh*.el))
366 MH_E_SRC := $(filter-out ${MH_E_DIR}/mh-loaddefs.el,${MH_E_SRC})
367
368 .PHONY: mh-autoloads
369 mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el
370 $(MH_E_DIR)/mh-loaddefs.el: $(MH_E_SRC)
371 $(AM_V_GEN)$(emacs) -l autoload \
372 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \
373 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
374 -f batch-update-autoloads $(MH_E_DIR)
375
376 # Update TRAMP internal autoloads. Maybe we could move tramp*.el into
377 # an own subdirectory. OTOH, it does not hurt to keep them in
378 # lisp/net.
379 TRAMP_DIR = $(lisp)/net
380 TRAMP_SRC = $(sort $(wildcard ${TRAMP_DIR}/tramp*.el))
381 TRAMP_SRC := $(filter-out ${TRAMP_DIR}/tramp-loaddefs.el,${TRAMP_SRC})
382
383 $(TRAMP_DIR)/tramp-loaddefs.el: $(TRAMP_SRC)
384 $(AM_V_GEN)$(emacs) -l autoload \
385 --eval "(setq generate-autoload-cookie \";;;###tramp-autoload\")" \
386 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
387 -f batch-update-autoloads $(TRAMP_DIR)
388
389 CAL_DIR = $(lisp)/calendar
390 ## Those files that may contain internal calendar autoload cookies.
391 CAL_SRC = $(addprefix ${CAL_DIR}/,diary-lib.el holidays.el lunar.el solar.el)
392 CAL_SRC := $(sort ${CAL_SRC} $(wildcard ${CAL_DIR}/cal*.el))
393 CAL_SRC := $(filter-out ${CAL_DIR}/cal-loaddefs.el,${CAL_SRC})
394
395 $(CAL_DIR)/cal-loaddefs.el: $(CAL_SRC)
396 $(AM_V_GEN)$(emacs) -l autoload \
397 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \
398 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
399 -f batch-update-autoloads $(CAL_DIR)
400
401 $(CAL_DIR)/diary-loaddefs.el: $(CAL_SRC) $(CAL_DIR)/cal-loaddefs.el
402 $(AM_V_GEN)$(emacs) -l autoload \
403 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \
404 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
405 -f batch-update-autoloads $(CAL_DIR)
406
407 $(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC) $(CAL_DIR)/diary-loaddefs.el
408 $(AM_V_GEN)$(emacs) -l autoload \
409 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \
410 --eval "(setq generated-autoload-file (expand-file-name (unmsys--file-name \"$@\")))" \
411 -f batch-update-autoloads $(CAL_DIR)
412
413 .PHONY: bootstrap-clean distclean maintainer-clean
414
415 bootstrap-clean:
416 -cd $(lisp) && rm -f *.elc */*.elc */*/*.elc */*/*/*.elc $(AUTOGENEL)
417
418 distclean:
419 -rm -f ./Makefile $(lisp)/loaddefs.el~
420
421 maintainer-clean: distclean bootstrap-clean
422 rm -f TAGS
423
424 .PHONY: check-declare
425
426 check-declare:
427 $(emacs) -l check-declare --eval '(check-declare-directory "$(lisp)")'
428
429 ## This finds a lot of duplicates between foo.el and obsolete/foo.el.
430 check-defun-dups:
431 sed -n -e '/^(defun /s/\(.\)(.*/\1/p' \
432 $$(find . -name '*.el' -print | \
433 grep -Ev '(loaddefs|ldefs-boot)\.el') | sort | uniq -d
434
435 # Dependencies
436
437 ## None of the following matters for bootstrap, which is the only way
438 ## to ensure a correct compilation of all lisp files.
439 ## Manually specifying dependencies of a handful of lisp files, (and
440 ## ones that don't change very often at that) seems pretty pointless
441 ## to me.
442
443 # http://debbugs.gnu.org/1004
444 # CC Mode uses a compile time macro system which causes a compile time
445 # dependency in cc-*.elc files on the macros in other cc-*.el and the
446 # version string in cc-defs.el.
447 $(lisp)/progmodes/cc-align.elc\
448 $(lisp)/progmodes/cc-cmds.elc $(lisp)/progmodes/cc-compat.elc\
449 $(lisp)/progmodes/cc-engine.elc $(lisp)/progmodes/cc-fonts.elc\
450 $(lisp)/progmodes/cc-langs.elc $(lisp)/progmodes/cc-menus.elc\
451 $(lisp)/progmodes/cc-mode.elc $(lisp)/progmodes/cc-styles.elc\
452 $(lisp)/progmodes/cc-vars.elc: \
453 $(lisp)/progmodes/cc-bytecomp.elc $(lisp)/progmodes/cc-defs.elc
454
455 $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-cmds.elc: \
456 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc
457
458 $(lisp)/progmodes/cc-compat.elc: \
459 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-styles.elc \
460 $(lisp)/progmodes/cc-engine.elc
461
462 $(lisp)/progmodes/cc-defs.elc: $(lisp)/progmodes/cc-bytecomp.elc
463
464 $(lisp)/progmodes/cc-engine.elc: $(lisp)/progmodes/cc-langs.elc \
465 $(lisp)/progmodes/cc-vars.elc
466
467 $(lisp)/progmodes/cc-fonts.elc: $(lisp)/progmodes/cc-langs.elc \
468 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc
469
470 $(lisp)/progmodes/cc-langs.elc: $(lisp)/progmodes/cc-vars.elc
471
472 $(lisp)/progmodes/cc-mode.elc: $(lisp)/progmodes/cc-langs.elc \
473 $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \
474 $(lisp)/progmodes/cc-styles.elc $(lisp)/progmodes/cc-cmds.elc \
475 $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-menus.elc
476
477 $(lisp)/progmodes/cc-styles.elc: $(lisp)/progmodes/cc-vars.elc \
478 $(lisp)/progmodes/cc-align.elc
479
480 # Makefile ends here.