(while-no-input): Don't splice BODY directly into the `or' form.
[emacs.git] / lisp / makefile.w32-in
blob205c29cb66943a1beb3371cdc32c7aa81ad0b2bf
1 #  -*- Makefile -*- for GNU Emacs on the Microsoft W32 API.
2 #  Copyright (C) 2000, 2001, 2002, 2003, 2004,
3 #                2005, 2006, 2007, 2008  Free Software Foundation, Inc.
5 #  This file is part of GNU Emacs.
7 #  GNU Emacs is free software; you can redistribute it and/or modify
8 #  it under the terms of the GNU General Public License as published by
9 #  the Free Software Foundation; either version 3, or (at your option)
10 #  any later version.
12 #  GNU Emacs is distributed in the hope that it will be useful,
13 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
14 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 #  GNU General Public License for more details.
17 #  You should have received a copy of the GNU General Public License
18 #  along with GNU Emacs; see the file COPYING.  If not, write to the
19 #  Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
20 #  Boston, MA 02110-1301, USA.
23 ALL =
25 all: $(ALL)
27 SQUOTE='
28 # '
30 lisp = $(CURDIR)
31 srcdir = $(CURDIR)/..
33 # You can specify a different executable on the make command line,
34 # e.g. "make EMACS=../src/emacs ...".
36 EMACS = $(THISDIR)/../bin/emacs.exe
38 # Command line flags for Emacs.  This must include --multibyte,
39 # otherwise some files will not compile.
41 EMACSOPT = -batch --no-init-file --no-site-file --multibyte
43 # Extra flags to pass to the byte compiler
44 BYTE_COMPILE_EXTRA_FLAGS =
45 # For example to not display the undefined function warnings you can use this:
46 # BYTE_COMPILE_EXTRA_FLAGS = --eval '(setq byte-compile-warnings (quote (not unresolved)))'
47 # The example above is just for developers, it should not be used by default.
49 # Set EMACSLOADPATH correctly (already defined in environment).
50 EMACSLOADPATH=$(lisp)
52 # Use C locale
53 LC_ALL = C
55 lisptagsfiles1 = $(lisp)/*.el
56 lisptagsfiles2 = $(lisp)/*/*.el
57 ETAGS = "../lib-src/$(BLD)/etags"
59 # Files to compile before others during a bootstrap.  This is done to
60 # speed up the bootstrap process.  The CC files are compiled first
61 # because CC mode tweaks the compilation process, and requiring
62 # cc-mode when it is not compiled doesn't work during the
63 # bootstrapping.
65 COMPILE_FIRST = \
66         $(lisp)/emacs-lisp/byte-opt.el \
67         $(lisp)/emacs-lisp/bytecomp.el \
68         $(lisp)/subr.el \
69         $(lisp)/progmodes/cc-mode.el \
70         $(lisp)/progmodes/cc-vars.el
72 # The actual Emacs command run in the targets below.
73 # The quotes around $(EMACS) are here because the user could type
74 # it with forward slashes and without quotes, which will fail if
75 # the shell is cmd.exe.
77 emacs = "$(EMACS)" $(EMACSOPT)
79 # Have to define the list of subdirs manually when not using sh.
80 WINS_ALMOST=\
81         calc \
82         calendar \
83         emacs-lisp \
84         emulation \
85         erc \
86         eshell \
87         gnus \
88         international \
89         language \
90         mail \
91         mh-e \
92         net \
93         nxml \
94         play \
95         progmodes \
96         textmodes \
97         url
99 WINS= $(WINS_ALMOST) \
100         term \
101         obsolete
103 doit:
105 $(lisp)/cus-load.el:
106         touch $@
107 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
108 #          this can break with GNU Make 3.81 and later if sh.exe is used.
109 custom-deps: $(lisp)/cus-load.el $(lisp)/loaddefs.el doit
110         @echo Directories: $(WINS_ALMOST)
111         -$(emacs) -l cus-dep --eval $(ARGQUOTE)(setq find-file-hook nil)$(ARGQUOTE) -f custom-make-dependencies $(lisp) $(WINS_ALMOST)
113 finder-data: $(lisp)/loaddefs.el doit
114         @echo Directories: $(WINS_ALMOST)
115         $(emacs) -l finder -f finder-compile-keywords-make-dist $(lisp) $(WINS_ALMOST)
117 $(lisp)/loaddefs.el:
118         $(MAKE) $(MFLAGS) loaddefs.el-$(SHELLTYPE)
119         cp loaddefs.el-$(SHELLTYPE) $@
120         rm loaddefs.el-$(SHELLTYPE)
122 loaddefs.el-SH:
123         echo ";;; loaddefs.el --- automatically extracted autoloads" > $@
124         echo ";;" >> $@; echo ";;; Code:" >> $@
125         echo "(autoload 'define-minor-mode \"easy-mmode\")" >>$@
126         echo "(autoload 'define-ccl-program \"ccl\")" >>$@
127         echo "(autoload 'regexp-opt \"regexp-opt\")" >>$@
128         echo "(autoload 'string-to-list \"mule-util\")" >>$@
129         echo "(autoload 'define-derived-mode \"derived\")" >>$@
130         echo "(autoload 'encoded-kbd-mode \"encoded-kb\")" >>$@
131         echo "(defvar cvs-global-menu nil)" >>$@
132         echo "\f" >> $@
133         echo ";;; Local Variables:" >> $@
134         echo ";;; version-control: never" >> $@
135         echo ";;; no-byte-compile: t" >> $@
136         echo ";;; no-update-autoloads: t" >> $@
137         echo ";;; End:" >> $@
138         echo ";;; loaddefs.el ends here" >> $@
140 loaddefs.el-CMD:
141         echo ;;; loaddefs.el --- automatically extracted autoloads> $@
142         echo ;;; Code:>> $@
143         echo (autoload 'define-minor-mode "easy-mmode")>> $@
144         echo (autoload 'define-ccl-program "ccl")>> $@
145         echo (autoload 'regexp-opt "regexp-opt")>> $@
146         echo (autoload 'string-to-list "mule-util")>> $@
147         echo (autoload 'define-derived-mode "derived")>> $@
148         echo (autoload 'encoded-kbd-mode "encoded-kb")>> $@
149         echo (defvar cvs-global-menu nil)>> $@
150         echo.\f>> $@
151         echo ;;; Local Variables:>> $@
152         echo ;;; version-control: never>> $@
153         echo ;;; no-byte-compile: t>> $@
154         echo ;;; no-update-autoloads: t>> $@
155         echo ;;; End:>> $@
156         echo ;;; loaddefs.el ends here>> $@
158 # Use . instead of $(lisp) because $(lisp) is an absolute file name,
159 # including a drive letter and any leading directories, so the generated
160 # loaddefs.el will mention file names that on other machine reference
161 # possibly non-existent directories.
163 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
164 #          this can break with GNU Make 3.81 and later if sh.exe is used.
165 autoloads: $(lisp)/loaddefs.el doit
166         @echo Directories: . $(WINS_ALMOST)
167         $(emacs) -l autoload \
168                 --eval $(ARGQUOTE)(setq find-file-hook nil find-file-suppress-same-file-warnings t)$(ARGQUOTE) \
169                 -f w32-batch-update-autoloads "$(lisp)/loaddefs.el" . $(WINS_ALMOST)
171 $(lisp)/subdirs.el:
172         $(MAKE) $(MFLAGS) update-subdirs
174 # Need separate version for sh and native cmd.exe
175 update-subdirs: update-subdirs-$(SHELLTYPE)
177 update-subdirs-CMD: doit
178         echo ;; -*- no-byte-compile: t -*-> $(lisp)/subdirs.el
179         echo ;; In load-path, after this directory should come>> $(lisp)/subdirs.el
180         echo ;; certain of its subdirectories.  Here we specify them.>> $(lisp)/subdirs.el
181         echo (normal-top-level-add-to-load-path $(SQUOTE)(>> $(lisp)/subdirs.el
182         @for %%d in ($(WINS)) do if not (%%d)==(term) echo "%%d">> $(lisp)/subdirs.el
183         echo ))>> $(lisp)/subdirs.el
185 update-subdirs-SH: doit
186         $(srcdir)/update-subdirs $(lisp); \
187         for file in $(WINS); do \
188            $(srcdir)/update-subdirs $$file; \
189         done;
191 updates: update-subdirs autoloads mh-autoloads finder-data custom-deps
193 # This is useful after "cvs up".
194 cvs-update: recompile autoloads finder-data custom-deps
196 # Update the AUTHORS file.
198 update-authors:
199         $(emacs) -l authors -f batch-update-authors $(srcdir)/etc/AUTHORS $(srcdir)
201 TAGS: $(lisptagsfiles1) $(lisptagsfiles2)
202         $(ETAGS) $(lisptagsfiles1) $(lisptagsfiles2)
204 TAGS-LISP: $(lisptagsfiles1) $(lisptagsfiles2)
205         $(ETAGS) -o TAGS-LISP $(lisptagsfiles1) $(lisptagsfiles2)
207 .SUFFIXES: .elc .el
209 .el.elc:
210         -$(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $<
212 # Compile all Lisp files, but don't recompile those that are up to
213 # date.  Some files don't actually get compiled because they set the
214 # local variable no-byte-compile.
216 # All .elc files are made writable before compilation in case we
217 # checked out read-only (CVS option -r).  Files MUST be compiled one by
218 # one.  If we compile several files in a row we can't make sure that
219 # the compilation environment is clean.  We also set the load-path of
220 # the Emacs used for compilation to the current directory and its
221 # subdirectories, to make sure require's and load's in the files being
222 # compiled find the right files.
224 # Need separate version for sh and native cmd.exe
225 compile: $(lisp)/subdirs.el mh-autoloads compile-$(SHELLTYPE) doit
227 compile-CMD:
228 #       -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g
229         for %%f in ($(COMPILE_FIRST)) do \
230           $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done %%f
231         for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do \
232           $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done %%f/%%g
234 compile-SH:
235 #       for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done
236         for el in $(COMPILE_FIRST); do \
237           echo Compiling $$el; \
238           $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done $$el; \
239         done
240         for dir in $(lisp) $(WINS); do \
241           for el in $$dir/*.el; do \
242             if test -f $$el; \
243             then \
244               echo Compiling $$el; \
245               $(emacs) -l loaddefs $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile-if-not-done $$el; \
246             fi \
247           done; \
248         done
250 # Compile all Lisp files.  This is like `compile' but compiles files
251 # unconditionally.  Some files don't actually get compiled because they
252 # set the local variable no-byte-compile.
254 compile-always: $(lisp)/subdirs.el compile-always-$(SHELLTYPE) doit
256 compile-always-CMD:
257 #       -for %%f in ($(lisp) $(WINS)) do for %%g in (%%f\*.elc) do @attrib -r %%g
258         for %%f in ($(COMPILE_FIRST)) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f
259         for %%f in (. $(WINS)) do for %%g in (%%f/*.el) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f/%%g
261 compile-always-SH:
262 #       for elc in $(lisp)/*.elc $(lisp)/*/*.elc; do attrib -r $$elc; done
263         for el in $(COMPILE_FIRST); do \
264           echo Compiling $$el; \
265           $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
266         done
267         for dir in $(lisp) $(WINS); do \
268           for el in $$dir/*.el; do \
269             echo Compiling $$el; \
270             $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
271           done; \
272         done
274 compile-calc: compile-calc-$(SHELLTYPE)
276 compile-calc-CMD:
277         for %%f in ($(lisp)/calc/*.el) do $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile %%f
279 compile-calc-SH:
280         for el in $(lisp)/calc/*.el; do \
281           echo Compiling $$el; \
282           $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $$el || exit 1; \
283         done
285 # Backup compiled Lisp files in elc.tar.gz.  If that file already
286 # exists, make a backup of it.
288 backup-compiled-files:
289         -mv $(lisp)/elc.tar.gz $(lisp)/elc.tar.gz~
290         -tar czf $(lisp)/elc.tar.gz $(lisp)/*.elc $(lisp)/*/*.elc
292 # Compile Lisp files, but save old compiled files first.
294 compile-after-backup: backup-compiled-files compile-always
296 # Recompile all Lisp files which are newer than their .elc files.
297 # Note that this doesn't create .elc files.  It only recompiles if an
298 # .elc is present.
299 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
300 #          this can break with GNU Make 3.81 and later if sh.exe is used.
301 recompile: mh-autoloads doit $(lisp)/progmodes/cc-mode.elc
302         $(emacs) --eval $(ARGQUOTE)(batch-byte-recompile-directory 0)$(ARGQUOTE) $(lisp)
304 # CC Mode uses a compile time macro system which causes a compile time
305 # dependency in cc-mode.elc on the macros in cc-langs.el and the
306 # version string in cc-defs.el.
307 $(lisp)/progmodes/cc-mode.elc: \
308         $(lisp)/progmodes/cc-mode.el \
309         $(lisp)/progmodes/cc-langs.el \
310         $(lisp)/progmodes/cc-defs.el
311         $(emacs) $(BYTE_COMPILE_EXTRA_FLAGS) -f batch-byte-compile $(lisp)/progmodes/cc-mode.el
313 # Update MH-E internal autoloads. These are not to be confused with
314 # the autoloads for the MH-E entry points, which are already in
315 # loaddefs.el.
316 MH_E_SRC = $(lisp)/mh-e/mh-acros.el $(lisp)/mh-e/mh-alias.el    \
317         $(lisp)/mh-e/mh-buffers.el $(lisp)/mh-e/mh-compat.el    \
318         $(lisp)/mh-e/mh-comp.el $(lisp)/mh-e/mh-e.el            \
319         $(lisp)/mh-e/mh-folder.el $(lisp)/mh-e/mh-funcs.el      \
320         $(lisp)/mh-e/mh-gnus.el $(lisp)/mh-e/mh-identity.el     \
321         $(lisp)/mh-e/mh-inc.el $(lisp)/mh-e/mh-junk.el          \
322         $(lisp)/mh-e/mh-letter.el $(lisp)/mh-e/mh-limit.el      \
323         $(lisp)/mh-e/mh-mime.el $(lisp)/mh-e/mh-print.el        \
324         $(lisp)/mh-e/mh-scan.el $(lisp)/mh-e/mh-search.el       \
325         $(lisp)/mh-e/mh-seq.el $(lisp)/mh-e/mh-show.el          \
326         $(lisp)/mh-e/mh-speed.el $(lisp)/mh-e/mh-thread.el      \
327         $(lisp)/mh-e/mh-tool-bar.el $(lisp)/mh-e/mh-utils.el    \
328         $(lisp)/mh-e/mh-xface.el
330 # See the commentary for autoloads above for why we use ./mh-e below
331 # instead of $(lisp)/mh-e.
332 mh-autoloads: $(lisp)/mh-e/mh-loaddefs.el
333 $(lisp)/mh-e/mh-loaddefs.el: $(MH_E_SRC)
334         $(MAKE) $(MFLAGS) pre-mh-loaddefs.el-$(SHELLTYPE)
335         cp pre-mh-loaddefs.el-$(SHELLTYPE) $@
336         rm pre-mh-loaddefs.el-$(SHELLTYPE)
337         "$(EMACS)" $(EMACSOPT) \
338            -l autoload \
339            --eval "(setq generate-autoload-cookie \";;;###mh-autoload\")" \
340            --eval "(setq find-file-suppress-same-file-warnings t)" \
341            --eval "(setq make-backup-files nil)" \
342            -f w32-batch-update-autoloads \
343            "$(lisp)/mh-e/mh-loaddefs.el" ./mh-e
345 pre-mh-loaddefs.el-SH:
346         echo ";;; mh-loaddefs.el --- automatically extracted autoloads" > $@
347         echo ";;" >> $@
348         echo ";; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc." >> $@
349         echo ";; Author: Bill Wohler <wohler@newt.com>" >> $@
350         echo ";; Keywords: mail" >> $@
351         echo ";;; Commentary:" >> $@
352         echo ";;; Change Log:" >> $@
353         echo ";;; Code:" >> $@
354         echo "\f" >> $@
355         echo "(provide 'mh-loaddefs)" >> $@
356         echo ";; Local Variables:" >> $@
357         echo ";; version-control: never" >> $@
358         echo ";; no-byte-compile: t" >> $@
359         echo ";; no-update-autoloads: t" >> $@
360         echo ";; End:" >> $@
361         echo ";;; mh-loaddefs.el ends here" >> $@
363 pre-mh-loaddefs.el-CMD:
364         echo ;;; mh-loaddefs.el --- automatically extracted autoloads> $@
365         echo ;;>> $@
366         echo ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.>> $@
367         echo ;; Author: Bill Wohler (wohler@newt.com)>> $@
368         echo ;; Keywords: mail>> $@
369         echo ;;; Commentary:>> $@
370         echo ;;; Change Log:>> $@
371         echo ;;; Code:>> $@
372         echo.\f>> $@
373         echo (provide 'mh-loaddefs)>> $@
374         echo ;; Local Variables:>> $@
375         echo ;; version-control: never>> $@
376         echo ;; no-byte-compile: t>> $@
377         echo ;; no-update-autoloads: t>> $@
378         echo ;; End:>> $@
379         echo ;;; mh-loaddefs.el ends here>> $@
381 # Prepare a bootstrap in the lisp subdirectory.
383 # Build loaddefs.el to make sure it's up-to-date.  If it's not, that
384 # might lead to errors during the bootstrap because something fails to
385 # autoload as expected.  If there is no emacs binary, then we can't
386 # build autoloads yet.  In that case we have to use ldefs-boot.el;
387 # bootstrap should always work with ldefs-boot.el.  (Because
388 # loaddefs.el is an automatically generated file, we don't want to
389 # store it in the source repository).
391 # Remove compiled Lisp files so that bootstrap-emacs will be built from
392 # sources only.
394 # Need separate version for sh and native cmd.exe
395 # Note that bootstrap-clean-$(SHELLTYPE) copies ldefs-boot.el to loaddefs.el,
396 # and thus the almost-empty loaddefs.el crafted by the $(lisp)/loaddefs.el
397 # target can NOT be built _after_ bootstrap-clean-$(SHELLTYPE) does its
398 # thing, or else an empty loaddefs.el will overwrite the full one.
399 bootstrap-clean: $(lisp)/loaddefs.el
400         $(MAKE) $(MFLAGS) bootstrap-clean-$(SHELLTYPE)
402 bootstrap-clean-CMD:
403 #       if exist "$(EMACS)" $(MAKE) $(MFLAGS) autoloads
404         cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el
405         -for %%f in (. $(WINS)) do for %%g in (%%f\*.elc) do @$(DEL) %%g
407 bootstrap-clean-SH:
408 #       if test -f "$(EMACS)"; then $(MAKE) $(MFLAGS) autoloads; fi
409 #       -rm -f $(lisp)/*.elc $(lisp)/*/*.elc
410         cp $(lisp)/ldefs-boot.el $(lisp)/loaddefs.el
411         -for dir in . $(WINS); do rm -f $$dir/*.elc; done
413 # Generate/update files for the bootstrap process.
414 # When done, remove bootstrap-emacs from ../bin, so that
415 # it will not be mistaken for an installed binary.
417 bootstrap: update-subdirs autoloads mh-autoloads compile finder-data custom-deps
418         - $(DEL) "$(EMACS)"
421 # Assuming INSTALL_DIR is defined, copy the elisp files to it
422 # Windows 95 makes this harder than it should be.
424 install:
425                 - mkdir "$(INSTALL_DIR)/lisp"
426                 - $(DEL) ../same-dir.tst
427                 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
428                 echo SameDirTest > "$(INSTALL_DIR)/same-dir.tst"
429 #ifdef COPY_LISP_SOURCE
430                 $(IFNOTSAMEDIR) $(MAKE) $(MFLAGS) install-lisp-$(SHELLTYPE) $(ENDIF)
431 #else
432 #               $(IFNOTSAMEDIR) $(CP_DIR) *.elc "$(INSTALL_DIR)/lisp" $(ENDIF)
433 #               $(IFNOTSAMEDIR) $(CP) cus-load.el "$(INSTALL_DIR)/lisp" $(ENDIF)
434 #               $(IFNOTSAMEDIR) $(CP) forms*.el "$(INSTALL_DIR)/lisp" $(ENDIF)
435 #               $(IFNOTSAMEDIR) $(CP) patcomp.el "$(INSTALL_DIR)/lisp" $(ENDIF)
436 #               $(IFNOTSAMEDIR) $(CP) subdirs.el "$(INSTALL_DIR)/lisp" $(ENDIF)
437 #               $(IFNOTSAMEDIR) $(CP) version.el "$(INSTALL_DIR)/lisp" $(ENDIF)
438 #               $(IFNOTSAMEDIR) $(CP) mail/blessmail.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF)
439 #               $(IFNOTSAMEDIR) $(CP) mail/sc.el "$(INSTALL_DIR)/lisp/mail" $(ENDIF)
440 #               $(IFNOTSAMEDIR) $(CP) play/bruce.el "$(INSTALL_DIR)/lisp/play" $(ENDIF)
441 #               $(IFNOTSAMEDIR) $(CP) international/latin-*.el "$(INSTALL_DIR)/lisp/international" $(ENDIF)
442 #               $(IFNOTSAMEDIR) $(CP) international/mule-conf.el "$(INSTALL_DIR)/lisp/international" $(ENDIF)
443 #endif
444                 - $(DEL) ../same-dir.tst
445                 - $(DEL) "$(INSTALL_DIR)/same-dir.tst"
447 # Need to copy *.el files first, to avoid "source file is newer" annoyance
448 # since cp does not preserve time stamps
449 install-lisp-SH:
450         cp -f *.el "$(INSTALL_DIR)/lisp"
451         for dir in $(WINS); do [ -d "$(INSTALL_DIR)/lisp/$$dir" ] || mkdir "$(INSTALL_DIR)/lisp/$$dir"; done
452         for dir in $(WINS); do cp -f $$dir/*.el "$(INSTALL_DIR)/lisp/$$dir"; done
453         for dir in . $(WINS); do cp $$dir/*.elc "$(INSTALL_DIR)/lisp/$$dir"; done
455 install-lisp-CMD:
456         cp -f *.el "$(INSTALL_DIR)/lisp"
457         for %%f in ($(WINS)) do if not exist "$(INSTALL_DIR)/lisp/%%f" mkdir "$(INSTALL_DIR)/lisp/%%f"
458         for %%f in ($(WINS)) do cp -f %%f/*.el "$(INSTALL_DIR)/lisp/%%f"
459         for %%f in (. $(WINS)) do cp -f %%f/*.elc "$(INSTALL_DIR)/lisp/%%f"
461 # WARNING: Do NOT split the part inside $(ARGQUOTE)s into multiple lines as
462 #          this can break with GNU Make 3.81 and later if sh.exe is used.
463 check-declare:
464         $(emacs) -l $(lisp)/emacs-lisp/check-declare --eval $(ARGQUOTE)(check-declare-directory $(DQUOTE)$(lisp)$(DQUOTE))$(ARGQUOTE)
467 # Maintenance
469 # We used to delete *~ here, but that might inadvertently remove
470 # precious files if it happens to match their short 8+3 aliases.
471 clean:
472                 - $(DEL) *.el~