Commit | Line | Data |
---|---|---|
eef0be9e GM |
1 | # -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.\r |
2 | # Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007,\r | |
3 | # 2008 Free Software Foundation, Inc.\r | |
8af54a64 | 4 | #\r |
eef0be9e | 5 | # Top level makefile for building GNU Emacs on Windows NT\r |
8af54a64 | 6 | #\r |
eef0be9e GM |
7 | # This file is part of GNU Emacs.\r |
8 | \r | |
9 | # GNU Emacs is free software: you can redistribute it and/or modify\r | |
10 | # it under the terms of the GNU General Public License as published by\r | |
11 | # the Free Software Foundation, either version 3 of the License, or\r | |
12 | # (at your option) any later version.\r | |
13 | \r | |
14 | # GNU Emacs is distributed in the hope that it will be useful,\r | |
15 | # but WITHOUT ANY WARRANTY; without even the implied warranty of\r | |
16 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r | |
17 | # GNU General Public License for more details.\r | |
18 | \r | |
19 | # You should have received a copy of the GNU General Public License\r | |
20 | # along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.\r | |
21 | \r | |
8af54a64 | 22 | \r |
7e5f4e57 EZ |
23 | # FIXME: This file uses DOS EOLs. Convert to Unix after 22.1 is out\r |
24 | # (and remove or replace this comment).\r | |
25 | \r | |
8af54a64 | 26 | TRES = $(BLD)/emacs.res\r |
99e0bf59 | 27 | CLIENTRES = $(BLD)/emacsclient.res\r |
8af54a64 | 28 | \r |
b47342e3 EZ |
29 | XMFLAGS =\r |
30 | \r | |
8af54a64 AI |
31 | ALL = addpm ddeclient runemacs cmdproxy addsection preprep\r |
32 | \r | |
33 | .PHONY: $(ALL)\r | |
34 | \r | |
b47342e3 EZ |
35 | \r |
36 | addpm: stamp_BLD $(BLD)/addpm.exe\r | |
8af54a64 AI |
37 | $(BLD)/addpm.exe: $(BLD)/addpm.$(O)\r |
38 | $(LINK) $(LINK_OUT)$@ \\r | |
39 | $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)\r | |
40 | \r | |
b47342e3 | 41 | ddeclient: stamp_BLD $(BLD)/ddeclient.exe\r |
8af54a64 AI |
42 | $(BLD)/ddeclient.exe: $(BLD)/ddeclient.$(O)\r |
43 | $(LINK) $(LINK_OUT)$@ \\r | |
44 | $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)\r | |
45 | \r | |
b47342e3 | 46 | cmdproxy: stamp_BLD $(BLD)/cmdproxy.exe\r |
8af54a64 AI |
47 | $(BLD)/cmdproxy.exe: $(BLD)/cmdproxy.$(O)\r |
48 | $(LINK) $(LINK_OUT)$@ \\r | |
49 | $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)\r | |
50 | \r | |
b47342e3 | 51 | addsection: stamp_BLD $(BLD)/addsection.exe\r |
8af54a64 AI |
52 | $(BLD)/addsection.exe: $(BLD)/addsection.$(O)\r |
53 | $(LINK) $(LINK_OUT)$@ \\r | |
54 | $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(USER32)\r | |
55 | \r | |
b47342e3 | 56 | preprep: stamp_BLD $(BLD)/preprep.exe\r |
8af54a64 AI |
57 | $(BLD)/preprep.exe: $(BLD)/preprep.$(O)\r |
58 | $(LINK) $(LINK_OUT)$@ \\r | |
59 | $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS)\r | |
60 | \r | |
61 | #\r | |
62 | # The resource file. NT 3.10 requires the use of cvtres; even though\r | |
63 | # it is not necessary on later versions, it is still ok to use it.\r | |
64 | #\r | |
480a77b5 | 65 | $(TRES): emacs.rc icons/emacs.ico emacs.manifest stamp_BLD\r |
99e0bf59 JR |
66 | $(RC) $(RC_OUT)$(TRES) emacs.rc\r |
67 | \r | |
68 | $(CLIENTRES): emacsclient.rc stamp_BLD\r | |
69 | $(RC) $(RC_OUT)$(CLIENTRES) emacsclient.rc\r | |
8af54a64 | 70 | \r |
b47342e3 | 71 | runemacs: stamp_BLD $(BLD)/runemacs.exe\r |
8af54a64 AI |
72 | $(BLD)/runemacs.exe: $(BLD)/runemacs.$(O) $(TRES)\r |
73 | $(LINK) $(LINK_OUT)$@ $(SUBSYSTEM_WINDOWS) \\r | |
74 | $(LINK_FLAGS) $(ALL_DEPS) $(BASE_LIBS) $(ADVAPI32) $(USER32)\r | |
75 | \r | |
76 | which-sh:\r | |
77 | @echo Using $(THE_SHELL) as shell.\r | |
78 | \r | |
b47342e3 EZ |
79 | # These depend on stamp_BLD to make sure the $(BLD) directory is created\r |
80 | # before the compilation begins, even if Make runs several commands\r | |
81 | # in parallel under "make -j".\r | |
82 | #\r | |
83 | $(BLD)/addpm.$(O) $(BLD)/ddeclient.$(O) $(BLD)/runemacs.$(O) $(BLD)/cmdproxy.$(O) $(BLD)/addsection.$(O) $(BLD)/preprep.$(O): stamp_BLD\r | |
32d0013e | 84 | \r |
8af54a64 AI |
85 | #\r |
86 | # Build emacs\r | |
87 | #\r | |
4cbb903f | 88 | all: which-sh stamp_BLD $(ALL) $(CLIENTRES) maybe-bootstrap all-other-dirs-$(MAKETYPE)\r |
8af54a64 | 89 | \r |
32d0013e | 90 | all-other-dirs-nmake: addsection\r |
8af54a64 | 91 | cd ..\lib-src\r |
d572c005 | 92 | $(MAKE) $(MFLAGS) all\r |
8af54a64 | 93 | cd ..\src\r |
d572c005 | 94 | $(MAKE) $(MFLAGS) all\r |
8af54a64 | 95 | cd ..\lisp\r |
d572c005 | 96 | $(MAKE) $(MFLAGS) all\r |
8af54a64 | 97 | cd ..\leim\r |
d572c005 | 98 | $(MAKE) $(MFLAGS) all\r |
8af54a64 AI |
99 | cd ..\nt\r |
100 | \r | |
32d0013e | 101 | all-other-dirs-gmake: addsection\r |
b47342e3 EZ |
102 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src all\r |
103 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src all\r | |
104 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp all\r | |
105 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim all\r | |
8af54a64 AI |
106 | \r |
107 | recompile: recompile-$(MAKETYPE)\r | |
108 | \r | |
109 | recompile-nmake:\r | |
110 | cd ..\lisp\r | |
d572c005 | 111 | $(MAKE) $(MFLAGS) recompile\r |
8af54a64 AI |
112 | cd ..\nt\r |
113 | \r | |
114 | recompile-gmake:\r | |
b47342e3 | 115 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp recompile\r |
8af54a64 AI |
116 | \r |
117 | #### Bootstrapping.\r | |
118 | \r | |
119 | ### This is meant for Emacs maintainers only. It first cleans the\r | |
120 | ### lisp subdirectory, removing all compiled Lisp files. Then a\r | |
121 | ### special emacs executable is built from Lisp sources, which is then\r | |
122 | ### used to compile Lisp files. The last step is a "normal" make.\r | |
123 | \r | |
c3c57777 JR |
124 | maybe-bootstrap: maybe-bootstrap-$(SHELLTYPE)\r |
125 | \r | |
126 | # dummy target to force other targets to be evaluated.\r | |
127 | doit:\r | |
128 | \r | |
129 | maybe-bootstrap-CMD: doit\r | |
d5ef6196 | 130 | @echo .\r |
c3c57777 JR |
131 | @if not EXIST ..\lisp\abbrev.elc echo Essential Lisp files seem to be missing. You should either\r |
132 | @if not EXIST ..\lisp\abbrev.elc echo do 'make bootstrap' or create 'lisp/abbrev.elc' somehow\r | |
d5ef6196 | 133 | @echo .\r |
c3c57777 JR |
134 | @if not EXIST ..\lisp\abbrev.elc exit -1\r |
135 | \r | |
136 | maybe-bootstrap-SH: doit\r | |
137 | @if [ ! -f ../lisp/abbrev.elc ] ; then \\r | |
138 | echo; \\r | |
139 | echo "Essential Lisp files seem to be missing. You should either"; \\r | |
140 | echo "do \`make bootstrap' or create \`lisp/abbrev.elc' somehow."; \\r | |
141 | echo; \\r | |
142 | exit -1; \\r | |
143 | fi\r | |
144 | \r | |
f37b8e41 EZ |
145 | # Bootstrap depends on cmdproxy because some Lisp functions\r |
146 | # loaded during bootstrap may need to run shell commands.\r | |
147 | bootstrap: addsection cmdproxy bootstrap-$(MAKETYPE)\r | |
55b5878d | 148 | $(MAKE) $(MFLAGS) $(XMFLAGS) all\r |
8af54a64 | 149 | \r |
f37b8e41 | 150 | bootstrap-nmake: addsection cmdproxy\r |
8af54a64 AI |
151 | cd ..\lisp\r |
152 | $(MAKE) $(MFLAGS) bootstrap-clean\r | |
153 | cd ..\src\r | |
154 | $(MAKE) $(MFLAGS) clean\r | |
155 | cd ..\lib-src\r | |
dc728514 | 156 | $(MAKE) $(MFLAGS) clean\r |
8af54a64 AI |
157 | cd ..\src\r |
158 | $(MAKE) $(MFLAGS) bootstrap\r | |
159 | $(MAKE) $(MFLAGS) bootstrap-clean\r | |
128c1013 | 160 | cd ..\nt\r |
f37b8e41 | 161 | $(CP) $(BLD)/cmdproxy.exe ../bin\r |
8af54a64 | 162 | cd ..\lisp\r |
73dfa0bf | 163 | $(MAKE) $(MFLAGS) SHELL=$(SHELLTYPE) bootstrap\r |
dc728514 JB |
164 | cd ..\lib-src\r |
165 | $(MAKE) $(MFLAGS) DOC\r | |
8af54a64 AI |
166 | cd ..\nt\r |
167 | \r | |
f37b8e41 | 168 | bootstrap-gmake: addsection cmdproxy\r |
b47342e3 EZ |
169 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap-clean\r |
170 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src clean\r | |
171 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src clean\r | |
d572c005 | 172 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap\r |
b47342e3 | 173 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap-clean\r |
f37b8e41 | 174 | $(CP) $(BLD)/cmdproxy.exe ../bin\r |
b47342e3 EZ |
175 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap\r |
176 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src DOC\r | |
8af54a64 AI |
177 | \r |
178 | bootstrap-clean: bootstrap-clean-$(MAKETYPE)\r | |
179 | \r | |
180 | bootstrap-clean-nmake:\r | |
181 | cd ..\src\r | |
182 | $(MAKE) $(MFLAGS) bootstrap-clean\r | |
183 | cd ..\lisp\r | |
184 | $(MAKE) $(MFLAGS) bootstrap-clean\r | |
185 | \r | |
186 | bootstrap-clean-gmake:\r | |
b47342e3 EZ |
187 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src bootstrap-clean\r |
188 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp bootstrap-clean\r | |
8af54a64 AI |
189 | \r |
190 | $(INSTALL_DIR):\r | |
191 | - mkdir "$(INSTALL_DIR)"\r | |
192 | \r | |
193 | $(INSTALL_DIR)/bin: $(INSTALL_DIR)\r | |
194 | - mkdir "$(INSTALL_DIR)/bin"\r | |
195 | \r | |
196 | #\r | |
197 | # Build and install emacs in INSTALL_DIR\r | |
198 | #\r | |
199 | install: all $(INSTALL_DIR)/bin install-other-dirs-$(MAKETYPE)\r | |
200 | - $(CP) $(BLD)/addpm.exe $(INSTALL_DIR)/bin\r | |
201 | - $(CP) $(BLD)/ddeclient.exe $(INSTALL_DIR)/bin\r | |
202 | - $(CP) $(BLD)/cmdproxy.exe $(INSTALL_DIR)/bin\r | |
203 | - $(CP) $(BLD)/runemacs.exe $(INSTALL_DIR)/bin\r | |
f8985061 | 204 | - "$(INSTALL_DIR)/bin/addpm" -q\r |
8af54a64 AI |
205 | - $(DEL) ../same-dir.tst\r |
206 | - $(DEL) $(INSTALL_DIR)/same-dir.tst\r | |
207 | echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"\r | |
208 | - mkdir "$(INSTALL_DIR)/etc"\r | |
209 | - mkdir "$(INSTALL_DIR)/info"\r | |
210 | - mkdir "$(INSTALL_DIR)/lock"\r | |
211 | - mkdir "$(INSTALL_DIR)/data"\r | |
212 | - mkdir "$(INSTALL_DIR)/site-lisp"\r | |
213 | - mkdir "$(INSTALL_DIR)/etc/icons"\r | |
214 | $(IFNOTSAMEDIR) $(CP) ../site-lisp/subdirs.el $(INSTALL_DIR)/site-lisp $(ENDIF)\r | |
215 | $(IFNOTSAMEDIR) $(CP_DIR) ../etc $(INSTALL_DIR) $(ENDIF)\r | |
216 | - $(CP_DIR) icons $(INSTALL_DIR)/etc\r | |
217 | $(IFNOTSAMEDIR) $(CP_DIR) ../info $(INSTALL_DIR) $(ENDIF)\r | |
da3ef617 JR |
218 | $(IFNOTSAMEDIR) $(CP) ../COPYING $(INSTALL_DIR) $(ENDIF)\r |
219 | - $(CP) ../COPYING $(INSTALL_DIR)/bin\r | |
8af54a64 AI |
220 | - $(DEL) ../same-dir.tst\r |
221 | - $(DEL) $(INSTALL_DIR)/same-dir.tst\r | |
222 | \r | |
223 | install-other-dirs-nmake:\r | |
224 | cd ..\lib-src\r | |
225 | $(MAKE) $(MFLAGS) install\r | |
226 | cd ..\src\r | |
227 | $(MAKE) $(MFLAGS) install\r | |
228 | cd ..\lisp\r | |
229 | $(MAKE) $(MFLAGS) install\r | |
230 | cd ..\leim\r | |
231 | $(MAKE) $(MFLAGS) install\r | |
232 | cd ..\nt\r | |
233 | \r | |
234 | install-other-dirs-gmake:\r | |
b47342e3 EZ |
235 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src install\r |
236 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src install\r | |
237 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp install\r | |
238 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim install\r | |
8af54a64 | 239 | \r |
fd1f2f1e | 240 | force-info:\r |
d038b84d | 241 | # Note that doc/emacs/makefile knows how to\r |
fd1f2f1e JR |
242 | # put the info files in $(infodir),\r |
243 | # so we can do ok running make in the build dir.\r | |
5eb3d2a5 JR |
244 | info: force-info info-$(MAKETYPE)\r |
245 | \r | |
246 | info-nmake:\r | |
d038b84d | 247 | cd ..\doc\emacs\r |
5eb3d2a5 | 248 | $(MAKE) $(MFLAGS) info\r |
059d1e66 | 249 | cd ..\misc\r |
5eb3d2a5 | 250 | $(MAKE) $(MFLAGS) info\r |
059d1e66 | 251 | cd ..\lispref\r |
d038b84d | 252 | $(MAKE) $(MFLAGS) info\r |
059d1e66 | 253 | cd ..\lispintro\r |
5eb3d2a5 | 254 | $(MAKE) $(MFLAGS) info\r |
059d1e66 | 255 | cd $(MAKEDIR)\r |
5eb3d2a5 JR |
256 | \r |
257 | info-gmake:\r | |
d038b84d GM |
258 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/emacs info\r |
259 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/misc info\r | |
260 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispref info\r | |
261 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispintro info\r | |
8af54a64 AI |
262 | #\r |
263 | # Maintenance\r | |
177c0ea7 | 264 | #\r |
8af54a64 | 265 | clean: clean-other-dirs-$(MAKETYPE)\r |
f37b8e41 | 266 | - $(DEL) $(COMPILER_TEMP_FILES)\r |
8af54a64 | 267 | - $(DEL_TREE) $(OBJDIR)\r |
e313b518 | 268 | - $(DEL) stamp_BLD\r |
8af54a64 AI |
269 | - $(DEL) ../etc/DOC ../etc/DOC-X\r |
270 | \r | |
271 | clean-other-dirs-nmake:\r | |
272 | cd ..\lib-src\r | |
273 | $(MAKE) $(MFLAGS) clean\r | |
274 | cd ..\src\r | |
275 | $(MAKE) $(MFLAGS) clean\r | |
d038b84d | 276 | cd ..\doc\lispintro\r |
fd1f2f1e | 277 | $(MAKE) $(MFLAGS) clean\r |
d038b84d | 278 | cd ..\doc\lispref\r |
fd1f2f1e | 279 | $(MAKE) $(MFLAGS) clean\r |
8af54a64 AI |
280 | cd ..\leim\r |
281 | $(MAKE) $(MFLAGS) clean\r | |
d038b84d GM |
282 | cd ..\doc\emacs\r |
283 | $(MAKE) $(MFLAGS) clean\r | |
284 | cd ..\doc\misc\r | |
fd1f2f1e | 285 | $(MAKE) $(MFLAGS) clean\r |
8af54a64 AI |
286 | cd ..\nt\r |
287 | \r | |
288 | clean-other-dirs-gmake:\r | |
b47342e3 EZ |
289 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src clean\r |
290 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src clean\r | |
b47342e3 | 291 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim clean\r |
cc48598c JR |
292 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/emacs clean\r |
293 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/misc clean\r | |
294 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispintro clean\r | |
295 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispref clean\r | |
8af54a64 AI |
296 | \r |
297 | cleanall-other-dirs-nmake:\r | |
298 | cd ..\lib-src\r | |
299 | $(MAKE) $(MFLAGS) cleanall\r | |
300 | cd ..\src\r | |
301 | $(MAKE) $(MFLAGS) cleanall\r | |
302 | cd ..\nt\r | |
303 | \r | |
304 | cleanall-other-dirs-gmake:\r | |
b47342e3 EZ |
305 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src cleanall\r |
306 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src cleanall\r | |
8af54a64 | 307 | \r |
f37b8e41 EZ |
308 | # We used to delete *~ here, but that might inadvertently remove\r |
309 | # precious files if it happens to match their short 8+3 aliases.\r | |
8af54a64 AI |
310 | cleanall: clean cleanall-other-dirs-$(MAKETYPE)\r |
311 | - $(DEL_TREE) obj\r | |
312 | - $(DEL_TREE) obj-spd\r | |
313 | - $(DEL_TREE) oo\r | |
314 | - $(DEL_TREE) oo-spd\r | |
315 | \r | |
cc48598c JR |
316 | top-distclean:\r |
317 | - $(DEL) $(COMPILER_TEMP_FILES)\r | |
318 | - $(DEL_TREE) obj\r | |
319 | - $(DEL_TREE) obj-spd\r | |
320 | - $(DEL_TREE) oo\r | |
321 | - $(DEL_TREE) oo-spd\r | |
322 | - $(DEL) stamp_BLD\r | |
323 | - $(DEL) ../etc/DOC ../etc/DOC-X\r | |
324 | - $(DEL) config.log Makefile\r | |
325 | \r | |
326 | distclean: distclean-other-dirs-$(MAKETYPE) top-distclean\r | |
327 | \r | |
328 | distclean-other-dirs-nmake:\r | |
329 | cd ..\lib-src\r | |
330 | $(MAKE) $(MFLAGS) distclean\r | |
331 | cd ..\src\r | |
332 | $(MAKE) $(MFLAGS) distclean\r | |
333 | cd ..\lisp\r | |
334 | $(MAKE) $(MFLAGS) distclean\r | |
335 | cd ..\leim\r | |
336 | $(MAKE) $(MFLAGS) distclean\r | |
337 | cd ..\doc\emacs\r | |
338 | $(MAKE) $(MFLAGS) distclean\r | |
339 | cd ..\doc\misc\r | |
340 | $(MAKE) $(MFLAGS) distclean\r | |
341 | cd ..\doc\lispintro\r | |
342 | $(MAKE) $(MFLAGS) distclean\r | |
343 | cd ..\doc\lispref\r | |
344 | $(MAKE) $(MFLAGS) distclean\r | |
345 | cd ..\nt\r | |
346 | \r | |
347 | distclean-other-dirs-gmake:\r | |
348 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src distclean\r | |
349 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src distclean\r | |
350 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp distclean\r | |
351 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim distclean\r | |
352 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/emacs distclean\r | |
353 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/misc distclean\r | |
354 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispintro distclean\r | |
355 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispref distclean\r | |
356 | \r | |
357 | maintainer-clean: maintainer-clean-other-dirs-$(MAKETYPE) top-distclean\r | |
358 | \r | |
359 | maintainer-clean-other-dirs-nmake:\r | |
360 | cd ..\lib-src\r | |
361 | $(MAKE) $(MFLAGS) maintainer-clean\r | |
362 | cd ..\src\r | |
363 | $(MAKE) $(MFLAGS) maintainer-clean\r | |
364 | cd ..\lisp\r | |
365 | $(MAKE) $(MFLAGS) maintainer-clean\r | |
366 | cd ..\leim\r | |
367 | $(MAKE) $(MFLAGS) maintainer-clean\r | |
368 | cd ..\doc\emacs\r | |
369 | $(MAKE) $(MFLAGS) maintainer-clean\r | |
370 | cd ..\doc\misc\r | |
371 | $(MAKE) $(MFLAGS) maintainer-clean\r | |
372 | cd ..\doc\lispintro\r | |
373 | $(MAKE) $(MFLAGS) maintainer-clean\r | |
374 | cd ..\doc\lispref\r | |
375 | $(MAKE) $(MFLAGS) maintainer-clean\r | |
376 | cd ..\nt\r | |
377 | \r | |
378 | maintainer-clean-other-dirs-gmake:\r | |
379 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lib-src maintainer-clean\r | |
380 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../src maintainer-clean\r | |
381 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../lisp maintainer-clean\r | |
382 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../leim maintainer-clean\r | |
383 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/emacs maintainer-clean\r | |
384 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/misc maintainer-clean\r | |
385 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispintro maintainer-clean\r | |
386 | $(MAKE) $(MFLAGS) $(XMFLAGS) -C ../doc/lispref maintainer-clean\r | |
387 | \r | |
8af54a64 AI |
388 | realclean: cleanall\r |
389 | - $(DEL_TREE) ../bin\r |