aboutsummaryrefslogtreecommitdiffstats
path: root/src/Makefile.in
diff options
context:
space:
mode:
authorJan Djärv2003-01-19 21:50:03 +0000
committerJan Djärv2003-01-19 21:50:03 +0000
commit488dd4c404eba70d48e4ee70141b8abcce2f863b (patch)
tree741ec2bb5abe963b292521e3a478e716a4ebb999 /src/Makefile.in
parent3c77dc44b8052a9bcb19486a605a861cf120b31e (diff)
downloademacs-488dd4c404eba70d48e4ee70141b8abcce2f863b.tar.gz
emacs-488dd4c404eba70d48e4ee70141b8abcce2f863b.zip
GTK version
Diffstat (limited to 'src/Makefile.in')
-rw-r--r--src/Makefile.in32
1 files changed, 27 insertions, 5 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index b8fe0c9f07f..0a65e83bc5c 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -252,12 +252,19 @@ STARTFILES = START_FILES
252#define C_SWITCH_ASM 252#define C_SWITCH_ASM
253#endif 253#endif
254 254
255#if HAVE_GTK
256#define USE_GTK
257TOOLKIT_DEFINES = -DUSE_GTK
258#endif
259
255#ifdef USE_X_TOOLKIT 260#ifdef USE_X_TOOLKIT
256#define USE_@X_TOOLKIT_TYPE@ 261#define USE_@X_TOOLKIT_TYPE@
257TOOLKIT_DEFINES = -DUSE_@X_TOOLKIT_TYPE@ 262TOOLKIT_DEFINES = -DUSE_@X_TOOLKIT_TYPE@
258#else 263#else
264#ifndef USE_GTK
259TOOLKIT_DEFINES = 265TOOLKIT_DEFINES =
260#endif 266#endif
267#endif
261 268
262/* DO NOT use -R. There is a special hack described in lastfile.c 269/* DO NOT use -R. There is a special hack described in lastfile.c
263 which is used instead. Some initialized data areas are modified 270 which is used instead. Some initialized data areas are modified
@@ -300,7 +307,12 @@ ALL_CFLAGS=-Demacs -DHAVE_CONFIG_H $(TOOLKIT_DEFINES) $(MYCPPFLAG) -I. -I${srcdi
300#ifdef HAVE_MENUS 307#ifdef HAVE_MENUS
301 308
302/* Include xmenu.o in the list of X object files. */ 309/* Include xmenu.o in the list of X object files. */
310
311#ifdef USE_GTK
312XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o gtkutil.o
313#else
303XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o 314XOBJ= xterm.o xfns.o xselect.o xrdb.o fontset.o xsmfns.o
315#endif
304 316
305/* The X Menu stuff is present in the X10 distribution, but missing 317/* The X Menu stuff is present in the X10 distribution, but missing
306 from X11. If we have X10, just use the installed library; 318 from X11. If we have X10, just use the installed library;
@@ -372,10 +384,17 @@ LIBXT= $(LIBW) LIBXMU -lXt $(LIBXTR6) -lXext
372#endif /* not LIBXT_STATIC */ 384#endif /* not LIBXT_STATIC */
373 385
374#else /* not USE_X_TOOLKIT */ 386#else /* not USE_X_TOOLKIT */
387
388#ifdef USE_GTK
389LIBW=@GTK_LIBS@
390OLDXMENU=
391LIBXMENU=
392#endif /* USE_GTK */
393
375#ifdef HAVE_X_SM 394#ifdef HAVE_X_SM
376LIBXT=-lSM -lICE 395LIBXT=$(LIBW) -lSM -lICE
377#else 396#else
378LIBXT= 397LIBXT=$(LIBW)
379#endif 398#endif
380#endif /* not USE_X_TOOLKIT */ 399#endif /* not USE_X_TOOLKIT */
381 400
@@ -1150,18 +1169,21 @@ xfaces.o: xfaces.c dispextern.h frame.h xterm.h buffer.h blockinput.h \
1150 window.h charset.h msdos.h dosfns.h composite.h atimer.h systime.h $(config_h) 1169 window.h charset.h msdos.h dosfns.h composite.h atimer.h systime.h $(config_h)
1151xfns.o: xfns.c buffer.h frame.h window.h keyboard.h xterm.h dispextern.h \ 1170xfns.o: xfns.c buffer.h frame.h window.h keyboard.h xterm.h dispextern.h \
1152 $(srcdir)/../lwlib/lwlib.h blockinput.h atimer.h systime.h epaths.h \ 1171 $(srcdir)/../lwlib/lwlib.h blockinput.h atimer.h systime.h epaths.h \
1153 charset.h $(config_h) 1172 charset.h gtkutil.h $(config_h)
1154xmenu.o: xmenu.c xterm.h termhooks.h window.h dispextern.h frame.h buffer.h \ 1173xmenu.o: xmenu.c xterm.h termhooks.h window.h dispextern.h frame.h buffer.h \
1155 keyboard.h $(srcdir)/../lwlib/lwlib.h blockinput.h atimer.h systime.h \ 1174 keyboard.h $(srcdir)/../lwlib/lwlib.h blockinput.h atimer.h systime.h \
1156 msdos.h $(config_h) 1175 gtkutil.h msdos.h $(config_h)
1157xterm.o: xterm.c xterm.h termhooks.h termopts.h termchar.h window.h buffer.h \ 1176xterm.o: xterm.c xterm.h termhooks.h termopts.h termchar.h window.h buffer.h \
1158 dispextern.h frame.h disptab.h blockinput.h atimer.h systime.h syssignal.h \ 1177 dispextern.h frame.h disptab.h blockinput.h atimer.h systime.h syssignal.h \
1159 keyboard.h gnu.h charset.h ccl.h fontset.h composite.h \ 1178 keyboard.h gnu.h charset.h ccl.h fontset.h composite.h \
1160 coding.h process.h $(config_h) 1179 coding.h process.h gtkutil.h $(config_h)
1161xselect.o: xselect.c process.h dispextern.h frame.h xterm.h blockinput.h \ 1180xselect.o: xselect.c process.h dispextern.h frame.h xterm.h blockinput.h \
1162 charset.h coding.h ccl.h buffer.h atimer.h systime.h $(config_h) 1181 charset.h coding.h ccl.h buffer.h atimer.h systime.h $(config_h)
1163xrdb.o: xrdb.c $(config_h) epaths.h 1182xrdb.o: xrdb.c $(config_h) epaths.h
1164xsmfns.o: xsmfns.c $(config_h) systime.h sysselect.h termhooks.h 1183xsmfns.o: xsmfns.c $(config_h) systime.h sysselect.h termhooks.h
1184gtkutil.o: gtkutil.c gtkutil.h xterm.h lisp.h frame.h $(config_h) \
1185 blockinput.h window.h atimer.h termhooks.h
1186
1165hftctl.o: hftctl.c $(config_h) 1187hftctl.o: hftctl.c $(config_h)
1166sound.o: sound.c dispextern.h $(config_h) 1188sound.o: sound.c dispextern.h $(config_h)
1167atimer.o: atimer.c atimer.h systime.h $(config_h) 1189atimer.o: atimer.c atimer.h systime.h $(config_h)