Mercurial > hg > xemacs-beta
comparison src/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 | 71477bc21fe8 |
children | cfff883d4990 |
comparison
equal
deleted
inserted
replaced
2258:6ff95a75d04e | 2259:e77c2aea9fd8 |
---|---|
519 ## (1) Compile all dependencies of the XEmacs executable | 519 ## (1) Compile all dependencies of the XEmacs executable |
520 | 520 |
521 #ifdef HAVE_X_WINDOWS | 521 #ifdef HAVE_X_WINDOWS |
522 lwlib_deps = $(lwlib_lib) | 522 lwlib_deps = $(lwlib_lib) |
523 $(lwlib_lib): | 523 $(lwlib_lib): |
524 cd ../lwlib && $(RECURSIVE_MAKE) | 524 +cd ../lwlib && $(RECURSIVE_MAKE) |
525 #endif /* HAVE_X_WINDOWS */ | 525 #endif /* HAVE_X_WINDOWS */ |
526 | 526 |
527 #ifdef DYNODUMP | 527 #ifdef DYNODUMP |
528 dynodump_deps = ../dynodump/dynodump.so | 528 dynodump_deps = ../dynodump/dynodump.so |
529 ../dynodump/dynodump.so: | 529 ../dynodump/dynodump.so: |
530 cd ../dynodump && $(RECURSIVE_MAKE) | 530 +cd ../dynodump && $(RECURSIVE_MAKE) |
531 #endif /* DYNODUMP */ | 531 #endif /* DYNODUMP */ |
532 | 532 |
533 link_deps = $(start_files) $(objs) $(otherobjs) $(lwlib_deps) $(dynodump_deps) | 533 link_deps = $(start_files) $(objs) $(otherobjs) $(lwlib_deps) $(dynodump_deps) |
534 | 534 |
535 $(LIB_SRC)/make-dump-id: | 535 $(LIB_SRC)/make-dump-id: |
536 cd $(LIB_SRC) && $(RECURSIVE_MAKE) make-dump-id | 536 +cd $(LIB_SRC) && $(RECURSIVE_MAKE) make-dump-id |
537 | 537 |
538 dump-id.c: $(LIB_SRC)/make-dump-id $(link_deps) | 538 dump-id.c: $(LIB_SRC)/make-dump-id $(link_deps) |
539 $(LIB_SRC)/make-dump-id | 539 $(LIB_SRC)/make-dump-id |
540 | 540 |
541 ## (2) Link the XEmacs executable | 541 ## (2) Link the XEmacs executable |
567 ## (4) Build the DOC file | 567 ## (4) Build the DOC file |
568 | 568 |
569 obj_src = $(objs:.o=.c) | 569 obj_src = $(objs:.o=.c) |
570 | 570 |
571 $(LIB_SRC)/make-docfile: | 571 $(LIB_SRC)/make-docfile: |
572 cd $(LIB_SRC) && $(RECURSIVE_MAKE) make-docfile | 572 +cd $(LIB_SRC) && $(RECURSIVE_MAKE) make-docfile |
573 | 573 |
574 $(LIB_SRC)/DOC: $(LIB_SRC)/make-docfile $(BLDSRC)/NEEDTODUMP $(temacs_deps) | 574 $(LIB_SRC)/DOC: $(LIB_SRC)/make-docfile $(BLDSRC)/NEEDTODUMP $(temacs_deps) |
575 #ifdef QUICK_BUILD | 575 #ifdef QUICK_BUILD |
576 if test ! -f $@ ; then \ | 576 if test ! -f $@ ; then \ |
577 #else | 577 #else |
652 -$(dump_temacs) | 652 -$(dump_temacs) |
653 @$(XEMACS_BATCH) -f list-load-path-shadows | 653 @$(XEMACS_BATCH) -f list-load-path-shadows |
654 | 654 |
655 .PHONY: all-elc | 655 .PHONY: all-elc |
656 all-elc: | 656 all-elc: |
657 cd .. && $(RECURSIVE_MAKE) | 657 +cd .. && $(RECURSIVE_MAKE) |
658 | 658 |
659 ######################################################################### | 659 ######################################################################### |
660 ## Subsidiary dependency rules ## | 660 ## Subsidiary dependency rules ## |
661 ######################################################################### | 661 ######################################################################### |
662 | 662 |
680 | 680 |
681 $(LIB_SRC)/emacs.mo: $(LIB_SRC)/emacs.po | 681 $(LIB_SRC)/emacs.mo: $(LIB_SRC)/emacs.po |
682 cd $(LIB_SRC)/ && $(msgfmt) -o emacs.mo emacs.po | 682 cd $(LIB_SRC)/ && $(msgfmt) -o emacs.mo emacs.po |
683 | 683 |
684 $(LIB_SRC)/make-msgfile: | 684 $(LIB_SRC)/make-msgfile: |
685 cd $(LIB_SRC) && $(RECURSIVE_MAKE) make-msgfile | 685 +cd $(LIB_SRC) && $(RECURSIVE_MAKE) make-msgfile |
686 | 686 |
687 $(LIB_SRC)/make-po: | 687 $(LIB_SRC)/make-po: |
688 cd $(LIB_SRC) && $(RECURSIVE_MAKE) make-po | 688 +cd $(LIB_SRC) && $(RECURSIVE_MAKE) make-po |
689 | 689 |
690 #endif /* I18N3 */ | 690 #endif /* I18N3 */ |
691 | 691 |
692 TopLevelEmacsShell.o : $(SRC)/EmacsShell-sub.c config.h xintrinsicp.h EmacsShellP.h | 692 TopLevelEmacsShell.o : $(SRC)/EmacsShell-sub.c config.h xintrinsicp.h EmacsShellP.h |
693 $(CC) -c $(cflags) -DDEFINE_TOP_LEVEL_EMACS_SHELL $(SRC)/EmacsShell-sub.c | 693 $(CC) -c $(cflags) -DDEFINE_TOP_LEVEL_EMACS_SHELL $(SRC)/EmacsShell-sub.c |