aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Monnier2008-06-21 19:20:40 +0000
committerStefan Monnier2008-06-21 19:20:40 +0000
commit768efd8421ab5e24cb3b2b1993c90f9954e34e6a (patch)
tree66d9a8930f5c7ed3e8320191c56eb3cb7820b964 /src
parent883bef2dd1d74c423b5a836fff3d2fa2e12d5b45 (diff)
downloademacs-768efd8421ab5e24cb3b2b1993c90f9954e34e6a.tar.gz
emacs-768efd8421ab5e24cb3b2b1993c90f9954e34e6a.zip
* src/Makefile.in (PRECOMP): Remove.
(${lisp} ${SOME_MACHINE_LISP}): Remove pseudo dependency on PRECOMP. (witness-emacs): Run `compile-first'. (.el.elc): Use the new compile-onefile target. * lisp/Makefile.in (update-elclist): Don't exclude COMPILE_FIRST. (all): Run compile-last. (compile-onefile): New target. (compile-first): Simplify. (compile-last): Don't treat COMPILE_FIRST specially. (COMPILE_FIRST): List the elc files rather than the el files. (ELCFILES): Update.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog7
-rw-r--r--src/Makefile.in11
2 files changed, 12 insertions, 6 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 7ee88c21cfc..5dfeaffeae6 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,10 @@
12008-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * Makefile.in (PRECOMP): Remove.
4 (${lisp} ${SOME_MACHINE_LISP}): Remove pseudo dependency on PRECOMP.
5 (witness-emacs): Run `compile-first'.
6 (.el.elc): Use the new compile-onefile target.
7
12008-06-21 Kenichi Handa <handa@m17n.org> 82008-06-21 Kenichi Handa <handa@m17n.org>
2 9
3 * xftfont.c (xftfont_open): Handle QCembolden only when 10 * xftfont.c (xftfont_open): Handle QCembolden only when
diff --git a/src/Makefile.in b/src/Makefile.in
index a639b609575..fbc8edb732a 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -1335,18 +1335,15 @@ tags: TAGS TAGS-LISP $(lwlibdir)TAGS
1335/* These suffix rules do not allow additional dependencies, sadly, so 1335/* These suffix rules do not allow additional dependencies, sadly, so
1336 adding a bootstrap-emacs%{EXEEXT} dependency does not work --Stef */ 1336 adding a bootstrap-emacs%{EXEEXT} dependency does not work --Stef */
1337.el.elc: 1337.el.elc:
1338 cd ../lisp; $(MAKE) $(MFLAGS) $@ EMACS=../src/bootstrap-emacs${EXEEXT} 1338 @cd ../lisp; $(MAKE) $(MFLAGS) compile-onefile \
1339 1339 THEFILE=$< EMACS=../src/bootstrap-emacs${EXEEXT}
1340/* Files that need to be compiled early to speed up further compilation. */
1341PRECOMP=../lisp/emacs-lisp/bytecomp.elc ../lisp/emacs-lisp/byte-opt.elc
1342${PRECOMP}: witness-emacs
1343 1340
1344/* Since the .el.elc rule cannot specify an extra dependency, we do it here. 1341/* Since the .el.elc rule cannot specify an extra dependency, we do it here.
1345 The byte-compiler dependency is not necessary, but it substantially 1342 The byte-compiler dependency is not necessary, but it substantially
1346 speeds up byte-compilation of the other files. 1343 speeds up byte-compilation of the other files.
1347 Of course, it also has the downside of forcing a recompilation of all 1344 Of course, it also has the downside of forcing a recompilation of all
1348 those files whenever a file in $PRECOMP changes. */ 1345 those files whenever a file in $PRECOMP changes. */
1349${lisp} ${SOME_MACHINE_LISP}: witness-emacs ${PRECOMP} 1346${lisp} ${SOME_MACHINE_LISP}: witness-emacs
1350 1347
1351../lisp/loaddefs.el: witness-emacs 1348../lisp/loaddefs.el: witness-emacs
1352 cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS=../src/bootstrap-emacs${EXEEXT} 1349 cd ../lisp; $(MAKE) $(MFLAGS) autoloads EMACS=../src/bootstrap-emacs${EXEEXT}
@@ -1366,3 +1363,5 @@ witness-emacs:
1366 cd ../lisp; $(MAKE) $(MFLAGS) update-subdirs 1363 cd ../lisp; $(MAKE) $(MFLAGS) update-subdirs
1367 $(MAKE) $(MFLAGS) bootstrap-emacs${EXEEXT} 1364 $(MAKE) $(MFLAGS) bootstrap-emacs${EXEEXT}
1368 touch witness-emacs 1365 touch witness-emacs
1366 @: Compile some files earlier to speed up further compilation.
1367 cd $(lispsource); $(MAKE) $(MFLAGS) compile-first