diff options
author | Gerd Moellmann <gerd@gnu.org> | 1999-10-23 13:23:33 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 1999-10-23 13:23:33 +0000 |
commit | 4e9f2e19b307538588b0cd1f1d850c72efa1d6e5 (patch) | |
tree | caba87a3c8ca7394fbc355b8a18dff2a1ac5154f /src/Makefile.in | |
parent | 15535b99df2d9bb44ea8a16b146ea4a955c36536 (diff) | |
download | emacs-4e9f2e19b307538588b0cd1f1d850c72efa1d6e5.tar.gz |
(bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Diffstat (limited to 'src/Makefile.in')
-rw-r--r-- | src/Makefile.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 509a1bf0585..0378885529e 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -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 + |