diff options
| author | Daniel Colascione | 2012-08-31 22:38:52 -0800 |
|---|---|---|
| committer | Daniel Colascione | 2012-08-31 22:38:52 -0800 |
| commit | 17a2cbbd76385d0be8a4b28974e64f4debf459c1 (patch) | |
| tree | c9d9f61e8580269679c9583ee94ccd812cca5790 /src/Makefile.in | |
| parent | c650a5dec69902c684c5333befd35da6c518c5e0 (diff) | |
| download | emacs-17a2cbbd76385d0be8a4b28974e64f4debf459c1.tar.gz emacs-17a2cbbd76385d0be8a4b28974e64f4debf459c1.zip | |
Refactor window-system configuration
This change streamlines the window system selection code in
configure.in and moves many common function declarations from
window-specific headers to frame.h. It introduces a new TERM_HEADER
macro in config.h: we set this macro to the right header to use for
the window system for which we're compiling Emacs and have source
files include it indirectly. This way, we don't have to teach every
file about every window system.
Diffstat (limited to 'src/Makefile.in')
| -rw-r--r-- | src/Makefile.in | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 60df1f1c677..a809216f095 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -211,8 +211,8 @@ LIBXMENU=@LIBXMENU@ | |||
| 211 | 211 | ||
| 212 | ## xmenu.o if HAVE_X_WINDOWS, else empty. | 212 | ## xmenu.o if HAVE_X_WINDOWS, else empty. |
| 213 | XMENU_OBJ=@XMENU_OBJ@ | 213 | XMENU_OBJ=@XMENU_OBJ@ |
| 214 | ## xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o fringe.o image.o | 214 | ## xterm.o xfns.o xselect.o xrdb.o xsmfns.o xsettings.o xgselect.o if |
| 215 | ## xsettings.o xgselect.o if HAVE_X_WINDOWS, else empty. | 215 | ## HAVE_X_WINDOWS, else empty. |
| 216 | XOBJ=@XOBJ@ | 216 | XOBJ=@XOBJ@ |
| 217 | 217 | ||
| 218 | TOOLKIT_LIBW=@TOOLKIT_LIBW@ | 218 | TOOLKIT_LIBW=@TOOLKIT_LIBW@ |
| @@ -247,6 +247,9 @@ WIDGET_OBJ=@WIDGET_OBJ@ | |||
| 247 | ## sheap.o if CYGWIN, otherwise empty. | 247 | ## sheap.o if CYGWIN, otherwise empty. |
| 248 | CYGWIN_OBJ=@CYGWIN_OBJ@ | 248 | CYGWIN_OBJ=@CYGWIN_OBJ@ |
| 249 | 249 | ||
| 250 | ## fontset.o fringe.o image.o if we have any window system | ||
| 251 | WINDOW_SYSTEM_OBJ=@WINDOW_SYSTEM_OBJ@ | ||
| 252 | |||
| 250 | ## dosfns.o msdos.o w16select.o if MSDOS. | 253 | ## dosfns.o msdos.o w16select.o if MSDOS. |
| 251 | MSDOS_OBJ = | 254 | MSDOS_OBJ = |
| 252 | ## w16select.o termcap.o if MSDOS && HAVE_X_WINDOWS. | 255 | ## w16select.o termcap.o if MSDOS && HAVE_X_WINDOWS. |
| @@ -255,7 +258,6 @@ MSDOS_X_OBJ = | |||
| 255 | ns_appdir=@ns_appdir@ | 258 | ns_appdir=@ns_appdir@ |
| 256 | ns_appbindir=@ns_appbindir@ | 259 | ns_appbindir=@ns_appbindir@ |
| 257 | ns_appsrc=@ns_appsrc@ | 260 | ns_appsrc=@ns_appsrc@ |
| 258 | ## fontset.o fringe.o image.o if HAVE_NS, else empty. | ||
| 259 | NS_OBJ=@NS_OBJ@ | 261 | NS_OBJ=@NS_OBJ@ |
| 260 | ## nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o if HAVE_NS. | 262 | ## nsterm.o nsfns.o nsmenu.o nsselect.o nsimage.o nsfont.o if HAVE_NS. |
| 261 | NS_OBJC_OBJ=@NS_OBJC_OBJ@ | 263 | NS_OBJC_OBJ=@NS_OBJC_OBJ@ |
| @@ -340,7 +342,8 @@ base_obj = dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ | |||
| 340 | process.o gnutls.o callproc.o \ | 342 | process.o gnutls.o callproc.o \ |
| 341 | region-cache.o sound.o atimer.o \ | 343 | region-cache.o sound.o atimer.o \ |
| 342 | doprnt.o intervals.o textprop.o composite.o xml.o \ | 344 | doprnt.o intervals.o textprop.o composite.o xml.o \ |
| 343 | $(MSDOS_OBJ) $(MSDOS_X_OBJ) $(NS_OBJ) $(CYGWIN_OBJ) $(FONT_OBJ) | 345 | $(MSDOS_OBJ) $(MSDOS_X_OBJ) $(NS_OBJ) $(CYGWIN_OBJ) $(FONT_OBJ) \ |
| 346 | $(WINDOW_SYSTEM_OBJ) | ||
| 344 | obj = $(base_obj) $(NS_OBJC_OBJ) | 347 | obj = $(base_obj) $(NS_OBJC_OBJ) |
| 345 | 348 | ||
| 346 | ## Object files used on some machine or other. | 349 | ## Object files used on some machine or other. |