mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-08 12:40:49 -08:00
(bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
This commit is contained in:
parent
3b6914291b
commit
2d2e4a9f05
1 changed files with 28 additions and 0 deletions
|
|
@ -1218,3 +1218,31 @@ TAGS-LISP: frc
|
|||
lispsource=${lispsource}
|
||||
tags: TAGS TAGS-LISP
|
||||
.PHONY: tags
|
||||
|
||||
|
||||
/* Bootstrapping. */
|
||||
|
||||
bootstrap: bootstrap-emacs
|
||||
|
||||
/* Build a temacs with a sufficiently large PURESIZE to load the
|
||||
Lisp files from loadup.el in source form. */
|
||||
|
||||
bootstrap-temacs:
|
||||
$(MAKE) $(MFLAGS) temacs ALL_CFLAGS="$(ALL_CFLAGS) -DPURESIZE=5000000"
|
||||
|
||||
/* Dump an Emacs executable named bootstrap-emacs containing the
|
||||
files from loadup.el in source form. */
|
||||
|
||||
bootstrap-emacs: bootstrap-temacs
|
||||
#ifdef CANNOT_DUMP
|
||||
ln temacs bootstrap-emacs
|
||||
#else
|
||||
#ifdef HAVE_SHM
|
||||
./temacs -nl -batch -l loadup bootstrap
|
||||
#else /* ! defined (HAVE_SHM) */
|
||||
./temacs --batch --load loadup bootstrap
|
||||
#endif /* ! defined (HAVE_SHM) */
|
||||
#endif /* ! defined (CANNOT_DUMP) */
|
||||
mv emacs bootstrap-emacs
|
||||
rm -f temacs
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue