From: Roland McGrath Date: Fri, 18 Mar 1994 03:21:45 +0000 (+0000) Subject: (X_WINDOWS_SUPPORT): New macro. X-Git-Tag: emacs-19.34~9454 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=2f1b0bbdb0a80ecbe2ab4d04253513f0c65979a2;p=emacs.git (X_WINDOWS_SUPPORT): New macro. (lisp): Include X_WINDOWS_SUPPORT. Also add version.elc; it is no longer changed by building. --- diff --git a/src/Makefile.in b/src/Makefile.in index 3727fa299cd..46e29e432a4 100644 --- a/src/Makefile.in +++ b/src/Makefile.in @@ -1,5 +1,5 @@ /* Makefile for GNU Emacs. - Copyright (C) 1985, 1987, 1988, 1993 Free Software Foundation, Inc. + Copyright (C) 1985, 1987, 1988, 1993, 1994 Free Software Foundation, Inc. This file is part of GNU Emacs. @@ -486,6 +486,12 @@ otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) #define FRAME_SUPPORT #endif +#ifdef HAVE_X_WINDOWS +#define X_WINDOWS_SUPPORT ${lispdir}term/x-win.elc +#else +#define X_WINDOWS_SUPPORT +#endif + #ifdef VMS #define VMS_SUPPORT ${lispdir}vmsproc.elc ${lispdir}vms-patch #else @@ -498,11 +504,7 @@ otherobj= $(termcapobj) lastfile.o $(mallocobj) $(allocaobj) $(widgetobj) Note that this list should not include lisp files which might not be present, like site-load.el and site-init.el; this makefile - expects them all to be either present or buildable. - - It should not include version.el. That file is often changed by - the build process itself, but most of the files which want to - depend on lisp.h don't care about those changes. */ + expects them all to be either present or buildable. */ lisp= \ ${lispdir}abbrev.elc \ ${lispdir}buff-menu.elc \ @@ -512,6 +514,7 @@ lisp= \ ${lispdir}fill.elc \ FLOAT_SUPPORT \ FRAME_SUPPORT \ + X_WINDOWS_SUPPORT \ ${lispdir}help.elc \ ${lispdir}indent.elc \ ${lispdir}isearch.elc \ @@ -530,7 +533,8 @@ lisp= \ ${lispdir}text-mode.elc \ ${lispdir}vc-hooks.elc \ VMS_SUPPORT \ - ${lispdir}window.elc + ${lispdir}window.elc \ + ${lispdir}version.elc /* Construct full set of libraries to be linked. Note that SunOS needs -lm to come before -lc; otherwise, you get