Makefile.in 49.9 KB
Newer Older
Per Abrahamsen's avatar
Per Abrahamsen committed
1
# Maintenance productions for the Lisp directory
Glenn Morris's avatar
Glenn Morris committed
2
# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
Glenn Morris's avatar
Glenn Morris committed
3
#   2008, 2009  Free Software Foundation, Inc.
Gerd Moellmann's avatar
Gerd Moellmann committed
4 5 6

# This file is part of GNU Emacs.

7
# GNU Emacs is free software: you can redistribute it and/or modify
Gerd Moellmann's avatar
Gerd Moellmann committed
8
# it under the terms of the GNU General Public License as published by
9 10
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
Gerd Moellmann's avatar
Gerd Moellmann committed
11 12 13 14 15 16 17

# GNU Emacs is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# 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 21
SHELL = /bin/sh

Gerd Moellmann's avatar
Gerd Moellmann committed
22 23
lisp=@srcdir@
VPATH=@srcdir@
24
srcdir=@srcdir@/..
Gerd Moellmann's avatar
Gerd Moellmann committed
25

26 27 28
# You can specify a different executable on the make command line,
# e.g. "make EMACS=../src/emacs ...".

29
EMACS = ../src/emacs
30 31 32 33

# Command line flags for Emacs.  This must include --multibyte,
# otherwise some files will not compile.

34
EMACSOPT = -batch --no-site-file --multibyte
35

36
# Extra flags to pass to the byte compiler
37
BYTE_COMPILE_EXTRA_FLAGS =
38 39 40 41
# For example to not display the undefined function warnings you can use this:
# BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))'
# The example above is just for developers, it should not be used by default.

Glenn Morris's avatar
Glenn Morris committed
42 43
lisptagsfiles1 = $(lisp)/*.el
lisptagsfiles2 = $(lisp)/*/*.el
Richard M. Stallman's avatar
Richard M. Stallman committed
44
ETAGS = ../lib-src/etags
Per Abrahamsen's avatar
Per Abrahamsen committed
45

Glenn Morris's avatar
Glenn Morris committed
46
# Automatically generated autoload files, apart from lisp/loaddefs.el.
Glenn Morris's avatar
Glenn Morris committed
47 48 49
# Note this includes only those files that need special rules to
# build; ie it does not need to include things created via
# generated-autoload-file (eg calc/calc-loaddefs.el).
Glenn Morris's avatar
Glenn Morris committed
50
LOADDEFS = $(lisp)/calendar/cal-loaddefs.el \
Glenn Morris's avatar
Glenn Morris committed
51 52 53
	$(lisp)/calendar/diary-loaddefs.el \
	$(lisp)/calendar/hol-loaddefs.el \
	$(lisp)/mh-e/mh-loaddefs.el
Glenn Morris's avatar
Glenn Morris committed
54

Kenichi Handa's avatar
Kenichi Handa committed
55 56
# Elisp files auto-generated.
AUTOGENEL = loaddefs.el \
Glenn Morris's avatar
Glenn Morris committed
57
	$(LOADDEFS) \
Kenichi Handa's avatar
Kenichi Handa committed
58 59 60
	cus-load.el \
	finder-inf.el \
	subdirs.el \
61
	calc/calc-loaddefs.el \
Glenn Morris's avatar
Glenn Morris committed
62
	eshell/esh-groups.el
Kenichi Handa's avatar
Kenichi Handa committed
63

64
# Files to compile before others during a bootstrap.  This is done to
65
# speed up the bootstrap process.
Gerd Moellmann's avatar
Gerd Moellmann committed
66

Gerd Moellmann's avatar
Gerd Moellmann committed
67
COMPILE_FIRST = \
68 69
	$(lisp)/emacs-lisp/bytecomp.elc \
	$(lisp)/emacs-lisp/byte-opt.elc \
70
	$(lisp)/emacs-lisp/autoload.elc
Gerd Moellmann's avatar
Gerd Moellmann committed
71

72 73
# The actual Emacs command run in the targets below.

74
emacs = EMACSLOADPATH=$(lisp) LC_ALL=C $(EMACS) $(EMACSOPT)
75

76
# Common command to find subdirectories
77

Kenichi Handa's avatar
Kenichi Handa committed
78
setwins=subdirs=`(cd $$wd; find . -type d -print)`; \
79
	for file in $$subdirs; do \
Kenichi Handa's avatar
Kenichi Handa committed
80 81
	   case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* ) ;; \
		*) wins="$$wins $$wd/$$file" ;; \
82
	   esac; \
83
        done
84

85
# Find all subdirectories except `obsolete' and `term'.
86

Kenichi Handa's avatar
Kenichi Handa committed
87
setwins_almost=subdirs=`(cd $$wd; find . -type d -print)`; \
88
	for file in $$subdirs; do \
Kenichi Handa's avatar
Kenichi Handa committed
89 90
	   case $$file in */Old | */RCS | */CVS | */CVS/* | */.* | */.*/* | */=* | */obsolete | */term ) ;; \
		*) wins="$$wins $$wd/$$file" ;; \
91 92
	   esac; \
        done
93

94 95
# `compile-main' tends to be slower than `recompile' but can be parallelized
# with "make -j" and results in more deterministic compilation warnings.
Glenn Morris's avatar
Glenn Morris committed
96
# cus-load and finder-inf are not explicitly requested by anything, so
97 98
# we add them here to make sure they get built.
all: compile-main $(lisp)/cus-load.el $(lisp)/finder-inf.el
99
	@: Let us check that we byte-compiled all the files.
100
	$(MAKE) $(MFLAGS) compile-last EMACS=$(EMACS)
101

102 103
doit:

104
# custom-deps and finder-data both used to scan _all_ the *.el files.
Glenn Morris's avatar
Glenn Morris committed
105 106
# This could lead to problems in parallel builds if automatically
# generated *.el files (eg loaddefs etc) were being changed at the same time.
107 108 109
# One solution was to add autoloads as a prerequisite:
# http://lists.gnu.org/archive/html/emacs-pretest-bug/2007-01/msg00469.html
# http://lists.gnu.org/archive/html/bug-gnu-emacs/2007-12/msg00171.html
Glenn Morris's avatar
Glenn Morris committed
110
# However, this meant that running these targets modified loaddefs.el,
111 112 113 114
# every time (due to time-stamping).  Calling these rules from
# bootstrap-after would modify loaddefs after src/emacs, resulting
# in make install remaking src/emacs for no real reason:
# http://lists.gnu.org/archive/html/emacs-devel/2008-02/msg00311.html
Glenn Morris's avatar
Glenn Morris committed
115 116 117
# Nowadays these commands don't scan automatically generated files,
# since they will never contain any useful information
# (see finder-no-scan-regexp and custom-dependencies-no-scan-regexp).
118 119 120
$(lisp)/cus-load.el:
	$(MAKE) $(MFLAGS) custom-deps
custom-deps: doit
121
	wd=$(lisp); $(setwins_almost); \
122
	echo Directories: $$wins; \
123
	$(emacs) -l cus-dep --eval '(setq generated-custom-dependencies-file "$(lisp)/cus-load.el")' -f custom-make-dependencies $$wins
124

125 126 127
$(lisp)/finder-inf.el:
	$(MAKE) $(MFLAGS) finder-data
finder-data: doit
128
	wd=$(lisp); $(setwins_almost); \
129
	echo Directories: $$wins; \
130
	$(emacs) -l finder --eval '(setq generated-finder-keywords-file "$(lisp)/finder-inf.el")' -f finder-compile-keywords-make-dist $$wins
131

132 133
# The chmod +w is to handle env var CVSREAD=1.  Files named
# are identified by being the value of `generated-autoload-file'.
134
autoloads: $(LOADDEFS) doit
135 136
	chmod +w $(lisp)/ps-print.el $(lisp)/emulation/tpu-edt.el \
	  $(lisp)/emacs-lisp/cl-loaddefs.el
137
	wd=$(lisp); $(setwins_almost); \
138
	echo Directories: $$wins; \
139
	$(emacs) -l autoload --eval '(setq generated-autoload-file "$(lisp)/loaddefs.el")' -f batch-update-autoloads $$wins
140

141
# This is required by the bootstrap-emacs target in ../src/Makefile, so
142
# we know that if we have an emacs executable, we also have a subdirs.el.
143
$(lisp)/subdirs.el:
144
	$(MAKE) $(MFLAGS) update-subdirs
145
update-subdirs: doit
Gerd Moellmann's avatar
Gerd Moellmann committed
146
	wd=$(lisp); $(setwins); \
147
	for file in $$wins; do \
Gerd Moellmann's avatar
Gerd Moellmann committed
148
	   $(srcdir)/update-subdirs $$file; \
149 150
	done;

151
updates: update-subdirs autoloads finder-data custom-deps
Per Abrahamsen's avatar
Per Abrahamsen committed
152

Eli Zaretskii's avatar
Eli Zaretskii committed
153 154
# This is useful after "cvs up".
cvs-update: recompile autoloads finder-data custom-deps
Per Abrahamsen's avatar
Per Abrahamsen committed
155

156 157 158
# Update the AUTHORS file.

update-authors:
159
	$(emacs) -l authors -f batch-update-authors $(srcdir)/etc/AUTHORS $(srcdir)
160

Glenn Morris's avatar
Glenn Morris committed
161 162 163
TAGS TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
	els=`echo $(lisptagsfiles1) $(lisptagsfiles2) | sed -e "s,$(lisp)/[^ ]*loaddefs[^ ]*,," -e "s,$(lisp)/ldefs-boot[^ ]*,,"`; \
	${ETAGS} -o $@ $$els
164

165 166
.PHONY: update-elclist

167 168
## Post-bootstrap, find the list of .elc files and use sed to update
## ELCFILES in Makefile.in.
169 170
## Errors in the final sed are non-fatal, since they have no effect on
## building Emacs.  chmod +w is for CVSREAD=1.
171
## "echo" is non-portable with regards to backslashes, eg between zsh
172
## and bash.  Hence the use of sed on line 2 below (line 1 seems to be OK).
173
## http://lists.gnu.org/archive/html/emacs-devel/2008-05/msg01535.html
174 175
update-elclist:
	echo "/^ELCFILES/,/^$$/c\\" > temp.sed
176
	echo "ELCFILES =" | sed -e 's/$$/ \\\\\\/' >> temp.sed
177
	LC_COLLATE=C ls $(lisp)/*.elc $(lisp)/*/*.elc | sed -e "s|^$(lisp)|	\$$(lisp)|" -e 's/$$/ \\\\\\/' -e '$$ s/ \\\\//' >> temp.sed
178
	echo "" >> temp.sed
179
	-sed -f temp.sed $(lisp)/Makefile.in > temp-elcfiles || rm temp-elcfiles
180
	rm temp.sed
181 182 183 184 185
	@test -f temp-elcfiles || echo "Maintainer warning: failed to update Makefile.in.  You can ignore this if you are not an Emacs developer."
	if test -f temp-elcfiles; then \
	  chmod +w $(lisp)/Makefile.in; \
	  mv -f temp-elcfiles $(lisp)/Makefile.in; \
	fi
Gerd Moellmann's avatar
Gerd Moellmann committed
186

187 188
## Explicitly list the .elc files, for the sake of parallel builds.
## http://lists.gnu.org/archive/html/bug-gnu-emacs/2008-05/msg00016.html
189
## This can probably be done more elegantly, but needs to be portable.
190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340
ELCFILES = \
	$(lisp)/abbrev.elc \
	$(lisp)/abbrevlist.elc \
	$(lisp)/add-log.elc \
	$(lisp)/align.elc \
	$(lisp)/allout.elc \
	$(lisp)/ansi-color.elc \
	$(lisp)/apropos.elc \
	$(lisp)/arc-mode.elc \
	$(lisp)/array.elc \
	$(lisp)/autoarg.elc \
	$(lisp)/autoinsert.elc \
	$(lisp)/autorevert.elc \
	$(lisp)/avoid.elc \
	$(lisp)/battery.elc \
	$(lisp)/bindings.elc \
	$(lisp)/bookmark.elc \
	$(lisp)/bs.elc \
	$(lisp)/buff-menu.elc \
	$(lisp)/button.elc \
	$(lisp)/calc/calc-aent.elc \
	$(lisp)/calc/calc-alg.elc \
	$(lisp)/calc/calc-arith.elc \
	$(lisp)/calc/calc-bin.elc \
	$(lisp)/calc/calc-comb.elc \
	$(lisp)/calc/calc-cplx.elc \
	$(lisp)/calc/calc-embed.elc \
	$(lisp)/calc/calc-ext.elc \
	$(lisp)/calc/calc-fin.elc \
	$(lisp)/calc/calc-forms.elc \
	$(lisp)/calc/calc-frac.elc \
	$(lisp)/calc/calc-funcs.elc \
	$(lisp)/calc/calc-graph.elc \
	$(lisp)/calc/calc-help.elc \
	$(lisp)/calc/calc-incom.elc \
	$(lisp)/calc/calc-keypd.elc \
	$(lisp)/calc/calc-lang.elc \
	$(lisp)/calc/calc-macs.elc \
	$(lisp)/calc/calc-map.elc \
	$(lisp)/calc/calc-math.elc \
	$(lisp)/calc/calc-menu.elc \
	$(lisp)/calc/calc-misc.elc \
	$(lisp)/calc/calc-mode.elc \
	$(lisp)/calc/calc-mtx.elc \
	$(lisp)/calc/calc-nlfit.elc \
	$(lisp)/calc/calc-poly.elc \
	$(lisp)/calc/calc-prog.elc \
	$(lisp)/calc/calc-rewr.elc \
	$(lisp)/calc/calc-rules.elc \
	$(lisp)/calc/calc-sel.elc \
	$(lisp)/calc/calc-stat.elc \
	$(lisp)/calc/calc-store.elc \
	$(lisp)/calc/calc-stuff.elc \
	$(lisp)/calc/calc-trail.elc \
	$(lisp)/calc/calc-undo.elc \
	$(lisp)/calc/calc-units.elc \
	$(lisp)/calc/calc-vec.elc \
	$(lisp)/calc/calc-yank.elc \
	$(lisp)/calc/calc.elc \
	$(lisp)/calc/calcalg2.elc \
	$(lisp)/calc/calcalg3.elc \
	$(lisp)/calc/calccomp.elc \
	$(lisp)/calc/calcsel2.elc \
	$(lisp)/calculator.elc \
	$(lisp)/calendar/appt.elc \
	$(lisp)/calendar/cal-bahai.elc \
	$(lisp)/calendar/cal-china.elc \
	$(lisp)/calendar/cal-coptic.elc \
	$(lisp)/calendar/cal-dst.elc \
	$(lisp)/calendar/cal-french.elc \
	$(lisp)/calendar/cal-hebrew.elc \
	$(lisp)/calendar/cal-html.elc \
	$(lisp)/calendar/cal-islam.elc \
	$(lisp)/calendar/cal-iso.elc \
	$(lisp)/calendar/cal-julian.elc \
	$(lisp)/calendar/cal-mayan.elc \
	$(lisp)/calendar/cal-menu.elc \
	$(lisp)/calendar/cal-move.elc \
	$(lisp)/calendar/cal-persia.elc \
	$(lisp)/calendar/cal-tex.elc \
	$(lisp)/calendar/cal-x.elc \
	$(lisp)/calendar/calendar.elc \
	$(lisp)/calendar/diary-lib.elc \
	$(lisp)/calendar/holidays.elc \
	$(lisp)/calendar/icalendar.elc \
	$(lisp)/calendar/lunar.elc \
	$(lisp)/calendar/parse-time.elc \
	$(lisp)/calendar/solar.elc \
	$(lisp)/calendar/time-date.elc \
	$(lisp)/calendar/timeclock.elc \
	$(lisp)/calendar/todo-mode.elc \
	$(lisp)/case-table.elc \
	$(lisp)/cdl.elc \
	$(lisp)/chistory.elc \
	$(lisp)/cmuscheme.elc \
	$(lisp)/comint.elc \
	$(lisp)/compare-w.elc \
	$(lisp)/complete.elc \
	$(lisp)/completion.elc \
	$(lisp)/composite.elc \
	$(lisp)/cus-dep.elc \
	$(lisp)/cus-edit.elc \
	$(lisp)/cus-face.elc \
	$(lisp)/cus-start.elc \
	$(lisp)/cus-theme.elc \
	$(lisp)/custom.elc \
	$(lisp)/cvs-status.elc \
	$(lisp)/dabbrev.elc \
	$(lisp)/delim-col.elc \
	$(lisp)/delsel.elc \
	$(lisp)/descr-text.elc \
	$(lisp)/desktop.elc \
	$(lisp)/dframe.elc \
	$(lisp)/diff-mode.elc \
	$(lisp)/diff.elc \
	$(lisp)/dired-aux.elc \
	$(lisp)/dired-x.elc \
	$(lisp)/dired.elc \
	$(lisp)/dirtrack.elc \
	$(lisp)/disp-table.elc \
	$(lisp)/dnd.elc \
	$(lisp)/doc-view.elc \
	$(lisp)/dos-fns.elc \
	$(lisp)/dos-vars.elc \
	$(lisp)/dos-w32.elc \
	$(lisp)/double.elc \
	$(lisp)/ebuff-menu.elc \
	$(lisp)/echistory.elc \
	$(lisp)/ediff-diff.elc \
	$(lisp)/ediff-help.elc \
	$(lisp)/ediff-hook.elc \
	$(lisp)/ediff-init.elc \
	$(lisp)/ediff-merg.elc \
	$(lisp)/ediff-mult.elc \
	$(lisp)/ediff-ptch.elc \
	$(lisp)/ediff-util.elc \
	$(lisp)/ediff-vers.elc \
	$(lisp)/ediff-wind.elc \
	$(lisp)/ediff.elc \
	$(lisp)/edmacro.elc \
	$(lisp)/ehelp.elc \
	$(lisp)/electric.elc \
	$(lisp)/elide-head.elc \
	$(lisp)/emacs-lisp/advice.elc \
	$(lisp)/emacs-lisp/assoc.elc \
	$(lisp)/emacs-lisp/authors.elc \
	$(lisp)/emacs-lisp/autoload.elc \
	$(lisp)/emacs-lisp/avl-tree.elc \
	$(lisp)/emacs-lisp/backquote.elc \
	$(lisp)/emacs-lisp/benchmark.elc \
	$(lisp)/emacs-lisp/bindat.elc \
341
	$(lisp)/emacs-lisp/byte-opt.elc \
342
	$(lisp)/emacs-lisp/byte-run.elc \
343
	$(lisp)/emacs-lisp/bytecomp.elc \
