From 1ed6e04d06ea2ed21c0bcf66e0a75ade77658abc Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 26 Sep 2008 10:28:46 +0000 Subject: [PATCH] ($(lisp)/progmodes/cc-mode.elc): Remove. ($(lisp)/progmodes/cc-align.elc, $(lisp)/progmodes/cc-cmds.elc) ($(lisp)/progmodes/cc-compat.elc, $(lisp)/progmodes/cc-defs.elc) ($(lisp)/progmodes/cc-engine.elc) ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc) ($(lisp)/progmodes/cc-mode.elc, $(lisp)/progmodes/cc-styles.elc) ($(lisp)/progmodes/cc-subword.elc) ($(lisp)/progmodes/cc-vars.elc): New dependencies. --- lisp/ChangeLog | 9 +++++++ lisp/makefile.w32-in | 57 +++++++++++++++++++++++++++++++++++++------- 2 files changed, 57 insertions(+), 9 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 2b41420e17d..0652a238fdd 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,14 @@ 2008-09-26 Eli Zaretskii + * makefile.w32-in ($(lisp)/progmodes/cc-mode.elc): Remove. + ($(lisp)/progmodes/cc-align.elc, $(lisp)/progmodes/cc-cmds.elc) + ($(lisp)/progmodes/cc-compat.elc, $(lisp)/progmodes/cc-defs.elc) + ($(lisp)/progmodes/cc-engine.elc) + ($(lisp)/progmodes/cc-fonts.elc, $(lisp)/progmodes/cc-langs.elc) + ($(lisp)/progmodes/cc-mode.elc, $(lisp)/progmodes/cc-styles.elc) + ($(lisp)/progmodes/cc-subword.elc) + ($(lisp)/progmodes/cc-vars.elc): New dependencies. + * Makefile.in ($(lisp)/progmodes/cc-mode.elc): Remove. ($(lisp)/progmodes/cc-align.elc, $(lisp)/progmodes/cc-cmds.elc) ($(lisp)/progmodes/cc-compat.elc, $(lisp)/progmodes/cc-defs.elc) diff --git a/lisp/makefile.w32-in b/lisp/makefile.w32-in index bda34455993..65b46507dc6 100644 --- a/lisp/makefile.w32-in +++ b/lisp/makefile.w32-in @@ -320,15 +320,6 @@ compile-after-backup: backup-compiled-files compile-always recompile: mh-autoloads doit $(lisp)/progmodes/cc-mode.elc $(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp) -# CC Mode uses a compile time macro system which causes a compile time -# dependency in cc-mode.elc on the macros in cc-langs.el and the -# version string in cc-defs.el. -$(lisp)/progmodes/cc-mode.elc: \ - $(lisp)/progmodes/cc-mode.el \ - $(lisp)/progmodes/cc-langs.el \ - $(lisp)/progmodes/cc-defs.el - $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el - $(lisp)/calendar/cal-loaddefs.el: "$(EMACS)" $(EMACSOPT) -l autoload \ --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ @@ -477,3 +468,51 @@ distclean: clean maintainer-clean: bootstrap-clean distclean - $(DEL) $(AUTOGENEL) + +# Dependencies + +# CC Mode uses a compile time macro system which causes a compile time +# dependency in cc-*.elc files on the macros in other cc-*.el and the +# version string in cc-defs.el. +$(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-awk.elc\ + $(lisp)/progmodes/cc-cmds.elc $(lisp)/progmodes/cc-compat.elc\ + $(lisp)/progmodes/cc-engine.elc $(lisp)/progmodes/cc-fonts.elc\ + $(lisp)/progmodes/cc-langs.elc $(lisp)/progmodes/cc-menus.elc\ + $(lisp)/progmodes/cc-mode.elc $(lisp)/progmodes/cc-styles.elc\ + $(lisp)/progmodes/cc-subword.elc $(lisp)/progmodes/cc-vars.elc: \ + $(lisp)/progmodes/cc-bytecomp.elc $(lisp)/progmodes/cc-defs.elc + +$(lisp)/progmodes/cc-align.elc: \ + $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc + +$(lisp)/progmodes/cc-cmds.elc: \ + $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc + +$(lisp)/progmodes/cc-compat.elc: \ + $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-styles.elc \ + $(lisp)/progmodes/cc-engine.elc + +$(lisp)/progmodes/cc-defs.elc: $(lisp)/progmodes/cc-bytecomp.elc \ + $(lisp)/emacs-lisp/cl.elc $(lisp)/emacs-lisp/regexp-opt.elc + +$(lisp)/progmodes/cc-engine.elc: $(lisp)/progmodes/cc-langs.elc \ + $(lisp)/progmodes/cc-vars.elc + +$(lisp)/progmodes/cc-fonts.elc: $(lisp)/progmodes/cc-langs.elc \ + $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \ + $(lisp)/font-lock.elc + +$(lisp)/progmodes/cc-langs.elc: $(lisp)/progmodes/cc-vars.elc \ + $(lisp)/emacs-lisp/cl.elc + +$(lisp)/progmodes/cc-mode.elc: $(lisp)/progmodes/cc-langs.elc \ + $(lisp)/progmodes/cc-vars.elc $(lisp)/progmodes/cc-engine.elc \ + $(lisp)/progmodes/cc-styles.elc $(lisp)/progmodes/cc-cmds.elc \ + $(lisp)/progmodes/cc-align.elc $(lisp)/progmodes/cc-menus.elc + +$(lisp)/progmodes/cc-styles.elc: $(lisp)/progmodes/cc-vars.elc \ + $(lisp)/progmodes/cc-align.elc + +$(lisp)/progmodes/cc-subword.elc: $(lisp)/progmodes/cc-cmds.elc + +$(lisp)/progmodes/cc-vars.elc: $(lisp)/custom.elc $(lisp)/widget.elc -- 2.39.5