Mercurial > emacs
comparison Makefile.in @ 88155:d7ddb3e565de
sync with trunk
author | Henrik Enberg <henrik.enberg@telia.com> |
---|---|
date | Mon, 16 Jan 2006 00:03:54 +0000 |
parents | 5127a1bf36db |
children |
comparison
equal
deleted
inserted
replaced
88154:8ce476d3ba36 | 88155:d7ddb3e565de |
---|---|
1 # DIST: This is the distribution Makefile for Emacs. configure can | 1 # DIST: This is the distribution Makefile for Emacs. configure can |
2 # DIST: make most of the changes to this file you might want, so try | 2 # DIST: make most of the changes to this file you might want, so try |
3 # DIST: that first. | 3 # DIST: that first. |
4 | 4 |
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, | 5 # Copyright (C) 1992,93,94,95,96,97,98,1999,2000,01,02,03,04,2005 |
6 # 2000, 2001, 2002, 2003 Free Software Foundation, Inc. | 6 # Free Software Foundation, Inc. |
7 | 7 |
8 # This file is part of GNU Emacs. | 8 # This file is part of GNU Emacs. |
9 | 9 |
10 # GNU Emacs is free software; you can redistribute it and/or modify | 10 # GNU Emacs is free software; you can redistribute it and/or modify |
11 # it under the terms of the GNU General Public License as published by | 11 # it under the terms of the GNU General Public License as published by |
17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 17 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
18 # GNU General Public License for more details. | 18 # GNU General Public License for more details. |
19 | 19 |
20 # You should have received a copy of the GNU General Public License | 20 # You should have received a copy of the GNU General Public License |
21 # along with GNU Emacs; see the file COPYING. If not, write to | 21 # along with GNU Emacs; see the file COPYING. If not, write to |
22 # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 22 # the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 # Boston, MA 02111-1307, USA. | 23 # Boston, MA 02110-1301, USA. |
24 | 24 |
25 # make all to compile and build Emacs. | 25 # make all to compile and build Emacs. |
26 # make install to install it. | 26 # make install to install it. |
27 # make TAGS to update tags tables. | 27 # make TAGS to update tags tables. |
28 # | 28 # |
43 # distribution. | 43 # distribution. |
44 # | 44 # |
45 # make maintainer-clean | 45 # make maintainer-clean |
46 # Delete everything from the current directory that can be | 46 # Delete everything from the current directory that can be |
47 # reconstructed with this Makefile. This typically includes | 47 # reconstructed with this Makefile. This typically includes |
48 # everything deleted by distclean, plus more: C source files | 48 # everything deleted by distclean, plus more: .elc files, |
49 # produced by Bison, tags tables, info files, and so on. | 49 # C source files produced by Bison, tags tables, info files, |
50 # and so on. | |
50 # | 51 # |
51 # make extraclean | 52 # make extraclean |
52 # Still more severe - delete backup and autosave files, too. | 53 # Still more severe - delete backup and autosave files, too. |
54 # | |
55 # make bootstrap | |
56 # Recompiles all the Emacs Lisp files using the latest source, | |
57 # then rebuilds Emacs. | |
58 # | |
59 # make bootfast | |
60 # Recompiles changed Emacs Lisp files using the latest C source, | |
61 # then rebuilds Emacs. This is faster than `make bootstrap' | |
62 # but once in a while an old .elc file can cause trouble. | |
53 | 63 |
54 SHELL = /bin/sh | 64 SHELL = /bin/sh |
65 | |
66 # This may not work with certain non-GNU make's. It only matters when | |
67 # inheriting a CDPATH not starting with the current directory. | |
68 CDPATH= | |
55 | 69 |
56 # If Make doesn't predefine MAKE, set it here. | 70 # If Make doesn't predefine MAKE, set it here. |
57 @SET_MAKE@ | 71 @SET_MAKE@ |
58 | 72 |
59 # ==================== Things `configure' Might Edit ==================== | 73 # ==================== Things `configure' Might Edit ==================== |
66 CFLAGS=@CFLAGS@ | 80 CFLAGS=@CFLAGS@ |
67 LDFLAGS=@LDFLAGS@ | 81 LDFLAGS=@LDFLAGS@ |
68 CPPFLAGS=@CPPFLAGS@ | 82 CPPFLAGS=@CPPFLAGS@ |
69 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ | 83 C_SWITCH_X_SITE=@C_SWITCH_X_SITE@ |
70 LD_SWITCH_X_SITE=@LD_SWITCH_X_SITE@ | 84 LD_SWITCH_X_SITE=@LD_SWITCH_X_SITE@ |
71 YACC=@YACC@ | |
72 EXEEXT=@EXEEXT@ | 85 EXEEXT=@EXEEXT@ |
73 | 86 |
74 ### These help us choose version- and architecture-specific directories | 87 ### These help us choose version- and architecture-specific directories |
75 ### to install files in. | 88 ### to install files in. |
76 | 89 |
208 INSTALL_DATA = @INSTALL_DATA@ | 221 INSTALL_DATA = @INSTALL_DATA@ |
209 INSTALL_INFO = @INSTALL_INFO@ | 222 INSTALL_INFO = @INSTALL_INFO@ |
210 # By default, we uphold the dignity of our programs. | 223 # By default, we uphold the dignity of our programs. |
211 INSTALL_STRIP = | 224 INSTALL_STRIP = |
212 | 225 |
226 # We use gzip to compress installed .el files. | |
227 GZIP_PROG = @GZIP_PROG@ | |
228 | |
213 # ============================= Targets ============================== | 229 # ============================= Targets ============================== |
214 | 230 |
215 # Program name transformation. | 231 # Program name transformation. |
216 TRANSFORM = @program_transform_name@ | 232 TRANSFORM = @program_transform_name@ |
217 | 233 |
234 # avoid nuking an existing dir file, so we don't do that here; | 250 # avoid nuking an existing dir file, so we don't do that here; |
235 # instead, we have written out explicit code in the `install' targets. | 251 # instead, we have written out explicit code in the `install' targets. |
236 COPYDIR = ${srcdir}/etc ${srcdir}/lisp | 252 COPYDIR = ${srcdir}/etc ${srcdir}/lisp |
237 COPYDESTS = ${etcdir} ${lispdir} | 253 COPYDESTS = ${etcdir} ${lispdir} |
238 | 254 |
239 # Set to FRC to force running autoconf and autoheader | |
240 MAINT = | |
241 | |
242 all: ${SUBDIR} leim | 255 all: ${SUBDIR} leim |
243 | 256 |
244 removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g' | 257 removenullpaths=sed -e 's/^://g' -e 's/:$$//g' -e 's/::/:/g' |
245 | 258 |
246 # Generate epaths.h from epaths.in. This target is invoked by `configure'. | 259 # Generate epaths.h from epaths.in. This target is invoked by `configure'. |
248 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \ | 261 @(lisppath=`echo ${lisppath} | ${removenullpaths}` ; \ |
249 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \ | 262 buildlisppath=`echo ${buildlisppath} | ${removenullpaths}` ; \ |
250 x_default_search_path=`echo ${x_default_search_path}`; \ | 263 x_default_search_path=`echo ${x_default_search_path}`; \ |
251 gamedir=`echo ${gamedir}`; \ | 264 gamedir=`echo ${gamedir}`; \ |
252 sed < ${srcdir}/src/epaths.in > epaths.h.$$$$ \ | 265 sed < ${srcdir}/src/epaths.in > epaths.h.$$$$ \ |
253 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'$${lisppath}'";' \ | 266 -e 's;\(#.*PATH_LOADSEARCH\).*$$;\1 "'"$${lisppath}"'";' \ |
254 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'$${buildlisppath}'";' \ | 267 -e 's;\(#.*PATH_DUMPLOADSEARCH\).*$$;\1 "'"$${buildlisppath}"'";' \ |
255 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \ | 268 -e 's;\(#.*PATH_EXEC\).*$$;\1 "${archlibdir}";' \ |
256 -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \ | 269 -e 's;\(#.*PATH_INFO\).*$$;\1 "${infodir}";' \ |
257 -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \ | 270 -e 's;\(#.*PATH_DATA\).*$$;\1 "${etcdir}";' \ |
258 -e 's;\(#.*PATH_BITMAPS\).*$$;\1 "${bitmapdir}";' \ | 271 -e 's;\(#.*PATH_BITMAPS\).*$$;\1 "${bitmapdir}";' \ |
259 -e 's;\(#.*PATH_X_DEFAULTS\).*$$;\1 "${x_default_search_path}";' \ | 272 -e 's;\(#.*PATH_X_DEFAULTS\).*$$;\1 "${x_default_search_path}";' \ |
260 -e 's;\(#.*PATH_GAME\).*$$;\1 "${gamedir}";' \ | 273 -e 's;\(#.*PATH_GAME\).*$$;\1 "${gamedir}";' \ |
261 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";') && \ | 274 -e 's;\(#.*PATH_DOC\).*$$;\1 "${docdir}";' \ |
275 -e 's;/[*] *arch-tag:.*;/*;') && \ | |
262 ${srcdir}/move-if-change epaths.h.$$$$ src/epaths.h | 276 ${srcdir}/move-if-change epaths.h.$$$$ src/epaths.h |
263 | 277 |
264 # For parallel make, src should be build before leim. | 278 # For parallel make, src should be build before leim. |
265 # "export PARALLEL=0" is for SGI's Make, to prevent it from | 279 # "export PARALLEL=0" is for SGI's Make, to prevent it from |
266 # running more than 1 process in the leim directory, especially for | 280 # running more than 1 process in the leim directory, especially for |
289 ./config.status | 303 ./config.status |
290 | 304 |
291 config.status: ${srcdir}/configure | 305 config.status: ${srcdir}/configure |
292 ./config.status --recheck | 306 ./config.status --recheck |
293 | 307 |
294 ${srcdir}/configure: $(MAINT) | 308 AUTOCONF_INPUTS = @MAINT@ $(srcdir)/configure.in $(srcdir)/m4/getopt.m4 |
309 | |
310 $(srcdir)/configure: $(AUTOCONF_INPUTS) | |
295 cd ${srcdir} && autoconf | 311 cd ${srcdir} && autoconf |
296 | 312 |
297 $(srcdir)/src/config.in: $(srcdir)/src/stamp-h.in | 313 $(srcdir)/src/config.in: $(srcdir)/src/stamp-h.in |
298 @true | 314 @true |
299 $(srcdir)/src/stamp-h.in: $(MAINT) | 315 $(srcdir)/src/stamp-h.in: $(AUTOCONF_INPUTS) |
300 cd ${srcdir} && autoheader | 316 cd ${srcdir} && autoheader |
301 rm -f $(srcdir)/src/stamp-h.in | 317 rm -f $(srcdir)/src/stamp-h.in |
302 echo timestamp > $(srcdir)/src/stamp-h.in | 318 echo timestamp > $(srcdir)/src/stamp-h.in |
303 | 319 |
304 src/Makefile: $(srcdir)/src/Makefile.in config.status | 320 src/Makefile: $(srcdir)/src/Makefile.in config.status |
369 ${INSTALL_DATA} lib-src/$$f ${archlibdir}/$$f; \ | 385 ${INSTALL_DATA} lib-src/$$f ${archlibdir}/$$f; \ |
370 else true; fi ; \ | 386 else true; fi ; \ |
371 done | 387 done |
372 if test "${carbon_appdir}" != ""; then \ | 388 if test "${carbon_appdir}" != ""; then \ |
373 umask 022; mkdir -p ${carbon_appdir}/Emacs.app; \ | 389 umask 022; mkdir -p ${carbon_appdir}/Emacs.app; \ |
374 (cd mac/Emacs.app; tar -chf - . ) | \ | 390 (cd mac/Emacs.app; (tar -chf - . | \ |
375 (cd ${carbon_appdir}/Emacs.app; umask 022; tar -xvf - \ | 391 (cd ${carbon_appdir}/Emacs.app; umask 022; tar -xvf - \ |
376 && cat > /dev/null) || exit 1; \ | 392 && cat > /dev/null))) || exit 1; \ |
377 fi | 393 fi |
378 | 394 |
379 ### Install the files that are machine-independent. | 395 ### Install the files that are machine-independent. |
380 ### Most of them come straight from the distribution; | 396 ### Most of them come straight from the distribution; |
381 ### the exception is the DOC-* files, which are copied | 397 ### the exception is the DOC-* files, which are copied |
411 for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \ | 427 for subdir in `find $${dest} -type d ! -name RCS ! -name CVS -print` ; do \ |
412 chmod a+rx $${subdir} ; \ | 428 chmod a+rx $${subdir} ; \ |
413 rm -rf $${subdir}/RCS ; \ | 429 rm -rf $${subdir}/RCS ; \ |
414 rm -rf $${subdir}/CVS ; \ | 430 rm -rf $${subdir}/CVS ; \ |
415 rm -f $${subdir}/.cvsignore ; \ | 431 rm -f $${subdir}/.cvsignore ; \ |
432 rm -f $${subdir}/.arch-inventory ; \ | |
416 rm -f $${subdir}/\#* ; \ | 433 rm -f $${subdir}/\#* ; \ |
417 rm -f $${subdir}/.\#* ; \ | 434 rm -f $${subdir}/.\#* ; \ |
418 rm -f $${subdir}/*~ ; \ | 435 rm -f $${subdir}/*~ ; \ |
419 rm -f $${subdir}/*.orig ; \ | 436 rm -f $${subdir}/*.orig ; \ |
420 rm -f $${subdir}/[mM]akefile* ; \ | 437 rm -f $${subdir}/[mM]akefile* ; \ |
459 (cd lisp; tar -chf - *.el *.elc) \ | 476 (cd lisp; tar -chf - *.el *.elc) \ |
460 |(cd ${lispdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \ | 477 |(cd ${lispdir}; umask 022; tar -xvf - && cat > /dev/null) || exit 1; \ |
461 (cd ${lispdir}; find . -exec chown $${LOGNAME:-$$USERNAME} {} ';') ; \ | 478 (cd ${lispdir}; find . -exec chown $${LOGNAME:-$$USERNAME} {} ';') ; \ |
462 else true; fi | 479 else true; fi |
463 -unset CDPATH; \ | 480 -unset CDPATH; \ |
481 if [ -n "${GZIP_PROG}" ]; \ | |
482 then \ | |
483 echo "Compressing *.el ..." ; \ | |
484 (cd ${lispdir}; for f in `find . -name "*.elc" -print`; do \ | |
485 ${GZIP_PROG} -9n `echo $$f|sed 's/.elc$$/.el/'` ; \ | |
486 done) \ | |
487 else true; fi | |
488 -unset CDPATH; \ | |
464 thisdir=`/bin/pwd`; \ | 489 thisdir=`/bin/pwd`; \ |
465 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ | 490 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ |
466 then \ | 491 then \ |
467 (cd ${infodir}; \ | 492 (cd ${infodir}; \ |
468 if [ -f dir ]; then true; \ | 493 if [ -f dir ]; then true; \ |
470 (cd $${thisdir}; \ | 495 (cd $${thisdir}; \ |
471 ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir; \ | 496 ${INSTALL_DATA} ${srcdir}/info/dir ${infodir}/dir; \ |
472 chmod a+r ${infodir}/dir); \ | 497 chmod a+r ${infodir}/dir); \ |
473 fi; \ | 498 fi; \ |
474 cd ${srcdir}/info ; \ | 499 cd ${srcdir}/info ; \ |
475 for f in ada-mode* autotype* calc* ccmode* cl* dired-x* ebrowse* ediff* efaq* eintr* elisp* emacs* eshell* eudc* forms* gnus* idlwave* info* message* mh-e* pcl-cvs* reftex* sc* speedbar* tramp* vip* widget* woman*; do \ | 500 for f in ada-mode* autotype* calc* ccmode* cl* dired-x* ebrowse* ediff* efaq* eintr* elisp* emacs* emacs-mime* emacs-xtra* eshell* eudc* flymake* forms* gnus* idlwave* info* message* mh-e* newsticker* org* pcl-cvs* pgg* reftex* sc* ses* sieve* speedbar* tramp* vip* widget* woman* smtpmail* url*; do \ |
476 (cd $${thisdir}; \ | 501 (cd $${thisdir}; \ |
477 ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f; \ | 502 ${INSTALL_DATA} ${srcdir}/info/$$f ${infodir}/$$f; \ |
478 chmod a+r ${infodir}/$$f); \ | 503 chmod a+r ${infodir}/$$f); \ |
479 done); \ | 504 done); \ |
480 else true; fi | 505 else true; fi |
481 -unset CDPATH; \ | 506 -unset CDPATH; \ |
482 thisdir=`/bin/pwd`; \ | 507 thisdir=`/bin/pwd`; \ |
483 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ | 508 if [ `(cd ${srcdir}/info && /bin/pwd)` != `(cd ${infodir} && /bin/pwd)` ]; \ |
484 then \ | 509 then \ |
485 for f in ada-mode autotype calc ccmode cl dired-x ebrowse ediff efaq elisp eintr emacs emacs-mime eshell eudc forms gnus idlwave info message mh-e pcl-cvs reftex sc speedbar tramp vip viper widget woman; do \ | 510 for f in ada-mode autotype calc ccmode cl dired-x ebrowse ediff efaq elisp eintr emacs emacs-mime emacs-xtra eshell eudc flymake forms gnus idlwave info message mh-e newsticker org pcl-cvs pgg reftex sc ses sieve speedbar tramp vip viper widget woman smtpmail url; do \ |
486 (cd $${thisdir}; \ | 511 (cd $${thisdir}; \ |
487 ${INSTALL_INFO} --info-dir=${infodir} ${infodir}/$$f); \ | 512 ${INSTALL_INFO} --info-dir=${infodir} ${infodir}/$$f); \ |
488 done; \ | 513 done; \ |
489 else true; fi | 514 else true; fi |
490 -chmod -R a+r ${datadir}/emacs ${COPYDESTS} ${infodir} | 515 -chmod -R a+r ${datadir}/emacs ${COPYDESTS} ${infodir} |
546 esac ; \ | 571 esac ; \ |
547 fi ; \ | 572 fi ; \ |
548 done | 573 done |
549 (cd ${archlibdir} && rm -f fns-*) | 574 (cd ${archlibdir} && rm -f fns-*) |
550 -rm -rf ${libexecdir}/emacs/${version} | 575 -rm -rf ${libexecdir}/emacs/${version} |
551 (cd ${infodir} && rm -f cl* ada-mode* autotype* calc* ccmode* ebrowse* efaq* eintr elisp* eshell* eudc* idlwave* message* pcl-cvs* reftex* speedbar* tramp* widget* woman* dired-x* ediff* emacs* forms* gnus* info* mh-e* sc* vip*) | 576 (cd ${infodir} && rm -f cl* ada-mode* autotype* calc* ccmode* ebrowse* efaq* eintr elisp* eshell* eudc* idlwave* message* pcl-cvs* reftex* speedbar* tramp* widget* woman* dired-x* ediff* emacs* emacs-xtra* flymake* forms* gnus* info* mh-e* newsticker* org* sc* ses* vip* smtpmail* url*) |
552 (cd ${man1dir} && rm -f emacs${manext} emacsclient${manext} etags${manext} ctags${manext}) | 577 (cd ${man1dir} && rm -f emacs${manext} emacsclient${manext} etags${manext} ctags${manext}) |
553 (cd ${bindir} && rm -f $(EMACSFULL) $(EMACS)) | 578 (cd ${bindir} && rm -f $(EMACSFULL) $(EMACS)) |
554 | 579 |
555 | 580 |
556 FRC: | 581 FRC: |
632 (cd lib-src; $(MAKE) $(MFLAGS) maintainer-clean) | 657 (cd lib-src; $(MAKE) $(MFLAGS) maintainer-clean) |
633 -(cd man && $(MAKE) $(MFLAGS) maintainer-clean) | 658 -(cd man && $(MAKE) $(MFLAGS) maintainer-clean) |
634 -(cd lispref && $(MAKE) $(MFLAGS) maintainer-clean) | 659 -(cd lispref && $(MAKE) $(MFLAGS) maintainer-clean) |
635 -(cd lispintro && $(MAKE) $(MFLAGS) maintainer-clean) | 660 -(cd lispintro && $(MAKE) $(MFLAGS) maintainer-clean) |
636 (cd leim; $(MAKE) $(MFLAGS) maintainer-clean) | 661 (cd leim; $(MAKE) $(MFLAGS) maintainer-clean) |
662 (cd lisp; $(MAKE) $(MFLAGS) maintainer-clean) | |
637 ${top_distclean} | 663 ${top_distclean} |
638 | 664 |
639 ### This doesn't actually appear in the coding standards, but Karl | 665 ### This doesn't actually appear in the coding standards, but Karl |
640 ### says GCC supports it, and that's where the configuration part of | 666 ### says GCC supports it, and that's where the configuration part of |
641 ### the coding standards seem to come from. It's like distclean, but | 667 ### the coding standards seem to come from. It's like distclean, but |
704 force-info: | 730 force-info: |
705 # Note that man/Makefile knows how to | 731 # Note that man/Makefile knows how to |
706 # put the info files in $(srcdir), | 732 # put the info files in $(srcdir), |
707 # so we can do ok running make in the build dir. | 733 # so we can do ok running make in the build dir. |
708 info: force-info | 734 info: force-info |
709 (cd man; $(MAKE) $(MFLAGS) info) | 735 -(cd man; $(MAKE) $(MFLAGS) info) |
710 (cd lispref; $(MAKE) $(MFLAGS) info) | 736 -(cd lispref; $(MAKE) $(MFLAGS) info) |
711 (cd lispintro; $(MAKE) $(MFLAGS) info) | 737 -(cd lispintro; $(MAKE) $(MFLAGS) info) |
712 dvi: | 738 dvi: |
713 (cd man; $(MAKE) $(MFLAGS) dvi) | 739 (cd man; $(MAKE) $(MFLAGS) dvi) |
714 (cd lispref; $(MAKE) $(MFLAGS) elisp.dvi) | 740 (cd lispref; $(MAKE) $(MFLAGS) elisp.dvi) |
715 (cd lispintro; $(MAKE) $(MFLAGS) emacs-lisp-intro.dvi) | 741 (cd lispintro; $(MAKE) $(MFLAGS) emacs-lisp-intro.dvi) |
716 | 742 |
720 ### lisp subdirectory, removing all compiled Lisp files. Then a | 746 ### lisp subdirectory, removing all compiled Lisp files. Then a |
721 ### special emacs executable is built from Lisp sources, which is then | 747 ### special emacs executable is built from Lisp sources, which is then |
722 ### used to compile Lisp files. The last step is a "normal" make. | 748 ### used to compile Lisp files. The last step is a "normal" make. |
723 | 749 |
724 .PHONY: bootstrap | 750 .PHONY: bootstrap |
751 .PHONY: bootstrap-build | |
752 .PHONY: bootfast | |
725 .PHONY: maybe_bootstrap | 753 .PHONY: maybe_bootstrap |
726 | 754 |
727 maybe_bootstrap: | 755 maybe_bootstrap: |
728 @bar="`echo $(srcdir)/lisp/*.elc`"; \ | 756 @bar="`echo $(srcdir)/lisp/*.elc`"; \ |
729 if [ \( "$$bar" = '$(srcdir)/lisp/*.elc' \) -o \( "$$bar" = '' \) ]; then \ | 757 if [ \( "$$bar" = '$(srcdir)/lisp/*.elc' \) -o \( "$$bar" = '' \) ]; then \ |
731 echo "You need to do \`make bootstrap' to build Emacs."; \ | 759 echo "You need to do \`make bootstrap' to build Emacs."; \ |
732 echo "Emacs now requires Texinfo version 4.2."; \ | 760 echo "Emacs now requires Texinfo version 4.2."; \ |
733 exit 1;\ | 761 exit 1;\ |
734 fi | 762 fi |
735 | 763 |
736 bootstrap: bootstrap-clean-before info FRC | 764 bootstrap: bootstrap-clean-before FRC |
737 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean) | 765 $(MAKE) $(MFLAGS) info bootstrap-build |
766 | |
767 bootfast: bootstrap-clean-before-fast FRC | |
768 $(MAKE) $(MFLAGS) info bootstrap-build | |
769 | |
770 bootstrap-build: FRC | |
771 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-prepare) | |
738 (cd src; $(MAKE) $(MFLAGS) bootstrap) | 772 (cd src; $(MAKE) $(MFLAGS) bootstrap) |
739 (cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/bootstrap-emacs${EXEEXT}) | 773 (cd lisp; $(MAKE) $(MFLAGS) bootstrap EMACS=../src/bootstrap-emacs${EXEEXT}) |
740 (cd src; $(MAKE) $(MFLAGS) mostlyclean) | 774 (cd src; $(MAKE) $(MFLAGS) mostlyclean) |
741 $(MAKE) $(MFLAGS) all | 775 $(MAKE) $(MFLAGS) all |
742 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-after) | 776 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-after) |
743 | 777 |
744 ### Used for `bootstrap' to avoid deleting existing dumped Emacs executables. | 778 ### Used for `bootstrap' to avoid deleting existing dumped Emacs executables. |
745 bootstrap-clean-before: FRC | 779 bootstrap-clean-before: bootstrap-clean-before-fast FRC |
780 (cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean) | |
781 | |
782 ### Used for `bootfast' to avoid deleting existing dumped Emacs executables | |
783 ### and compiled .elc files. | |
784 bootstrap-clean-before-fast: FRC | |
746 (cd src; $(MAKE) $(MFLAGS) mostlyclean) | 785 (cd src; $(MAKE) $(MFLAGS) mostlyclean) |
747 (cd oldXMenu; $(MAKE) $(MFLAGS) clean) | 786 (cd oldXMenu; $(MAKE) $(MFLAGS) clean) |
748 (cd lwlib; $(MAKE) $(MFLAGS) clean) | 787 (cd lwlib; $(MAKE) $(MFLAGS) clean) |
749 (cd lib-src; $(MAKE) $(MFLAGS) clean) | 788 (cd lib-src; $(MAKE) $(MFLAGS) clean) |
750 -(cd man && $(MAKE) $(MFLAGS) clean) | 789 -(cd man && $(MAKE) $(MFLAGS) clean) |
751 -(cd lispref && $(MAKE) $(MFLAGS) clean) | 790 -(cd lispref && $(MAKE) $(MFLAGS) clean) |
752 -(cd lispintro && $(MAKE) $(MFLAGS) clean) | 791 -(cd lispintro && $(MAKE) $(MFLAGS) clean) |
753 (cd leim; $(MAKE) $(MFLAGS) clean) | 792 (cd leim; $(MAKE) $(MFLAGS) clean) |
754 |