344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496
	$(lisp)/emacs-lisp/check-declare.elc \
	$(lisp)/emacs-lisp/checkdoc.elc \
	$(lisp)/emacs-lisp/cl-compat.elc \
	$(lisp)/emacs-lisp/cl-extra.elc \
	$(lisp)/emacs-lisp/cl-indent.elc \
	$(lisp)/emacs-lisp/cl-macs.elc \
	$(lisp)/emacs-lisp/cl-seq.elc \
	$(lisp)/emacs-lisp/cl.elc \
	$(lisp)/emacs-lisp/copyright.elc \
	$(lisp)/emacs-lisp/crm.elc \
	$(lisp)/emacs-lisp/cust-print.elc \
	$(lisp)/emacs-lisp/debug.elc \
	$(lisp)/emacs-lisp/derived.elc \
	$(lisp)/emacs-lisp/disass.elc \
	$(lisp)/emacs-lisp/easy-mmode.elc \
	$(lisp)/emacs-lisp/easymenu.elc \
	$(lisp)/emacs-lisp/edebug.elc \
	$(lisp)/emacs-lisp/eldoc.elc \
	$(lisp)/emacs-lisp/elint.elc \
	$(lisp)/emacs-lisp/elp.elc \
	$(lisp)/emacs-lisp/ewoc.elc \
	$(lisp)/emacs-lisp/find-func.elc \
	$(lisp)/emacs-lisp/find-gc.elc \
	$(lisp)/emacs-lisp/float-sup.elc \
	$(lisp)/emacs-lisp/generic.elc \
	$(lisp)/emacs-lisp/gulp.elc \
	$(lisp)/emacs-lisp/helper.elc \
	$(lisp)/emacs-lisp/levents.elc \
	$(lisp)/emacs-lisp/lisp-mnt.elc \
	$(lisp)/emacs-lisp/lisp-mode.elc \
	$(lisp)/emacs-lisp/lisp.elc \
	$(lisp)/emacs-lisp/lmenu.elc \
	$(lisp)/emacs-lisp/lucid.elc \
	$(lisp)/emacs-lisp/macroexp.elc \
	$(lisp)/emacs-lisp/map-ynp.elc \
	$(lisp)/emacs-lisp/pp.elc \
	$(lisp)/emacs-lisp/re-builder.elc \
	$(lisp)/emacs-lisp/regexp-opt.elc \
	$(lisp)/emacs-lisp/regi.elc \
	$(lisp)/emacs-lisp/ring.elc \
	$(lisp)/emacs-lisp/rx.elc \
	$(lisp)/emacs-lisp/shadow.elc \
	$(lisp)/emacs-lisp/sregex.elc \
	$(lisp)/emacs-lisp/syntax.elc \
	$(lisp)/emacs-lisp/tcover-ses.elc \
	$(lisp)/emacs-lisp/tcover-unsafep.elc \
	$(lisp)/emacs-lisp/testcover.elc \
	$(lisp)/emacs-lisp/timer.elc \
	$(lisp)/emacs-lisp/tq.elc \
	$(lisp)/emacs-lisp/trace.elc \
	$(lisp)/emacs-lisp/unsafep.elc \
	$(lisp)/emacs-lisp/warnings.elc \
	$(lisp)/emacs-lock.elc \
	$(lisp)/emerge.elc \
	$(lisp)/emulation/crisp.elc \
	$(lisp)/emulation/cua-base.elc \
	$(lisp)/emulation/cua-gmrk.elc \
	$(lisp)/emulation/cua-rect.elc \
	$(lisp)/emulation/edt-lk201.elc \
	$(lisp)/emulation/edt-mapper.elc \
	$(lisp)/emulation/edt-pc.elc \
	$(lisp)/emulation/edt-vt100.elc \
	$(lisp)/emulation/edt.elc \
	$(lisp)/emulation/keypad.elc \
	$(lisp)/emulation/pc-mode.elc \
	$(lisp)/emulation/pc-select.elc \
	$(lisp)/emulation/tpu-edt.elc \
	$(lisp)/emulation/tpu-extras.elc \
	$(lisp)/emulation/tpu-mapper.elc \
	$(lisp)/emulation/vi.elc \
	$(lisp)/emulation/vip.elc \
	$(lisp)/emulation/viper-cmd.elc \
	$(lisp)/emulation/viper-ex.elc \
	$(lisp)/emulation/viper-init.elc \
	$(lisp)/emulation/viper-keym.elc \
	$(lisp)/emulation/viper-macs.elc \
	$(lisp)/emulation/viper-mous.elc \
	$(lisp)/emulation/viper-util.elc \
	$(lisp)/emulation/viper.elc \
	$(lisp)/emulation/ws-mode.elc \
	$(lisp)/env.elc \
	$(lisp)/epa-dired.elc \
	$(lisp)/epa-file.elc \
	$(lisp)/epa-hook.elc \
	$(lisp)/epa-mail.elc \
	$(lisp)/epa.elc \
	$(lisp)/epg-config.elc \
	$(lisp)/epg.elc \
	$(lisp)/erc/erc-autoaway.elc \
	$(lisp)/erc/erc-backend.elc \
	$(lisp)/erc/erc-button.elc \
	$(lisp)/erc/erc-capab.elc \
	$(lisp)/erc/erc-compat.elc \
	$(lisp)/erc/erc-dcc.elc \
	$(lisp)/erc/erc-ezbounce.elc \
	$(lisp)/erc/erc-fill.elc \
	$(lisp)/erc/erc-goodies.elc \
	$(lisp)/erc/erc-hecomplete.elc \
	$(lisp)/erc/erc-ibuffer.elc \
	$(lisp)/erc/erc-identd.elc \
	$(lisp)/erc/erc-imenu.elc \
	$(lisp)/erc/erc-join.elc \
	$(lisp)/erc/erc-lang.elc \
	$(lisp)/erc/erc-list.elc \
	$(lisp)/erc/erc-log.elc \
	$(lisp)/erc/erc-match.elc \
	$(lisp)/erc/erc-menu.elc \
	$(lisp)/erc/erc-netsplit.elc \
	$(lisp)/erc/erc-networks.elc \
	$(lisp)/erc/erc-notify.elc \
	$(lisp)/erc/erc-page.elc \
	$(lisp)/erc/erc-pcomplete.elc \
	$(lisp)/erc/erc-replace.elc \
	$(lisp)/erc/erc-ring.elc \
	$(lisp)/erc/erc-services.elc \
	$(lisp)/erc/erc-sound.elc \
	$(lisp)/erc/erc-speedbar.elc \
	$(lisp)/erc/erc-spelling.elc \
	$(lisp)/erc/erc-stamp.elc \
	$(lisp)/erc/erc-track.elc \
	$(lisp)/erc/erc-truncate.elc \
	$(lisp)/erc/erc-xdcc.elc \
	$(lisp)/erc/erc.elc \
	$(lisp)/eshell/em-alias.elc \
	$(lisp)/eshell/em-banner.elc \
	$(lisp)/eshell/em-basic.elc \
	$(lisp)/eshell/em-cmpl.elc \
	$(lisp)/eshell/em-dirs.elc \
	$(lisp)/eshell/em-glob.elc \
	$(lisp)/eshell/em-hist.elc \
	$(lisp)/eshell/em-ls.elc \
	$(lisp)/eshell/em-pred.elc \
	$(lisp)/eshell/em-prompt.elc \
	$(lisp)/eshell/em-rebind.elc \
	$(lisp)/eshell/em-script.elc \
	$(lisp)/eshell/em-smart.elc \
	$(lisp)/eshell/em-term.elc \
	$(lisp)/eshell/em-unix.elc \
	$(lisp)/eshell/em-xtra.elc \
	$(lisp)/eshell/esh-arg.elc \
	$(lisp)/eshell/esh-cmd.elc \
	$(lisp)/eshell/esh-ext.elc \
	$(lisp)/eshell/esh-io.elc \
	$(lisp)/eshell/esh-mode.elc \
	$(lisp)/eshell/esh-module.elc \
	$(lisp)/eshell/esh-opt.elc \
	$(lisp)/eshell/esh-proc.elc \
	$(lisp)/eshell/esh-test.elc \
	$(lisp)/eshell/esh-util.elc \
	$(lisp)/eshell/esh-var.elc \
	$(lisp)/eshell/eshell.elc \
	$(lisp)/expand.elc \
	$(lisp)/ezimage.elc \
497
	$(lisp)/face-remap.elc \
498 499
	$(lisp)/facemenu.elc \
	$(lisp)/faces.elc \
Glenn Morris's avatar
Glenn Morris committed
500
	$(lisp)/fadr.elc \
