69 |
# |
# |
70 |
# Build emacs |
# Build emacs |
71 |
# |
# |
72 |
all: which-sh $(BLD) $(ALL) all-other-dirs-$(MAKETYPE) |
all: which-sh $(BLD) $(ALL) maybe-bootstrap all-other-dirs-$(MAKETYPE) |
73 |
|
|
74 |
all-other-dirs-nmake: |
all-other-dirs-nmake: |
75 |
cd ..\lib-src |
cd ..\lib-src |
105 |
### special emacs executable is built from Lisp sources, which is then |
### special emacs executable is built from Lisp sources, which is then |
106 |
### used to compile Lisp files. The last step is a "normal" make. |
### used to compile Lisp files. The last step is a "normal" make. |
107 |
|
|
108 |
|
maybe-bootstrap: maybe-bootstrap-$(SHELLTYPE) |
109 |
|
|
110 |
|
# dummy target to force other targets to be evaluated. |
111 |
|
doit: |
112 |
|
|
113 |
|
maybe-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 |
|
|
120 |
|
maybe-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 |
|
|
129 |
bootstrap: addsection bootstrap-$(MAKETYPE) all |
bootstrap: addsection bootstrap-$(MAKETYPE) all |
130 |
|
|
131 |
bootstrap-nmake: |
bootstrap-nmake: |