Test for network process support with featurep.
[bpt/emacs.git] / msdos / mainmake.v2
index 14ce2e2..65390ac 100644 (file)
@@ -1,6 +1,7 @@
 # Top-level Makefile for Emacs under MS-DOS/DJGPP v2.0 or higher. -*-makefile-*-
 
-# Copyright (C) 1996,1997,1998,1999,2000,2001 Free Software Foundation, Inc.
+# Copyright (C) 1996,1997,1998,1999,2000,2001,2002
+#  Free Software Foundation, Inc.
 
 # This file is part of GNU Emacs.
 
@@ -152,26 +153,26 @@ clean:
 .PHONY: maybe_bootstrap
 
 maybe_bootstrap:
-       @if not exist lisp\abbrevs.elc djecho \
+       @if not exist lisp\abbrev.elc djecho \
         "Some *.elc files are missing.  You should do a `make bootstrap'."
-       @if not exist lisp\abbrevs.elc fail-this-make
+       @if not exist lisp\abbrev.elc redir -e /dev/null -oe redir fail-this-make.exe
 
 bootstrap: bootstrap-clean-before bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean-after all info
 
 bootstrap-lisp-1:
-       cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean
+       cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean; cd ..
 
 bootstrap-lisp:
-       cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/b-emacs.exe
+       cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=${top_srcdir}/src/b-emacs.exe lisp=${top_srcdir}/lisp; cd ..
 
 bootstrap-src:
-       cd src; $(MAKE) $(MFLAGS) bootstrap
+       cd src; $(MAKE) $(MFLAGS) bootstrap; cd ..
 
 ### Used for `bootstrap' to avoid deleting existing dumped Emacs executables.
 bootstrap-clean-before: FRC
-       cd src;      $(MAKE) $(MFLAGS) mostlyclean
-       cd lib-src;  $(MAKE) $(MFLAGS) clean
-       cd leim;     $(MAKE) $(MFLAGS) clean
+       cd src;      $(MAKE) $(MFLAGS) mostlyclean; cd ..
+       cd lib-src;  $(MAKE) $(MFLAGS) clean;       cd ..
+       cd leim;     $(MAKE) $(MFLAGS) clean;       cd ..
 
 bootstrap-clean-after:
-       cd src; $(MAKE) $(MFLAGS) mostlyclean
+       cd src; $(MAKE) $(MFLAGS) mostlyclean; cd ..