aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJan Djärv2002-03-10 16:18:42 +0000
committerJan Djärv2002-03-10 16:18:42 +0000
commit618c30cbfcedc1764b556b6684f724d3d000e492 (patch)
treed72beae97e36d1aed5d520c3fe7693386e30ce13 /src
parent9b3bf3878725ca4093c9719fb3bc3212657711ef (diff)
downloademacs-618c30cbfcedc1764b556b6684f724d3d000e492.tar.gz
emacs-618c30cbfcedc1764b556b6684f724d3d000e492.zip
Added test for HAVE_X_SM and added new file xsmfns.c
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index fb5a69c74a6..35bf2084c37 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -294,7 +294,7 @@ ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(TOOLKIT_DEFINES) $(MYCPPFLAG) -I. -I${srcdi
294#ifdef HAVE_MENUS 294#ifdef HAVE_MENUS
295 295
296/* Include xmenu.o in the list of X object files. */ 296/* Include xmenu.o in the list of X object files. */
297XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o 297XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o
298 298
299/* The X Menu stuff is present in the X10 distribution, but missing 299/* The X Menu stuff is present in the X10 distribution, but missing
300 from X11. If we have X10, just use the installed library; 300 from X11. If we have X10, just use the installed library;
@@ -315,7 +315,7 @@ LIBXMENU= -lXMenu
315 315
316/* Otherwise, omit xmenu.o from the list of X object files, and 316/* Otherwise, omit xmenu.o from the list of X object files, and
317 don't worry about the menu library at all. */ 317 don't worry about the menu library at all. */
318XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o 318XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o
319LIBXMENU= 319LIBXMENU=
320#endif /* not HAVE_MENUS */ 320#endif /* not HAVE_MENUS */
321 321
@@ -366,7 +366,11 @@ LIBXT= $(LIBW) LIBXMU -lXt $(LIBXTR6) -lXext
366#endif /* not LIBXT_STATIC */ 366#endif /* not LIBXT_STATIC */
367 367
368#else /* not USE_X_TOOLKIT */ 368#else /* not USE_X_TOOLKIT */
369#ifdef HAVE_X_SM
370LIBXT=-lSM -lICE
371#else
369LIBXT= 372LIBXT=
373#endif
370#endif /* not USE_X_TOOLKIT */ 374#endif /* not USE_X_TOOLKIT */
371 375
372#if HAVE_XPM 376#if HAVE_XPM
@@ -549,7 +553,7 @@ obj= dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o \
549 These go in the DOC file on all machines 553 These go in the DOC file on all machines
550 in case they are needed there. */ 554 in case they are needed there. */
551SOME_MACHINE_OBJECTS = sunfns.o dosfns.o msdos.o \ 555SOME_MACHINE_OBJECTS = sunfns.o dosfns.o msdos.o \
552 xterm.o xfns.o xmenu.o xselect.o xrdb.o 556 xterm.o xfns.o xmenu.o xselect.o xrdb.o xsmfns.o
553 557
554 558
555#ifdef TERMINFO 559#ifdef TERMINFO
@@ -1128,6 +1132,7 @@ xterm.o: xterm.c xterm.h termhooks.h termopts.h termchar.h window.h buffer.h \
1128xselect.o: xselect.c dispextern.h frame.h xterm.h blockinput.h charset.h \ 1132xselect.o: xselect.c dispextern.h frame.h xterm.h blockinput.h charset.h \
1129 coding.h ccl.h buffer.h atimer.h systime.h $(config_h) 1133 coding.h ccl.h buffer.h atimer.h systime.h $(config_h)
1130xrdb.o: xrdb.c $(config_h) epaths.h 1134xrdb.o: xrdb.c $(config_h) epaths.h
1135xsmfns.o: xsmfns.c $(config_h) systime.h sysselect.h lisp.h termhooks.h
1131hftctl.o: hftctl.c $(config_h) 1136hftctl.o: hftctl.c $(config_h)
1132sound.o: sound.c dispextern.h $(config_h) 1137sound.o: sound.c dispextern.h $(config_h)
1133atimer.o: atimer.c atimer.h systime.h $(config_h) 1138atimer.o: atimer.c atimer.h systime.h $(config_h)