aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Rumney2002-06-13 18:40:14 +0000
committerJason Rumney2002-06-13 18:40:14 +0000
commitc3c5777766ed57e7ef140cf5af8f15a61c4e3e64 (patch)
tree22215533aa04e1301867a5546663404da5d1a1bd
parent676a30259f5272007ecf622dc241b018aab8b84f (diff)
downloademacs-c3c5777766ed57e7ef140cf5af8f15a61c4e3e64.tar.gz
emacs-c3c5777766ed57e7ef140cf5af8f15a61c4e3e64.zip
(maybe-bootstrap, doit, maybe-bootstrap-CMD)
(maybe-bootstrap-SH): New targets. (all): Depend on maybe-bootstrap.
-rw-r--r--nt/makefile.w32-in23
1 files changed, 22 insertions, 1 deletions
diff --git a/nt/makefile.w32-in b/nt/makefile.w32-in
index a74cfcc7efd..10f6d6bebd2 100644
--- a/nt/makefile.w32-in
+++ b/nt/makefile.w32-in
@@ -69,7 +69,7 @@ which-sh:
69# 69#
70# Build emacs 70# Build emacs
71# 71#
72all: which-sh $(BLD) $(ALL) all-other-dirs-$(MAKETYPE) 72all: which-sh $(BLD) $(ALL) maybe-bootstrap all-other-dirs-$(MAKETYPE)
73 73
74all-other-dirs-nmake: 74all-other-dirs-nmake:
75 cd ..\lib-src 75 cd ..\lib-src
@@ -105,6 +105,27 @@ recompile-gmake:
105### special emacs executable is built from Lisp sources, which is then 105### special emacs executable is built from Lisp sources, which is then
106### used to compile Lisp files. The last step is a "normal" make. 106### used to compile Lisp files. The last step is a "normal" make.
107 107
108maybe-bootstrap: maybe-bootstrap-$(SHELLTYPE)
109
110# dummy target to force other targets to be evaluated.
111doit:
112
113maybe-bootstrap-CMD: doit
114 @echo.
115 @if not EXIST ..\lisp\abbrev.elc echo Essential Lisp files seem to be missing. You should either
116 @if not EXIST ..\lisp\abbrev.elc echo do 'make bootstrap' or create 'lisp/abbrev.elc' somehow
117 @echo.
118 @if not EXIST ..\lisp\abbrev.elc exit -1
119
120maybe-bootstrap-SH: doit
121 @if [ ! -f ../lisp/abbrev.elc ] ; then \
122 echo; \
123 echo "Essential Lisp files seem to be missing. You should either"; \
124 echo "do \`make bootstrap' or create \`lisp/abbrev.elc' somehow."; \
125 echo; \
126 exit -1; \
127 fi
128
108bootstrap: addsection bootstrap-$(MAKETYPE) all 129bootstrap: addsection bootstrap-$(MAKETYPE) all
109 130
110bootstrap-nmake: 131bootstrap-nmake: