aboutsummaryrefslogtreecommitdiffstats
path: root/msdos/mainmake.v2
diff options
context:
space:
mode:
Diffstat (limited to 'msdos/mainmake.v2')
-rw-r--r--msdos/mainmake.v299
1 files changed, 87 insertions, 12 deletions
diff --git a/msdos/mainmake.v2 b/msdos/mainmake.v2
index 0952380a202..f2291cf2989 100644
--- a/msdos/mainmake.v2
+++ b/msdos/mainmake.v2
@@ -21,7 +21,7 @@
21# Boston, MA 02111-1307, USA. 21# Boston, MA 02111-1307, USA.
22 22
23# make all to compile and build Emacs. 23# make all to compile and build Emacs.
24# make install to install it. 24# make install to install it (installs in-place, in `bin' subdir of top dir).
25# make TAGS to update tags tables. 25# make TAGS to update tags tables.
26# 26#
27# make clean or make mostlyclean 27# make clean or make mostlyclean
@@ -40,11 +40,12 @@
40# `make distclean' should leave only the files that were in the 40# `make distclean' should leave only the files that were in the
41# distribution. 41# distribution.
42# 42#
43# make realclean 43# make maintainer-clean
44# Delete everything from the current directory that can be 44# Delete everything from the current directory that can be
45# reconstructed with this Makefile. This typically includes 45# reconstructed with this Makefile. This typically includes
46# everything deleted by distclean, plus more: C source files 46# everything deleted by distclean, plus more: *.elc files,
47# produced by Bison, tags tables, info files, and so on. 47# C source files produced by Bison, tags tables, info files,
48# and so on.
48# 49#
49# make extraclean 50# make extraclean
50# Still more severe - delete backup and autosave files, too. 51# Still more severe - delete backup and autosave files, too.
@@ -135,22 +136,89 @@ TAGS tags: lib-src FRC
135check: 136check:
136 @echo "We don't have any tests for GNU Emacs yet." 137 @echo "We don't have any tests for GNU Emacs yet."
137 138
138clean: 139clean mostlyclean:
139 cd lib-src 140 cd lib-src
140 $(MAKE) clean 141 $(MAKE) $(MFLAGS) $@
141 cd .. 142 cd ..
142 cd src 143 cd src
143 $(MAKE) clean 144 $(MAKE) $(MFLAGS) $@
144 cd .. 145 cd ..
145 cd oldxmenu 146 cd oldxmenu
146 -$(MAKE) clean 147 -$(MAKE) $(MFLAGS) $@
148 cd ..
149 cd man
150 -$(MAKE) $(MFLAGS) $@
151 cd ..
152 cd lispref
153 -$(MAKE) $(MFLAGS) $@
154 cd ..
155 cd lispintro
156 -$(MAKE) $(MFLAGS) $@
147 cd .. 157 cd ..
148 cd leim 158 cd leim
149 if exist Makefile redir $(MAKE) clean 159 if exist Makefile redir $(MAKE) $(MFLAGS) $@
150 cd .. 160 cd ..
161 -$(MAKE) $(MFLAGS) $@
151 162
152.PHONY: bootstrap bootstrap-lisp-1 boostrap-src bootstrap-lisp bootstrap-clean 163top_distclean=rm -f Makefile */Makefile src/_gdbinit
153.PHONY: maybe_bootstrap 164
165distclean maintainer-clean: FRC
166 cd src
167 $(MAKE) $(MFLAGS) $@
168 cd ..
169 cd oldxmenu
170 -$(MAKE) $(MFLAGS) $@
171 cd ..
172 cd lib-src
173 $(MAKE) $(MFLAGS) $@
174 cd ..
175 cd man
176 -$(MAKE) $(MFLAGS) $@
177 cd ..
178 cd lispref
179 -$(MAKE) $(MFLAGS) $@
180 cd ..
181 cd lispintro
182 -$(MAKE) $(MFLAGS) $@
183 cd ..
184 cd leim
185 if exist Makefile redir $(MAKE) $(MFLAGS) $@
186 cd ..
187 cd lisp
188 $(MAKE) $(MFLAGS) $@
189 cd ..
190 ${top_distclean}
191
192extraclean:
193 cd src
194 $(MAKE) $(MFLAGS) $@
195 cd ..
196 cd oldxmenu
197 -$(MAKE) $(MFLAGS) $@
198 cd ..
199 cd lib-src
200 $(MAKE) $(MFLAGS) $@
201 cd ..
202 cd man
203 -$(MAKE) $(MFLAGS) $@
204 cd ..
205 cd lispref
206 -$(MAKE) $(MFLAGS) $@
207 cd ..
208 cd lispintro
209 -$(MAKE) $(MFLAGS) $@
210 cd ..
211 cd leim
212 if exist Makefile redir $(MAKE) $(MFLAGS) $@
213 cd ..
214 cd lisp
215 $(MAKE) $(MFLAGS) $@
216 cd ..
217 ${top_distclean}
218 -rm -f *~ #*
219
220.PHONY: bootstrap bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean
221.PHONY: maybe_bootstrap bootfast
154 222
155maybe_bootstrap: 223maybe_bootstrap:
156 @if not exist lisp\abbrev.elc djecho \ 224 @if not exist lisp\abbrev.elc djecho \
@@ -158,6 +226,10 @@ maybe_bootstrap:
158 @if not exist lisp\abbrev.elc redir -e /dev/null -oe redir fail-this-make.exe 226 @if not exist lisp\abbrev.elc redir -e /dev/null -oe redir fail-this-make.exe
159 227
160bootstrap: bootstrap-clean-before bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean-after all info 228bootstrap: bootstrap-clean-before bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean-after all info
229 cd lisp; $(MAKE) $(MFLAGS) bootstrap-after; cd ..
230
231bootfast: bootstrap-clean-before bootstrap-src bootstrap-lisp bootstrap-clean-after all info
232 cd lisp; $(MAKE) $(MFLAGS) bootstrap-after; cd ..
161 233
162bootstrap-lisp-1: 234bootstrap-lisp-1:
163 cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean; cd .. 235 cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean; cd ..
@@ -172,7 +244,10 @@ bootstrap-src:
172bootstrap-clean-before: FRC 244bootstrap-clean-before: FRC
173 cd src; $(MAKE) $(MFLAGS) mostlyclean; cd .. 245 cd src; $(MAKE) $(MFLAGS) mostlyclean; cd ..
174 cd lib-src; $(MAKE) $(MFLAGS) clean; cd .. 246 cd lib-src; $(MAKE) $(MFLAGS) clean; cd ..
175 cd leim; $(MAKE) $(MFLAGS) clean; cd .. 247 -cd man; $(MAKE) $(MFLAGS) clean; cd ..
248 -cd lispref; $(MAKE) $(MFLAGS) clean; cd ..
249 -cd lispintro; $(MAKE) $(MFLAGS) clean; cd ..
250 cd leim; if exist Makefile redir $(MAKE) $(MFLAGS) clean; cd ..
176 251
177bootstrap-clean-after: 252bootstrap-clean-after:
178 cd src; $(MAKE) $(MFLAGS) mostlyclean; cd .. 253 cd src; $(MAKE) $(MFLAGS) mostlyclean; cd ..