From d849789b50fda5d431b156ab1ed672e6d60dc116 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Fri, 24 Mar 2000 22:51:40 +0000 Subject: [PATCH] (COMPILE_FIRST): New macro. (compile-files): Compile files from COMPILE_FIRST first. --- lisp/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lisp/Makefile b/lisp/Makefile index 98509cfc650..b51efe9155c 100644 --- a/lisp/Makefile +++ b/lisp/Makefile @@ -32,6 +32,11 @@ DONTCOMPILE = bindings.el mail/blessmail.el play/bruce.el cus-load.el \ generic-x.el international/latin-8.el international/latin-9.el \ emacs-lisp/cl-specs.el finder-inf.el term/internal.el +# Files to compile before others during a bootstrap. This is done +# to speed up the bootstrap process. + +COMPILE_FIRST = emacs-lisp/bytecomp.el emacs-lisp/byte-opt.el subr.el + # The actual Emacs command run in the targets below. emacs = $(EMACS) $(EMACSOPT) @@ -113,8 +118,9 @@ compile-files: subdirs.el doit wd=.; $(setwins); \ elpat=`echo $$wins | tr ' ' '\012\012' | \ sed -e 's|\(.\)$$|\1/|' -e 's|^\./||' -e 's|$$|*.el|'`; \ - els=`echo $$elpat $(DONTCOMPILE) | tr ' ' '\012\012' | sort | uniq -u`; \ - for el in $$els; do \ + els=`echo $$elpat $(DONTCOMPILE) $(COMPILE_FIRST) | \ + tr ' ' '\012\012' | sort | uniq -u`; \ + for el in $(COMPILE_FIRST) $$els; do \ echo Compiling $$el; \ EMACSLOADPATH=`pwd` $(emacs) -f batch-byte-compile $$el ;\ done -- 2.39.5