comparison Makefile.in.in @ 2259:e77c2aea9fd8

[xemacs-hg @ 2004-09-10 11:58:06 by malcolmp] Add support for parallel builds.
author malcolmp
date Fri, 10 Sep 2004 11:58:33 +0000
parents 3c2d928e17ad
children cfff883d4990
comparison
equal deleted inserted replaced
2258:6ff95a75d04e 2259:e77c2aea9fd8
273 273
274 ${srcdir}/lib-src/config.values.in : ${srcdir}/configure 274 ${srcdir}/lib-src/config.values.in : ${srcdir}/configure
275 cd ${srcdir} && $(SHELL) lib-src/config.values.sh 275 cd ${srcdir} && $(SHELL) lib-src/config.values.sh
276 276
277 depend ${srcdir}/src/depend: 277 depend ${srcdir}/src/depend:
278 cd ./src && $(RECURSIVE_MAKE) depend 278 +cd ./src && $(RECURSIVE_MAKE) depend
279 279
280 check: 280 check:
281 cd ./src && $(RECURSIVE_MAKE) $@ 281 +cd ./src && $(RECURSIVE_MAKE) $@
282 282
283 check-features: all 283 check-features: all
284 cd ./src && $(RECURSIVE_MAKE) $@ 284 +cd ./src && $(RECURSIVE_MAKE) $@
285 285
286 ## We have to force the building of Emacs.ad.h as well in order to get it 286 ## We have to force the building of Emacs.ad.h as well in order to get it
287 ## updated correctly when VPATH is being used. Since we use move-if-change, 287 ## updated correctly when VPATH is being used. Since we use move-if-change,
288 ## it will only actually change if the user modified ${etcdir}/Emacs.ad. 288 ## it will only actually change if the user modified ${etcdir}/Emacs.ad.
289 src/Emacs.ad.h: ${srcdir}/etc/Emacs.ad 289 src/Emacs.ad.h: ${srcdir}/etc/Emacs.ad
308 dynodump: FRC.dynodump 308 dynodump: FRC.dynodump
309 FRC.src FRC.lib-src FRC.lwlib FRC.dynodump pkg-src/FRC.tree-x: 309 FRC.src FRC.lib-src FRC.lwlib FRC.dynodump pkg-src/FRC.tree-x:
310 FRC.lisp.finder-inf.el: 310 FRC.lisp.finder-inf.el:
311 311
312 ${SUBDIR}: ${SUBDIR_MAKEFILES} ${GENERATED_HEADERS} FRC 312 ${SUBDIR}: ${SUBDIR_MAKEFILES} ${GENERATED_HEADERS} FRC
313 cd ./$@ && $(RECURSIVE_MAKE) all 313 +cd ./$@ && $(RECURSIVE_MAKE) all
314
315 ## Building modules depends on ellcc, found in lib-src.
316 modules/sample modules/ldap modules/zlib modules/base64 modules/postgresql: lib-src
314 317
315 Makefile: ${srcdir}/Makefile.in.in config.status 318 Makefile: ${srcdir}/Makefile.in.in config.status
316 ./config.status 319 ./config.status
317 $(RECURSIVE_MAKE) all 320 $(RECURSIVE_MAKE) all
318 321
519 ## Like `clean', but may refrain from deleting a few files that people 522 ## Like `clean', but may refrain from deleting a few files that people
520 ## normally don't want to recompile. For example, the `mostlyclean' 523 ## normally don't want to recompile. For example, the `mostlyclean'
521 ## target for GCC does not delete `libgcc.a', because recompiling it 524 ## target for GCC does not delete `libgcc.a', because recompiling it
522 ## is rarely necessary and takes a lot of time. 525 ## is rarely necessary and takes a lot of time.
523 mostlyclean: FRC.mostlyclean 526 mostlyclean: FRC.mostlyclean
524 for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done 527 +for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done
525 $(RM) core 528 $(RM) core
526 529
527 ## `clean' 530 ## `clean'
528 ## Delete all files from the current directory that are normally 531 ## Delete all files from the current directory that are normally
529 ## created by building the program. Don't delete the files that 532 ## created by building the program. Don't delete the files that
535 538
536 ## Remove the generated load files here; they cause lots of problems 539 ## Remove the generated load files here; they cause lots of problems
537 ## when they don't work right. (beta can't depend on distclean, which 540 ## when they don't work right. (beta can't depend on distclean, which
538 ## removes necessary files generated by configure.) 541 ## removes necessary files generated by configure.)
539 clean: FRC.clean 542 clean: FRC.clean
540 for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done 543 +for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done
541 $(RM) core lisp/auto-autoloads.el* lisp/custom-load.el* 544 $(RM) core lisp/auto-autoloads.el* lisp/custom-load.el*
542 $(RM) lisp/mule/auto-autoloads.el* lisp/mule/custom-load.el* 545 $(RM) lisp/mule/auto-autoloads.el* lisp/mule/custom-load.el*
543 $(RM) modules/auto-autoloads.el* modules/custom-load.el* 546 $(RM) modules/auto-autoloads.el* modules/custom-load.el*
544 547
545 ## `distclean' 548 ## `distclean'
553 $(RM) TAGS .sbinit lock/* GNUmakefile Makefile Makefile.in ; \ 556 $(RM) TAGS .sbinit lock/* GNUmakefile Makefile Makefile.in ; \
554 $(RM) lisp/finder-inf.el* Installation.el Installation.elc ; \ 557 $(RM) lisp/finder-inf.el* Installation.el Installation.elc ; \
555 $(RM) -r site-packages xemacs-packages mule-packages site-lisp 558 $(RM) -r site-packages xemacs-packages mule-packages site-lisp
556 559
557 distclean: FRC.distclean 560 distclean: FRC.distclean
558 for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done 561 +for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done
559 -${top_distclean} 562 -${top_distclean}
560 563
561 ## `realclean' 564 ## `realclean'
562 ## Delete everything from the current directory that can be 565 ## Delete everything from the current directory that can be
563 ## reconstructed with this Makefile. This typically includes 566 ## reconstructed with this Makefile. This typically includes
568 ## `configure' even if `configure' can be remade using a rule in the 571 ## `configure' even if `configure' can be remade using a rule in the
569 ## Makefile. More generally, `make realclean' should not delete 572 ## Makefile. More generally, `make realclean' should not delete
570 ## anything that needs to exist in order to run `configure' and then 573 ## anything that needs to exist in order to run `configure' and then
571 ## begin to build the program. 574 ## begin to build the program.
572 realclean: FRC.realclean 575 realclean: FRC.realclean
573 for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done 576 +for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done
574 -${top_distclean} 577 -${top_distclean}
575 $(RM) TAGS 578 $(RM) TAGS
576 579
577 ## This doesn't actually appear in the coding standards, but Karl 580 ## This doesn't actually appear in the coding standards, but Karl
578 ## says GCC supports it, and that's where the configuration part of 581 ## says GCC supports it, and that's where the configuration part of
579 ## the coding standards seem to come from. It's like distclean, but 582 ## the coding standards seem to come from. It's like distclean, but
580 ## it deletes backup and autosave files too. 583 ## it deletes backup and autosave files too.
581 extraclean: 584 extraclean:
582 for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done 585 +for d in $(SUBDIR); do (cd ./$$d && $(RECURSIVE_MAKE) $@); done
583 $(RM) *~ \#* 586 $(RM) *~ \#*
584 -${top_distclean} 587 -${top_distclean}
585 588
586 ## Unlocking and relocking. The idea of these productions is to reduce 589 ## Unlocking and relocking. The idea of these productions is to reduce
587 ## hassles when installing an incremental tar of XEmacs. Do `make unlock' 590 ## hassles when installing an incremental tar of XEmacs. Do `make unlock'
628 -r '/^DEFUN[ ]*([ ]*"\([^"]+\)"[ ]*,[ ]*\([A-Za-z0-9_]+\)/\2/'; \ 631 -r '/^DEFUN[ ]*([ ]*"\([^"]+\)"[ ]*,[ ]*\([A-Za-z0-9_]+\)/\2/'; \
629 find ${tagslisp} ${PRUNE_VC} -name '*.el' ! -name 'auto-autoloads.el' -print | \ 632 find ${tagslisp} ${PRUNE_VC} -name '*.el' ! -name 'auto-autoloads.el' -print | \
630 xargs etags -a -l none -r "/^(def\\(var\\|un\\|alias\\|const\\|macro\\|subst\\|struct\\|face\\|group\\|custom\\|ine-\\(function\\|compiler-macro\\|[a-z-]+alias\\)\\)[ ]+'?\\([^ ]+\\)/\\3/" 633 xargs etags -a -l none -r "/^(def\\(var\\|un\\|alias\\|const\\|macro\\|subst\\|struct\\|face\\|group\\|custom\\|ine-\\(function\\|compiler-macro\\|[a-z-]+alias\\)\\)[ ]+'?\\([^ ]+\\)/\\3/"
631 634
632 info: FRC.info 635 info: FRC.info
633 cd ${srcdir}/man && $(RECURSIVE_MAKE) $@ 636 +cd ${srcdir}/man && $(RECURSIVE_MAKE) $@
634 637
635 dvi: 638 dvi:
636 cd ${srcdir}/man && $(RECURSIVE_MAKE) $@ 639 +cd ${srcdir}/man && $(RECURSIVE_MAKE) $@
637 640
638 ## Fix up version information in executables (Solaris-only) 641 ## Fix up version information in executables (Solaris-only)
639 mcs: 642 mcs:
640 date=`LANG=C LC_ALL=C date -u '+%e %b %Y'`; \ 643 date=`LANG=C LC_ALL=C date -u '+%e %b %Y'`; \
641 ident="@(#)RELEASE VERSION XEmacs ${version} $${date}"; \ 644 ident="@(#)RELEASE VERSION XEmacs ${version} $${date}"; \