diff options
| author | Karl Heuer | 1995-07-17 22:20:01 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-07-17 22:20:01 +0000 |
| commit | 02ae1501743c017970f0df04870d889195b3dc83 (patch) | |
| tree | a1e114a2ca7f755649742242f93629dcc7880abe /src | |
| parent | 9115729ea3ea049e00e9e72cae09095c593e131a (diff) | |
| download | emacs-02ae1501743c017970f0df04870d889195b3dc83.tar.gz emacs-02ae1501743c017970f0df04870d889195b3dc83.zip | |
(lispsource): Renamed from lispdir.
(TAGS): Use etags from build dir, but make TAGS
file in source dir.
(${lispsource}TAGS): Renamed from ../lisp/TAGS. Deps changed too.
(tags): Corresponding changes.
(lisptagsfiles): Delete the term/*.el files.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Makefile.in | 95 |
1 files changed, 48 insertions, 47 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index d547ec06347..e79e58ac38d 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -30,7 +30,7 @@ LN_S=@LN_S@ | |||
| 30 | 30 | ||
| 31 | # On Xenix and the IBM RS6000, double-dot gets screwed up. | 31 | # On Xenix and the IBM RS6000, double-dot gets screwed up. |
| 32 | dot = . | 32 | dot = . |
| 33 | lispdir = ${srcdir}/$(dot)$(dot)/lisp/ | 33 | lispsource = ${srcdir}/$(dot)$(dot)/lisp/ |
| 34 | libsrc = $(dot)$(dot)/lib-src/ | 34 | libsrc = $(dot)$(dot)/lib-src/ |
| 35 | etc = $(dot)$(dot)/etc/ | 35 | etc = $(dot)$(dot)/etc/ |
| 36 | shortnamesdir = $(dot)$(dot)/shortnames/ | 36 | shortnamesdir = $(dot)$(dot)/shortnames/ |
| @@ -550,26 +550,26 @@ widgetobj= | |||
| 550 | otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) | 550 | otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) |
| 551 | 551 | ||
| 552 | #ifdef HAVE_FACES | 552 | #ifdef HAVE_FACES |
| 553 | #define FACE_SUPPORT ${lispdir}faces.elc ${lispdir}facemenu.elc | 553 | #define FACE_SUPPORT ${lispsource}faces.elc ${lispsource}facemenu.elc |
| 554 | #else | 554 | #else |
| 555 | #define FACE_SUPPORT | 555 | #define FACE_SUPPORT |
| 556 | #endif | 556 | #endif |
| 557 | 557 | ||
| 558 | #ifdef LISP_FLOAT_TYPE | 558 | #ifdef LISP_FLOAT_TYPE |
| 559 | #define FLOAT_SUPPORT ${lispdir}float-sup.elc | 559 | #define FLOAT_SUPPORT ${lispsource}float-sup.elc |
| 560 | #else | 560 | #else |
| 561 | #define FLOAT_SUPPORT | 561 | #define FLOAT_SUPPORT |
| 562 | #endif | 562 | #endif |
| 563 | 563 | ||
| 564 | #ifdef MULTI_FRAME | 564 | #ifdef MULTI_FRAME |
| 565 | #define FRAME_SUPPORT ${lispdir}frame.elc | 565 | #define FRAME_SUPPORT ${lispsource}frame.elc |
| 566 | #else | 566 | #else |
| 567 | #define FRAME_SUPPORT | 567 | #define FRAME_SUPPORT |
| 568 | #endif | 568 | #endif |
| 569 | 569 | ||
| 570 | #ifdef HAVE_MOUSE | 570 | #ifdef HAVE_MOUSE |
| 571 | #define MOUSE_SUPPORT ${lispdir}menu-bar.elc ${lispdir}mouse.elc \ | 571 | #define MOUSE_SUPPORT ${lispsource}menu-bar.elc ${lispsource}mouse.elc \ |
| 572 | ${lispdir}select.elc ${lispdir}scroll-bar.elc | 572 | ${lispsource}select.elc ${lispsource}scroll-bar.elc |
| 573 | #else | 573 | #else |
| 574 | #define MOUSE_SUPPORT | 574 | #define MOUSE_SUPPORT |
| 575 | #endif | 575 | #endif |
| @@ -581,19 +581,19 @@ otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) | |||
| 581 | #endif | 581 | #endif |
| 582 | 582 | ||
| 583 | #ifdef VMS | 583 | #ifdef VMS |
| 584 | #define VMS_SUPPORT ${lispdir}vmsproc.elc ${lispdir}vms-patch.elc | 584 | #define VMS_SUPPORT ${lispsource}vmsproc.elc ${lispsource}vms-patch.elc |
| 585 | #else | 585 | #else |
| 586 | #define VMS_SUPPORT | 586 | #define VMS_SUPPORT |
| 587 | #endif | 587 | #endif |
| 588 | 588 | ||
| 589 | #ifdef MSDOS | 589 | #ifdef MSDOS |
| 590 | #define MSDOS_SUPPORT ${lispdir}ls-lisp.elc ${lispdir}disp-tab.elc ${lispdir}dos-fns.elc | 590 | #define MSDOS_SUPPORT ${lispsource}ls-lisp.elc ${lispsource}disp-tab.elc ${lispsource}dos-fns.elc |
| 591 | #else | 591 | #else |
| 592 | #define MSDOS_SUPPORT | 592 | #define MSDOS_SUPPORT |
| 593 | #endif | 593 | #endif |
| 594 | 594 | ||
| 595 | #ifdef WINDOWSNT | 595 | #ifdef WINDOWSNT |
| 596 | #define WINNT_SUPPORT ${lispdir}ls-lisp.elc ${lispdir}winnt.elc | 596 | #define WINNT_SUPPORT ${lispsource}ls-lisp.elc ${lispsource}winnt.elc |
| 597 | #else | 597 | #else |
| 598 | #define WINNT_SUPPORT | 598 | #define WINNT_SUPPORT |
| 599 | #endif | 599 | #endif |
| @@ -606,50 +606,50 @@ otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) | |||
| 606 | be present, like site-load.el and site-init.el; this makefile | 606 | be present, like site-load.el and site-init.el; this makefile |
| 607 | expects them all to be either present or buildable. */ | 607 | expects them all to be either present or buildable. */ |
| 608 | lisp= \ | 608 | lisp= \ |
| 609 | ${lispdir}abbrev.elc \ | 609 | ${lispsource}abbrev.elc \ |
| 610 | ${lispdir}buff-menu.elc \ | 610 | ${lispsource}buff-menu.elc \ |
| 611 | ${lispdir}byte-run.elc \ | 611 | ${lispsource}byte-run.elc \ |
| 612 | ${lispdir}c-mode.elc \ | 612 | ${lispsource}c-mode.elc \ |
| 613 | ${lispdir}files.elc \ | 613 | ${lispsource}files.elc \ |
| 614 | ${lispdir}fill.elc \ | 614 | ${lispsource}fill.elc \ |
| 615 | ${lispdir}format.elc \ | 615 | ${lispsource}format.elc \ |
| 616 | FACE_SUPPORT \ | 616 | FACE_SUPPORT \ |
| 617 | MOUSE_SUPPORT \ | 617 | MOUSE_SUPPORT \ |
| 618 | FLOAT_SUPPORT \ | 618 | FLOAT_SUPPORT \ |
| 619 | FRAME_SUPPORT \ | 619 | FRAME_SUPPORT \ |
| 620 | X_WINDOWS_SUPPORT \ | 620 | X_WINDOWS_SUPPORT \ |
| 621 | ${lispdir}help.elc \ | 621 | ${lispsource}help.elc \ |
| 622 | ${lispdir}indent.elc \ | 622 | ${lispsource}indent.elc \ |
| 623 | ${lispdir}isearch.elc \ | 623 | ${lispsource}isearch.elc \ |
| 624 | ${lispdir}lisp-mode.elc \ | 624 | ${lispsource}lisp-mode.elc \ |
| 625 | ${lispdir}lisp.elc \ | 625 | ${lispsource}lisp.elc \ |
| 626 | ${lispdir}loaddefs.el \ | 626 | ${lispsource}loaddefs.el \ |
| 627 | ${lispdir}map-ynp.elc \ | 627 | ${lispsource}map-ynp.elc \ |
| 628 | ${lispdir}page.elc \ | 628 | ${lispsource}page.elc \ |
| 629 | ${lispdir}paragraphs.elc \ | 629 | ${lispsource}paragraphs.elc \ |
| 630 | ${lispdir}paths.el \ | 630 | ${lispsource}paths.el \ |
| 631 | ${lispdir}register.elc \ | 631 | ${lispsource}register.elc \ |
| 632 | ${lispdir}replace.elc \ | 632 | ${lispsource}replace.elc \ |
| 633 | ${lispdir}simple.elc \ | 633 | ${lispsource}simple.elc \ |
| 634 | ${lispdir}startup.elc \ | 634 | ${lispsource}startup.elc \ |
| 635 | ${lispdir}subr.elc \ | 635 | ${lispsource}subr.elc \ |
| 636 | ${lispdir}text-mode.elc \ | 636 | ${lispsource}text-mode.elc \ |
| 637 | ${lispdir}vc-hooks.elc \ | 637 | ${lispsource}vc-hooks.elc \ |
| 638 | VMS_SUPPORT \ | 638 | VMS_SUPPORT \ |
| 639 | MSDOS_SUPPORT \ | 639 | MSDOS_SUPPORT \ |
| 640 | WINNT_SUPPORT \ | 640 | WINNT_SUPPORT \ |
| 641 | ${lispdir}window.elc \ | 641 | ${lispsource}window.elc \ |
| 642 | ${lispdir}version.el | 642 | ${lispsource}version.el |
| 643 | 643 | ||
| 644 | /* Lisp files that may or may not be used. | 644 | /* Lisp files that may or may not be used. |
| 645 | We must unconditionally put them in the DOC file. */ | 645 | We must unconditionally put them in the DOC file. */ |
| 646 | SOME_MACHINE_LISP = ${lispdir}faces.elc ${lispdir}facemenu.elc \ | 646 | SOME_MACHINE_LISP = ${lispsource}faces.elc ${lispsource}facemenu.elc \ |
| 647 | ${lispdir}float-sup.elc ${lispdir}frame.elc \ | 647 | ${lispsource}float-sup.elc ${lispsource}frame.elc \ |
| 648 | ${lispdir}menu-bar.elc ${lispdir}mouse.elc \ | 648 | ${lispsource}menu-bar.elc ${lispsource}mouse.elc \ |
| 649 | ${lispdir}select.elc ${lispdir}scroll-bar.elc \ | 649 | ${lispsource}select.elc ${lispsource}scroll-bar.elc \ |
| 650 | ${lispdir}vmsproc.elc ${lispdir}vms-patch.elc \ | 650 | ${lispsource}vmsproc.elc ${lispsource}vms-patch.elc \ |
| 651 | ${lispdir}ls-lisp.elc ${lispdir}dos-fns.elc \ | 651 | ${lispsource}ls-lisp.elc ${lispsource}dos-fns.elc \ |
| 652 | ${lispdir}winnt.elc | 652 | ${lispsource}winnt.elc |
| 653 | 653 | ||
| 654 | /* Construct full set of libraries to be linked. | 654 | /* Construct full set of libraries to be linked. |
| 655 | Note that SunOS needs -lm to come before -lc; otherwise, you get | 655 | Note that SunOS needs -lm to come before -lc; otherwise, you get |
| @@ -1000,11 +1000,12 @@ relock: | |||
| 1000 | /* Arrange to make a tags table in ../lisp, and another in this dir | 1000 | /* Arrange to make a tags table in ../lisp, and another in this dir |
| 1001 | which includes ../lisp/TAGS by reference. */ | 1001 | which includes ../lisp/TAGS by reference. */ |
| 1002 | ctagsfiles = [a-zA-Z]*.[hc] | 1002 | ctagsfiles = [a-zA-Z]*.[hc] |
| 1003 | lisptagsfiles = ../lisp/[a-zA-Z]*.el ../lisp/term/[a-zA-Z]*.el | 1003 | lisptagsfiles = ../lisp/[a-zA-Z]*.el |
| 1004 | TAGS: $(ctagsfiles) | 1004 | TAGS: $(ctagsfiles) |
| 1005 | ../lib-src/etags --include=../lisp/TAGS \ | 1005 | export DIR=`pwd`; cd ${srcdir}; \ |
| 1006 | $$DIR/../lib-src/etags --include=../lisp/TAGS \ | ||
| 1006 | --regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' $(ctagsfiles) | 1007 | --regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' $(ctagsfiles) |
| 1007 | ../lisp/TAGS: $(lisptagsfiles) | 1008 | ${lispsource}TAGS: ${lispsource}$(lisptagsfiles) |
| 1008 | cd ../lisp; $(MAKE) TAGS | 1009 | cd ${lispsource}; $(MAKE) TAGS |
| 1009 | tags: TAGS ../lisp/TAGS | 1010 | tags: TAGS ${lispsource}TAGS |
| 1010 | .PHONY: tags | 1011 | .PHONY: tags |