diff options
| author | Karl Heuer | 1995-12-21 16:54:34 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-12-21 16:54:34 +0000 |
| commit | 449d572b14aabccae563a4872668e4dcbce514bc (patch) | |
| tree | 5a17a4552c8713598a5100a4462f549102bbed36 | |
| parent | 2c081c2d63ae9807b288dcac1d02ed2129a2940e (diff) | |
| download | emacs-449d572b14aabccae563a4872668e4dcbce514bc.tar.gz emacs-449d572b14aabccae563a4872668e4dcbce514bc.zip | |
(LIBXT): Handle LIBXT_STATIC.
(THIS_IS_MAKEFILE): New definition.
(dotdot): New variable.
(SOME_MACHINE_LISP): Use relative file names.
(shortlisp): New variable.
(${etc}DOC): Use shortlisp instead of lisp.
(keymap.o): Depend on puresize.h.
| -rw-r--r-- | src/Makefile.in | 76 |
1 files changed, 63 insertions, 13 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index f39e56fd442..a097849e695 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -30,6 +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 | dotdot = ${dot}${dot} | ||
| 33 | lispsource = ${srcdir}/$(dot)$(dot)/lisp/ | 34 | lispsource = ${srcdir}/$(dot)$(dot)/lisp/ |
| 34 | libsrc = $(dot)$(dot)/lib-src/ | 35 | libsrc = $(dot)$(dot)/lib-src/ |
| 35 | etc = $(dot)$(dot)/etc/ | 36 | etc = $(dot)$(dot)/etc/ |
| @@ -53,6 +54,7 @@ C_SWITCH_SYSTEM= | |||
| 53 | /* just to be sure the sh is used */ | 54 | /* just to be sure the sh is used */ |
| 54 | SHELL=/bin/sh | 55 | SHELL=/bin/sh |
| 55 | 56 | ||
| 57 | #define THIS_IS_MAKEFILE | ||
| 56 | #define NO_SHORTNAMES | 58 | #define NO_SHORTNAMES |
| 57 | #define NOT_C_CODE | 59 | #define NOT_C_CODE |
| 58 | #include "config.h" | 60 | #include "config.h" |
| @@ -339,10 +341,18 @@ LIBXTR6 = -lSM -lICE | |||
| 339 | #define LIBXMU -lXmu | 341 | #define LIBXMU -lXmu |
| 340 | #endif | 342 | #endif |
| 341 | 343 | ||
| 344 | #ifdef LIBXT_STATIC | ||
| 345 | /* We assume the config files have defined STATIC_OPTION | ||
| 346 | since that might depend on the operating system. | ||
| 347 | (Don't forget you need different definitions with and without __GNUC__.) */ | ||
| 348 | LIBXT= STATIC_OPTION $(LIBW) LIBXMU -lXt $(LIBXTR6) -lXext STATIC_OPTION | ||
| 349 | #else /* not LIBXT_STATIC */ | ||
| 342 | LIBXT= $(LIBW) LIBXMU -lXt $(LIBXTR6) -lXext | 350 | LIBXT= $(LIBW) LIBXMU -lXt $(LIBXTR6) -lXext |
| 343 | #else | 351 | #endif /* not LIBXT_STATIC */ |
| 352 | |||
| 353 | #else /* not USE_X_TOOLKIT */ | ||
| 344 | LIBXT= | 354 | LIBXT= |
| 345 | #endif | 355 | #endif /* not USE_X_TOOLKIT */ |
| 346 | 356 | ||
| 347 | #ifdef HAVE_X11 | 357 | #ifdef HAVE_X11 |
| 348 | /* LD_SWITCH_X_DEFAULT comes after everything else that specifies | 358 | /* LD_SWITCH_X_DEFAULT comes after everything else that specifies |
| @@ -604,7 +614,10 @@ otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) | |||
| 604 | 614 | ||
| 605 | Note that this list should not include lisp files which might not | 615 | Note that this list should not include lisp files which might not |
| 606 | be present, like site-load.el and site-init.el; this makefile | 616 | be present, like site-load.el and site-init.el; this makefile |
| 607 | expects them all to be either present or buildable. */ | 617 | expects them all to be either present or buildable. |
| 618 | |||
| 619 | Always update shortlisp as well as this variable. */ | ||
| 620 | |||
| 608 | lisp= \ | 621 | lisp= \ |
| 609 | ${lispsource}abbrev.elc \ | 622 | ${lispsource}abbrev.elc \ |
| 610 | ${lispsource}buff-menu.elc \ | 623 | ${lispsource}buff-menu.elc \ |
| @@ -642,15 +655,51 @@ lisp= \ | |||
| 642 | ${lispsource}window.elc \ | 655 | ${lispsource}window.elc \ |
| 643 | ${lispsource}version.el | 656 | ${lispsource}version.el |
| 644 | 657 | ||
| 658 | /* These are relative file names for the Lisp files | ||
| 659 | that are loaded unconditionally. This is used in make-docfile. | ||
| 660 | It need not contain the files that are loaded conditionally | ||
| 661 | because SOME_MACHINE_LISP has those. */ | ||
| 662 | shortlisp= \ | ||
| 663 | ../lisp/abbrev.elc \ | ||
| 664 | ../lisp/buff-menu.elc \ | ||
| 665 | ../lisp/byte-run.elc \ | ||
| 666 | ../lisp/files.elc \ | ||
| 667 | ../lisp/fill.elc \ | ||
| 668 | ../lisp/format.elc \ | ||
| 669 | ../lisp/help.elc \ | ||
| 670 | ../lisp/indent.elc \ | ||
| 671 | ../lisp/isearch.elc \ | ||
| 672 | ../lisp/lisp-mode.elc \ | ||
| 673 | ../lisp/lisp.elc \ | ||
| 674 | ../lisp/loadup.el \ | ||
| 675 | ../lisp/loaddefs.el \ | ||
| 676 | ../lisp/map-ynp.elc \ | ||
| 677 | ../lisp/page.elc \ | ||
| 678 | ../lisp/paragraphs.elc \ | ||
| 679 | ../lisp/paths.el \ | ||
| 680 | ../lisp/register.elc \ | ||
| 681 | ../lisp/replace.elc \ | ||
| 682 | ../lisp/simple.elc \ | ||
| 683 | ../lisp/startup.elc \ | ||
| 684 | ../lisp/subr.elc \ | ||
| 685 | ../lisp/text-mode.elc \ | ||
| 686 | ../lisp/vc-hooks.elc \ | ||
| 687 | ../lisp/ediff-hook.elc \ | ||
| 688 | ../lisp/window.elc \ | ||
| 689 | ../lisp/version.el | ||
| 690 | |||
| 645 | /* Lisp files that may or may not be used. | 691 | /* Lisp files that may or may not be used. |
| 646 | We must unconditionally put them in the DOC file. */ | 692 | We must unconditionally put them in the DOC file. |
| 647 | SOME_MACHINE_LISP = ${lispsource}faces.elc ${lispsource}facemenu.elc \ | 693 | We use ../lisp/ to start the file names |
| 648 | ${lispsource}float-sup.elc ${lispsource}frame.elc \ | 694 | to reduce the size of the argument list for make-docfile |
| 649 | ${lispsource}menu-bar.elc ${lispsource}mouse.elc \ | 695 | for the sake of systems which can't handle large ones. */ |
| 650 | ${lispsource}select.elc ${lispsource}scroll-bar.elc \ | 696 | SOME_MACHINE_LISP = ${dotdot}/lisp/faces.elc ${dotdot}/lisp/facemenu.elc \ |
| 651 | ${lispsource}vmsproc.elc ${lispsource}vms-patch.elc \ | 697 | ${dotdot}/lisp/float-sup.elc ${dotdot}/lisp/frame.elc \ |
| 652 | ${lispsource}ls-lisp.elc ${lispsource}dos-fns.elc \ | 698 | ${dotdot}/lisp/menu-bar.elc ${dotdot}/lisp/mouse.elc \ |
| 653 | ${lispsource}winnt.elc | 699 | ${dotdot}/lisp/select.elc ${dotdot}/lisp/scroll-bar.elc \ |
| 700 | ${dotdot}/lisp/vmsproc.elc ${dotdot}/lisp/vms-patch.elc \ | ||
| 701 | ${dotdot}/lisp/ls-lisp.elc ${dotdot}/lisp/dos-fns.elc \ | ||
| 702 | ${dotdot}/lisp/winnt.elc | ||
| 654 | 703 | ||
| 655 | /* Construct full set of libraries to be linked. | 704 | /* Construct full set of libraries to be linked. |
| 656 | Note that SunOS needs -lm to come before -lc; otherwise, you get | 705 | Note that SunOS needs -lm to come before -lc; otherwise, you get |
| @@ -699,7 +748,8 @@ emacs: temacs ${etc}DOC ${lisp} | |||
| 699 | ${etc}DOC: ${libsrc}make-docfile ${obj} ${lisp} | 748 | ${etc}DOC: ${libsrc}make-docfile ${obj} ${lisp} |
| 700 | -rm -f ${etc}DOC | 749 | -rm -f ${etc}DOC |
| 701 | ${libsrc}make-docfile -d ${srcdir} ${SOME_MACHINE_OBJECTS} ${obj} > ${etc}DOC | 750 | ${libsrc}make-docfile -d ${srcdir} ${SOME_MACHINE_OBJECTS} ${obj} > ${etc}DOC |
| 702 | ${libsrc}make-docfile -a ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP} ${lisp} | 751 | cd |
| 752 | ${libsrc}make-docfile -a ${etc}DOC -d ${srcdir} ${SOME_MACHINE_LISP} ${shortlisp} | ||
| 703 | 753 | ||
| 704 | ${libsrc}make-docfile: | 754 | ${libsrc}make-docfile: |
| 705 | cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile | 755 | cd ${libsrc}; ${MAKE} ${MFLAGS} make-docfile |
| @@ -891,7 +941,7 @@ keyboard.o: keyboard.c termchar.h termhooks.h termopts.h buffer.h \ | |||
| 891 | commands.h frame.h window.h macros.h disptab.h keyboard.h syssignal.h \ | 941 | commands.h frame.h window.h macros.h disptab.h keyboard.h syssignal.h \ |
| 892 | systty.h systime.h dispextern.h intervals.h blockinput.h xterm.h $(config_h) | 942 | systty.h systime.h dispextern.h intervals.h blockinput.h xterm.h $(config_h) |
| 893 | keymap.o: keymap.c buffer.h commands.h keyboard.h termhooks.h blockinput.h \ | 943 | keymap.o: keymap.c buffer.h commands.h keyboard.h termhooks.h blockinput.h \ |
| 894 | $(config_h) | 944 | puresize.h $(config_h) |
| 895 | lastfile.o: lastfile.c $(config_h) | 945 | lastfile.o: lastfile.c $(config_h) |
| 896 | macros.o: macros.c window.h buffer.h commands.h macros.h keyboard.h $(config_h) | 946 | macros.o: macros.c window.h buffer.h commands.h macros.h keyboard.h $(config_h) |
| 897 | malloc.o: malloc.c $(config_h) | 947 | malloc.o: malloc.c $(config_h) |