501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610
	$(lisp)/ffap.elc \
	$(lisp)/filecache.elc \
	$(lisp)/files.elc \
	$(lisp)/filesets.elc \
	$(lisp)/find-cmd.elc \
	$(lisp)/find-dired.elc \
	$(lisp)/find-file.elc \
	$(lisp)/find-lisp.elc \
	$(lisp)/finder.elc \
	$(lisp)/flow-ctrl.elc \
	$(lisp)/foldout.elc \
	$(lisp)/follow.elc \
	$(lisp)/font-core.elc \
	$(lisp)/font-lock.elc \
	$(lisp)/format-spec.elc \
	$(lisp)/format.elc \
	$(lisp)/forms.elc \
	$(lisp)/frame.elc \
	$(lisp)/fringe.elc \
	$(lisp)/generic-x.elc \
	$(lisp)/gnus/auth-source.elc \
	$(lisp)/gnus/canlock.elc \
	$(lisp)/gnus/compface.elc \
	$(lisp)/gnus/deuglify.elc \
	$(lisp)/gnus/earcon.elc \
	$(lisp)/gnus/ecomplete.elc \
	$(lisp)/gnus/flow-fill.elc \
	$(lisp)/gnus/gmm-utils.elc \
	$(lisp)/gnus/gnus-agent.elc \
	$(lisp)/gnus/gnus-art.elc \
	$(lisp)/gnus/gnus-async.elc \
	$(lisp)/gnus/gnus-audio.elc \
	$(lisp)/gnus/gnus-bcklg.elc \
	$(lisp)/gnus/gnus-bookmark.elc \
	$(lisp)/gnus/gnus-cache.elc \
	$(lisp)/gnus/gnus-cite.elc \
	$(lisp)/gnus/gnus-cus.elc \
	$(lisp)/gnus/gnus-delay.elc \
	$(lisp)/gnus/gnus-demon.elc \
	$(lisp)/gnus/gnus-diary.elc \
	$(lisp)/gnus/gnus-dired.elc \
	$(lisp)/gnus/gnus-draft.elc \
	$(lisp)/gnus/gnus-dup.elc \
	$(lisp)/gnus/gnus-eform.elc \
	$(lisp)/gnus/gnus-ems.elc \
	$(lisp)/gnus/gnus-fun.elc \
	$(lisp)/gnus/gnus-group.elc \
	$(lisp)/gnus/gnus-int.elc \
	$(lisp)/gnus/gnus-kill.elc \
	$(lisp)/gnus/gnus-logic.elc \
	$(lisp)/gnus/gnus-mh.elc \
	$(lisp)/gnus/gnus-ml.elc \
	$(lisp)/gnus/gnus-mlspl.elc \
	$(lisp)/gnus/gnus-move.elc \
	$(lisp)/gnus/gnus-msg.elc \
	$(lisp)/gnus/gnus-nocem.elc \
	$(lisp)/gnus/gnus-picon.elc \
	$(lisp)/gnus/gnus-range.elc \
	$(lisp)/gnus/gnus-registry.elc \
	$(lisp)/gnus/gnus-salt.elc \
	$(lisp)/gnus/gnus-score.elc \
	$(lisp)/gnus/gnus-setup.elc \
	$(lisp)/gnus/gnus-sieve.elc \
	$(lisp)/gnus/gnus-soup.elc \
	$(lisp)/gnus/gnus-spec.elc \
	$(lisp)/gnus/gnus-srvr.elc \
	$(lisp)/gnus/gnus-start.elc \
	$(lisp)/gnus/gnus-sum.elc \
	$(lisp)/gnus/gnus-topic.elc \
	$(lisp)/gnus/gnus-undo.elc \
	$(lisp)/gnus/gnus-util.elc \
	$(lisp)/gnus/gnus-uu.elc \
	$(lisp)/gnus/gnus-vm.elc \
	$(lisp)/gnus/gnus-win.elc \
	$(lisp)/gnus/gnus.elc \
	$(lisp)/gnus/html2text.elc \
	$(lisp)/gnus/ietf-drums.elc \
	$(lisp)/gnus/legacy-gnus-agent.elc \
	$(lisp)/gnus/mail-parse.elc \
	$(lisp)/gnus/mail-prsvr.elc \
	$(lisp)/gnus/mail-source.elc \
	$(lisp)/gnus/mailcap.elc \
	$(lisp)/gnus/message.elc \
	$(lisp)/gnus/messcompat.elc \
	$(lisp)/gnus/mm-bodies.elc \
	$(lisp)/gnus/mm-decode.elc \
	$(lisp)/gnus/mm-encode.elc \
	$(lisp)/gnus/mm-extern.elc \
	$(lisp)/gnus/mm-partial.elc \
	$(lisp)/gnus/mm-url.elc \
	$(lisp)/gnus/mm-util.elc \
	$(lisp)/gnus/mm-uu.elc \
	$(lisp)/gnus/mm-view.elc \
	$(lisp)/gnus/mml-sec.elc \
	$(lisp)/gnus/mml-smime.elc \
	$(lisp)/gnus/mml.elc \
	$(lisp)/gnus/mml1991.elc \
	$(lisp)/gnus/mml2015.elc \
	$(lisp)/gnus/nnagent.elc \
	$(lisp)/gnus/nnbabyl.elc \
	$(lisp)/gnus/nndb.elc \
	$(lisp)/gnus/nndiary.elc \
	$(lisp)/gnus/nndir.elc \
	$(lisp)/gnus/nndoc.elc \
	$(lisp)/gnus/nndraft.elc \
	$(lisp)/gnus/nneething.elc \
	$(lisp)/gnus/nnfolder.elc \
	$(lisp)/gnus/nngateway.elc \
	$(lisp)/gnus/nnheader.elc \
	$(lisp)/gnus/nnimap.elc \
Miles Bader's avatar
Miles Bader committed
611
	$(lisp)/gnus/nnir.elc \
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652
	$(lisp)/gnus/nnkiboze.elc \
	$(lisp)/gnus/nnlistserv.elc \
	$(lisp)/gnus/nnmail.elc \
	$(lisp)/gnus/nnmaildir.elc \
	$(lisp)/gnus/nnmairix.elc \
	$(lisp)/gnus/nnmbox.elc \
	$(lisp)/gnus/nnmh.elc \
	$(lisp)/gnus/nnml.elc \
	$(lisp)/gnus/nnnil.elc \
	$(lisp)/gnus/nnoo.elc \
	$(lisp)/gnus/nnrss.elc \
	$(lisp)/gnus/nnslashdot.elc \
	$(lisp)/gnus/nnsoup.elc \
	$(lisp)/gnus/nnspool.elc \
	$(lisp)/gnus/nntp.elc \
	$(lisp)/gnus/nnultimate.elc \
	$(lisp)/gnus/nnvirtual.elc \
	$(lisp)/gnus/nnwarchive.elc \
	$(lisp)/gnus/nnweb.elc \
	$(lisp)/gnus/nnwfm.elc \
	$(lisp)/gnus/pop3.elc \
	$(lisp)/gnus/qp.elc \
	$(lisp)/gnus/rfc1843.elc \
	$(lisp)/gnus/rfc2045.elc \
	$(lisp)/gnus/rfc2047.elc \
	$(lisp)/gnus/rfc2104.elc \
	$(lisp)/gnus/rfc2231.elc \
	$(lisp)/gnus/score-mode.elc \
	$(lisp)/gnus/sieve-manage.elc \
	$(lisp)/gnus/sieve-mode.elc \
	$(lisp)/gnus/sieve.elc \
	$(lisp)/gnus/smiley.elc \
	$(lisp)/gnus/smime.elc \
	$(lisp)/gnus/spam-report.elc \
	$(lisp)/gnus/spam-stat.elc \
	$(lisp)/gnus/spam-wash.elc \
	$(lisp)/gnus/spam.elc \
	$(lisp)/gnus/starttls.elc \
	$(lisp)/gnus/utf7.elc \
	$(lisp)/gnus/webmail.elc \
	$(lisp)/gnus/yenc.elc \
Chong Yidong's avatar
Chong Yidong committed
653
	$(lisp)/gs.elc \
654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720
	$(lisp)/help-at-pt.elc \
	$(lisp)/help-fns.elc \
	$(lisp)/help-macro.elc \
	$(lisp)/help-mode.elc \
	$(lisp)/help.elc \
	$(lisp)/hex-util.elc \
	$(lisp)/hexl.elc \
	$(lisp)/hi-lock.elc \
	$(lisp)/hilit-chg.elc \
	$(lisp)/hippie-exp.elc \
	$(lisp)/hl-line.elc \
	$(lisp)/ibuf-ext.elc \
	$(lisp)/ibuf-macs.elc \
	$(lisp)/ibuffer.elc \
	$(lisp)/icomplete.elc \
	$(lisp)/ido.elc \
	$(lisp)/ielm.elc \
	$(lisp)/iimage.elc \
	$(lisp)/image-dired.elc \
	$(lisp)/image-file.elc \
	$(lisp)/image-mode.elc \
	$(lisp)/image.elc \
	$(lisp)/imenu.elc \
	$(lisp)/indent.elc \
	$(lisp)/info-look.elc \
	$(lisp)/info-xref.elc \
	$(lisp)/info.elc \
	$(lisp)/informat.elc \
	$(lisp)/international/ccl.elc \
	$(lisp)/international/characters.elc \
	$(lisp)/international/encoded-kb.elc \
	$(lisp)/international/fontset.elc \
	$(lisp)/international/isearch-x.elc \
	$(lisp)/international/iso-ascii.elc \
	$(lisp)/international/iso-cvt.elc \
	$(lisp)/international/iso-transl.elc \
	$(lisp)/international/ja-dic-cnv.elc \
	$(lisp)/international/ja-dic-utl.elc \
	$(lisp)/international/kinsoku.elc \
	$(lisp)/international/kkc.elc \
	$(lisp)/international/latexenc.elc \
	$(lisp)/international/latin1-disp.elc \
	$(lisp)/international/mule-cmds.elc \
	$(lisp)/international/mule-diag.elc \
	$(lisp)/international/mule-util.elc \
	$(lisp)/international/mule.elc \
	$(lisp)/international/ogonek.elc \
	$(lisp)/international/quail.elc \
	$(lisp)/international/robin.elc \
	$(lisp)/international/titdic-cnv.elc \
	$(lisp)/international/utf-7.elc \
	$(lisp)/isearch.elc \
	$(lisp)/isearchb.elc \
	$(lisp)/iswitchb.elc \
	$(lisp)/jit-lock.elc \
	$(lisp)/jka-cmpr-hook.elc \
	$(lisp)/jka-compr.elc \
	$(lisp)/json.elc \
	$(lisp)/kermit.elc \
	$(lisp)/kmacro.elc \
	$(lisp)/language/china-util.elc \
	$(lisp)/language/chinese.elc \
	$(lisp)/language/cyril-util.elc \
	$(lisp)/language/cyrillic.elc \
	$(lisp)/language/ethio-util.elc \
	$(lisp)/language/ethiopic.elc \
	$(lisp)/language/european.elc \
721
	$(lisp)/language/hanja-util.elc \
722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765
	$(lisp)/language/ind-util.elc \
	$(lisp)/language/indian.elc \
	$(lisp)/language/japan-util.elc \
	$(lisp)/language/korea-util.elc \
	$(lisp)/language/lao-util.elc \
	$(lisp)/language/thai-util.elc \
	$(lisp)/language/thai-word.elc \
	$(lisp)/language/tibet-util.elc \
	$(lisp)/language/tibetan.elc \
	$(lisp)/language/tv-util.elc \
	$(lisp)/language/viet-util.elc \
	$(lisp)/language/vietnamese.elc \
	$(lisp)/ledit.elc \
	$(lisp)/linum.elc \
	$(lisp)/loadhist.elc \
	$(lisp)/locate.elc \
	$(lisp)/log-edit.elc \
	$(lisp)/log-view.elc \
	$(lisp)/longlines.elc \
	$(lisp)/lpr.elc \
	$(lisp)/ls-lisp.elc \
	$(lisp)/macros.elc \
	$(lisp)/mail/binhex.elc \
	$(lisp)/mail/emacsbug.elc \
	$(lisp)/mail/feedmail.elc \
	$(lisp)/mail/footnote.elc \
	$(lisp)/mail/hashcash.elc \
	$(lisp)/mail/mail-extr.elc \
	$(lisp)/mail/mail-hist.elc \
	$(lisp)/mail/mail-utils.elc \
	$(lisp)/mail/mailabbrev.elc \
	$(lisp)/mail/mailalias.elc \
	$(lisp)/mail/mailclient.elc \
	$(lisp)/mail/mailheader.elc \
	$(lisp)/mail/mailpost.elc \
	$(lisp)/mail/metamail.elc \
	$(lisp)/mail/mspools.elc \
	$(lisp)/mail/reporter.elc \
	$(lisp)/mail/rfc2368.elc \
	$(lisp)/mail/rfc822.elc \
	$(lisp)/mail/rmail-spam-filter.elc \
	$(lisp)/mail/rmail.elc \
	$(lisp)/mail/rmailedit.elc \
	$(lisp)/mail/rmailkwd.elc \
Glenn Morris's avatar
Glenn Morris committed
766
	$(lisp)/mail/rmailmm.elc \
767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809
	$(lisp)/mail/rmailmsc.elc \
	$(lisp)/mail/rmailout.elc \
	$(lisp)/mail/rmailsort.elc \
	$(lisp)/mail/rmailsum.elc \
	$(lisp)/mail/sendmail.elc \
	$(lisp)/mail/smtpmail.elc \
	$(lisp)/mail/supercite.elc \
	$(lisp)/mail/uce.elc \
	$(lisp)/mail/undigest.elc \
	$(lisp)/mail/unrmail.elc \
	$(lisp)/mail/uudecode.elc \
	$(lisp)/makesum.elc \
	$(lisp)/man.elc \
	$(lisp)/master.elc \
	$(lisp)/mb-depth.elc \
	$(lisp)/md4.elc \
	$(lisp)/menu-bar.elc \
	$(lisp)/mh-e/mh-alias.elc \
	$(lisp)/mh-e/mh-buffers.elc \
	$(lisp)/mh-e/mh-comp.elc \
	$(lisp)/mh-e/mh-e.elc \
	$(lisp)/mh-e/mh-folder.elc \
	$(lisp)/mh-e/mh-funcs.elc \
	$(lisp)/mh-e/mh-identity.elc \
	$(lisp)/mh-e/mh-inc.elc \
	$(lisp)/mh-e/mh-junk.elc \
	$(lisp)/mh-e/mh-letter.elc \
	$(lisp)/mh-e/mh-limit.elc \
	$(lisp)/mh-e/mh-mime.elc \
	$(lisp)/mh-e/mh-print.elc \
	$(lisp)/mh-e/mh-scan.elc \
	$(lisp)/mh-e/mh-search.elc \
	$(lisp)/mh-e/mh-seq.elc \
	$(lisp)/mh-e/mh-show.elc \
	$(lisp)/mh-e/mh-speed.elc \
	$(lisp)/mh-e/mh-thread.elc \
	$(lisp)/mh-e/mh-tool-bar.elc \
	$(lisp)/mh-e/mh-utils.elc \
	$(lisp)/mh-e/mh-xface.elc \
	$(lisp)/midnight.elc \
	$(lisp)/minibuf-eldef.elc \
	$(lisp)/minibuffer.elc \
	$(lisp)/misc.elc \
810
	$(lisp)/misearch.elc \
811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835
	$(lisp)/mouse-copy.elc \
	$(lisp)/mouse-drag.elc \
	$(lisp)/mouse-sel.elc \
	$(lisp)/mouse.elc \
	$(lisp)/msb.elc \
	$(lisp)/mwheel.elc \
	$(lisp)/net/ange-ftp.elc \
	$(lisp)/net/browse-url.elc \
	$(lisp)/net/dbus.elc \
	$(lisp)/net/dig.elc \
	$(lisp)/net/dns.elc \
	$(lisp)/net/eudc-bob.elc \
	$(lisp)/net/eudc-export.elc \
	$(lisp)/net/eudc-hotlist.elc \
	$(lisp)/net/eudc-vars.elc \
	$(lisp)/net/eudc.elc \
	$(lisp)/net/eudcb-bbdb.elc \
	$(lisp)/net/eudcb-ldap.elc \
	$(lisp)/net/eudcb-mab.elc \
	$(lisp)/net/eudcb-ph.elc \
	$(lisp)/net/goto-addr.elc \
	$(lisp)/net/hmac-def.elc \
	$(lisp)/net/hmac-md5.elc \
	$(lisp)/net/imap.elc \
	$(lisp)/net/ldap.elc \
Chong Yidong's avatar
Chong Yidong committed
836
	$(lisp)/net/mairix.elc \
837 838
	$(lisp)/net/net-utils.elc \
	$(lisp)/net/netrc.elc \
839 840 841 842 843
	$(lisp)/net/newst-backend.elc \
	$(lisp)/net/newst-plainview.elc \
	$(lisp)/net/newst-reader.elc \
	$(lisp)/net/newst-ticker.elc \
	$(lisp)/net/newst-treeview.elc \
844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868
	$(lisp)/net/newsticker.elc \
	$(lisp)/net/ntlm.elc \
	$(lisp)/net/quickurl.elc \
	$(lisp)/net/rcirc.elc \
	$(lisp)/net/rcompile.elc \
	$(lisp)/net/rlogin.elc \
	$(lisp)/net/sasl-cram.elc \
	$(lisp)/net/sasl-digest.elc \
	$(lisp)/net/sasl-ntlm.elc \
	$(lisp)/net/sasl.elc \
	$(lisp)/net/snmp-mode.elc \
	$(lisp)/net/socks.elc \
	$(lisp)/net/telnet.elc \
	$(lisp)/net/tls.elc \
	$(lisp)/net/tramp-cache.elc \
	$(lisp)/net/tramp-cmds.elc \
	$(lisp)/net/tramp-compat.elc \
	$(lisp)/net/tramp-fish.elc \
	$(lisp)/net/tramp-ftp.elc \
	$(lisp)/net/tramp-gw.elc \
	$(lisp)/net/tramp-smb.elc \
	$(lisp)/net/tramp-uu.elc \
	$(lisp)/net/tramp.elc \
	$(lisp)/net/trampver.elc \
	$(lisp)/net/webjump.elc \
869
	$(lisp)/net/xesam.elc \
870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904
	$(lisp)/net/zeroconf.elc \
	$(lisp)/newcomment.elc \
	$(lisp)/novice.elc \
	$(lisp)/nxml/nxml-enc.elc \
	$(lisp)/nxml/nxml-glyph.elc \
	$(lisp)/nxml/nxml-maint.elc \
	$(lisp)/nxml/nxml-mode.elc \
	$(lisp)/nxml/nxml-ns.elc \
	$(lisp)/nxml/nxml-outln.elc \
	$(lisp)/nxml/nxml-parse.elc \
	$(lisp)/nxml/nxml-rap.elc \
	$(lisp)/nxml/nxml-uchnm.elc \
	$(lisp)/nxml/nxml-util.elc \
	$(lisp)/nxml/rng-cmpct.elc \
	$(lisp)/nxml/rng-dt.elc \
	$(lisp)/nxml/rng-loc.elc \
	$(lisp)/nxml/rng-maint.elc \
	$(lisp)/nxml/rng-match.elc \
	$(lisp)/nxml/rng-nxml.elc \
	$(lisp)/nxml/rng-parse.elc \
	$(lisp)/nxml/rng-pttrn.elc \
	$(lisp)/nxml/rng-uri.elc \
	$(lisp)/nxml/rng-util.elc \
	$(lisp)/nxml/rng-valid.elc \
	$(lisp)/nxml/rng-xsd.elc \
	$(lisp)/nxml/xmltok.elc \
	$(lisp)/nxml/xsd-regexp.elc \
	$(lisp)/obsolete/awk-mode.elc \
	$(lisp)/obsolete/fast-lock.elc \
	$(lisp)/obsolete/iso-acc.elc \
	$(lisp)/obsolete/iso-insert.elc \
	$(lisp)/obsolete/iso-swed.elc \
	$(lisp)/obsolete/lazy-lock.elc \
	$(lisp)/obsolete/old-whitespace.elc \
	$(lisp)/obsolete/options.elc \
Glenn Morris's avatar
Glenn Morris committed
905
	$(lisp)/obsolete/resume.elc \
906 907 908 909 910
	$(lisp)/obsolete/rnews.elc \
	$(lisp)/obsolete/rnewspost.elc \
	$(lisp)/obsolete/sc.elc \
	$(lisp)/obsolete/scribe.elc \
	$(lisp)/obsolete/swedish.elc \
Glenn Morris's avatar
Glenn Morris committed
911
	$(lisp)/obsolete/vc-mcvs.elc \
912 913 914
	$(lisp)/obsolete/x-menu.elc \
	$(lisp)/org/org-agenda.elc \
	$(lisp)/org/org-archive.elc \
