diff options
| author | Glenn Morris | 2010-04-28 00:25:47 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-04-28 00:25:47 -0700 |
| commit | faf535f8e65d7817b31e0f85b63d37abfc6195f4 (patch) | |
| tree | 922e3c82d006ecbef093018503fdecdb8435c7fc /src | |
| parent | c40f944923911b5d7c8f26814a97e2802d4e047c (diff) | |
| download | emacs-faf535f8e65d7817b31e0f85b63d37abfc6195f4.tar.gz emacs-faf535f8e65d7817b31e0f85b63d37abfc6195f4.zip | |
src/Makefile.in minor simplification,
* src/Makefile.in (BASE_WINDOW_SUPPORT, X_WINDOW_SUPPORT): New variables.
(WINDOW_SUPPORT) [HAVE_WINDOW_SYSTEM]: Use them.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 3 | ||||
| -rw-r--r-- | src/Makefile.in | 17 |
2 files changed, 12 insertions, 8 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d8c927b89e2..e80ee7c2073 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-04-28 Glenn Morris <rgm@gnu.org> | 1 | 2010-04-28 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (BASE_WINDOW_SUPPORT, X_WINDOW_SUPPORT): New variables. | ||
| 4 | (WINDOW_SUPPORT) [HAVE_WINDOW_SYSTEM]: Use them. | ||
| 5 | |||
| 3 | * Makefile.in (CYGWIN_OBJ): Set with configure, not cpp. | 6 | * Makefile.in (CYGWIN_OBJ): Set with configure, not cpp. |
| 4 | 7 | ||
| 5 | * Makefile.in (GPM_MOUSE_SUPPORT): New, set by configure. | 8 | * Makefile.in (GPM_MOUSE_SUPPORT): New, set by configure. |
diff --git a/src/Makefile.in b/src/Makefile.in index bb45ad0b19d..974a2332be1 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -119,6 +119,13 @@ FONT_OBJ=@FONT_OBJ@ | |||
| 119 | ## Not used if HAVE_MOUSE. | 119 | ## Not used if HAVE_MOUSE. |
| 120 | GPM_MOUSE_SUPPORT=@GPM_MOUSE_SUPPORT@ | 120 | GPM_MOUSE_SUPPORT=@GPM_MOUSE_SUPPORT@ |
| 121 | 121 | ||
| 122 | BASE_WINDOW_SUPPORT=${lispsource}fringe.elc ${lispsource}image.elc \ | ||
| 123 | ${lispsource}international/fontset.elc ${lispsource}dnd.elc \ | ||
| 124 | ${lispsource}tool-bar.elc ${lispsource}mwheel.elc | ||
| 125 | |||
| 126 | X_WINDOW_SUPPORT=${lispsource}x-dnd.elc ${lispsource}term/common-win.elc \ | ||
| 127 | ${lispsource}term/x-win.elc ${lispsource}dynamic-setting.elc | ||
| 128 | |||
| 122 | LIBSELINUX_LIBS = @LIBSELINUX_LIBS@ | 129 | LIBSELINUX_LIBS = @LIBSELINUX_LIBS@ |
| 123 | 130 | ||
| 124 | INTERVALS_H = dispextern.h intervals.h composite.h | 131 | INTERVALS_H = dispextern.h intervals.h composite.h |
| @@ -469,15 +476,9 @@ otherobj= $(termcapobj) lastfile.o $(mallocobj) $(WIDGET_OBJ) $(LIBOBJS) | |||
| 469 | 476 | ||
| 470 | #ifdef HAVE_WINDOW_SYSTEM | 477 | #ifdef HAVE_WINDOW_SYSTEM |
| 471 | #ifdef HAVE_X_WINDOWS | 478 | #ifdef HAVE_X_WINDOWS |
| 472 | #define WINDOW_SUPPORT ${lispsource}fringe.elc ${lispsource}image.elc \ | 479 | #define WINDOW_SUPPORT $(BASE_WINDOW_SUPPORT) $(X_WINDOW_SUPPORT) |
| 473 | ${lispsource}international/fontset.elc ${lispsource}dnd.elc \ | ||
| 474 | ${lispsource}tool-bar.elc ${lispsource}mwheel.elc ${lispsource}x-dnd.elc \ | ||
| 475 | ${lispsource}term/common-win.elc ${lispsource}term/x-win.elc \ | ||
| 476 | ${lispsource}dynamic-setting.elc | ||
| 477 | #else | 480 | #else |
| 478 | #define WINDOW_SUPPORT ${lispsource}fringe.elc ${lispsource}image.elc \ | 481 | #define WINDOW_SUPPORT $(BASE_WINDOW_SUPPORT) |
| 479 | ${lispsource}international/fontset.elc ${lispsource}dnd.elc \ | ||
| 480 | ${lispsource}tool-bar.elc ${lispsource}mwheel.elc | ||
| 481 | #endif | 482 | #endif |
| 482 | #else | 483 | #else |
| 483 | #define WINDOW_SUPPORT | 484 | #define WINDOW_SUPPORT |