-.PHONY: bootstrap-build
-.PHONY: bootfast
-.PHONY: maybe_bootstrap
-
-maybe_bootstrap:
- @bar="`echo $(srcdir)/lisp/*.elc`"; \
- if [ \( "$$bar" = '$(srcdir)/lisp/*.elc' \) -o \( "$$bar" = '' \) ]; then \
- echo "Your tree does not include the compiled Lisp files."; \
- echo "You need to do \`make bootstrap' to build Emacs."; \
- exit 1;\
- fi
-
-bootstrap: bootstrap-clean-before FRC
- $(MAKE) $(MFLAGS) info bootstrap-build
-
-bootfast: bootstrap-clean-before-fast FRC
- $(MAKE) $(MFLAGS) info bootstrap-build
-
-bootstrap-build: FRC
- (cd lisp; $(MAKE) $(MFLAGS) bootstrap-prepare)
- (cd src; $(MAKE) $(MFLAGS) bootstrap)
- (cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/bootstrap-emacs${EXEEXT})
- (cd src; $(MAKE) $(MFLAGS) mostlyclean)
- $(MAKE) $(MFLAGS) all
- (cd lisp; $(MAKE) $(MFLAGS) bootstrap-after)
-
-### Used for `bootstrap' to avoid deleting existing dumped Emacs executables.
-bootstrap-clean-before: bootstrap-clean-before-fast FRC
- (cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean)
- (cd leim; $(MAKE) $(MFLAGS) bootstrap-clean)