diff options
| author | Glenn Morris | 2010-05-13 20:13:39 -0700 |
|---|---|---|
| committer | Glenn Morris | 2010-05-13 20:13:39 -0700 |
| commit | f14d1dfda15717473601225ac8cca404ae789552 (patch) | |
| tree | e97125bb54d5120b22de70bc3a22cb70920774f5 /src | |
| parent | 11842bd8ae675adb79d1a7ed75f16fef176cbfe9 (diff) | |
| download | emacs-f14d1dfda15717473601225ac8cca404ae789552.tar.gz emacs-f14d1dfda15717473601225ac8cca404ae789552.zip | |
Replace some msdos cpp.
* src/Makefile.in (MSDOS_OBJ): Default to empty, let msdos scripts set it.
(MSDOS_X_OBJ): New variable.
(MSDOS_SUPPORT_REAL): New constant.
(MSDOS_SUPPORT): Set as a variable, not with cpp.
(obj): Use MSDOS_X_OBJ.
(lisp): Use MSDOS_SUPPORT as a variable.
* msdos/sed1v2.inp (MSDOS_OBJ): Edit to dosfns.o msdos.o.
(MSDOS_SUPPORT): Edit to $(MSDOS_SUPPORT_REAL).
* msdos/sed1x.inp (MSDOS_X_OBJ): Edit to w16select.o termcap.o.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 7 | ||||
| -rw-r--r-- | src/Makefile.in | 32 |
2 files changed, 19 insertions, 20 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index cfa1d1e2403..164cfbf6edb 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,12 @@ | |||
| 1 | 2010-05-14 Glenn Morris <rgm@gnu.org> | 1 | 2010-05-14 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * Makefile.in (MSDOS_OBJ): Default to empty, let msdos scripts set it. | ||
| 4 | (MSDOS_X_OBJ): New variable. | ||
| 5 | (MSDOS_SUPPORT_REAL): New constant. | ||
| 6 | (MSDOS_SUPPORT): Set as a variable, not with cpp. | ||
| 7 | (obj): Use MSDOS_X_OBJ. | ||
| 8 | (lisp): Use MSDOS_SUPPORT as a variable. | ||
| 9 | |||
| 3 | * Makefile.in (REAL_MOUSE_SUPPORT): New constant. | 10 | * Makefile.in (REAL_MOUSE_SUPPORT): New constant. |
| 4 | (GPM_MOUSE_SUPPORT): Now it's a constant. | 11 | (GPM_MOUSE_SUPPORT): Now it's a constant. |
| 5 | (MOUSE_SUPPORT, TOOLTIP_SUPPORT, WINDOW_SUPPORT): Set with configure, | 12 | (MOUSE_SUPPORT, TOOLTIP_SUPPORT, WINDOW_SUPPORT): Set with configure, |
diff --git a/src/Makefile.in b/src/Makefile.in index 7955420ee49..4d2481af924 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -184,6 +184,16 @@ WIDGET_OBJ=@WIDGET_OBJ@ | |||
| 184 | ## sheap.o if CYGWIN, otherwise empty. | 184 | ## sheap.o if CYGWIN, otherwise empty. |
| 185 | CYGWIN_OBJ=@CYGWIN_OBJ@ | 185 | CYGWIN_OBJ=@CYGWIN_OBJ@ |
| 186 | 186 | ||
| 187 | ## dosfns.o msdos.o if MSDOS. | ||
| 188 | MSDOS_OBJ = | ||
| 189 | ## w16select.o termcap.o if MSDOS && HAVE_X_WINDOWS. | ||
| 190 | MSDOS_X_OBJ = | ||
| 191 | MSDOS_SUPPORT_REAL = ${lispsource}ls-lisp.elc ${lispsource}disp-table.elc \ | ||
| 192 | ${lispsource}dos-fns.elc ${lispsource}dos-w32.elc ${lispsource}dos-vars.elc \ | ||
| 193 | ${lispsource}term/internal.elc ${lispsource}term/pc-win.elc | ||
| 194 | ## $MSDOS_SUPPORT_REAL if MSDOS. | ||
| 195 | MSDOS_SUPPORT = | ||
| 196 | |||
| 187 | NS_OBJ=@NS_OBJ@ | 197 | NS_OBJ=@NS_OBJ@ |
| 188 | NS_SUPPORT=@NS_SUPPORT@ | 198 | NS_SUPPORT=@NS_SUPPORT@ |
| 189 | ## Next two only set if NS_IMPL_GNUSTEP. | 199 | ## Next two only set if NS_IMPL_GNUSTEP. |
| @@ -340,15 +350,6 @@ LD=ld | |||
| 340 | 350 | ||
| 341 | #endif /* not ORDINARY_LINK */ | 351 | #endif /* not ORDINARY_LINK */ |
| 342 | 352 | ||
| 343 | |||
| 344 | #ifdef MSDOS | ||
| 345 | #ifdef HAVE_X_WINDOWS | ||
| 346 | MSDOS_OBJ = dosfns.o msdos.o | ||
| 347 | #else | ||
| 348 | MSDOS_OBJ = dosfns.o msdos.o w16select.o termcap.o | ||
| 349 | #endif | ||
| 350 | #endif | ||
| 351 | |||
| 352 | #ifdef HAVE_NS | 353 | #ifdef HAVE_NS |
| 353 | ns_appdir=@ns_appdir@/ | 354 | ns_appdir=@ns_appdir@/ |
| 354 | ns_appbindir=@ns_appbindir@/ | 355 | ns_appbindir=@ns_appbindir@/ |
| @@ -370,7 +371,7 @@ obj= dispnew.o frame.o scroll.o xdisp.o menu.o $(XMENU_OBJ) window.o \ | |||
| 370 | process.o callproc.o \ | 371 | process.o callproc.o \ |
| 371 | region-cache.o sound.o atimer.o \ | 372 | region-cache.o sound.o atimer.o \ |
| 372 | doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \ | 373 | doprnt.o strftime.o intervals.o textprop.o composite.o md5.o \ |
| 373 | $(MSDOS_OBJ) $(NS_OBJ) $(CYGWIN_OBJ) $(FONT_DRIVERS) | 374 | $(MSDOS_OBJ) $(MSDOS_X_OBJ) $(NS_OBJ) $(CYGWIN_OBJ) $(FONT_DRIVERS) |
| 374 | 375 | ||
| 375 | /* Object files used on some machine or other. | 376 | /* Object files used on some machine or other. |
| 376 | These go in the DOC file on all machines in case they are needed. */ | 377 | These go in the DOC file on all machines in case they are needed. */ |
| @@ -405,15 +406,6 @@ POST_ALLOC_OBJ=@POST_ALLOC_OBJ@ | |||
| 405 | otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(gmallocobj) $(rallocobj) \ | 406 | otherobj= $(TERMCAP_OBJ) $(PRE_ALLOC_OBJ) $(gmallocobj) $(rallocobj) \ |
| 406 | $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS) | 407 | $(POST_ALLOC_OBJ) $(WIDGET_OBJ) $(LIBOBJS) |
| 407 | 408 | ||
| 408 | #ifdef MSDOS | ||
| 409 | #define MSDOS_SUPPORT ${lispsource}ls-lisp.elc ${lispsource}disp-table.elc \ | ||
| 410 | ${lispsource}dos-fns.elc ${lispsource}dos-w32.elc ${lispsource}dos-vars.elc \ | ||
| 411 | ${lispsource}term/internal.elc ${lispsource}term/pc-win.elc | ||
| 412 | |||
| 413 | #else | ||
| 414 | #define MSDOS_SUPPORT | ||
| 415 | #endif | ||
| 416 | |||
| 417 | /* This is the platform-specific list of Lisp files loaded into the | 409 | /* This is the platform-specific list of Lisp files loaded into the |
| 418 | dumped Emacs. It is arranged like this because it is easier to generate | 410 | dumped Emacs. It is arranged like this because it is easier to generate |
| 419 | it semi-mechanically from loadup.el this way. | 411 | it semi-mechanically from loadup.el this way. |
| @@ -511,7 +503,7 @@ lisp= \ | |||
| 511 | ${lispsource}ediff-hook.elc \ | 503 | ${lispsource}ediff-hook.elc \ |
| 512 | ${lispsource}epa-hook.elc \ | 504 | ${lispsource}epa-hook.elc \ |
| 513 | ${TOOLTIP_SUPPORT} \ | 505 | ${TOOLTIP_SUPPORT} \ |
| 514 | MSDOS_SUPPORT \ | 506 | ${MSDOS_SUPPORT} \ |
| 515 | ${WINDOW_SUPPORT} \ | 507 | ${WINDOW_SUPPORT} \ |
| 516 | ${NS_SUPPORT} \ | 508 | ${NS_SUPPORT} \ |
| 517 | ${lispsource}widget.elc \ | 509 | ${lispsource}widget.elc \ |