21 |
# Boston, MA 02111-1307, USA. |
# Boston, MA 02111-1307, USA. |
22 |
|
|
23 |
# make all to compile and build Emacs. |
# make all to compile and build Emacs. |
24 |
# make install to install it. |
# make install to install it (installs in-place, in `bin' subdir of top dir). |
25 |
# make TAGS to update tags tables. |
# make TAGS to update tags tables. |
26 |
# |
# |
27 |
# make clean or make mostlyclean |
# make clean or make mostlyclean |
40 |
# `make distclean' should leave only the files that were in the |
# `make distclean' should leave only the files that were in the |
41 |
# distribution. |
# distribution. |
42 |
# |
# |
43 |
# make realclean |
# make maintainer-clean |
44 |
# Delete everything from the current directory that can be |
# Delete everything from the current directory that can be |
45 |
# reconstructed with this Makefile. This typically includes |
# reconstructed with this Makefile. This typically includes |
46 |
# everything deleted by distclean, plus more: C source files |
# everything deleted by distclean, plus more: *.elc files, |
47 |
# produced by Bison, tags tables, info files, and so on. |
# C source files produced by Bison, tags tables, info files, |
48 |
|
# and so on. |
49 |
# |
# |
50 |
# make extraclean |
# make extraclean |
51 |
# Still more severe - delete backup and autosave files, too. |
# Still more severe - delete backup and autosave files, too. |
136 |
check: |
check: |
137 |
@echo "We don't have any tests for GNU Emacs yet." |
@echo "We don't have any tests for GNU Emacs yet." |
138 |
|
|
139 |
clean: |
clean mostlyclean: |
140 |
cd lib-src |
cd lib-src |
141 |
$(MAKE) clean |
$(MAKE) $(MFLAGS) $@ |
142 |
cd .. |
cd .. |
143 |
cd src |
cd src |
144 |
$(MAKE) clean |
$(MAKE) $(MFLAGS) $@ |
145 |
cd .. |
cd .. |
146 |
cd oldxmenu |
cd oldxmenu |
147 |
-$(MAKE) clean |
-$(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) $@ |
157 |
cd .. |
cd .. |
158 |
cd leim |
cd leim |
159 |
if exist Makefile redir $(MAKE) clean |
if exist Makefile redir $(MAKE) $(MFLAGS) $@ |
160 |
cd .. |
cd .. |
161 |
|
-$(MAKE) $(MFLAGS) $@ |
162 |
|
|
163 |
.PHONY: bootstrap bootstrap-lisp-1 boostrap-src bootstrap-lisp bootstrap-clean |
top_distclean=rm -f Makefile */Makefile src/_gdbinit |
164 |
.PHONY: maybe_bootstrap |
|
165 |
|
distclean 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 |
|
|
192 |
|
extraclean: |
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 |
222 |
|
|
223 |
maybe_bootstrap: |
maybe_bootstrap: |
224 |
@if not exist lisp\abbrev.elc djecho \ |
@if not exist lisp\abbrev.elc djecho \ |
226 |
@if not exist lisp\abbrev.elc redir -e /dev/null -oe redir fail-this-make.exe |
@if not exist lisp\abbrev.elc redir -e /dev/null -oe redir fail-this-make.exe |
227 |
|
|
228 |
bootstrap: bootstrap-clean-before bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean-after all info |
bootstrap: bootstrap-clean-before bootstrap-lisp-1 bootstrap-src bootstrap-lisp bootstrap-clean-after all info |
229 |
|
cd lisp; $(MAKE) $(MFLAGS) bootstrap-after; cd .. |
230 |
|
|
231 |
|
bootfast: bootstrap-clean-before bootstrap-src bootstrap-lisp bootstrap-clean-after all info |
232 |
|
cd lisp; $(MAKE) $(MFLAGS) bootstrap-after; cd .. |
233 |
|
|
234 |
bootstrap-lisp-1: |
bootstrap-lisp-1: |
235 |
cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean; cd .. |
cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean; cd .. |
244 |
bootstrap-clean-before: FRC |
bootstrap-clean-before: FRC |
245 |
cd src; $(MAKE) $(MFLAGS) mostlyclean; cd .. |
cd src; $(MAKE) $(MFLAGS) mostlyclean; cd .. |
246 |
cd lib-src; $(MAKE) $(MFLAGS) clean; cd .. |
cd lib-src; $(MAKE) $(MFLAGS) clean; cd .. |
247 |
cd leim; $(MAKE) $(MFLAGS) clean; cd .. |
-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 .. |
251 |
|
|
252 |
bootstrap-clean-after: |
bootstrap-clean-after: |
253 |
cd src; $(MAKE) $(MFLAGS) mostlyclean; cd .. |
cd src; $(MAKE) $(MFLAGS) mostlyclean; cd .. |