diff options
| author | Gerd Moellmann | 1999-10-23 13:23:33 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-10-23 13:23:33 +0000 |
| commit | 2d2e4a9f054d6ebaf316c4f7fc07dcae9ebc8208 (patch) | |
| tree | 79497aabd7720e456778b7420e7ac7df304dfd56 /src | |
| parent | 3b6914291b97b1cb415fac313bab1a0b93433fd4 (diff) | |
| download | emacs-2d2e4a9f054d6ebaf316c4f7fc07dcae9ebc8208.tar.gz emacs-2d2e4a9f054d6ebaf316c4f7fc07dcae9ebc8208.zip | |
(bootstrap, bootstrap-emacs, bootstrap-temacs): New targets.
Diffstat (limited to 'src')
| -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 | |||
| 1218 | lispsource=${lispsource} | 1218 | lispsource=${lispsource} |
| 1219 | tags: TAGS TAGS-LISP | 1219 | tags: TAGS TAGS-LISP |
| 1220 | .PHONY: tags | 1220 | .PHONY: tags |
| 1221 | |||
| 1222 | |||
| 1223 | /* Bootstrapping. */ | ||
| 1224 | |||
| 1225 | bootstrap: 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 | |||
| 1230 | bootstrap-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 | |||
| 1236 | bootstrap-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 | |||