Glenn Morris's avatar
Glenn Morris committed
915
	$(lisp)/org/org-attach.elc \
916 917 918 919 920 921 922 923
	$(lisp)/org/org-bbdb.elc \
	$(lisp)/org/org-bibtex.elc \
	$(lisp)/org/org-clock.elc \
	$(lisp)/org/org-colview.elc \
	$(lisp)/org/org-compat.elc \
	$(lisp)/org/org-exp.elc \
	$(lisp)/org/org-export-latex.elc \
	$(lisp)/org/org-faces.elc \
Glenn Morris's avatar
Glenn Morris committed
924
	$(lisp)/org/org-footnote.elc \
925
	$(lisp)/org/org-gnus.elc \
Glenn Morris's avatar
Glenn Morris committed
926
	$(lisp)/org/org-id.elc \
927
	$(lisp)/org/org-info.elc \
Glenn Morris's avatar
Glenn Morris committed
928
	$(lisp)/org/org-install.elc \
929 930
	$(lisp)/org/org-irc.elc \
	$(lisp)/org/org-jsinfo.elc \
Glenn Morris's avatar
Glenn Morris committed
931
	$(lisp)/org/org-list.elc \
932 933 934 935 936
	$(lisp)/org/org-mac-message.elc \
	$(lisp)/org/org-macs.elc \
	$(lisp)/org/org-mew.elc \
	$(lisp)/org/org-mhe.elc \
	$(lisp)/org/org-mouse.elc \
Glenn Morris's avatar
Glenn Morris committed
937
	$(lisp)/org/org-plot.elc \
938 939 940 941
	$(lisp)/org/org-publish.elc \
	$(lisp)/org/org-remember.elc \
	$(lisp)/org/org-rmail.elc \
	$(lisp)/org/org-table.elc \
Glenn Morris's avatar
Glenn Morris committed
942
	$(lisp)/org/org-timer.elc \
943
	$(lisp)/org/org-vm.elc \
Glenn Morris's avatar
Glenn Morris committed
944
	$(lisp)/org/org-w3m.elc \
945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015
	$(lisp)/org/org-wl.elc \
	$(lisp)/org/org.elc \
	$(lisp)/outline.elc \
	$(lisp)/paren.elc \
	$(lisp)/password-cache.elc \
	$(lisp)/pcmpl-cvs.elc \
	$(lisp)/pcmpl-gnu.elc \
	$(lisp)/pcmpl-linux.elc \
	$(lisp)/pcmpl-rpm.elc \
	$(lisp)/pcmpl-unix.elc \
	$(lisp)/pcomplete.elc \
	$(lisp)/pcvs-defs.elc \
	$(lisp)/pcvs-info.elc \
	$(lisp)/pcvs-parse.elc \
	$(lisp)/pcvs-util.elc \
	$(lisp)/pcvs.elc \
	$(lisp)/pgg-def.elc \
	$(lisp)/pgg-gpg.elc \
	$(lisp)/pgg-parse.elc \
	$(lisp)/pgg-pgp.elc \
	$(lisp)/pgg-pgp5.elc \
	$(lisp)/pgg.elc \
	$(lisp)/play/5x5.elc \
	$(lisp)/play/animate.elc \
	$(lisp)/play/blackbox.elc \
	$(lisp)/play/bubbles.elc \
	$(lisp)/play/cookie1.elc \
	$(lisp)/play/decipher.elc \
	$(lisp)/play/dissociate.elc \
	$(lisp)/play/doctor.elc \
	$(lisp)/play/dunnet.elc \
	$(lisp)/play/fortune.elc \
	$(lisp)/play/gamegrid.elc \
	$(lisp)/play/gametree.elc \
	$(lisp)/play/gomoku.elc \
	$(lisp)/play/handwrite.elc \
	$(lisp)/play/hanoi.elc \
	$(lisp)/play/landmark.elc \
	$(lisp)/play/life.elc \
	$(lisp)/play/meese.elc \
	$(lisp)/play/morse.elc \
	$(lisp)/play/mpuz.elc \
	$(lisp)/play/pong.elc \
	$(lisp)/play/snake.elc \
	$(lisp)/play/solitaire.elc \
	$(lisp)/play/spook.elc \
	$(lisp)/play/studly.elc \
	$(lisp)/play/tetris.elc \
	$(lisp)/play/yow.elc \
	$(lisp)/play/zone.elc \
	$(lisp)/printing.elc \
	$(lisp)/proced.elc \
	$(lisp)/progmodes/ada-mode.elc \
	$(lisp)/progmodes/ada-prj.elc \
	$(lisp)/progmodes/ada-stmt.elc \
	$(lisp)/progmodes/ada-xref.elc \
	$(lisp)/progmodes/antlr-mode.elc \
	$(lisp)/progmodes/asm-mode.elc \
	$(lisp)/progmodes/autoconf.elc \
	$(lisp)/progmodes/bug-reference.elc \
	$(lisp)/progmodes/cap-words.elc \
	$(lisp)/progmodes/cc-align.elc \
	$(lisp)/progmodes/cc-awk.elc \
	$(lisp)/progmodes/cc-bytecomp.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-menus.elc \
1016
	$(lisp)/progmodes/cc-mode.elc \
1017 1018
	$(lisp)/progmodes/cc-styles.elc \
	$(lisp)/progmodes/cc-subword.elc \
1019
	$(lisp)/progmodes/cc-vars.elc \
1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041
	$(lisp)/progmodes/cfengine.elc \
	$(lisp)/progmodes/cmacexp.elc \
	$(lisp)/progmodes/compile.elc \
	$(lisp)/progmodes/cperl-mode.elc \
	$(lisp)/progmodes/cpp.elc \
	$(lisp)/progmodes/cwarn.elc \
	$(lisp)/progmodes/dcl-mode.elc \
	$(lisp)/progmodes/delphi.elc \
	$(lisp)/progmodes/ebnf-abn.elc \
	$(lisp)/progmodes/ebnf-bnf.elc \
	$(lisp)/progmodes/ebnf-dtd.elc \
	$(lisp)/progmodes/ebnf-ebx.elc \
	$(lisp)/progmodes/ebnf-iso.elc \
	$(lisp)/progmodes/ebnf-otz.elc \
	$(lisp)/progmodes/ebnf-yac.elc \
	$(lisp)/progmodes/ebnf2ps.elc \
	$(lisp)/progmodes/ebrowse.elc \
	$(lisp)/progmodes/etags.elc \
	$(lisp)/progmodes/executable.elc \
	$(lisp)/progmodes/f90.elc \
	$(lisp)/progmodes/flymake.elc \
	$(lisp)/progmodes/fortran.elc \
1042
	$(lisp)/progmodes/gdb-mi.elc \
1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068
	$(lisp)/progmodes/glasses.elc \
	$(lisp)/progmodes/grep.elc \
	$(lisp)/progmodes/gud.elc \
	$(lisp)/progmodes/hideif.elc \
	$(lisp)/progmodes/hideshow.elc \
	$(lisp)/progmodes/icon.elc \
	$(lisp)/progmodes/idlw-complete-structtag.elc \
	$(lisp)/progmodes/idlw-help.elc \
	$(lisp)/progmodes/idlw-shell.elc \
	$(lisp)/progmodes/idlw-toolbar.elc \
	$(lisp)/progmodes/idlwave.elc \
	$(lisp)/progmodes/inf-lisp.elc \
	$(lisp)/progmodes/ld-script.elc \
	$(lisp)/progmodes/m4-mode.elc \
	$(lisp)/progmodes/make-mode.elc \
	$(lisp)/progmodes/mantemp.elc \
	$(lisp)/progmodes/meta-mode.elc \
	$(lisp)/progmodes/mixal-mode.elc \
	$(lisp)/progmodes/modula2.elc \
	$(lisp)/progmodes/octave-inf.elc \
	$(lisp)/progmodes/octave-mod.elc \
	$(lisp)/progmodes/pascal.elc \
	$(lisp)/progmodes/perl-mode.elc \
	$(lisp)/progmodes/prolog.elc \
	$(lisp)/progmodes/ps-mode.elc \
	$(lisp)/progmodes/python.elc \
Chong Yidong's avatar
Chong Yidong committed
1069
	$(lisp)/progmodes/ruby-mode.elc \
1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116
	$(lisp)/progmodes/scheme.elc \
	$(lisp)/progmodes/sh-script.elc \
	$(lisp)/progmodes/simula.elc \
	$(lisp)/progmodes/sql.elc \
	$(lisp)/progmodes/sym-comp.elc \
	$(lisp)/progmodes/tcl.elc \
	$(lisp)/progmodes/vera-mode.elc \
	$(lisp)/progmodes/verilog-mode.elc \
	$(lisp)/progmodes/vhdl-mode.elc \
	$(lisp)/progmodes/which-func.elc \
	$(lisp)/progmodes/xscheme.elc \
	$(lisp)/ps-bdf.elc \
	$(lisp)/ps-def.elc \
	$(lisp)/ps-mule.elc \
	$(lisp)/ps-print.elc \
	$(lisp)/ps-samp.elc \
	$(lisp)/recentf.elc \
	$(lisp)/rect.elc \
	$(lisp)/register.elc \
	$(lisp)/repeat.elc \
	$(lisp)/replace.elc \
	$(lisp)/reposition.elc \
	$(lisp)/reveal.elc \
	$(lisp)/rfn-eshadow.elc \
	$(lisp)/rot13.elc \
	$(lisp)/ruler-mode.elc \
	$(lisp)/s-region.elc \
	$(lisp)/savehist.elc \
	$(lisp)/saveplace.elc \
	$(lisp)/sb-image.elc \
	$(lisp)/scroll-all.elc \
	$(lisp)/scroll-bar.elc \
	$(lisp)/scroll-lock.elc \
	$(lisp)/select.elc \
	$(lisp)/server.elc \
	$(lisp)/ses.elc \
	$(lisp)/sha1.elc \
	$(lisp)/shadowfile.elc \
	$(lisp)/shell.elc \
	$(lisp)/simple.elc \
	$(lisp)/skeleton.elc \
	$(lisp)/smerge-mode.elc \
	$(lisp)/sort.elc \
	$(lisp)/soundex.elc \
	$(lisp)/speedbar.elc \
	$(lisp)/startup.elc \
	$(lisp)/strokes.elc \
