aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-10-23 13:23:33 +0000
committerGerd Moellmann1999-10-23 13:23:33 +0000
commit2d2e4a9f054d6ebaf316c4f7fc07dcae9ebc8208 (patch)
tree79497aabd7720e456778b7420e7ac7df304dfd56 /src
parent3b6914291b97b1cb415fac313bab1a0b93433fd4 (diff)
downloademacs-2d2e4a9f054d6ebaf316c4f7fc07dcae9ebc8208.tar.gz
emacs-2d2e4a9f054d6ebaf316c4f7fc07dcae9ebc8208.zip
(bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in28
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
1218 lispsource=${lispsource} 1218 lispsource=${lispsource}
1219tags: TAGS TAGS-LISP 1219tags: TAGS TAGS-LISP
1220.PHONY: tags 1220.PHONY: tags
1221
1222
1223/* Bootstrapping. */
1224
1225bootstrap: bootstrap-emacs
1226
1227/* Build a temacs with a sufficiently large PURESIZE to load the
1228 Lisp files from loadup.el in source form. */
1229
1230bootstrap-temacs:
1231 $(MAKE) $(MFLAGS) temacs ALL_CFLAGS="$(ALL_CFLAGS) -DPURESIZE=5000000"
1232
1233/* Dump an Emacs executable named bootstrap-emacs containing the
1234 files from loadup.el in source form. */
1235
1236bootstrap-emacs: bootstrap-temacs
1237#ifdef CANNOT_DUMP
1238 ln temacs bootstrap-emacs
1239#else
1240#ifdef HAVE_SHM
1241 ./temacs -nl -batch -l loadup bootstrap
1242#else /* ! defined (HAVE_SHM) */
1243 ./temacs --batch --load loadup bootstrap
1244#endif /* ! defined (HAVE_SHM) */
1245#endif /* ! defined (CANNOT_DUMP) */
1246 mv emacs bootstrap-emacs
1247 rm -f temacs
1248