comparison lisp/Makefile.in @ 93946:9699b2470e1b

(MH_E_DIR): New variable. (MH_E_SRC): Restore variable removed 2008-03-13. (mh-loaddefs.el): Depend on $MH_E_SRC. (CAL_DIR, CAL_SRC): New variables. (cal-loaddefs.el, diary-loaddefs.el, hol-loaddefs.el): Depend on CAL_SRC.
author Glenn Morris <rgm@gnu.org>
date Thu, 10 Apr 2008 03:40:06 +0000
parents c0fe31fb3833
children 96f9ff09bbb0
comparison
equal deleted inserted replaced
93945:76ebfa5df8a2 93946:9699b2470e1b
45 lisptagsfiles1 = $(lisp)/[a-zA-Z]*.el 45 lisptagsfiles1 = $(lisp)/[a-zA-Z]*.el
46 lisptagsfiles2 = $(lisp)/[a-zA-Z]*/[a-zA-Z]*.el 46 lisptagsfiles2 = $(lisp)/[a-zA-Z]*/[a-zA-Z]*.el
47 ETAGS = ../lib-src/etags 47 ETAGS = ../lib-src/etags
48 48
49 # Automatically generated autoload files, apart from lisp/loaddefs.el. 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).
50 LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \ 53 LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \
51 $(lisp)/calendar/diary-loaddefs.el \ 54 $(lisp)/calendar/diary-loaddefs.el \
52 $(lisp)/calendar/hol-loaddefs.el \ 55 $(lisp)/calendar/hol-loaddefs.el \
53 $(lisp)/mh-e/mh-loaddefs.el 56 $(lisp)/mh-e/mh-loaddefs.el
54 57
56 AUTOGENEL = loaddefs.el \ 59 AUTOGENEL = loaddefs.el \
57 $(LOADDEFS) \ 60 $(LOADDEFS) \
58 cus-load.el \ 61 cus-load.el \
59 finder-inf.el \ 62 finder-inf.el \
60 subdirs.el \ 63 subdirs.el \
61 eshell/esh-groups.el \ 64 eshell/esh-groups.el
62 65
63 # Files to compile before others during a bootstrap. This is done to 66 # Files to compile before others during a bootstrap. This is done to
64 # speed up the bootstrap process. The CC files are compiled first 67 # speed up the bootstrap process. The CC files are compiled first
65 # because CC mode tweaks the compilation process, and requiring 68 # because CC mode tweaks the compilation process, and requiring
66 # cc-mode when it is not compiled doesn't work during the 69 # cc-mode when it is not compiled doesn't work during the
227 $(lisp)/progmodes/cc-defs.el 230 $(lisp)/progmodes/cc-defs.el
228 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el 231 $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el
229 232
230 # Update MH-E internal autoloads. These are not to be confused with 233 # Update MH-E internal autoloads. These are not to be confused with
231 # the autoloads for the MH-E entry points, which are already in loaddefs.el. 234 # the autoloads for the MH-E entry points, which are already in loaddefs.el.
232 mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el 235 MH_E_DIR = $(lisp)/mh-e
233 $(lisp)/mh-e/mh-loaddefs.el: $(lisp)/mh-e/*.el 236 ## MH_E_SRC avoids a circular dependency warning for mh-loaddefs.el.
237 MH_E_SRC = $(MH_E_DIR)/mh-acros.el $(MH_E_DIR)/mh-alias.el \
238 $(MH_E_DIR)/mh-buffers.el $(MH_E_DIR)/mh-compat.el \
239 $(MH_E_DIR)/mh-comp.el $(MH_E_DIR)/mh-e.el \
240 $(MH_E_DIR)/mh-folder.el $(MH_E_DIR)/mh-funcs.el \
241 $(MH_E_DIR)/mh-gnus.el $(MH_E_DIR)/mh-identity.el \
242 $(MH_E_DIR)/mh-inc.el $(MH_E_DIR)/mh-junk.el \
243 $(MH_E_DIR)/mh-letter.el $(MH_E_DIR)/mh-limit.el \
244 $(MH_E_DIR)/mh-mime.el $(MH_E_DIR)/mh-print.el \
245 $(MH_E_DIR)/mh-scan.el $(MH_E_DIR)/mh-search.el \
246 $(MH_E_DIR)/mh-seq.el $(MH_E_DIR)/mh-show.el \
247 $(MH_E_DIR)/mh-speed.el $(MH_E_DIR)/mh-thread.el \
248 $(MH_E_DIR)/mh-tool-bar.el $(MH_E_DIR)/mh-utils.el \
249 $(MH_E_DIR)/mh-xface.el
250
251 mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el
252 $(MH_E_DIR)/mh-loaddefs.el: $(MH_E_SRC)
234 $(emacs) -l autoload \ 253 $(emacs) -l autoload \
235 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \ 254 --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \
236 --eval "(setq generated-autoload-file \"$@\")" \ 255 --eval "(setq generated-autoload-file \"$@\")" \
237 --eval "(setq make-backup-files nil)" \ 256 --eval "(setq make-backup-files nil)" \
238 -f batch-update-autoloads $(lisp)/mh-e 257 -f batch-update-autoloads $(MH_E_DIR)
239 258
240 $(lisp)/calendar/cal-loaddefs.el: $(lisp)/calendar/*.el 259 CAL_DIR = $(lisp)/calendar
260 ## Those files that may contain internal calendar autoload cookies.
261 ## Avoids circular dependency warning for *-loaddefs.el.
262 CAL_SRC = $(CAL_DIR)/cal-bahai.el $(CAL_DIR)/cal-china.el \
263 $(CAL_DIR)/cal-coptic.el $(CAL_DIR)/cal-dst.el \
264 $(CAL_DIR)/cal-french.el $(CAL_DIR)/cal-hebrew.el \
265 $(CAL_DIR)/cal-html.el $(CAL_DIR)/cal-islam.el \
266 $(CAL_DIR)/cal-iso.el $(CAL_DIR)/cal-julian.el \
267 $(CAL_DIR)/cal-mayan.el $(CAL_DIR)/cal-menu.el \
268 $(CAL_DIR)/cal-move.el $(CAL_DIR)/cal-persia.el \
269 $(CAL_DIR)/cal-tex.el $(CAL_DIR)/cal-x.el \
270 $(CAL_DIR)/calendar.el $(CAL_DIR)/diary-lib.el \
271 $(CAL_DIR)/holidays.el $(CAL_DIR)/lunar.el \
272 $(CAL_DIR)/solar.el
273
274 $(CAL_DIR)/cal-loaddefs.el: $(CAL_SRC)
241 $(emacs) -l autoload \ 275 $(emacs) -l autoload \
242 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \ 276 --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \
243 --eval "(setq generated-autoload-file \"$@\")" \ 277 --eval "(setq generated-autoload-file \"$@\")" \
244 --eval "(setq make-backup-files nil)" \ 278 --eval "(setq make-backup-files nil)" \
245 -f batch-update-autoloads $(lisp)/calendar 279 -f batch-update-autoloads $(CAL_DIR)
246 280
247 $(lisp)/calendar/diary-loaddefs.el: $(lisp)/calendar/*.el 281 $(CAL_DIR)/diary-loaddefs.el: $(CAL_SRC)
248 $(emacs) -l autoload \ 282 $(emacs) -l autoload \
249 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \ 283 --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \
250 --eval "(setq generated-autoload-file \"$@\")" \ 284 --eval "(setq generated-autoload-file \"$@\")" \
251 --eval "(setq make-backup-files nil)" \ 285 --eval "(setq make-backup-files nil)" \
252 -f batch-update-autoloads $(lisp)/calendar 286 -f batch-update-autoloads $(CAL_DIR)
253 287
254 $(lisp)/calendar/hol-loaddefs.el: $(lisp)/calendar/*.el 288 $(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC)
255 $(emacs) -l autoload \ 289 $(emacs) -l autoload \
256 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \ 290 --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \
257 --eval "(setq generated-autoload-file \"$@\")" \ 291 --eval "(setq generated-autoload-file \"$@\")" \
258 --eval "(setq make-backup-files nil)" \ 292 --eval "(setq make-backup-files nil)" \
259 -f batch-update-autoloads $(lisp)/calendar 293 -f batch-update-autoloads $(CAL_DIR)
260 294
261 # Prepare a bootstrap in the lisp subdirectory. 295 # Prepare a bootstrap in the lisp subdirectory.
262 # 296 #
263 # Build loaddefs.el to make sure it's up-to-date. If it's not, that 297 # Build loaddefs.el to make sure it's up-to-date. If it's not, that
264 # might lead to errors during the bootstrap because something fails to 298 # might lead to errors during the bootstrap because something fails to