1117
	$(lisp)/subr.elc \
1118 1119 1120 1121 1122 1123
	$(lisp)/t-mouse.elc \
	$(lisp)/tabify.elc \
	$(lisp)/talk.elc \
	$(lisp)/tar-mode.elc \
	$(lisp)/tempo.elc \
	$(lisp)/term.elc \
1124
	$(lisp)/term/common-win.elc \
Glenn Morris's avatar
Glenn Morris committed
1125
	$(lisp)/term/internal.elc \
1126
	$(lisp)/term/ns-win.elc \
1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171
	$(lisp)/term/pc-win.elc \
	$(lisp)/term/rxvt.elc \
	$(lisp)/term/sun.elc \
	$(lisp)/term/sup-mouse.elc \
	$(lisp)/term/tty-colors.elc \
	$(lisp)/term/tvi970.elc \
	$(lisp)/term/vt100.elc \
	$(lisp)/term/w32-win.elc \
	$(lisp)/term/w32console.elc \
	$(lisp)/term/x-win.elc \
	$(lisp)/term/xterm.elc \
	$(lisp)/terminal.elc \
	$(lisp)/textmodes/artist.elc \
	$(lisp)/textmodes/bib-mode.elc \
	$(lisp)/textmodes/bibtex-style.elc \
	$(lisp)/textmodes/bibtex.elc \
	$(lisp)/textmodes/conf-mode.elc \
	$(lisp)/textmodes/css-mode.elc \
	$(lisp)/textmodes/dns-mode.elc \
	$(lisp)/textmodes/enriched.elc \
	$(lisp)/textmodes/fill.elc \
	$(lisp)/textmodes/flyspell.elc \
	$(lisp)/textmodes/ispell.elc \
	$(lisp)/textmodes/makeinfo.elc \
	$(lisp)/textmodes/nroff-mode.elc \
	$(lisp)/textmodes/page-ext.elc \
	$(lisp)/textmodes/page.elc \
	$(lisp)/textmodes/paragraphs.elc \
	$(lisp)/textmodes/picture.elc \
	$(lisp)/textmodes/po.elc \
	$(lisp)/textmodes/refbib.elc \
	$(lisp)/textmodes/refer.elc \
	$(lisp)/textmodes/refill.elc \
	$(lisp)/textmodes/reftex-auc.elc \
	$(lisp)/textmodes/reftex-cite.elc \
	$(lisp)/textmodes/reftex-dcr.elc \
	$(lisp)/textmodes/reftex-global.elc \
	$(lisp)/textmodes/reftex-index.elc \
	$(lisp)/textmodes/reftex-parse.elc \
	$(lisp)/textmodes/reftex-ref.elc \
	$(lisp)/textmodes/reftex-sel.elc \
	$(lisp)/textmodes/reftex-toc.elc \
	$(lisp)/textmodes/reftex-vars.elc \
	$(lisp)/textmodes/reftex.elc \
	$(lisp)/textmodes/remember.elc \
1172
	$(lisp)/textmodes/rst.elc \
1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225
	$(lisp)/textmodes/sgml-mode.elc \
	$(lisp)/textmodes/spell.elc \
	$(lisp)/textmodes/table.elc \
	$(lisp)/textmodes/tex-mode.elc \
	$(lisp)/textmodes/texinfmt.elc \
	$(lisp)/textmodes/texinfo.elc \
	$(lisp)/textmodes/texnfo-upd.elc \
	$(lisp)/textmodes/text-mode.elc \
	$(lisp)/textmodes/tildify.elc \
	$(lisp)/textmodes/two-column.elc \
	$(lisp)/textmodes/underline.elc \
	$(lisp)/thingatpt.elc \
	$(lisp)/thumbs.elc \
	$(lisp)/time-stamp.elc \
	$(lisp)/time.elc \
	$(lisp)/timezone.elc \
	$(lisp)/tmm.elc \
	$(lisp)/tool-bar.elc \
	$(lisp)/tooltip.elc \
	$(lisp)/tree-widget.elc \
	$(lisp)/tutorial.elc \
	$(lisp)/type-break.elc \
	$(lisp)/uniquify.elc \
	$(lisp)/url/url-about.elc \
	$(lisp)/url/url-auth.elc \
	$(lisp)/url/url-cache.elc \
	$(lisp)/url/url-cid.elc \
	$(lisp)/url/url-cookie.elc \
	$(lisp)/url/url-dav.elc \
	$(lisp)/url/url-dired.elc \
	$(lisp)/url/url-expand.elc \
	$(lisp)/url/url-file.elc \
	$(lisp)/url/url-ftp.elc \
	$(lisp)/url/url-gw.elc \
	$(lisp)/url/url-handlers.elc \
	$(lisp)/url/url-history.elc \
	$(lisp)/url/url-http.elc \
	$(lisp)/url/url-imap.elc \
	$(lisp)/url/url-irc.elc \
	$(lisp)/url/url-ldap.elc \
	$(lisp)/url/url-mailto.elc \
	$(lisp)/url/url-methods.elc \
	$(lisp)/url/url-misc.elc \
	$(lisp)/url/url-news.elc \
	$(lisp)/url/url-nfs.elc \
	$(lisp)/url/url-ns.elc \
	$(lisp)/url/url-parse.elc \
	$(lisp)/url/url-privacy.elc \
	$(lisp)/url/url-proxy.elc \
	$(lisp)/url/url-util.elc \
	$(lisp)/url/url-vars.elc \
	$(lisp)/url/url.elc \
	$(lisp)/userlock.elc \
1226
	$(lisp)/vc-annotate.elc \
1227 1228 1229
	$(lisp)/vc-arch.elc \
	$(lisp)/vc-bzr.elc \
	$(lisp)/vc-cvs.elc \
1230
	$(lisp)/vc-dav.elc \
Dan Nicolaescu's avatar
Dan Nicolaescu committed
1231
	$(lisp)/vc-dir.elc \
1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258
	$(lisp)/vc-dispatcher.elc \
	$(lisp)/vc-git.elc \
	$(lisp)/vc-hg.elc \
	$(lisp)/vc-hooks.elc \
	$(lisp)/vc-mtn.elc \
	$(lisp)/vc-rcs.elc \
	$(lisp)/vc-sccs.elc \
	$(lisp)/vc-svn.elc \
	$(lisp)/vc.elc \
	$(lisp)/vcursor.elc \
	$(lisp)/view.elc \
	$(lisp)/vt-control.elc \
	$(lisp)/vt100-led.elc \
	$(lisp)/w32-fns.elc \
	$(lisp)/w32-vars.elc \
	$(lisp)/wdired.elc \
	$(lisp)/whitespace.elc \
	$(lisp)/wid-browse.elc \
	$(lisp)/wid-edit.elc \
	$(lisp)/widget.elc \
	$(lisp)/windmove.elc \
	$(lisp)/window.elc \
	$(lisp)/winner.elc \
	$(lisp)/woman.elc \
	$(lisp)/x-dnd.elc \
	$(lisp)/xml.elc \
	$(lisp)/xt-mouse.elc
1259

1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272
# The src/Makefile.in has its own set of dependencies and when they decide
# that one Lisp file needs to be re-compiled, we had better recompile it as
# well, otherwise every subsequent make will again call us, until we finally
# end up deciding that yes, the file deserves recompilation.
# One option is to try and reproduce exactly the same dependencies here as
# we have in src/Makefile.in, but it turns out to be painful
# (e.g. src/Makefile.in may have a dependency for ../lisp/foo.elc where we
# only know of $(lisp)/foo.elc).  So instead we provide a direct way for
# src/Makefile.in to rebuild a particular Lisp file, no questions asked.
compile-onefile:
	@echo Compiling $(THEFILE)
	@$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(THEFILE)

1273 1274
# Files MUST be compiled one by one. If we compile several files in a
# row (i.e., in the same instance of Emacs) we can't make sure that
Lute Kamstra's avatar
Lute Kamstra committed
1275 1276 1277 1278
# the compilation environment is clean.  We also set the load-path of
# the Emacs used for compilation to the current directory and its
# subdirectories, to make sure require's and load's in the files being
# compiled find the right files.
Stefan Monnier's avatar
Stefan Monnier committed
1279

1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291
.SUFFIXES: .elc .el

# An old-fashioned suffix rule, which, according to the GNU Make manual,
# cannot have prerequisites.
# Note that if a .el file is removed from the repository without
# updating ELCFILES, make will abort.
.el.elc:
	@echo Compiling $<
	@$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $<

.PHONY: compile-first compile-main compile-last compile compile-always

1292
compile-first: $(COMPILE_FIRST)
Richard M. Stallman's avatar
Richard M. Stallman committed
1293

1294 1295 1296 1297 1298 1299
compile-main: $(ELCFILES)

# Compile all Lisp files, but don't recompile those that are up to
# date.  Some .el files don't get compiled because they set the
# local variable no-byte-compile.
# Calling make recursively because suffix rule cannot have prerequisites.
1300 1301
# Explicitly pass EMACS (sometimes ../src/bootstrap-emacs) to those
# sub-makes that run rules that use it, for the sake of some non-GNU makes.
1302
compile: $(LOADDEFS) autoloads compile-first
1303 1304
	$(MAKE) $(MFLAGS) compile-main EMACS=$(EMACS)
	$(MAKE) $(MFLAGS) compile-last EMACS=$(EMACS)
1305

1306 1307 1308
## Doing this causes make install to dump another emacs.
#	$(MAKE) $(MFLAGS) update-elclist

Lute Kamstra's avatar
Lute Kamstra committed
1309 1310 1311
# Compile all Lisp files.  This is like `compile' but compiles files
# unconditionally.  Some files don't actually get compiled because they
# set the local variable no-byte-compile.
1312
compile-always: doit
Glenn Morris's avatar
Glenn Morris committed
1313
	cd $(lisp); rm -f *.elc */*.elc
1314
	$(MAKE) $(MFLAGS) compile EMACS=$(EMACS)
Lute Kamstra's avatar
Lute Kamstra committed
1315

1316
## In case any files are missing from ELCFILES.
Glenn Morris's avatar
Glenn Morris committed
1317
## Why is the UnicodeData check needed, when these files are no-byte-compile?
1318 1319
compile-last:
	@wd=$(lisp); $(setwins); \
1320
	els=`echo "$$wins " | sed -e 's|/\./|/|g' -e 's|/\. | |g' -e 's| |/*.el |g'`; \
1321
	for el in $$els; do \
1322 1323 1324
	  test -f $$el || continue; \
	  test -f $${el}c && continue; \
	  grep 'no-byte-compile: t' $$el > /dev/null && continue; \
1325
	  head -n 1 $$el | grep '^;; Automatically generated from UnicodeData.txt.' > /dev/null && continue; \
1326 1327 1328 1329
	  sel=`echo $$el | sed "s|^$(lisp)|\\$$(lisp)|"`; \
	  echo "Maintainer warning: $$sel missing from \$$ELCFILES?"; \
	  echo "Compiling $$el"; \
	  $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
1330
	done
1331

1332
compile-calc:
1333
	for el in $(lisp)/calc/*.el; do \
1334
	  echo Compiling $$el; \
1335
	  $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
1336 1337
	done

1338 1339 1340 1341
# Backup compiled Lisp files in elc.tar.gz.  If that file already
# exists, make a backup of it.

backup-compiled-files:
Gerd Moellmann's avatar
Gerd Moellmann committed
1342 1343
	-mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
	-tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc
1344 1345 1346

# Compile Lisp files, but save old compiled files first.

Richard M. Stallman's avatar
Richard M. Stallman committed
1347
compile-after-backup: backup-compiled-files compile-always
1348

1349 1350
# Recompile all Lisp files which are newer than their .elc files and compile
# new ones.
Glenn Morris's avatar
Glenn Morris committed
1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361
# This has the same effect as compile-main (followed up with compile-last,
# if ELCFILES is out of date).  recompile has some advantages:
# i) It is faster (on a single processor), since it only has to start
# Emacs once.  It was 33% faster on a test with a random 10% of the .el
# files needing recompilation.
# ii) The explicit cc-mode dependency.
# recompile's disadvantages are:
# i) Not parallelizable.
# ii) Compiling multiple files in the same instance of Emacs is wrong,
# since the environment of later files is affected by definitions in
# earlier ones.
1362
recompile: doit $(LOADDEFS) compile-first $(lisp)/progmodes/cc-mode.elc
1363
	$(emacs) --eval "(batch-byte-recompile-directory 0)" $(lisp)
1364

1365
# Update MH-E internal autoloads. These are not to be confused with
Glenn Morris's avatar
Glenn Morris committed
1366
# the autoloads for the MH-E entry points, which are already in loaddefs.el.
Glenn Morris's avatar
Glenn Morris committed
1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383
MH_E_DIR = $(lisp)/mh-e
## MH_E_SRC avoids a circular dependency warning for mh-loaddefs.el.
MH_E_SRC = $(MH_E_DIR)/mh-acros.el $(MH_E_DIR)/mh-alias.el    \
	$(MH_E_DIR)/mh-buffers.el  $(MH_E_DIR)/mh-compat.el   \
	$(MH_E_DIR)/mh-comp.el     $(MH_E_DIR)/mh-e.el        \
	$(MH_E_DIR)/mh-folder.el   $(MH_E_DIR)/mh-funcs.el    \
	$(MH_E_DIR)/mh-gnus.el     $(MH_E_DIR)/mh-identity.el \
	$(MH_E_DIR)/mh-inc.el      $(MH_E_DIR)/mh-junk.el     \
	$(MH_E_DIR)/mh-letter.el   $(MH_E_DIR)/mh-limit.el    \
	$(MH_E_DIR)/mh-mime.el     $(MH_E_DIR)/mh-print.el    \
	$(MH_E_DIR)/mh-scan.el     $(MH_E_DIR)/mh-search.el   \
	$(MH_E_DIR)/mh-seq.el      $(MH_E_DIR)/mh-show.el     \
	$(MH_E_DIR)/mh-speed.el    $(MH_E_DIR)/mh-thread.el   \
	$(MH_E_DIR)/mh-tool-bar.el $(MH_E_DIR)/mh-utils.el    \
	$(MH_E_DIR)/mh-xface.el

mh-autoloads: $(MH_E_DIR)/mh-loaddefs.el
1384
$(MH_E_DIR)/mh-loaddefs.el: $(MH_E_SRC)
Glenn Morris's avatar
Glenn Morris committed
1385
	$(emacs) -l autoload \
1386
	   --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \
Glenn Morris's avatar
Glenn Morris committed
1387
	   --eval "(setq generated-autoload-file \"$@\")" \
1388
	   --eval "(setq make-backup-files nil)" \
Glenn Morris's avatar
Glenn Morris committed
1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405
	   -f batch-update-autoloads $(MH_E_DIR)

CAL_DIR = $(lisp)/calendar
## Those files that may contain internal calendar autoload cookies.
## Avoids circular dependency warning for *-loaddefs.el.
CAL_SRC = $(CAL_DIR)/cal-bahai.el $(CAL_DIR)/cal-china.el  \
	$(CAL_DIR)/cal-coptic.el  $(CAL_DIR)/cal-dst.el    \
	$(CAL_DIR)/cal-french.el  $(CAL_DIR)/cal-hebrew.el \
	$(CAL_DIR)/cal-html.el    $(CAL_DIR)/cal-islam.el  \
	$(CAL_DIR)/cal-iso.el     $(CAL_DIR)/cal-julian.el \
	$(CAL_DIR)/cal-mayan.el   $(CAL_DIR)/cal-menu.el   \
	$(CAL_DIR)/cal-move.el    $(CAL_DIR)/cal-persia.el \
	$(CAL_DIR)/cal-tex.el     $(CAL_DIR)/cal-x.el      \
	$(CAL_DIR)/calendar.el    $(CAL_DIR)/diary-lib.el  \
	$(CAL_DIR)/holidays.el    $(CAL_DIR)/lunar.el      \
	$(CAL_DIR)/solar.el

1406
$(CAL_DIR)/cal-loaddefs.el: $(CAL_SRC)
Glenn Morris's avatar
Glenn Morris committed
1407 1408 1409 1410
	$(emacs) -l autoload \
	   --eval "(setq generate-autoload-cookie \";;;###cal-autoload\")" \
	   --eval "(setq generated-autoload-file \"$@\")" \
	   --eval "(setq make-backup-files nil)" \
Glenn Morris's avatar
Glenn Morris committed
1411
	   -f batch-update-autoloads $(CAL_DIR)
Glenn Morris's avatar
Glenn Morris committed
1412

1413
$(CAL_DIR)/diary-loaddefs.el: $(CAL_SRC)
Glenn Morris's avatar
Glenn Morris committed
1414 1415 1416 1417
	$(emacs) -l autoload \
	   --eval "(setq generate-autoload-cookie \";;;###diary-autoload\")" \
	   --eval "(setq generated-autoload-file \"$@\")" \
	   --eval "(setq make-backup-files nil)" \
Glenn Morris's avatar
Glenn Morris committed
1418
	   -f batch-update-autoloads $(CAL_DIR)
Glenn Morris's avatar
Glenn Morris committed
1419

1420
$(CAL_DIR)/hol-loaddefs.el: $(CAL_SRC)
Glenn Morris's avatar
Glenn Morris committed
1421 1422 1423 1424
	$(emacs) -l autoload \
	   --eval "(setq generate-autoload-cookie \";;;###holiday-autoload\")" \
	   --eval "(setq generated-autoload-file \"$@\")" \
	   --eval "(setq make-backup-files nil)" \
Glenn Morris's avatar
Glenn Morris committed
1425
	   -f batch-update-autoloads $(CAL_DIR)
Glenn Morris's avatar
Glenn Morris committed
1426

Kenichi Handa's avatar
Kenichi Handa committed
1427 1428
# Prepare a bootstrap in the lisp subdirectory.
#
1429 1430 1431
# Build loaddefs.el to make sure it's up-to-date.  If it's not, that
# might lead to errors during the bootstrap because something fails to
# autoload as expected.  If there is no emacs binary, then we can't
1432 1433 1434 1435 1436 1437 1438
# build autoloads yet.  In that case we have to use ldefs-boot.el.
# Bootstrap should always work with ldefs-boot.el.  Therefore,
# whenever a new autoload cookie gets added that is necessary during
# bootstrapping, ldefs-boot.el should be updated by overwriting it with
# an up-to-date copy of loaddefs.el that is uncorrupted by
# local changes.  (Because loaddefs.el is an automatically generated
# file, we don't want to store it in the source repository).
Kenichi Handa's avatar
Kenichi Handa committed
1439