diff options
| author | Nick Roberts | 2006-01-12 21:17:37 +0000 |
|---|---|---|
| committer | Nick Roberts | 2006-01-12 21:17:37 +0000 |
| commit | 414546fbd127e3d7f20a100c8a677537e56e1aec (patch) | |
| tree | de1b552ba5ed0737ee076fae7f296f66c263f173 | |
| parent | 4ec7bdfdf7169d13613347b9680b1bca7b64df81 (diff) | |
| download | emacs-414546fbd127e3d7f20a100c8a677537e56e1aec.tar.gz emacs-414546fbd127e3d7f20a100c8a677537e56e1aec.zip | |
Define new macro WINDOW_SUPPORT.
(lisp): Use it.
(SOME_MACHINE_LISP): Add conditionally loaded files.
| -rw-r--r-- | src/Makefile.in | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 0e057098cbd..878b34fb7a3 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -676,6 +676,20 @@ otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) $(LIBO | |||
| 676 | #define MSDOS_SUPPORT | 676 | #define MSDOS_SUPPORT |
| 677 | #endif | 677 | #endif |
| 678 | 678 | ||
| 679 | #ifdef HAVE_WINDOW_SYSTEM | ||
| 680 | #ifdef HAVE_X_WINDOWS | ||
| 681 | #define WINDOW_SUPPORT ${lispsource}image.elc \ | ||
| 682 | ${lispsource}international/fontset.elc ${lispsource}dnd.elc \ | ||
| 683 | ${lispsource}tool-bar.elc ${lispsource}mwheel.elc ${lispsource}x-dnd.elc | ||
| 684 | #else | ||
| 685 | #define WINDOW_SUPPORT ${lispsource}image.elc \ | ||
| 686 | ${lispsource}international/fontset.elc ${lispsource}dnd.elc \ | ||
| 687 | ${lispsource}tool-bar.elc ${lispsource}mwheel.elc | ||
| 688 | #endif | ||
| 689 | #else | ||
| 690 | #define WINDOW_SUPPORT | ||
| 691 | #endif | ||
| 692 | |||
| 679 | #ifdef WINDOWSNT | 693 | #ifdef WINDOWSNT |
| 680 | #define WINNT_SUPPORT ${lispsource}ls-lisp.elc ${lispsource}disp-table.elc \ | 694 | #define WINNT_SUPPORT ${lispsource}ls-lisp.elc ${lispsource}disp-table.elc \ |
| 681 | ${lispsource}dos-w32.elc ${lispsource}w32-vars.elc \ | 695 | ${lispsource}dos-w32.elc ${lispsource}w32-vars.elc \ |
| @@ -792,6 +806,7 @@ lisp= \ | |||
| 792 | VMS_SUPPORT \ | 806 | VMS_SUPPORT \ |
| 793 | MSDOS_SUPPORT \ | 807 | MSDOS_SUPPORT \ |
| 794 | WINNT_SUPPORT \ | 808 | WINNT_SUPPORT \ |
| 809 | WINDOW_SUPPORT \ | ||
| 795 | ${lispsource}widget.elc \ | 810 | ${lispsource}widget.elc \ |
| 796 | ${lispsource}window.elc \ | 811 | ${lispsource}window.elc \ |
| 797 | ${lispsource}version.el | 812 | ${lispsource}version.el |
| @@ -900,9 +915,13 @@ SOME_MACHINE_LISP = ${dotdot}/lisp/mouse.elc \ | |||
| 900 | ${dotdot}/lisp/ls-lisp.elc ${dotdot}/lisp/dos-fns.elc \ | 915 | ${dotdot}/lisp/ls-lisp.elc ${dotdot}/lisp/dos-fns.elc \ |
| 901 | ${dotdot}/lisp/w32-fns.elc ${dotdot}/lisp/dos-w32.elc \ | 916 | ${dotdot}/lisp/w32-fns.elc ${dotdot}/lisp/dos-w32.elc \ |
| 902 | ${dotdot}/lisp/disp-table.elc ${dotdot}/lisp/dos-vars.elc \ | 917 | ${dotdot}/lisp/disp-table.elc ${dotdot}/lisp/dos-vars.elc \ |
| 903 | ${dotdot}/lisp/tooltip.elc \ | 918 | ${dotdot}/lisp/tooltip.elc ${dotdot}/lisp/image.elc \ |
| 919 | ${dotdot}/lisp/dnd.elc ${dotdot}/lisp/mwheel.elc \ | ||
| 920 | ${dotdot}/lisp/tool-bar.elc \ | ||
| 921 | ${dotdot}/lisp/x-dnd.elc \ | ||
| 904 | ${dotdot}/lisp/international/ccl.elc \ | 922 | ${dotdot}/lisp/international/ccl.elc \ |
| 905 | ${dotdot}/lisp/international/codepage.elc | 923 | ${dotdot}/lisp/international/codepage.elc \ |
| 924 | ${dotdot}/lisp/international/fontset.elc | ||
| 906 | 925 | ||
| 907 | /* Construct full set of libraries to be linked. | 926 | /* Construct full set of libraries to be linked. |
| 908 | Note that SunOS needs -lm to come before -lc; otherwise, you get | 927 | Note that SunOS needs -lm to come before -lc; otherwise, you get |