comparison src/Makefile.in.in @ 149:538048ae2ab8 r20-3b1

Import from CVS: tag r20-3b1
author cvs
date Mon, 13 Aug 2007 09:36:16 +0200
parents 585fb297b004
children 59463afc5666
comparison
equal deleted inserted replaced
148:f659db2a1f73 149:538048ae2ab8
30 #undef unix 30 #undef unix
31 #undef sgi 31 #undef sgi
32 #undef NeXT 32 #undef NeXT
33 #undef i386 33 #undef i386
34 34
35 #ifdef USE_GNU_MAKE
36 /* For performance and consistency, no built-in rules */ 35 /* For performance and consistency, no built-in rules */
37 .SUFFIXES: 36 .SUFFIXES:
38 #endif
39 .SUFFIXES: .c .o .i .h 37 .SUFFIXES: .c .o .i .h
40 dot = . 38 dot = .
41 /* On Xenix and the IBM RS6000, double-dot gets screwed up. */ 39 /* On Xenix and the IBM RS6000, double-dot gets screwed up. */
42 lispdir = ${srcdir}/$(dot)$(dot)/lisp/ 40 lispdir = ${srcdir}/$(dot)$(dot)/lisp/
43 libsrc = $(dot)$(dot)/lib-src/ 41 libsrc = $(dot)$(dot)/lib-src/
44 etcdir = $(dot)$(dot)/etc/ 42 etcdir = $(dot)$(dot)/etc/
45 /* This allows you to put the Mule files in a separate location.
46 Change this if you so desire. */
47 muledirfromsrc = $(dot)
48 MULESRCDIR = ${srcdir}/${muledirfromsrc}
49 43
50 /* Here are the things that we expect ../configure to edit. */ 44 /* Here are the things that we expect ../configure to edit. */
51 srcdir=@srcdir@ 45 srcdir=@srcdir@
52 CC=@CC@ 46 CC=@CC@
53 CPP=@CPP@ 47 CPP=@CPP@
54 CFLAGS=@CFLAGS@ 48 CFLAGS=@CFLAGS@
55 C_SWITCH_SYSTEM=@c_switch_system@ 49 CPPFLAGS=@CPPFLAGS@
50 LDFLAGS=@LDFLAGS@
51
52 c_switch_general=@c_switch_general@
53 c_switch_window_system=@c_switch_window_system@
54 c_switch_all=@c_switch_all@
55 ld_switch_general=@ld_switch_general@
56 ld_switch_window_system=@ld_switch_window_system@
57 ld_switch_all=@ld_switch_all@
58 ld_libs_general=@ld_libs_general@
59 ld_libs_window_system=@ld_libs_window_system@
60 ld_libs_all=@ld_libs_all@
61
62 extra_objs=@extra_objs@
56 LN_S=@LN_S@ 63 LN_S=@LN_S@
57 native_sound_lib=@native_sound_lib@
58 64
59 /* just to be sure the sh is used */ 65 /* just to be sure the sh is used */
60 SHELL=/bin/sh 66 SHELL=/bin/sh
61 67
62 #define NO_SHORTNAMES 68 #define NO_SHORTNAMES
86 vpath puresize_adjust.h 92 vpath puresize_adjust.h
87 #else 93 #else
88 VPATH=@srcdir@ 94 VPATH=@srcdir@
89 #endif 95 #endif
90 96
91 #ifdef USE_LCC
92 /* Why is this here?
93 # undef LIB_STANDARD
94 # define LIB_STANDARD
95 */
96 # define LCCFLAGS -Xa -wucp -XW'[Oo]ld style func dcl' $(ENERGIZEP)
97 #ifdef NEW_LCC
98 # define LCCLINK -Xdbx
99 #else
100 # define LCCLINK
101 #endif
102 # define ORDINARY_LINK
103 #else
104 # define LCCFLAGS
105 # define LCCLINK
106 #endif
107
108 /* On some machines #define register is done in config; 97 /* On some machines #define register is done in config;
109 do not let it interfere with this file. */ 98 do not let it interfere with this file. */
110 #undef register 99 #undef register
111 100
112 /* On some systems we may not be able to use the system make command. */ 101 /* On some systems we may not be able to use the system make command. */
113 #ifdef MAKE_COMMAND 102 #ifdef MAKE_COMMAND
114 MAKE = MAKE_COMMAND 103 MAKE = MAKE_COMMAND
115 #endif
116
117 #ifdef C_COMPILER
118 CC = C_COMPILER
119 #endif 104 #endif
120 105
121 /* Some machines do not have the standard C libraries in the usual place. */ 106 /* Some machines do not have the standard C libraries in the usual place. */
122 #ifndef ORDINARY_LINK 107 #ifndef ORDINARY_LINK
123 #ifndef LIB_STANDARD 108 #ifndef LIB_STANDARD
132 /* Unless inhibited or changed, use -lg to link for debugging. */ 117 /* Unless inhibited or changed, use -lg to link for debugging. */
133 #ifndef LIBS_DEBUG 118 #ifndef LIBS_DEBUG
134 #define LIBS_DEBUG -lg 119 #define LIBS_DEBUG -lg
135 #endif 120 #endif
136 121
137 /* Some s/*.h files define this to request special libraries. */
138 #ifndef LIBS_SYSTEM
139 #define LIBS_SYSTEM
140 #endif
141
142 /* Some m/*.h files define this to request special libraries. */
143 #ifndef LIBS_MACHINE
144 #define LIBS_MACHINE
145 #endif
146
147 #ifndef LIB_MATH
148 # ifdef LISP_FLOAT_TYPE
149 # define LIB_MATH -lm
150 # else /* ! defined (LISP_FLOAT_TYPE) */
151 # define LIB_MATH
152 # endif /* ! defined (LISP_FLOAT_TYPE) */
153 #endif /* LIB_MATH */
154
155 /* Some s/*.h files define this to request special switches in ld. */
156 #ifndef LD_SWITCH_SYSTEM
157 #if !defined (__GNUC__) && (defined(COFF_ENCAPSULATE) || (defined (BSD) && !defined (COFF)))
158 #define LD_SWITCH_SYSTEM -X
159 #else /* ! defined(COFF_ENCAPSULATE) || (defined (BSD) && !defined (COFF)) */
160 #define LD_SWITCH_SYSTEM
161 #endif /* ! defined(COFF_ENCAPSULATE) || (defined (BSD) && !defined (COFF)) */
162 #endif /* LD_SWITCH_SYSTEM */
163
164 #ifndef LD_SWITCH_CALL_SHARED 122 #ifndef LD_SWITCH_CALL_SHARED
165 #define LD_SWITCH_CALL_SHARED 123 #define LD_SWITCH_CALL_SHARED
166 #endif /* define a call_shared switch */ 124 #endif /* define a call_shared switch */
167 125
168 #ifndef LD_SWITCH_SHARED 126 #ifndef LD_SWITCH_SHARED
169 #define LD_SWITCH_SHARED -c 127 #define LD_SWITCH_SHARED -c
170 #endif /* define a shared switch */ 128 #endif /* define a shared switch */
171 129
172 /* Some m/*.h files define this to request special switches in ld. */
173 #ifndef LD_SWITCH_MACHINE
174 #define LD_SWITCH_MACHINE
175 #endif
176
177 /* Some m/*.h files define this to request special switches in cc. */
178 #ifndef C_SWITCH_MACHINE
179 #define C_SWITCH_MACHINE
180 #endif
181
182 /* Some s/*.h files define this to request special switches in cc. */
183 #ifndef C_SWITCH_SYSTEM
184 #define C_SWITCH_SYSTEM
185 #endif
186
187 /* These macros are for switches specifically related to X Windows. */
188 #ifndef C_SWITCH_X_MACHINE
189 #define C_SWITCH_X_MACHINE
190 #endif
191
192 #ifndef C_SWITCH_X_SYSTEM
193 #define C_SWITCH_X_SYSTEM
194 #endif
195
196 #ifndef C_SWITCH_X_SITE
197 #define C_SWITCH_X_SITE
198 #endif
199
200 #ifndef LD_SWITCH_X_SYSTEM
201 #define LD_SWITCH_X_SYSTEM
202 #endif
203
204 #ifndef LD_SWITCH_X_SITE
205 #define LD_SWITCH_X_SITE
206 #endif
207
208 /* These can be passed in from config.h to define special load and
209 compile switches needed by individual sites */
210 #ifndef LD_SWITCH_SITE
211 #define LD_SWITCH_SITE
212 #endif
213
214 #ifndef C_SWITCH_SITE
215 #define C_SWITCH_SITE
216 #endif
217
218 #ifndef ORDINARY_LINK 130 #ifndef ORDINARY_LINK
219 131
220 #ifndef CRT0_COMPILE 132 #ifndef CRT0_COMPILE
221 #define CRT0_COMPILE $(CC) -c $(ALL_CFLAGS) C_SWITCH_ASM 133 #define CRT0_COMPILE $(CC) -c $(cflags) C_SWITCH_ASM
222 #endif 134 #endif
223 135
224 #ifndef START_FILES 136 #ifndef START_FILES
225 #ifdef NO_REMAP 137 #ifdef NO_REMAP
226 #ifdef COFF_ENCAPSULATE 138 #ifdef COFF_ENCAPSULATE
259 Nothing special needed on most machines. */ 171 Nothing special needed on most machines. */
260 #ifndef C_SWITCH_ASM 172 #ifndef C_SWITCH_ASM
261 #define C_SWITCH_ASM 173 #define C_SWITCH_ASM
262 #endif 174 #endif
263 175
264 ILD=/cadillac1/code/bin.sun4/ild
265
266 PURIFY_PROG=purify 176 PURIFY_PROG=purify
267 PURIFY_FLAGS=-chain-length=16 -ignore-signals=SIGPOLL -log-file=puremacs.log \ 177 PURIFY_FLAGS=-chain-length=16 -ignore-signals=SIGPOLL -log-file=puremacs.log \
268 -messages=batch -show-directory=yes -windows=yes \ 178 -messages=batch -show-directory=yes -windows=yes \
269 -cache-dir=. -always-use-cache-dir=yes 179 -cache-dir=. -always-use-cache-dir=yes
270 QUANTIFY_PROG=quantify
271 QUANTIFY_FLAGS=-windows=no -record-data=no
272 PURECOV_PROG=purecov 180 PURECOV_PROG=purecov
273 #ifdef QUANTIFY 181 #ifdef QUANTIFY
274 #define QUANTIFY_INCLUDES -I/local/include 182 quantify_prog = quantify
275 #define QUANTIFY_LIBS /local/lib/quantify_stubs.a 183 quantify_flags = -windows=no -record-data=no
276 #else 184 quantify_includes = -I/local/include
277 #define QUANTIFY_INCLUDES 185 quantify_libs = /local/lib/quantify_stubs.a
278 #define QUANTIFY_LIBS 186 #endif /* QUANTIFY */
279 #endif
280
281 /* Figure out whether the system cpp can handle long names.
282 Do it by testing it right now.
283 If it loses, arrange to use the GNU cpp. */
284
285 #define LONGNAMEBBBFOOX
286 #ifdef LONGNAMEBBBARFOOX
287 /* Installed cpp fails to distinguish those names! */
288 /* Arrange to compile the GNU cpp later on */
289 #define NEED_CPP
290 /* Cause cc to invoke the cpp that comes with Emacs,
291 which will be in a file named localcpp. */
292 MYCPPFLAG= -Blocal
293 /* LOCALCPP is the local one or nothing.
294 CPP is the local one or the standardone. */
295 LOCALCPP= localcpp
296 #else
297 MYCPPFLAGS=
298 LOCALCPP=
299 #endif /* ! defined (LONGNAMEBBBARFOOX) */
300 187
301 #ifdef SHORTNAMES 188 #ifdef SHORTNAMES
302 SHORT= shortnames 189 SHORT= shortnames
303 #else
304 SHORT=
305 #endif 190 #endif
306 191
307 #ifdef HAVE_NATIVE_SOUND 192 #ifdef HAVE_NATIVE_SOUND
308 # if defined (SOLARIS2) 193 sound_cflags=@sound_cflags@
309 # define SOUND_CFLAGS C_SWITCH_SITE -I/usr/demo/SOUND/include 194 #endif
310 # define SOUND_OBJS sunplay.o 195
311 # elif defined (SPARC) 196 LWLIB_SRCDIR = ${srcdir}/$(dot)$(dot)/lwlib
312 # define SOUND_CFLAGS C_SWITCH_SITE -I/usr/demo/SOUND 197
313 # define SOUND_OBJS sunplay.o 198 #ifdef HAVE_X_WINDOWS
314 # elif defined (IRIX4) || defined (IRIX5) || defined (IRIX6) 199 LWLIB_BUILDDIR = $(dot)$(dot)/lwlib
315 # define SOUND_CFLAGS 200
316 # define SOUND_OBJS sgiplay.o 201 LWLIB_LDFLAGS = -L$(LWLIB_BUILDDIR)
317 # elif defined (hp9000s800) 202 LWLIB_LIBS = -llw
318 # ifdef USE_GCC 203 LWLIB_CPPFLAGS = -I$(LWLIB_SRCDIR)
319 # define SOUND_CFLAGS -Dconst= -Dvolatile= -I/usr/audio/examples 204 LWLIB_DEPS = $(LWLIB_BUILDDIR)/liblw.a
320 # else /* ! USE_GCC */ 205
321 # define SOUND_CFLAGS +e -I/usr/audio/examples 206 x_objs = balloon_help.o balloon-x.o console-x.o device-x.o event-Xt.o frame-x.o \
322 # endif /* USE_GCC */ 207 glyphs-x.o objects-x.o redisplay-x.o xgccache.o xselect.o
323 # define SOUND_OBJS hpplay.o 208
324 # elif defined (LINUX) || defined(__FreeBSD__) || defined (__bsdi__) 209 #ifdef AIX4
325 # define SOUND_CFLAGS 210 LIBI18N = -li18n
326 # define SOUND_OBJS linuxplay.o 211 #endif /* AIX4 */
327 # else 212
328 ERROR!! HAVE\_NATIVE\_SOUND can only be defined on Solaris, SunOS, SGI, hp9000s800, or FreeBSD, BSD/I, Linux 213 X11_libs= $(LIBX11_LIBS) $(libx11_intl) $(LIBI18N)
329 # endif /* OS */ 214 #endif /* HAVE_X_WINDOWS */
330 #else /* !HAVE_NATIVE_SOUND */
331 # define SOUND_CFLAGS
332 # define SOUND_OBJS
333 #endif /* ! HAVE_NATIVE_SOUND */
334
335 #ifdef HAVE_NAS_SOUND
336 # define NAS_CFLAGS C_SWITCH_SITE
337 # define NAS_LIBS -laudio
338 # define NAS_OBJS nas.o
339 #else
340 # define NAS_CFLAGS
341 # define NAS_LIBS
342 # define NAS_OBJS
343 #endif /* HAVE_NAS_SOUND */
344
345 #ifdef ENERGIZE
346 CONN_DIR=../connection
347 # define ENERGIZE_INCLUDES -I${I_DIR_PREFIX}${CONN_DIR}
348 # define ENERGIZE_LDFLAGS -L${CONN_DIR}
349 # if defined(ENERGIZE_3)
350 # define ENERGIZE_LIBS -lenergize
351 # elif defined (ENERGIZE_2)
352 # define ENERGIZE_LIBS -lconn
353 # else
354 # define ENERGIZE_LIBS -lconn
355 # endif
356 #else /* !ENERGIZE */
357 # define ENERGIZE_INCLUDES
358 # define ENERGIZE_LDFLAGS
359 # define ENERGIZE_LIBS
360 #endif /* !ENERGIZE */
361
362 #ifdef HAVE_SOCKS
363 # define SOCKS_LIBS -lsocks
364 #else /* !HAVE_SOCKS */
365 # define SOCKS_LIBS
366 #endif /* !HAVE_SOCKS */
367
368 #ifdef HAVE_GIF
369 # define GIF_OBJS dgif_lib.o gif_err.o gifalloc.o
370 #else
371 # define GIF_OBJS
372 #endif
373
374 #ifdef HAVE_PNG
375 # ifdef HAVE_PNG_GNUZ
376 PNG_LIBS = -lpng -lgz
377 # else
378 PNG_LIBS = -lpng -lz
379 # endif
380 #endif /* HAVE_PNG */
381
382 #if defined (HAVE_LIBKSTAT) && defined (HAVE_KSTAT_H)
383 LIB_KSTAT = -lkstat
384 #endif /* KSTAT */
385
386 #ifdef HAVE_DATABASE
387
388 # define DATABASE_OBJS database.o
389
390 # if !defined (DATABASE_DBM_LIBS)
391 # if defined (HAVE_GNU_DBM) && defined (HAVE_LIBGDBM)
392 # define DATABASE_DBM_LIBS -lgdbm
393 # elif defined (HAVE_DBM) && defined (HAVE_LIBDBM)
394 # define DATABASE_DBM_LIBS -ldbm
395 # else
396 # define DATABASE_DBM_LIBS
397 # endif
398 # endif
399
400 # if !defined (DATABASE_DB_LIBS)
401 # if defined (HAVE_BERKELEY_DB) && defined (HAVE_LIBDB)
402 # define DATABASE_DB_LIBS -ldb
403 # else
404 # define DATABASE_DB_LIBS
405 # endif
406 # endif
407
408 # define DATABASE_LIBS DATABASE_DBM_LIBS DATABASE_DB_LIBS
409
410 #else /* not HAVE_DATABASE */
411
412 # define DATABASE_OBJS
413 # define DATABASE_LIBS
414
415 #endif /* not HAVE_DATABASE */
416
417 #ifdef HAVE_JPEG
418 JPEG_LIBS = -ljpeg
419 #endif
420
421 #define NO_GNU_LINKER
422
423 #ifdef DYNODUMP
424 #ifdef __GNUC__
425 #undef NO_GNU_LINKER
426 #define NO_GNU_LINKER -fno-gnu-linker
427 #endif
428 DYNODUMPBUILDDIR = $(dot)$(dot)/dynodump
429 #define DYNODUMP_DEPS $(DYNODUMPBUILDDIR)/dynodump.so
430 #else
431 #define DYNODUMP_DEPS
432 #endif
433
434 #ifdef MULE
435 #define MULE_INC -I${MULESRCDIR}
436 #else
437 #define MULE_INC
438 #endif
439
440 /* If you want to debug, you can add C_DEBUG_SWITCH to this list.
441 If you want to optimize, you can add C_OPTIMIZE_SWITCH to the list. */
442 215
443 /* -Demacs is needed to make some files produce the correct version 216 /* -Demacs is needed to make some files produce the correct version
444 for use in Emacs. 217 for use in Emacs. */
445 218
446 -DHAVE_CONFIG_H is needed for some other files to take advantage of 219 src_cppflags=-Demacs -I${srcdir} $(LWLIB_CPPFLAGS) $(CPPFLAGS)
447 the information in "config.h". */ 220 cppflags = -I. $(c_switch_all) $(src_cppflags)
448 221
449 /* C_SWITCH_X_SITE must come before C_SWITCH_X_MACHINE and C_SWITCH_X_SYSTEM 222 cflags= $(CFLAGS) $(cppflags)
450 since it may have -I options that should override those two. */ 223
451 224 ldflags = $(ld_switch_all) -L. $(no_gnu_linker) $(LWLIB_LDFLAGS)
452 CPPFLAGS=-Demacs -DHAVE_CONFIG_H $(MYCPPFLAG) -I. \
453 -I${srcdir} MULE_INC LCCFLAGS C_SWITCH_MACHINE C_SWITCH_SYSTEM \
454 C_SWITCH_SITE C_SWITCH_X_SITE C_SWITCH_X_MACHINE \
455 C_SWITCH_X_SYSTEM $(LIBX11_INCLUDES) QUANTIFY_INCLUDES
456 ALL_CFLAGS=$(CPPFLAGS) ${CFLAGS}
457
458 #ifdef NEED_XILDOFF
459 #define XILDOFF -xildoff
460 #else
461 #define XILDOFF
462 #endif
463
464 LDFLAGS = LD_SWITCH_SITE LD_SWITCH_X_SITE LD_SWITCH_SYSTEM \
465 LD_SWITCH_X_SYSTEM LD_SWITCH_MACHINE \
466 -L. $(LIBX11_LDFLAGS) ENERGIZE_LDFLAGS XILDOFF NO_GNU_LINKER
467 225
468 .c.o: 226 .c.o:
469 $(CC) -c $(ALL_CFLAGS) $< 227 $(CC) -c $(cflags) $<
470 228
471 /* Create preprocessor output (debugging purposes only) */ 229 /* Create preprocessor output (debugging purposes only) */
472 .c.i: 230 .c.i:
473 $(CC) -P $(CPPFLAGS) $< 231 $(CC) -P $(cppflags) $<
474
475
476 #ifndef LIBX11_MACHINE
477 #define LIBX11_MACHINE
478 #endif
479
480 #ifndef LIBX11_SYSTEM
481 #define LIBX11_SYSTEM
482 #endif
483
484 LWLIBSRCDIR = ${srcdir}/$(dot)$(dot)/lwlib
485
486 #ifdef HAVE_X_WINDOWS
487
488 #ifdef HAVE_TOOLBARS
489 #define TOOLBAR_X_OBJS toolbar-x.o
490 #else
491 #define TOOLBAR_X_OBJS
492 #endif
493
494 #ifdef HAVE_MENUBARS
495 #define MENUBAR_X_OBJS menubar-x.o
496 #else
497 #define MENUBAR_X_OBJS
498 #endif
499
500 #ifdef HAVE_SCROLLBARS
501 #define SCROLLBAR_X_OBJS scrollbar-x.o
502 #else
503 #define SCROLLBAR_X_OBJS
504 #endif
505
506 #ifdef HAVE_DIALOGS
507 #define DIALOG_X_OBJS dialog-x.o
508 #else
509 #define DIALOG_X_OBJS
510 #endif
511
512 #if defined (HAVE_MENUBARS) || defined (HAVE_SCROLLBARS) || defined (HAVE_DIALOGS) || defined (HAVE_TOOLBARS)
513 #define GUI_X_OBJS gui-x.o
514 #else
515 #define GUI_X_OBJS
516 #endif
517
518 #ifndef HAVE_XIM
519 #define INPUT_METHOD_X_OBJS input-method-xfs.o
520 #elif defined(XIM_MOTIF)
521 #define INPUT_METHOD_X_OBJS input-method-motif.o
522 #else
523 #define INPUT_METHOD_X_OBJS input-method-xlib.o
524 #endif
525
526 #define XOBJS console-x.o device-x.o DIALOG_X_OBJS event-Xt.o frame-x.o \
527 glyphs-x.o GUI_X_OBJS MENUBAR_X_OBJS objects-x.o redisplay-x.o \
528 SCROLLBAR_X_OBJS TOOLBAR_X_OBJS INPUT_METHOD_X_OBJS xgccache.o \
529 xselect.o \
530 balloon_help.o
531 #define BALLOONOBJS balloon-x.o
532 #ifdef HAVE_XMU
533 #define XMU_OBJS
534 XMU_LIB = -lXmu
535 #else
536 #define XMU_OBJS xmu.o
537 #endif
538
539 /* LWLIBSRCDIR is defined above regardless of X being used or not.
540 This avoids having to conditionalize the dependencies on lwlib.h */
541 LWLIBBUILDDIR = $(dot)$(dot)/lwlib
542
543 LIBX11_LDFLAGS = -L$(LWLIBBUILDDIR)
544 LIBX11_INCLUDES = -I$(LWLIBSRCDIR)
545
546 #ifdef HAVE_XPM
547 /* Force the Xpm library to be statically linked, always, if at Sun. */
548 # ifdef USAGE_TRACKING
549 XPM_LIBS = -Bstatic -lXpm -Bdynamic
550 # else
551 XPM_LIBS = -lXpm
552 # endif /* at Sun */
553 #endif /* HAVE_XPM */
554
555 #ifdef HAVE_XFACE
556 XFACE_LIBS = -lcompface
557 #endif /* HAVE_XFACE */
558
559 #ifdef USAGE_TRACKING
560 /* Force the ut library to be statically linked, always. */
561 # if defined (SOLARIS2) || defined (SUNOS4)
562 USAGE_TRACKING_LIBS = -Bstatic -lut -Bdynamic
563 # else
564 USAGE_TRACKING_LIBS = -lut
565 # endif /* SOLARIS2 || SUNOS4 */
566 #else
567 USAGE_TRACKING_LIBS =
568 #endif /* USAGE_TRACKING */
569
570
571 #ifdef LWLIB_USES_MOTIF
572 TOOLKIT_LIBS = -lXm
573 #ifdef LWLIB_USES_ATHENA
574 TOOLKIT_LIBS = -lXm -lXaw
575 #endif /* LWLIB_USES_ATHENA */
576 #else /* ! LWLIB_USES_MOTIF */
577 TOOLKIT_LIBS = -lXaw
578 #endif /* ! LWLIB_USES_MOTIF */
579
580 LIBX11_LIBS = -llw $(TOOLKIT_LIBS) $(XPM_LIBS) $(XFACE_LIBS) $(JPEG_LIBS) $(PNG_LIBS) $(USAGE_TRACKING_LIBS)
581
582 #ifdef AIX4
583 # define LIBI18N -li18n
584 #else
585 # define LIBI18N
586 #endif /* AIX4 */
587
588 #if (defined(LINUX) && defined(HAVE_CDE))
589 # define LIBX11_INTL -lXintl
590 #else
591 # define LIBX11_INTL
592 #endif
593
594 #ifdef THIS_IS_X11R6
595 #ifdef NEED_LIBW
596 LIBW= -lw
597 #else
598 LIBW=
599 #endif
600 LIBX= $(LIBX11_LIBS) $(XMU_LIB) -lXt -lSM -lICE $(LIBW) -lXext LIBX11_INTL -lX11 LIBX11_MACHINE LIBX11_SYSTEM LIBI18N
601 #else
602 LIBX= $(LIBX11_LIBS) $(XMU_LIB) -lXt -lXext LIBX11_INTL -lX11 LIBX11_MACHINE LIBX11_SYSTEM LIBI18N
603 #endif
604
605 #else
606 # define XOBJS
607 # define XMU_OBJS
608 # define BALLOONOBJS
609 #endif /* HAVE_X_WINDOWS */
610
611 /* We should be able to deal with Canna and Wnn in tty mode once MULE is */
612 /* ported to tty, right? */
613 #ifdef MULE
614
615 /* We ignore mule-mcpath.o for the moment. */
616
617 # ifdef HAVE_CANNA
618 # define CANNA_OBJS mule-canna.o
619 # define CANNA_OBJ_SRC ${muledirfromsrc}/mule-canna.c
620 # define LIB_CANNA -lcanna -lRKC
621 # else
622 # define CANNA_OBJS
623 # define CANNA_OBJ_SRC
624 # define LIB_CANNA
625 # endif
626 # ifdef HAVE_WNN
627 # define WNN_OBJS mule-wnnfns.o
628 # define WNN_OBJ_SRC ${muledirfromsrc}/mule-wnnfns.c
629 # define LIB_WNN -lwnn
630 # else
631 # define WNN_OBJS
632 # define WNN_OBJ_SRC
633 # define LIB_WNN
634 # endif
635 /* Chuck says that you have to have at least one specified actual
636 object file per line. */
637 mule_objs= mule.o mule-ccl.o CANNA_OBJS \
638 WNN_OBJS mule-charset.o mule-coding.o
639 mule_obj_src= ${muledirfromsrc}/mule.c \
640 ${muledirfromsrc}/mule-ccl.c CANNA_OBJ_SRC \
641 WNN_OBJ_SRC ${muledirfromsrc}/mule-charset.c \
642 ${muledirfromsrc}/mule-coding.c
643
644 #else /* not MULE */
645
646 mule_objs=
647 mule_obj_src=
648 #define LIB_CANNA
649 #define LIB_WNN
650
651 #endif /* not MULE */
652 232
653 #ifndef ORDINARY_LINK 233 #ifndef ORDINARY_LINK
654 /* Fix linking if compiled with GCC. */ 234 /* Fix linking if compiled with GCC. */
655 #ifdef __GNUC__ 235 #ifdef __GNUC__
656 236
694 274
695 #endif /* ! defined (__GNUC__) */ 275 #endif /* ! defined (__GNUC__) */
696 #else 276 #else
697 GNULIB_VAR = 277 GNULIB_VAR =
698 #endif /* not ORDINARY_LINK */ 278 #endif /* not ORDINARY_LINK */
279
280 /* A macro which other sections of the makefile can redefine to munge the
281 flags before they are passed to LD. This is helpful if you have
282 redefined LD to something odd, like "gcc". */
283 #ifndef YMF_PASS_LDFLAGS
284 #define YMF_PASS_LDFLAGS(flags) flags
285 #endif
699 286
700 /* Specify address for ld to start loading at, 287 /* Specify address for ld to start loading at,
701 if requested by configuration. */ 288 if requested by configuration. */
702 #ifdef LD_TEXT_START_ADDR 289 #ifdef LD_TEXT_START_ADDR
703 STARTFLAGS = -T LD_TEXT_START_ADDR -e __start 290 STARTFLAGS = -T LD_TEXT_START_ADDR -e __start
717 LD=ld 304 LD=ld
718 #endif /* ! defined (LINKER) */ 305 #endif /* ! defined (LINKER) */
719 #endif /* ! defined (COFF_ENCAPSULATE) */ 306 #endif /* ! defined (COFF_ENCAPSULATE) */
720 #endif /* not ORDINARY_LINK */ 307 #endif /* not ORDINARY_LINK */
721 308
722 /* A macro which other sections of the makefile can redefine to munge the
723 flags before they are passed to LD. This is helpful if you have
724 redefined LD to something odd, like "gcc". */
725 #ifndef YMF_PASS_LDFLAGS
726 #define YMF_PASS_LDFLAGS(flags) flags
727 #endif
728
729 /* Allow config.h to specify a replacement file for unexec.c. */ 309 /* Allow config.h to specify a replacement file for unexec.c. */
730 #ifndef UNEXEC 310 #ifndef UNEXEC
731 #define UNEXEC unexec.o 311 #define UNEXEC unexec.o
732 #endif 312 #endif
733 #ifndef UNEXEC_SRC 313 #ifndef UNEXEC_SRC
734 #define UNEXEC_SRC unexec.c 314 #define UNEXEC_SRC unexec.c
735 #endif 315 #endif
736 316
737 #ifdef ENERGIZE 317 #ifdef ENERGIZE
738 # ifdef EMACS_BTL 318 # ifdef EMACS_BTL
739 BTLDIR=$(srcdir)/../btl 319 BTL_dir=$(srcdir)/../btl
740 # define BTLOBJS cadillac-btl.o cadillac-btl-process.o cadillac-btl-asm.o \ 320 BTL_objs = cadillac-btl.o cadillac-btl-process.o cadillac-btl-asm.o cadillac-btl-emacs.o
741 cadillac-btl-emacs.o 321 # endif /* EMACS_BTL */
742 # else
743 # define BTLOBJS
744 # endif /* BTL */
745 # if defined(FREE_CHECKING) || defined(DEBUG_INPUT_BLOCKING) || defined(DEBUG_GCPRO) 322 # if defined(FREE_CHECKING) || defined(DEBUG_INPUT_BLOCKING) || defined(DEBUG_GCPRO)
746 # define FREECHECKOBJS free-hook.o 323 freecheck_objs = free-hook.o
747 # else /* !FREE */ 324 # endif /* FREE */
748 # define FREECHECKOBJS 325 energize_objs = energize.o $(freecheck_objs)
749 # endif /* !FREE */ 326 #endif /* ENERGIZE */
750 # define ENERGIZE_OBJS energize.o FREECHECKOBJS
751 #else /* !ENERGIZE */
752 # define ENERGIZE_OBJS
753 # define BTLOBJS
754 #endif /* !ENERGIZE */
755
756 #ifdef HAVE_REALPATH
757 #define REALPATH_OBJS
758 #else
759 #define REALPATH_OBJS realpath.o
760 #endif
761
762 #ifdef TOOLTALK
763 # define TOOLTALK_OBJS tooltalk.o
764 # if (defined (IRIX5) || defined (HPUX) || defined (POWERPC) || defined (AIX4) || defined (LINUX) || (defined (OSF1) && defined (DEC_ALPHA)))
765 # define LIB_TOOLTALK -ltt
766 # else
767 # if (defined (SPARC) && !defined (USG))
768 # define LIB_TOOLTALK -ltt -lI18N
769 # else
770 # if ((defined (SPARC) || defined(INTEL386)) && defined (USG))
771 # define LIB_TOOLTALK -ltt -lce
772 # else
773 # undef TOOLTALK
774 # define TOOLTALK_OBJS
775 # define LIB_TOOLTALK
776 # endif /* ((SPARC || INTEL386) && USG) */
777 # endif /* ! (SPARC && !USG) */
778 # endif /* !IRIX5 */
779 #else /* !TOOLTALK */
780 # define TOOLTALK_OBJS
781 # define LIB_TOOLTALK
782 #endif /* !TOOLTALK */
783
784 #ifdef HAVE_CDE
785 # if (defined (OSF1) && defined (DEC_ALPHA))
786 # define LIB_CDE -lDtSvc -ltt -lcxx
787 # else
788 # define LIB_CDE -lDtSvc -ltt
789 # endif /* (defined (OSF1) && defined (DEC_ALPHA)) */
790 #else
791 # define LIB_CDE
792 #endif
793
794 #ifdef HAVE_OFFIX_DND
795 # define LIB_OFFIX_DND -lDnd
796 #else
797 # define LIB_OFFIX_DND
798 #endif
799
800 #if (defined(LIB_INTL) && (!(defined(I18N3) || defined(I18N4))))
801 /* this should be defined by s- files, but we should not use it unless
802 I18N3 or I18N4 are defined. */
803 # undef LIB_INTL
804 #endif
805
806 #ifndef LIB_INTL
807 # define LIB_INTL
808 #endif
809 327
810 #ifdef MOCKLISP_SUPPORT 328 #ifdef MOCKLISP_SUPPORT
811 # define MOCKLISPOBJS mocklisp.o 329 mocklisp_objs = mocklisp.o
812 #else
813 # define MOCKLISPOBJS
814 #endif
815
816 #ifdef DEBUG_XEMACS
817 # define DEBUG_OBJS debug.o
818 #else
819 # define DEBUG_OBJS
820 #endif
821
822 #ifdef SUNPRO
823 # define SUNPRO_OBJS sunpro.o
824 #else
825 # define SUNPRO_OBJS
826 #endif 330 #endif
827 331
828 #ifdef HAVE_TTY 332 #ifdef HAVE_TTY
829 #define TTY_OBJS console-tty.o device-tty.o event-tty.o frame-tty.o \ 333 tty_objs = console-tty.o device-tty.o event-tty.o frame-tty.o \
830 objects-tty.o redisplay-tty.o cm.o 334 objects-tty.o redisplay-tty.o cm.o
831 #else
832 #define TTY_OBJS
833 #endif
834
835 #ifdef HAVE_TOOLBARS
836 #define TOOLBAR_OBJS toolbar.o
837 #else
838 #define TOOLBAR_OBJS
839 #endif
840 #ifdef HAVE_MENUBARS
841 #define MENUBAR_OBJS menubar.o
842 #else
843 #define MENUBAR_OBJS
844 #endif
845 #ifdef HAVE_SCROLLBARS
846 #define SCROLLBAR_OBJS scrollbar.o
847 #else
848 #define SCROLLBAR_OBJS
849 #endif
850 #ifdef HAVE_DIALOGS
851 #define DIALOG_OBJS dialog.o
852 #else
853 #define DIALOG_OBJS
854 #endif
855 #if defined (HAVE_MENUBARS) || defined (HAVE_SCROLLBARS) || defined (HAVE_DIALOGS) || defined (HAVE_TOOLBARS)
856 #define GUI_OBJS gui.o
857 #else
858 #define GUI_OBJS
859 #endif 335 #endif
860 336
861 #ifdef HAVE_UNIXOID_EVENT_LOOP 337 #ifdef HAVE_UNIXOID_EVENT_LOOP
862 #define EVENT_UNIXOID_OBJS event-unixoid.o 338 event_unixoid_objs = event-unixoid.o
863 #else
864 #define EVENT_UNIXOID_OBJS
865 #endif 339 #endif
866 340
867 /* lastfile must follow all files whose initialized data areas should 341 /* lastfile must follow all files whose initialized data areas should
868 be dumped as pure by dump-emacs. 342 be dumped as pure by dump-emacs. */
869 */
870 343
871 /* NOTE: The last line cannot be all macros, because make will barf 344 /* NOTE: The last line cannot be all macros, because make will barf
872 if they all come out null. */ 345 if they all come out null. */
873 346
874 objs= abbrev.o alloc.o blocktype.o buffer.o bytecode.o \ 347 objs = abbrev.o alloc.o blocktype.o buffer.o bytecode.o \
875 callint.o callproc.o casefiddle.o casetab.o chartab.o cmdloop.o \ 348 callint.o callproc.o casefiddle.o casetab.o chartab.o \
876 cmds.o console.o console-stream.o \ 349 cmdloop.o cmds.o console.o console-stream.o data.o \
877 data.o DATABASE_OBJS DEBUG_OBJS device.o DIALOG_OBJS dired.o doc.o \ 350 device.o dired.o \
878 doprnt.o dynarr.o \ 351 doc.o doprnt.o dynarr.o editfns.o elhash.o emacs.o \
879 editfns.o elhash.o emacs.o ENERGIZE_OBJS eval.o events.o \ 352 $(energize_objs) eval.o events.o $(extra_objs) \
880 event-stream.o EVENT_UNIXOID_OBJS extents.o \ 353 event-stream.o $(event_unixoid_objs) extents.o faces.o \
881 faces.o fileio.o filelock.o filemode.o floatfns.o fns.o font-lock.o \ 354 fileio.o filelock.o filemode.o floatfns.o fns.o font-lock.o \
882 frame.o \ 355 frame.o general.o getloadavg.o glyphs.o \
883 general.o getloadavg.o GIF_OBJS glyphs.o GUI_OBJS \ 356 $(gui_objs) hash.o indent.o inline.o insdel.o intl.o \
884 hash.o \ 357 keymap.o $(RTC_patch_objs) lread.o lstream.o macros.o \
885 indent.o inline.o insdel.o intl.o \ 358 marker.o md5.o minibuf.o $(mocklisp_objs) \
886 keymap.o $(RTC_PATCH_O) \
887 lread.o lstream.o \
888 macros.o marker.o md5.o MENUBAR_OBJS minibuf.o MOCKLISPOBJS \
889 NAS_OBJS \
890 objects.o opaque.o \ 359 objects.o opaque.o \
891 print.o process.o profile.o pure.o \ 360 print.o process.o profile.o pure.o rangetab.o \
892 rangetab.o REALPATH_OBJS redisplay.o redisplay-output.o regex.o \ 361 redisplay.o redisplay-output.o regex.o \
893 SCROLLBAR_OBJS search.o signal.o sound.o SOUND_OBJS specifier.o \ 362 search.o signal.o sound.o \
894 strftime.o SUNPRO_OBJS symbols.o syntax.o sysdep.o \ 363 specifier.o strftime.o symbols.o syntax.o \
895 TOOLBAR_OBJS TOOLTALK_OBJS TTY_OBJS \ 364 sysdep.o $(tty_objs) undo.o \
896 undo.o UNEXEC \ 365 UNEXEC $(x_objs) window.o
897 XOBJS XMU_OBJS BALLOONOBJS \ 366
898 window.o 367 /* The following is being done in configure.in now - mrb */
899 368 #undef LIBS_TERMCAP
369 #define LIBS_TERMCAP
370 #if 0
900 #ifdef HAVE_TTY 371 #ifdef HAVE_TTY
901 # ifdef HAVE_NCURSES 372 # ifdef HAVE_NCURSES
902 /* If your machine needs -ltermcap, define LIBS_TERMCAP to include 373 /* If your machine needs -ltermcap, define LIBS_TERMCAP to include
903 -lncurses -ltermcap in your s or m file (conditionalized on 374 -lncurses -ltermcap in your s or m file (conditionalized on
904 HAVE_NCURSES). */ 375 HAVE_NCURSES). */
923 # endif /* ! defined (TERMINFO) */ 394 # endif /* ! defined (TERMINFO) */
924 #else /* !HAVE_TTY */ 395 #else /* !HAVE_TTY */
925 # undef LIBS_TERMCAP 396 # undef LIBS_TERMCAP
926 # define LIBS_TERMCAP 397 # define LIBS_TERMCAP
927 #endif /* !HAVE_TTY */ 398 #endif /* !HAVE_TTY */
928 399 #endif /* 0 */
929 400
930 #ifdef REL_ALLOC 401 #ifdef REL_ALLOC
402 rallocdocsrc = ralloc.c
931 rallocobjs = ralloc.o 403 rallocobjs = ralloc.o
932 rallocdocsrc = ralloc.c
933 #else
934 rallocobjs =
935 rallocdocsrc =
936 #endif 404 #endif
937 405
938 #ifndef SYSTEM_MALLOC 406 #ifndef SYSTEM_MALLOC
939 # ifdef GNU_MALLOC /* New GNU malloc */ 407 # ifdef GNU_MALLOC /* New GNU malloc */
940 # ifdef ERROR_CHECK_MALLOC 408 # ifdef ERROR_CHECK_MALLOC
941 mallocobjs = gmalloc.o free-hook.o vm-limit.o 409 mallocobjs = gmalloc.o free-hook.o vm-limit.o
942 mallocdocsrc = free-hook.c 410 mallocdocsrc = free-hook.c
943 # else 411 # else /* New GNU malloc, sans error checking */
944 mallocobjs = gmalloc.o vm-limit.o 412 mallocobjs = gmalloc.o vm-limit.o
945 mallocdocsrc = 413 mallocdocsrc =
946 # endif 414 # endif /* ERROR_CHECK_MALLOC */
947 # else /* Old GNU malloc */ 415 # else /* Old GNU malloc */
948 mallocobjs = malloc.o 416 mallocobjs = malloc.o
949 mallocdocsrc = 417 mallocdocsrc =
950 # endif /* Old GNU malloc */ 418 # endif /* Old GNU malloc */
951 #else 419 #else /* SYSTEM_MALLOC */
952 mallocobjs = 420 mallocobjs =
953 mallocdocsrc = 421 mallocdocsrc =
954 #endif /* SYSTEM_MALLOC */ 422 #endif /* SYSTEM_MALLOC */
955 423
956 #ifdef FORCE_ALLOCA_H
957 allocaobjs = alloca.o
958 #else /* !FORCE_ALLOCA_H */
959 allocaobjs = @ALLOCA@
960 #endif /* !FORCE_ALLOCA_H */
961
962 #ifdef HAVE_X_WINDOWS 424 #ifdef HAVE_X_WINDOWS
963 425
964 # ifdef EXTERNAL_WIDGET 426 # ifdef EXTERNAL_WIDGET
965 # define EXTERNAL_WIDGET_OBJS ExternalShell.o extw-Xt-nonshared.o extw-Xlib-nonshared.o 427 external_widget_objs = ExternalShell.o extw-Xt-nonshared.o extw-Xlib-nonshared.o
966 428
967 /* Now we try to figure out how to link a shared library. 429 /* Now we try to figure out how to link a shared library.
968 If we cannot figure it out, leave EXTW_LINK undefined and a shared 430 If we cannot figure it out, leave EXTW_LINK undefined and a shared
969 library will not be created. */ 431 library will not be created. */
970 432
981 # else /* not IRIX */ 443 # else /* not IRIX */
982 # define EXTW_LINK(objs, output) $(CC) -G objs -z text -o output 444 # define EXTW_LINK(objs, output) $(CC) -G objs -z text -o output
983 # endif /* not IRIX */ 445 # endif /* not IRIX */
984 # else /* not USG5 */ 446 # else /* not USG5 */
985 # if defined (DEC_ALPHA) && defined (OSF1) 447 # if defined (DEC_ALPHA) && defined (OSF1)
986 # define EXTW_LINK(objs, output) $(LD) $(LDFLAGS) LD_SWITCH_SHARED -d objs -o output $(LIBES) 448 # define EXTW_LINK(objs, output) $(LD) $(ldflags) LD_SWITCH_SHARED -d objs -o output $(LIBES)
987 # else /* !(DEC_ALPHA && OSF1) */ 449 # else /* !(DEC_ALPHA && OSF1) */
988 # define EXTW_LINK(objs, output) $(LD) -dc objs -assert pure-text -o output 450 # define EXTW_LINK(objs, output) $(LD) -dc objs -assert pure-text -o output
989 # endif /* !(DEC_ALPHA && OSF1) */ 451 # endif /* !(DEC_ALPHA && OSF1) */
990 # endif /* not USG5 */ 452 # endif /* not USG5 */
991 453
1005 libextcli_Xlib.a libextcli_Xlib.so.1 467 libextcli_Xlib.a libextcli_Xlib.so.1
1006 # else 468 # else
1007 # define OTHER_FILES MOTIF_OTHER_FILES \ 469 # define OTHER_FILES MOTIF_OTHER_FILES \
1008 libextcli_Xt.a libextcli_Xlib.a 470 libextcli_Xt.a libextcli_Xlib.a
1009 # endif 471 # endif
1010 # else /* !EXTERNAL_WIDGET */ 472 # endif /* EXTERNAL_WIDGET */
1011 # define EXTERNAL_WIDGET_OBJS 473
1012 # endif /* !EXTERNAL_WIDGET */ 474 X11_objs = EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o $(external_widget_objs)
1013 475 #endif /* HAVE_X_WINDOWS */
1014 # define LIBX11_OBJS EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o EmacsManager.o EXTERNAL_WIDGET_OBJS
1015 # define LWLIB_DEPS $(LWLIBBUILDDIR)/liblw.a
1016
1017 #else /* !X */
1018 # define LIBX11_OBJS
1019 # define LWLIB_DEPS
1020 #endif
1021 476
1022 /* define otherobjs as list of object files that make-docfile 477 /* define otherobjs as list of object files that make-docfile
1023 should not be told about. */ 478 should not be told about. */
1024 otherobjs= $(termcapobjs) BTLOBJS lastfile.o $(mallocobjs) $(rallocobjs) $(allocaobjs) LIBX11_OBJS 479 otherobjs = $(termcapobjs) $(BTL_objs) lastfile.o $(mallocobjs) $(rallocobjs) $(X11_objs)
1025 480
1026 #ifdef LISP_FLOAT_TYPE 481 #ifdef LISP_FLOAT_TYPE
1027 #define FLOAT_LISP ${lispdir}prim/float-sup.elc 482 #define FLOAT_LISP ${lispdir}prim/float-sup.elc
1028 #else 483 #else
1029 #define FLOAT_LISP 484 #define FLOAT_LISP
1244 doc-snarfing routines get confused. */ 699 doc-snarfing routines get confused. */
1245 otherlisp= ${lispdir}bytecomp/bytecomp.elc \ 700 otherlisp= ${lispdir}bytecomp/bytecomp.elc \
1246 ${lispdir}bytecomp/byte-optimize.elc \ 701 ${lispdir}bytecomp/byte-optimize.elc \
1247 ${lispdir}utils/advice.elc 702 ${lispdir}utils/advice.elc
1248 703
1249 LIBES = NAS_LIBS ${native_sound_lib} SOCKS_LIBS ENERGIZE_LIBS LIB_CDE LIB_OFFIX_DND \ 704 LIBES = $(LWLIB_LIBS) $(energize_libs) $(quantify_libs) \
1250 LIB_TOOLTALK $(LIBX) \ 705 LIBS_DEBUG $(GNULIB_VAR) LIB_STANDARD \
1251 LIBS_SYSTEM LIBS_MACHINE LIBS_TERMCAP \ 706 $(GNULIB_VAR) $(ld_libs_all)
1252 LIB_CANNA LIB_WNN LIB_INTL QUANTIFY_LIBS $(LIB_KSTAT) \
1253 DATABASE_LIBS LIBS_DEBUG $(GNULIB_VAR) LIB_MATH LIB_STANDARD \
1254 $(GNULIB_VAR)
1255 707
1256 /* Enable recompilation of certain other files depending on system type. */ 708 /* Enable recompilation of certain other files depending on system type. */
1257 709
1258 #ifndef OTHER_FILES 710 #ifndef OTHER_FILES
1259 #define OTHER_FILES 711 #define OTHER_FILES
1268 #define OBJECTS_MACHINE 720 #define OBJECTS_MACHINE
1269 #endif 721 #endif
1270 722
1271 all: xemacs OTHER_FILES 723 all: xemacs OTHER_FILES
1272 724
1273 /* "make release" to build "xemacs" with an incremented version number;
1274 "make xemacs" to just build "xemacs" without incrementing the version. */
1275
1276 #ifdef I18N3 725 #ifdef I18N3
1277 modir = ${etcdir} 726 mo_dir = ${etcdir}
1278 # define MOFILE ${modir}emacs.mo 727 mo_file = ${mo_dir}emacs.mo
1279 #else
1280 # define MOFILE
1281 #endif 728 #endif
1282 729
1283 LOADPATH = EMACSLOADPATH="${lispdir}prim" 730 LOADPATH = EMACSLOADPATH="${lispdir}prim"
1284 DUMPENV = $(LOADPATH) 731 DUMPENV = $(LOADPATH)
1285 732
1286 release: temacs ${lisp} ${libsrc}DOC MOFILE OTHER_FILES 733 release: temacs ${lisp} ${libsrc}DOC $(mo_file) OTHER_FILES
1287 #ifdef CANNOT_DUMP 734 #ifdef CANNOT_DUMP
1288 ln temacs xemacs 735 ln temacs xemacs
1289 #else 736 #else
1290 #ifdef HAVE_SHM 737 #ifdef HAVE_SHM
1291 -if [ -w ${srcdir}/../lisp ]; then \ 738 -if [ -w ${srcdir}/../lisp ]; then \
1309 @/bin/rm -f SATISFIED 756 @/bin/rm -f SATISFIED
1310 #endif /* ! defined (HAVE_SHM) */ 757 #endif /* ! defined (HAVE_SHM) */
1311 touch release 758 touch release
1312 #endif /* ! defined (CANNOT_DUMP) */ 759 #endif /* ! defined (CANNOT_DUMP) */
1313 760
1314 xemacs: temacs ${libsrc}DOC ${lisp} MOFILE OTHER_FILES 761 xemacs: temacs ${libsrc}DOC ${lisp} $(mo_file) OTHER_FILES
1315 @touch SATISFIED 762 @touch SATISFIED
1316 -$(DUMPENV) ./temacs -batch -l loadup.el dump 763 -$(DUMPENV) ./temacs -batch -l loadup.el dump
1317 @if [ ! -f SATISFIED ]; then \ 764 @if [ ! -f SATISFIED ]; then \
1318 $(MAKE) xemacs; \ 765 $(MAKE) xemacs; \
1319 fi 766 fi
1320 @/bin/rm -f SATISFIED 767 @/bin/rm -f SATISFIED
1321 768
1322 xemacs-no-site-file: temacs ${libsrc}DOC ${lisp} MOFILE OTHER_FILES 769 xemacs-no-site-file: temacs ${libsrc}DOC ${lisp} $(mo_file) OTHER_FILES
1323 @touch SATISFIED 770 @touch SATISFIED
1324 -$(DUMPENV) ./temacs -batch -l loadup.el dump no-site-file 771 -$(DUMPENV) ./temacs -batch -l loadup.el dump no-site-file
1325 @if [ ! -f SATISFIED ]; then \ 772 @test ! -f SATISFIED && $(MAKE) xemacs-no-site-file
1326 $(MAKE) xemacs-no-site-file; \
1327 fi
1328 @/bin/rm -f SATISFIED 773 @/bin/rm -f SATISFIED
1329 774
1330 obj_src = $(objs:.o=.c) 775 obj_src = $(objs:.o=.c)
1331 776
1332 #ifdef DYNODUMP 777 #ifdef DYNODUMP
1333 $(DYNODUMPBUILDDIR)/dynodump.so: force 778 dynodump_builddir = $(dot)$(dot)/dynodump
1334 cd ${DYNODUMPBUILDDIR} && ${MAKE} ${MFLAGS} 779 dynodump_deps = $(dynodump_builddir)/dynodump.so
1335 #endif 780 $(dynodump_builddir)/dynodump.so: force
781 cd ${dynodump_builddir} && ${MAKE} ${MFLAGS}
782 #endif /* DYNODUMP */
1336 783
1337 #ifdef NO_DOC_FILE 784 #ifdef NO_DOC_FILE
1338 ${libsrc}DOC: ${libsrc}make-docfile 785 ${libsrc}DOC: ${libsrc}make-docfile
1339 #else 786 #else
1340 ${libsrc}DOC: ${libsrc}make-docfile ${obj_src} ${mule_obj_src} ${lisp} 787 ${libsrc}DOC: ${libsrc}make-docfile ${obj_src} ${lisp}
1341 #endif 788 #endif
1342 rm -f ${libsrc}DOC 789 rm -f ${libsrc}DOC
1343 ${libsrc}make-docfile -d ${srcdir} -i ${libsrc}../site-packages \ 790 ${libsrc}make-docfile -d ${srcdir} -i ${libsrc}../site-packages \
1344 ${obj_src} ${mule_obj_src} \ 791 ${obj_src} ${mallocdocsrc} ${rallocdocsrc} ${lispdir}version.el \
1345 ${mallocdocsrc} ${rallocdocsrc} ${lispdir}version.el \
1346 ${lisp} > ${libsrc}DOC 792 ${lisp} > ${libsrc}DOC
1347 793
1348 dump_elcs: dump-elcs 794 dump_elcs: dump-elcs
1349 795
1350 dump-elcs: temacs 796 dump-elcs: temacs
1368 xgettext= xgettext 814 xgettext= xgettext
1369 xgettext_args= -s -d emacs -M_X messages 815 xgettext_args= -s -d emacs -M_X messages
1370 msgfmt= msgfmt 816 msgfmt= msgfmt
1371 #endif 817 #endif
1372 818
1373 ${modir}emacs.po: ${libsrc}make-msgfile ${libsrc}make-po ${objs} ${mule_objs} ${lisp} 819 ${mo_dir}emacs.po: ${libsrc}make-msgfile ${libsrc}make-po ${objs} ${lisp}
1374 ${libsrc}make-msgfile -o ${libsrc}messages ${objs} ${mule_objs} ${lisp} ${otherlisp} 820 ${libsrc}make-msgfile -o ${libsrc}messages ${objs} ${lisp} ${otherlisp}
1375 cd ${libsrc} && ${xgettext} ${xgettext_args} 821 cd ${libsrc} && ${xgettext} ${xgettext_args}
1376 rm -f ${modir}emacs.po 822 rm -f ${mo_dir}emacs.po
1377 cd ${libsrc} && ${libsrc}make-po -a ${modir}emacs.po DOC 823 cd ${libsrc} && ${libsrc}make-po -a ${mo_dir}emacs.po DOC
1378 824
1379 ${modir}emacs.mo: ${modir}emacs.po 825 ${mo_dir}emacs.mo: ${mo_dir}emacs.po
1380 cd ${modir} && ${msgfmt} -o emacs.mo emacs.po 826 cd ${mo_dir} && ${msgfmt} -o emacs.mo emacs.po
1381 827
1382 ${libsrc}make-msgfile: 828 ${libsrc}make-msgfile:
1383 cd ${libsrc} && ${MAKE} ${MFLAGS} make-msgfile 829 cd ${libsrc} && ${MAKE} ${MFLAGS} make-msgfile
1384 830
1385 ${libsrc}make-po: 831 ${libsrc}make-po:
1391 cd ${libsrc} && ${MAKE} ${MFLAGS} make-docfile 837 cd ${libsrc} && ${MAKE} ${MFLAGS} make-docfile
1392 838
1393 /* Lint Section */ 839 /* Lint Section */
1394 LINT.c=$(LINT) $(LINTFLAGS) $(LINTINCLUDES) 840 LINT.c=$(LINT) $(LINTFLAGS) $(LINTINCLUDES)
1395 LINTFILES= $(objs:.o=.ln) 841 LINTFILES= $(objs:.o=.ln)
1396 LINTINCLUDES = -Demacs -DHAVE_CONFIG_H $(MYCPPFLAG) -I. \ 842 LINTINCLUDES = $(cppflags)
1397 -I${srcdir} LCCFLAGS C_SWITCH_MACHINE C_SWITCH_SYSTEM \
1398 C_SWITCH_SITE C_SWITCH_X_SITE C_SWITCH_X_MACHINE \
1399 C_SWITCH_X_SYSTEM $(LIBX11_INCLUDES)
1400 /* LINTFLAGS= -fd -m -p -s -u -v -x */ 843 /* LINTFLAGS= -fd -m -p -s -u -v -x */
1401 LINTFLAGS= -fd -m -s -u -v -x 844 LINTFLAGS= -fd -m -s -u -v -x
1402 lint: $(LINTFILES) 845 lint: $(LINTFILES)
1403 $(LINT.c) $(LINTFILES) 846 $(LINT.c) $(LINTFILES)
1404 /* end of Lint Section */ 847 /* end of Lint Section */
1405 848
1406 force: 849 force:
1407 $(LWLIBBUILDDIR)/liblw.a: force 850 $(LWLIB_BUILDDIR)/liblw.a: force
1408 cd ${LWLIBBUILDDIR} && ${MAKE} ${MFLAGS} 851 cd ${LWLIB_BUILDDIR} && ${MAKE} ${MFLAGS}
1409 852
1410 /* Some systems define this to cause parallel Make-ing. */ 853 /* Some systems define this to cause parallel Make-ing. */
1411 #ifndef MAKE_PARALLEL 854 #ifndef MAKE_PARALLEL
1412 #define MAKE_PARALLEL 855 #define MAKE_PARALLEL
1413 #endif 856 #endif
1414 857
1415 #define TEMACS_DEPS MAKE_PARALLEL $(LOCALCPP) $(SHORT) $(STARTFILES) \ 858 temacs_deps = \
1416 ${objs} ${mule_objs} ${otherobjs} OBJECTS_SYSTEM \ 859 MAKE_PARALLEL $(LOCALCPP) $(SHORT) $(STARTFILES) \
1417 OBJECTS_MACHINE LWLIB_DEPS DYNODUMP_DEPS prefix-args 860 ${objs} ${otherobjs} OBJECTS_SYSTEM OBJECTS_MACHINE \
1418 861 $(LWLIB_DEPS) $(dynodump_deps) prefix-args
1419 #define TEMACS_LINK_ARGS YMF_PASS_LDFLAGS \ 862
1420 (${STARTFLAGS} ${LDFLAGS} LD_SWITCH_CALL_SHARED) -o $@ \ 863 temacs_link_args = \
1421 ${STARTFILES} ${objs} ${mule_objs} ${otherobjs} OBJECTS_SYSTEM \ 864 YMF_PASS_LDFLAGS(${STARTFLAGS} ${ldflags} LD_SWITCH_CALL_SHARED) \
1422 OBJECTS_MACHINE ${LIBES} 865 -o $@ ${STARTFILES} ${objs} ${otherobjs} \
1423 866 OBJECTS_SYSTEM OBJECTS_MACHINE ${LIBES}
1424 temacs_deps: TEMACS_DEPS 867
1425 868 temacs_deps: $(temacs_deps)
1426 temacs: TEMACS_DEPS 869
1427 $(LD) LCCLINK TEMACS_LINK_ARGS 870 temacs: $(temacs_deps)
1428 871 $(LD) $(temacs_link_args)
1429 cemacs: TEMACS_DEPS 872
1430 $(LD) $(ENERGIZEP) TEMACS_LINK_ARGS 873 cemacs: $(temacs_deps)
874 $(LD) $(temacs_link_args)
1431 875
1432 rtc_patch.o: 876 rtc_patch.o:
1433 rtc_patch_area -o $@ 877 rtc_patch_area -o $@
1434 878
1435 rtcmacs: TEMACS_DEPS rtc_patch.o 879 rtcmacs: $(temacs_deps) rtc_patch.o
1436 rm -f temacs; $(MAKE) $(MAKE_FLAGS) temacs RTC_PATCH_O=rtc_patch.o 880 rm -f temacs; $(MAKE) $(MAKE_FLAGS) temacs RTC_patch_objs=rtc_patch.o
1437 mv temacs rtcmacs 881 mv temacs rtcmacs
1438 882
1439 rtcrun: rtcmacs 883 rtcrun: rtcmacs
1440 dbx -q -C -c \ 884 dbx -q -C -c \
1441 'dbxenv rtc_error_log_file_name /dev/fd/1; \ 885 'dbxenv rtc_error_log_file_name /dev/fd/1; \
1444 check -access; \ 888 check -access; \
1445 suppress rui; \ 889 suppress rui; \
1446 runargs -batch -l loadup.el run-temacs -q; \ 890 runargs -batch -l loadup.el run-temacs -q; \
1447 run' rtcmacs 891 run' rtcmacs
1448 892
1449 puremacs: TEMACS_DEPS 893 puremacs: $(temacs_deps)
1450 $(PURIFY_PROG) $(PURIFY_FLAGS) $(LD) TEMACS_LINK_ARGS 894 $(PURIFY_PROG) $(PURIFY_FLAGS) $(LD) $(temacs_link_args)
1451 895
1452 quantmacs: TEMACS_DEPS 896 quantmacs: $(temacs_deps)
1453 $(QUANTIFY_PROG) $(QUANTIFY_FLAGS) $(LD) TEMACS_LINK_ARGS 897 $(quantify_prog) $(quantify_flags) $(LD) $(temacs_link_args)
1454 898
1455 covmacs: TEMACS_DEPS 899 covmacs: $(temacs_deps)
1456 $(PURECOV_PROG) $(LD) TEMACS_LINK_ARGS 900 $(PURECOV_PROG) $(LD) $(temacs_link_args)
1457 901
1458 TopLevelEmacsShell.o : ${srcdir}/EmacsShell-sub.c 902 TopLevelEmacsShell.o : ${srcdir}/EmacsShell-sub.c
1459 $(CC) -c $(ALL_CFLAGS) -DDEFINE_TOP_LEVEL_EMACS_SHELL ${srcdir}/EmacsShell-sub.c 903 $(CC) -c $(cflags) -DDEFINE_TOP_LEVEL_EMACS_SHELL ${srcdir}/EmacsShell-sub.c
1460 mv EmacsShell-sub.o TopLevelEmacsShell.o 904 mv EmacsShell-sub.o TopLevelEmacsShell.o
1461 905
1462 TransientEmacsShell.o : ${srcdir}/EmacsShell-sub.c TopLevelEmacsShell.o 906 TransientEmacsShell.o : ${srcdir}/EmacsShell-sub.c TopLevelEmacsShell.o
1463 $(CC) -c $(ALL_CFLAGS) -DDEFINE_TRANSIENT_EMACS_SHELL ${srcdir}/EmacsShell-sub.c 907 $(CC) -c $(cflags) -DDEFINE_TRANSIENT_EMACS_SHELL ${srcdir}/EmacsShell-sub.c
1464 mv EmacsShell-sub.o TransientEmacsShell.o 908 mv EmacsShell-sub.o TransientEmacsShell.o
1465 909
910 /* Position-independent code for shared library creation */
911 #if USE_GCC
912 pic_arg = -fpic
913 #elif defined (IRIX)
914 pic_arg = -KPIC
915 # else
916 pic_arg = -K pic
917 #endif
918
1466 #ifdef EXTERNAL_WIDGET 919 #ifdef EXTERNAL_WIDGET
1467
1468 #if USE_GCC
1469 # define PIC_ARG -fpic
1470 #else
1471 # ifdef IRIX
1472 # define PIC_ARG -KPIC
1473 # else
1474 # define PIC_ARG -K pic
1475 # endif
1476 #endif
1477 920
1478 # define EXTERNAL_CLIENT_MOTIF_OBJS_SHARED ExternalClient-Xm-shared.o extw-Xt-shared.o extw-Xlib-shared.o 921 # define EXTERNAL_CLIENT_MOTIF_OBJS_SHARED ExternalClient-Xm-shared.o extw-Xt-shared.o extw-Xlib-shared.o
1479 # define EXTERNAL_CLIENT_XT_OBJS_SHARED ExternalClient-Xt-shared.o extw-Xt-shared.o extw-Xlib-shared.o 922 # define EXTERNAL_CLIENT_XT_OBJS_SHARED ExternalClient-Xt-shared.o extw-Xt-shared.o extw-Xlib-shared.o
1480 # define EXTERNAL_CLIENT_XLIB_OBJS_SHARED ExternalClient-Xlib-shared.o extw-Xlib-shared.o 923 # define EXTERNAL_CLIENT_XLIB_OBJS_SHARED ExternalClient-Xlib-shared.o extw-Xlib-shared.o
1481 # define EXTERNAL_CLIENT_MOTIF_OBJS_NONSHARED ExternalClient-Xm-nonshared.o extw-Xt-nonshared.o extw-Xlib-nonshared.o 924 # define EXTERNAL_CLIENT_MOTIF_OBJS_NONSHARED ExternalClient-Xm-nonshared.o extw-Xt-nonshared.o extw-Xlib-nonshared.o
1482 # define EXTERNAL_CLIENT_XT_OBJS_NONSHARED ExternalClient-Xt-nonshared.o extw-Xt-nonshared.o extw-Xlib-nonshared.o 925 # define EXTERNAL_CLIENT_XT_OBJS_NONSHARED ExternalClient-Xt-nonshared.o extw-Xt-nonshared.o extw-Xlib-nonshared.o
1483 # define EXTERNAL_CLIENT_XLIB_OBJS_NONSHARED ExternalClient-Xlib-nonshared.o extw-Xlib-nonshared.o 926 # define EXTERNAL_CLIENT_XLIB_OBJS_NONSHARED ExternalClient-Xlib-nonshared.o extw-Xlib-nonshared.o
1484 927
1485 /* Add dependencies so things work right with a parallel make */ 928 /* Add dependencies so things work right with a parallel make */
1486 ExternalClient-Xm-shared.o: ${srcdir}/ExternalClient.c ExternalClient-Xt-shared.o ExternalClient-Xm-nonshared.o 929 ExternalClient-Xm-shared.o: ${srcdir}/ExternalClient.c ExternalClient-Xt-shared.o ExternalClient-Xm-nonshared.o
1487 $(CC) -c PIC_ARG $(ALL_CFLAGS) -DEXTW_USES_MOTIF ${srcdir}/ExternalClient.c 930 $(CC) -c $(pic_arg) $(cflags) -DEXTW_USES_MOTIF ${srcdir}/ExternalClient.c
1488 mv ExternalClient.o ExternalClient-Xm-shared.o 931 mv ExternalClient.o ExternalClient-Xm-shared.o
1489 932
1490 ExternalClient-Xt-shared.o: ${srcdir}/ExternalClient.c ExternalClient-Xt-nonshared.o 933 ExternalClient-Xt-shared.o: ${srcdir}/ExternalClient.c ExternalClient-Xt-nonshared.o
1491 $(CC) -c PIC_ARG $(ALL_CFLAGS) ${srcdir}/ExternalClient.c 934 $(CC) -c $(pic_arg) $(cflags) ${srcdir}/ExternalClient.c
1492 mv ExternalClient.o ExternalClient-Xt-shared.o 935 mv ExternalClient.o ExternalClient-Xt-shared.o
1493 936
1494 ExternalClient-Xlib-shared.o: ${srcdir}/ExternalClient-Xlib.c ExternalClient-Xlib-nonshared.o 937 ExternalClient-Xlib-shared.o: ${srcdir}/ExternalClient-Xlib.c ExternalClient-Xlib-nonshared.o
1495 $(CC) -c PIC_ARG $(ALL_CFLAGS) ${srcdir}/ExternalClient-Xlib.c 938 $(CC) -c $(pic_arg) $(cflags) ${srcdir}/ExternalClient-Xlib.c
1496 mv ExternalClient-Xlib.o ExternalClient-Xlib-shared.o 939 mv ExternalClient-Xlib.o ExternalClient-Xlib-shared.o
1497 940
1498 ExternalClient-Xm-nonshared.o: ${srcdir}/ExternalClient.c ExternalClient-Xt-nonshared.o 941 ExternalClient-Xm-nonshared.o: ${srcdir}/ExternalClient.c ExternalClient-Xt-nonshared.o
1499 $(CC) -c $(ALL_CFLAGS) -DEXTW_USES_MOTIF ${srcdir}/ExternalClient.c 942 $(CC) -c $(cflags) -DEXTW_USES_MOTIF ${srcdir}/ExternalClient.c
1500 mv ExternalClient.o ExternalClient-Xm-nonshared.o 943 mv ExternalClient.o ExternalClient-Xm-nonshared.o
1501 944
1502 ExternalClient-Xt-nonshared.o: ${srcdir}/ExternalClient.c 945 ExternalClient-Xt-nonshared.o: ${srcdir}/ExternalClient.c
1503 $(CC) -c $(ALL_CFLAGS) ${srcdir}/ExternalClient.c 946 $(CC) -c $(cflags) ${srcdir}/ExternalClient.c
1504 mv ExternalClient.o ExternalClient-Xt-nonshared.o 947 mv ExternalClient.o ExternalClient-Xt-nonshared.o
1505 948
1506 ExternalClient-Xlib-nonshared.o: ${srcdir}/ExternalClient-Xlib.c 949 ExternalClient-Xlib-nonshared.o: ${srcdir}/ExternalClient-Xlib.c
1507 $(CC) -c $(ALL_CFLAGS) ${srcdir}/ExternalClient-Xlib.c 950 $(CC) -c $(cflags) ${srcdir}/ExternalClient-Xlib.c
1508 mv ExternalClient-Xlib.o ExternalClient-Xlib-nonshared.o 951 mv ExternalClient-Xlib.o ExternalClient-Xlib-nonshared.o
1509 952
1510 /* We compile the common files twice (once with PIC and once without) 953 /* We compile the common files twice (once with PIC and once without)
1511 because on some systems, compiling with PIC but not linking into 954 because on some systems, compiling with PIC but not linking into
1512 a shared library messes things up. */ 955 a shared library messes things up. */
1513 extw-Xt-shared.o: ${srcdir}/extw-Xt.c extw-Xt-nonshared.o 956 extw-Xt-shared.o: ${srcdir}/extw-Xt.c extw-Xt-nonshared.o
1514 $(CC) -c PIC_ARG $(ALL_CFLAGS) ${srcdir}/extw-Xt.c 957 $(CC) -c $(pic_arg) $(cflags) ${srcdir}/extw-Xt.c
1515 mv extw-Xt.o extw-Xt-shared.o 958 mv extw-Xt.o extw-Xt-shared.o
1516 959
1517 extw-Xlib-shared.o: ${srcdir}/extw-Xlib.c extw-Xlib-nonshared.o 960 extw-Xlib-shared.o: ${srcdir}/extw-Xlib.c extw-Xlib-nonshared.o
1518 $(CC) -c PIC_ARG $(ALL_CFLAGS) ${srcdir}/extw-Xlib.c 961 $(CC) -c $(pic_arg) $(cflags) ${srcdir}/extw-Xlib.c
1519 mv extw-Xlib.o extw-Xlib-shared.o 962 mv extw-Xlib.o extw-Xlib-shared.o
1520 963
1521 extw-Xt-nonshared.o: ${srcdir}/extw-Xt.c 964 extw-Xt-nonshared.o: ${srcdir}/extw-Xt.c
1522 $(CC) -c $(ALL_CFLAGS) ${srcdir}/extw-Xt.c 965 $(CC) -c $(cflags) ${srcdir}/extw-Xt.c
1523 mv extw-Xt.o extw-Xt-nonshared.o 966 mv extw-Xt.o extw-Xt-nonshared.o
1524 967
1525 extw-Xlib-nonshared.o: ${srcdir}/extw-Xlib.c 968 extw-Xlib-nonshared.o: ${srcdir}/extw-Xlib.c
1526 $(CC) -c $(ALL_CFLAGS) ${srcdir}/extw-Xlib.c 969 $(CC) -c $(cflags) ${srcdir}/extw-Xlib.c
1527 mv extw-Xlib.o extw-Xlib-nonshared.o 970 mv extw-Xlib.o extw-Xlib-nonshared.o
1528 971
1529 libextcli_Xm.a: EXTERNAL_CLIENT_MOTIF_OBJS_NONSHARED 972 libextcli_Xm.a: EXTERNAL_CLIENT_MOTIF_OBJS_NONSHARED
1530 ar r libextcli_Xm.a EXTERNAL_CLIENT_MOTIF_OBJS_NONSHARED 973 ar r libextcli_Xm.a EXTERNAL_CLIENT_MOTIF_OBJS_NONSHARED
1531 974
1544 EXTW_LINK(EXTERNAL_CLIENT_XT_OBJS_SHARED, libextcli_Xt.so.1) 987 EXTW_LINK(EXTERNAL_CLIENT_XT_OBJS_SHARED, libextcli_Xt.so.1)
1545 988
1546 libextcli_Xlib.so.1: EXTERNAL_CLIENT_XLIB_OBJS_SHARED 989 libextcli_Xlib.so.1: EXTERNAL_CLIENT_XLIB_OBJS_SHARED
1547 EXTW_LINK(EXTERNAL_CLIENT_XLIB_OBJS_SHARED, libextcli_Xlib.so.1) 990 EXTW_LINK(EXTERNAL_CLIENT_XLIB_OBJS_SHARED, libextcli_Xlib.so.1)
1548 991
1549 #endif 992 #endif /* EXTW_LINK */
1550 993
1551 #endif /* EXTERNAL_WIDGET */ 994 #endif /* EXTERNAL_WIDGET */
1552 995
1553 prefix-args: ${srcdir}/prefix-args.c config.h 996 prefix-args: ${srcdir}/prefix-args.c config.h
1554 $(CC) $(ALL_CFLAGS) ${srcdir}/prefix-args.c -o prefix-args 997 $(CC) $(cflags) ${srcdir}/prefix-args.c -o prefix-args
1555 998
1556 /* These are needed for C compilation, on the systems that need them */ 999 /* These are needed for C compilation, on the systems that need them */
1557 #ifdef NEED_CPP 1000 #ifdef NEED_CPP
1558 CPP = ./localcpp 1001 CPP = ./localcpp
1559 localcpp: 1002 localcpp:
1560 cd ${cppdir} && ${MAKE} ${MFLAGS} EMACS=-DEMACS 1003 cd ${cppdir} && ${MAKE} ${MFLAGS} EMACS=-DEMACS
1561 ln ${cppdir}cpp localcpp /* Name where ALL_CFLAGS will refer to it */ 1004 ln ${cppdir}cpp localcpp /* Name where cflags will refer to it */
1562 /* cc appears to be cretinous and require all of these to exist 1005 /* cc appears to be cretinous and require all of these to exist
1563 if -B is specified -- we cannot use one local pass and let the 1006 if -B is specified -- we cannot use one local pass and let the
1564 others be the standard ones. What a loser. 1007 others be the standard ones. What a loser.
1565 We cannot even use ln, since they are probably 1008 We cannot even use ln, since they are probably
1566 on different disks. */ 1009 on different disks. */
1612 #ifdef C_ALLOCA 1055 #ifdef C_ALLOCA
1613 /* We could put something in alloca.c to #define free and malloc 1056 /* We could put something in alloca.c to #define free and malloc
1614 whenever emacs was #defined, but that's not appropriate for all 1057 whenever emacs was #defined, but that's not appropriate for all
1615 users of alloca in Emacs. Check out ../lib-src/getopt.c. */ 1058 users of alloca in Emacs. Check out ../lib-src/getopt.c. */
1616 alloca.o : ${srcdir}/alloca.c 1059 alloca.o : ${srcdir}/alloca.c
1617 $(CC) -c $(CPPFLAGS) -Dfree=xfree -Dmalloc=xmalloc \ 1060 $(CC) -c -Dfree=xfree -Dmalloc=xmalloc $(cflags) $<
1618 $(ALL_CFLAGS) $<
1619 #else 1061 #else
1620 #ifndef HAVE_ALLOCA 1062 #ifndef HAVE_ALLOCA
1621 alloca.o : ${srcdir}/alloca.s config.h 1063 alloca.o : ${srcdir}/alloca.s config.h
1622 /* $(CPP) is cc -E, which may get confused by filenames 1064 /* $(CPP) is cc -E, which may get confused by filenames
1623 that do not end in .c. So copy file to a safe name. */ 1065 that do not end in .c. So copy file to a safe name. */
1624 cp ${srcdir}/alloca.s allocatem.c 1066 cp ${srcdir}/alloca.s allocatem.c
1625 /* Remove any ^L, blank lines, and preprocessor comments, 1067 /* Remove any ^L, blank lines, and preprocessor comments,
1626 since some assemblers barf on them. Use a different basename for the 1068 since some assemblers barf on them. Use a different basename for the
1627 output file, since some stupid compilers (Green Hill) use that 1069 output file, since some stupid compilers (Green Hill) use that
1628 name for the intermediate assembler file. */ 1070 name for the intermediate assembler file. */
1629 $(CPP) $(CPPFLAGS) $(ALL_CFLAGS) allocatem.c | \ 1071 $(CPP) $(cppflags) allocatem.c | \
1630 sed -e 's/ //' -e 's/^#.*//' | \ 1072 sed -e 's/ //' -e 's/^#.*//' | \
1631 sed -n -e '/^..*$$/p' > allocax.s 1073 sed -n -e '/^..*$$/p' > allocax.s
1632 -rm -f alloca.o 1074 -rm -f alloca.o
1633 /* Xenix, in particular, needs to run assembler via cc. */ 1075 /* Xenix, in particular, needs to run assembler via cc. */
1634 $(CC) -c allocax.s 1076 $(CC) -c allocax.s
1635 mv allocax.o alloca.o 1077 mv allocax.o alloca.o
1636 rm -f allocax.s allocatem.c 1078 rm -f allocax.s allocatem.c
1637 #endif /* HAVE_ALLOCA */ 1079 #endif /* HAVE_ALLOCA */
1638 #endif /* ! defined (C_ALLOCA) */ 1080 #endif /* ! defined (C_ALLOCA) */
1639 1081
1640 #ifdef USE_LCC /* lcc doesn't do asm() yet */
1641 ecrt0.o: ${srcdir}/ecrt0.c
1642 gcc -c -g -Demacs $<
1643 #endif /* USE_LCC */
1644
1645 #ifdef EMACS_BTL 1082 #ifdef EMACS_BTL
1646 BTL_INCLUDES=-I$(BTLDIR) 1083 BTL_includes = -I$(BTL_dir)
1647 # define BTL_COMPILE \ 1084 BTL_compile = -DEMACS_BTL -D`lucid-arch` -I. $(BTL_includes) $(BTL_dir)/$(@:.o=.c)
1648 -DEMACS_BTL -D`lucid-arch` -I. $(BTL_INCLUDES) $(BTLDIR)/$(@:.o=.c)
1649 1085
1650 cadillac-btl.o cadillac-btl-process.o cadillac-btl-emacs.o: 1086 cadillac-btl.o cadillac-btl-process.o cadillac-btl-emacs.o:
1651 $(CC) $(CFLAGS) -c BTL_COMPILE 1087 $(CC) $(CFLAGS) -c $(BTL_compile)
1652 # ifndef USE_LCC
1653 cadillac-btl-asm.o: 1088 cadillac-btl-asm.o:
1654 $(CC) $(CFLAGS) -c BTL_COMPILE 1089 $(CC) $(CFLAGS) -c $(BTL_compile)
1655 # else /* lcc doesn't do asm() yet */
1656 cadillac-btl-asm.o:
1657 gcc -O -g -c BTL_COMPILE
1658 # endif /* lcc */
1659 #endif /* EMACS_BTL */ 1090 #endif /* EMACS_BTL */
1660 1091
1661 #ifdef ENERGIZE 1092 #ifdef ENERGIZE
1662 energize.o: ${srcdir}/energize.c 1093 energize.o: ${srcdir}/energize.c
1663 $(CC) -c $(CPPFLAGS) $(ALL_CFLAGS) ENERGIZE_INCLUDES $(BTL_INCLUDES) $< 1094 $(CC) -c $(cppflags) $(cflags) $(BTL_includes) $<
1664 #endif /* ENERGIZE */ 1095 #endif /* ENERGIZE */
1665 1096
1666 #ifdef HAVE_NATIVE_SOUND 1097 #ifdef HAVE_NATIVE_SOUND
1667 # if defined (SUNOS4) || defined (SOLARIS2)
1668 sunplay.o: ${srcdir}/sunplay.c 1098 sunplay.o: ${srcdir}/sunplay.c
1669 $(CC) -c $(ALL_CFLAGS) SOUND_CFLAGS $< 1099 $(CC) -c $(sound_cflags) $(cflags) $<
1670 # endif /* SUNOS4 or SOLARIS2 */
1671 # ifdef hp9000s800
1672 hpplay.o: ${srcdir}/hpplay.c 1100 hpplay.o: ${srcdir}/hpplay.c
1673 $(CC) -c -Demacs $(ALL_CFLAGS) SOUND_CFLAGS $< 1101 $(CC) -c -Demacs $(sound_cflags) $(cflags) $<
1674 # endif /* hp9000s800 */
1675 #endif /* HAVE_NATIVE_SOUND */ 1102 #endif /* HAVE_NATIVE_SOUND */
1676
1677 #ifdef HAVE_NAS_SOUND
1678 nas.o: ${srcdir}/nas.c
1679 $(CC) -c $(ALL_CFLAGS) NAS_CFLAGS $<
1680 #endif /* HAVE_NAS_SOUND */
1681
1682 #ifdef MULE
1683
1684 mule-canna.o: ${MULESRCDIR}/mule-canna.c
1685 $(CC) -c $(ALL_CFLAGS) ${MULESRCDIR}/mule-canna.c
1686 mule-wnnfns.o: ${MULESRCDIR}/mule-wnnfns.c
1687 $(CC) -c $(ALL_CFLAGS) ${MULESRCDIR}/mule-wnnfns.c
1688 mule.o: ${MULESRCDIR}/mule.c
1689 $(CC) -c $(ALL_CFLAGS) ${MULESRCDIR}/mule.c
1690 mule-ccl.o: ${MULESRCDIR}/mule-ccl.c
1691 $(CC) -c $(ALL_CFLAGS) ${MULESRCDIR}/mule-ccl.c
1692 mule-charset.o: ${MULESRCDIR}/mule-charset.c
1693 $(CC) -c $(ALL_CFLAGS) ${MULESRCDIR}/mule-charset.c
1694 mule-coding.o: ${MULESRCDIR}/mule-coding.c
1695 $(CC) -c $(ALL_CFLAGS) ${MULESRCDIR}/mule-coding.c
1696
1697 #endif
1698 1103
1699 /* System-specific programs to be made. 1104 /* System-specific programs to be made.
1700 OTHER_FILES, OBJECTS_SYSTEM and OBJECTS_MACHINE 1105 OTHER_FILES, OBJECTS_SYSTEM and OBJECTS_MACHINE
1701 select which of these should be compiled. */ 1106 select which of these should be compiled. */
1702 1107
1703 ${libsrc}emacstool: ${libsrc}emacstool.c
1704 cd ${libsrc} && ${MAKE} ${MFLAGS} emacstool
1705 mostlyclean: 1108 mostlyclean:
1706 rm -f temacs puremacs quantmacs prefix-args xmakefile* core depend.* \#* *.o 1109 rm -f temacs puremacs quantmacs prefix-args xmakefile* core depend.* \#* *.o
1707 rm -f ${libsrc}DOC 1110 rm -f ${libsrc}DOC
1708 clean: mostlyclean 1111 clean: mostlyclean
1709 rm -f xemacs libextcli* 1112 rm -f xemacs libextcli*
1731 #ifdef __GNUC__ 1134 #ifdef __GNUC__
1732 1135
1733 /*** Dependency processing using GCC ***/ 1136 /*** Dependency processing using GCC ***/
1734 1137
1735 .c.dep: 1138 .c.dep:
1736 $(CC) -MM $(ALL_CFLAGS) $< > $*.dep 1139 $(CC) -MM $(cflags) $< > $*.dep
1737 1140
1738 .SUFFIXES: .dep 1141 .SUFFIXES: .dep
1739 1142
1740 obj_dep = $(objs:.o=.dep) 1143 obj_dep = $(objs:.o=.dep)
1741 mule_obj_dep = $(mule_objs:.o=.dep)
1742
1743 #ifdef MULE
1744
1745 /* Ugh, there should be a better way of handling this. */
1746
1747 mule-canna.dep: ${MULESRCDIR}/mule-canna.c
1748 $(CC) -MM $(ALL_CFLAGS) ${MULESRCDIR}/mule-canna.c > mule-canna.dep
1749 mule-wnnfns.dep: ${MULESRCDIR}/mule-wnnfns.c
1750 $(CC) -MM $(ALL_CFLAGS) ${MULESRCDIR}/mule-wnnfns.c > mule-wnnfns.dep
1751 mule.dep: ${MULESRCDIR}/mule.c
1752 $(CC) -MM $(ALL_CFLAGS) ${MULESRCDIR}/mule.c > mule.dep
1753 mule-ccl.dep: ${MULESRCDIR}/mule-ccl.c
1754 $(CC) -MM $(ALL_CFLAGS) ${MULESRCDIR}/mule-ccl.c > mule-ccl.dep
1755 mule-charset.dep: ${MULESRCDIR}/mule-charset.c
1756 $(CC) -MM $(ALL_CFLAGS) ${MULESRCDIR}/mule-charset.c > mule-charset.dep
1757 mule-coding.dep: ${MULESRCDIR}/mule-coding.c
1758 $(CC) -MM $(ALL_CFLAGS) ${MULESRCDIR}/mule-coding.c > mule-coding.dep
1759
1760 #endif /* MULE */
1761 1144
1762 gnu-depend: $(obj_dep) 1145 gnu-depend: $(obj_dep)
1763 /* #### Needs a bit of work: it doesn't see the object files that 1146 /* #### Needs a bit of work: it doesn't see the object files that
1764 we are not compiling */ 1147 we are not compiling */
1765 cat $(obj_dep) | sh ${libsrc}process-gnu-depends.sh > depend.out 1148 cat $(obj_dep) | sh ${libsrc}process-gnu-depends.sh > depend.out
1769 /*** Dependency processing using makedepend ***/ 1152 /*** Dependency processing using makedepend ***/
1770 1153
1771 depend: 1154 depend:
1772 : > depend.tmp 1155 : > depend.tmp
1773 makedepend -f depend.tmp -Dsubprocesses -DMOCKLISP_SUPPORT \ 1156 makedepend -f depend.tmp -Dsubprocesses -DMOCKLISP_SUPPORT \
1774 -DHAVE_X_WINDOWS -DMULE -- $(CPPFLAGS) $(ALL_CFLAGS) \ 1157 -DHAVE_X_WINDOWS -DMULE -- $(cppflags) $(cflags) \
1775 -- *.c 1158 -- *.c
1776 sh ${libsrc}process-depends.sh < depend.tmp > depend.out 1159 sh ${libsrc}process-depends.sh < depend.tmp > depend.out
1777 egrep '^mule|[^a-zA-Z]mule' depend.out > /tmp/depend1.$$ 1160 egrep '^mule|[^a-zA-Z]mule' depend.out > /tmp/depend1.$$
1778 grep -v '^mule' depend.out | grep -v '[^a-zA-Z]mule' > /tmp/depend2.$$ 1161 grep -v '^mule' depend.out | grep -v '[^a-zA-Z]mule' > /tmp/depend2.$$
1779 echo '#ifdef MULE' > depend.out 1162 echo '#ifdef MULE' > depend.out
1818 extw-Xlib-nonshared.o: config.h 1201 extw-Xlib-nonshared.o: config.h
1819 extw-Xlib-nonshared.o: extw-Xlib.h 1202 extw-Xlib-nonshared.o: extw-Xlib.h
1820 extw-Xt-nonshared.o: config.h 1203 extw-Xt-nonshared.o: config.h
1821 extw-Xt-nonshared.o: extw-Xlib.h 1204 extw-Xt-nonshared.o: extw-Xlib.h
1822 extw-Xt-nonshared.o: extw-Xt.h 1205 extw-Xt-nonshared.o: extw-Xt.h
1823 #endif 1206 #endif /* EXTERNAL_WIDGET */
1824 1207
1825 #ifdef EMACS_BTL 1208 #ifdef EMACS_BTL
1826 cadillac-btl.o: $(BTLDIR)/cadillac-btl.c 1209 cadillac-btl.o: $(BTL_dir)/cadillac-btl.c
1827 cadillac-btl.o: $(BTLDIR)/cadillac-btl.h 1210 cadillac-btl.o: $(BTL_dir)/cadillac-btl.h
1828 cadillac-btl.o: $(BTLDIR)/cadillac-btl-extern.h 1211 cadillac-btl.o: $(BTL_dir)/cadillac-btl-extern.h
1829 cadillac-btl-asm.o: $(BTLDIR)/cadillac-btl-asm.c 1212 cadillac-btl-asm.o: $(BTL_dir)/cadillac-btl-asm.c
1830 cadillac-btl-asm.o: $(BTLDIR)/cadillac-btl.h 1213 cadillac-btl-asm.o: $(BTL_dir)/cadillac-btl.h
1831 cadillac-btl-asm.o: $(BTLDIR)/cadillac-btl-extern.h 1214 cadillac-btl-asm.o: $(BTL_dir)/cadillac-btl-extern.h
1832 cadillac-btl-emacs.o: $(BTLDIR)/cadillac-btl-extern.h 1215 cadillac-btl-emacs.o: $(BTL_dir)/cadillac-btl-extern.h
1833 cadillac-btl-process.o: $(BTLDIR)/cadillac-btl-process.c 1216 cadillac-btl-process.o: $(BTL_dir)/cadillac-btl-process.c
1834 cadillac-btl-process.o: $(BTLDIR)/cadillac-btl.h 1217 cadillac-btl-process.o: $(BTL_dir)/cadillac-btl.h
1835 cadillac-btl-process.o: $(BTLDIR)/cadillac-btl-extern.h 1218 cadillac-btl-process.o: $(BTL_dir)/cadillac-btl-extern.h
1836 #endif /* EMACS_BTL */ 1219 #endif /* EMACS_BTL */
1837 1220
1838 /* (makedepend definitely misbehaves on these) */ 1221 /* (makedepend definitely misbehaves on these) */
1839 sgiplay.o: config.h 1222 sgiplay.o: config.h
1840 sgiplay.o: libst.h 1223 sgiplay.o: libst.h
1913 marker.o: mule-charset.h 1296 marker.o: mule-charset.h
1914 md5.o: mule-charset.h 1297 md5.o: mule-charset.h
1915 menubar-x.o: mule-charset.h 1298 menubar-x.o: mule-charset.h
1916 minibuf.o: mule-charset.h 1299 minibuf.o: mule-charset.h
1917 mocklisp.o: mule-charset.h 1300 mocklisp.o: mule-charset.h
1301 #ifdef HAVE_CANNA
1918 mule-canna.o: blocktype.h 1302 mule-canna.o: blocktype.h
1919 mule-canna.o: buffer.h 1303 mule-canna.o: buffer.h
1920 mule-canna.o: bufslots.h 1304 mule-canna.o: bufslots.h
1921 mule-canna.o: config.h 1305 mule-canna.o: config.h
1922 mule-canna.o: dynarr.h 1306 mule-canna.o: dynarr.h
1923 mule-canna.o: mule-charset.h 1307 mule-canna.o: mule-charset.h
1308 #endif /* HAVE_CANNA */
1924 mule-ccl.o: blocktype.h 1309 mule-ccl.o: blocktype.h
1925 mule-ccl.o: buffer.h 1310 mule-ccl.o: buffer.h
1926 mule-ccl.o: bufslots.h 1311 mule-ccl.o: bufslots.h
1927 mule-ccl.o: config.h 1312 mule-ccl.o: config.h
1928 mule-ccl.o: dynarr.h 1313 mule-ccl.o: dynarr.h
1945 mule-coding.o: elhash.h 1330 mule-coding.o: elhash.h
1946 mule-coding.o: insdel.h 1331 mule-coding.o: insdel.h
1947 mule-coding.o: lstream.h 1332 mule-coding.o: lstream.h
1948 mule-coding.o: mule-charset.h 1333 mule-coding.o: mule-charset.h
1949 mule-coding.o: mule-coding.h 1334 mule-coding.o: mule-coding.h
1335 #if 0
1950 mule-mcpath.o: blocktype.h 1336 mule-mcpath.o: blocktype.h
1951 mule-mcpath.o: buffer.h 1337 mule-mcpath.o: buffer.h
1952 mule-mcpath.o: bufslots.h 1338 mule-mcpath.o: bufslots.h
1953 mule-mcpath.o: config.h 1339 mule-mcpath.o: config.h
1954 mule-mcpath.o: dynarr.h 1340 mule-mcpath.o: dynarr.h
1955 mule-mcpath.o: mule-charset.h 1341 mule-mcpath.o: mule-charset.h
1956 mule-mcpath.o: sysfile.h 1342 mule-mcpath.o: sysfile.h
1343 #endif /* obsolete */
1344 #ifdef HAVE_WNN
1957 mule-wnnfns.o: blocktype.h 1345 mule-wnnfns.o: blocktype.h
1958 mule-wnnfns.o: buffer.h 1346 mule-wnnfns.o: buffer.h
1959 mule-wnnfns.o: bufslots.h 1347 mule-wnnfns.o: bufslots.h
1960 mule-wnnfns.o: config.h 1348 mule-wnnfns.o: config.h
1961 mule-wnnfns.o: dynarr.h 1349 mule-wnnfns.o: dynarr.h
1962 mule-wnnfns.o: mule-charset.h 1350 mule-wnnfns.o: mule-charset.h
1963 mule-wnnfns.o: redisplay.h 1351 mule-wnnfns.o: redisplay.h
1964 mule-wnnfns.o: scrollbar.h 1352 mule-wnnfns.o: scrollbar.h
1965 mule-wnnfns.o: window.h 1353 mule-wnnfns.o: window.h
1354 #endif /* HAVE_WNN */
1966 mule.o: blocktype.h 1355 mule.o: blocktype.h
1967 mule.o: config.h 1356 mule.o: config.h
1968 mule.o: dynarr.h 1357 mule.o: dynarr.h
1969 mule.o: regex.h 1358 mule.o: regex.h
1970 objects-tty.o: mule-charset.h 1359 objects-tty.o: mule-charset.h
1993 undo.o: mule-charset.h 1382 undo.o: mule-charset.h
1994 window.o: mule-charset.h 1383 window.o: mule-charset.h
1995 xselect.o: mule-charset.h 1384 xselect.o: mule-charset.h
1996 #endif /* MULE */ 1385 #endif /* MULE */
1997 1386
1998 EmacsFrame.o: $(LWLIBSRCDIR)/lwlib.h 1387 EmacsFrame.o: $(LWLIB_SRCDIR)/lwlib.h
1999 EmacsFrame.o: EmacsFrame.h 1388 EmacsFrame.o: EmacsFrame.h
2000 EmacsFrame.o: EmacsFrameP.h 1389 EmacsFrame.o: EmacsFrameP.h
2001 EmacsFrame.o: EmacsManager.h 1390 EmacsFrame.o: EmacsManager.h
2002 EmacsFrame.o: blocktype.h 1391 EmacsFrame.o: blocktype.h
2003 EmacsFrame.o: buffer.h 1392 EmacsFrame.o: buffer.h
2281 data.o: bufslots.h 1670 data.o: bufslots.h
2282 data.o: bytecode.h 1671 data.o: bytecode.h
2283 data.o: config.h 1672 data.o: config.h
2284 data.o: dynarr.h 1673 data.o: dynarr.h
2285 data.o: sysfloat.h 1674 data.o: sysfloat.h
1675 #ifdef HAVE_DATABASE
2286 database.o: blocktype.h 1676 database.o: blocktype.h
2287 database.o: config.h 1677 database.o: config.h
2288 database.o: database.h 1678 database.o: database.h
2289 database.o: dynarr.h 1679 database.o: dynarr.h
1680 #endif /* HAVE_DATABASE */
2290 debug.o: blocktype.h 1681 debug.o: blocktype.h
2291 debug.o: bytecode.h 1682 debug.o: bytecode.h
2292 debug.o: config.h 1683 debug.o: config.h
2293 debug.o: debug.h 1684 debug.o: debug.h
2294 debug.o: dynarr.h 1685 debug.o: dynarr.h
2312 device-tty.o: specifier.h 1703 device-tty.o: specifier.h
2313 device-tty.o: sysdep.h 1704 device-tty.o: sysdep.h
2314 device-tty.o: systime.h 1705 device-tty.o: systime.h
2315 device-tty.o: systty.h 1706 device-tty.o: systty.h
2316 device-tty.o: toolbar.h 1707 device-tty.o: toolbar.h
2317 device-x.o: $(LWLIBSRCDIR)/lwlib.h 1708 device-x.o: $(LWLIB_SRCDIR)/lwlib.h
2318 device-x.o: blocktype.h 1709 device-x.o: blocktype.h
2319 device-x.o: buffer.h 1710 device-x.o: buffer.h
2320 device-x.o: bufslots.h 1711 device-x.o: bufslots.h
2321 device-x.o: config.h 1712 device-x.o: config.h
2322 device-x.o: conslots.h 1713 device-x.o: conslots.h
2365 device.o: systime.h 1756 device.o: systime.h
2366 device.o: toolbar.h 1757 device.o: toolbar.h
2367 device.o: window.h 1758 device.o: window.h
2368 dgif_lib.o: config.h 1759 dgif_lib.o: config.h
2369 dgif_lib.o: gif_lib.h 1760 dgif_lib.o: gif_lib.h
2370 dialog-x.o: $(LWLIBSRCDIR)/lwlib.h 1761 dialog-x.o: $(LWLIB_SRCDIR)/lwlib.h
2371 dialog-x.o: EmacsFrame.h 1762 dialog-x.o: EmacsFrame.h
2372 dialog-x.o: EmacsManager.h 1763 dialog-x.o: EmacsManager.h
2373 dialog-x.o: EmacsShell.h 1764 dialog-x.o: EmacsShell.h
2374 dialog-x.o: blocktype.h 1765 dialog-x.o: blocktype.h
2375 dialog-x.o: buffer.h 1766 dialog-x.o: buffer.h
2478 eval.o: config.h 1869 eval.o: config.h
2479 eval.o: conslots.h 1870 eval.o: conslots.h
2480 eval.o: console.h 1871 eval.o: console.h
2481 eval.o: dynarr.h 1872 eval.o: dynarr.h
2482 eval.o: opaque.h 1873 eval.o: opaque.h
2483 event-Xt.o: $(LWLIBSRCDIR)/lwlib.h 1874 event-Xt.o: $(LWLIB_SRCDIR)/lwlib.h
2484 event-Xt.o: Emacs.ad.h 1875 event-Xt.o: Emacs.ad.h
2485 event-Xt.o: EmacsFrame.h 1876 event-Xt.o: EmacsFrame.h
2486 event-Xt.o: blocktype.h 1877 event-Xt.o: blocktype.h
2487 event-Xt.o: buffer.h 1878 event-Xt.o: buffer.h
2488 event-Xt.o: bufslots.h 1879 event-Xt.o: bufslots.h
2721 frame-tty.o: frameslots.h 2112 frame-tty.o: frameslots.h
2722 frame-tty.o: scrollbar.h 2113 frame-tty.o: scrollbar.h
2723 frame-tty.o: specifier.h 2114 frame-tty.o: specifier.h
2724 frame-tty.o: systty.h 2115 frame-tty.o: systty.h
2725 frame-tty.o: toolbar.h 2116 frame-tty.o: toolbar.h
2726 frame-x.o: $(LWLIBSRCDIR)/lwlib.h 2117 frame-x.o: $(LWLIB_SRCDIR)/lwlib.h
2727 frame-x.o: EmacsFrame.h 2118 frame-x.o: EmacsFrame.h
2728 frame-x.o: EmacsFrameP.h 2119 frame-x.o: EmacsFrameP.h
2729 frame-x.o: EmacsManager.h 2120 frame-x.o: EmacsManager.h
2730 frame-x.o: EmacsShell.h 2121 frame-x.o: EmacsShell.h
2731 frame-x.o: ExternalShell.h 2122 frame-x.o: ExternalShell.h
2792 getloadavg.o: dynarr.h 2183 getloadavg.o: dynarr.h
2793 gif_err.o: config.h 2184 gif_err.o: config.h
2794 gif_err.o: gif_lib.h 2185 gif_err.o: gif_lib.h
2795 gifalloc.o: config.h 2186 gifalloc.o: config.h
2796 gifalloc.o: gif_lib.h 2187 gifalloc.o: gif_lib.h
2797 glyphs-x.o: $(LWLIBSRCDIR)/lwlib.h 2188 glyphs-x.o: $(LWLIB_SRCDIR)/lwlib.h
2798 glyphs-x.o: ${srcdir}/${etcdir}xemacs.xbm 2189 glyphs-x.o: ${srcdir}/${etcdir}xemacs.xbm
2799 glyphs-x.o: bitmaps.h 2190 glyphs-x.o: bitmaps.h
2800 glyphs-x.o: blocktype.h 2191 glyphs-x.o: blocktype.h
2801 glyphs-x.o: buffer.h 2192 glyphs-x.o: buffer.h
2802 glyphs-x.o: bufslots.h 2193 glyphs-x.o: bufslots.h
2840 glyphs.o: specifier.h 2231 glyphs.o: specifier.h
2841 glyphs.o: toolbar.h 2232 glyphs.o: toolbar.h
2842 glyphs.o: window.h 2233 glyphs.o: window.h
2843 gmalloc.o: config.h 2234 gmalloc.o: config.h
2844 gmalloc.o: getpagesize.h 2235 gmalloc.o: getpagesize.h
2845 gui-x.o: $(LWLIBSRCDIR)/lwlib.h 2236 gui-x.o: $(LWLIB_SRCDIR)/lwlib.h
2846 gui-x.o: blocktype.h 2237 gui-x.o: blocktype.h
2847 gui-x.o: buffer.h 2238 gui-x.o: buffer.h
2848 gui-x.o: bufslots.h 2239 gui-x.o: bufslots.h
2849 gui-x.o: config.h 2240 gui-x.o: config.h
2850 gui-x.o: conslots.h 2241 gui-x.o: conslots.h
2891 indent.o: redisplay.h 2282 indent.o: redisplay.h
2892 indent.o: scrollbar.h 2283 indent.o: scrollbar.h
2893 indent.o: specifier.h 2284 indent.o: specifier.h
2894 indent.o: toolbar.h 2285 indent.o: toolbar.h
2895 indent.o: window.h 2286 indent.o: window.h
2896 inline.o: $(LWLIBSRCDIR)/lwlib.h 2287 inline.o: $(LWLIB_SRCDIR)/lwlib.h
2897 inline.o: blocktype.h 2288 inline.o: blocktype.h
2898 inline.o: buffer.h 2289 inline.o: buffer.h
2899 inline.o: bufslots.h 2290 inline.o: bufslots.h
2900 inline.o: bytecode.h 2291 inline.o: bytecode.h
2901 inline.o: chartab.h 2292 inline.o: chartab.h
3051 md5.o: buffer.h 2442 md5.o: buffer.h
3052 md5.o: bufslots.h 2443 md5.o: bufslots.h
3053 md5.o: config.h 2444 md5.o: config.h
3054 md5.o: dynarr.h 2445 md5.o: dynarr.h
3055 md5.o: insdel.h 2446 md5.o: insdel.h
3056 menubar-x.o: $(LWLIBSRCDIR)/lwlib.h 2447 menubar-x.o: $(LWLIB_SRCDIR)/lwlib.h
3057 menubar-x.o: EmacsFrame.h 2448 menubar-x.o: EmacsFrame.h
3058 menubar-x.o: EmacsManager.h 2449 menubar-x.o: EmacsManager.h
3059 menubar-x.o: EmacsShell.h 2450 menubar-x.o: EmacsShell.h
3060 menubar-x.o: blocktype.h 2451 menubar-x.o: blocktype.h
3061 menubar-x.o: buffer.h 2452 menubar-x.o: buffer.h
3280 redisplay-tty.o: sysdep.h 2671 redisplay-tty.o: sysdep.h
3281 redisplay-tty.o: systime.h 2672 redisplay-tty.o: systime.h
3282 redisplay-tty.o: systty.h 2673 redisplay-tty.o: systty.h
3283 redisplay-tty.o: toolbar.h 2674 redisplay-tty.o: toolbar.h
3284 redisplay-tty.o: window.h 2675 redisplay-tty.o: window.h
3285 redisplay-x.o: $(LWLIBSRCDIR)/lwlib.h 2676 redisplay-x.o: $(LWLIB_SRCDIR)/lwlib.h
3286 redisplay-x.o: EmacsFrame.h 2677 redisplay-x.o: EmacsFrame.h
3287 redisplay-x.o: EmacsFrameP.h 2678 redisplay-x.o: EmacsFrameP.h
3288 redisplay-x.o: blocktype.h 2679 redisplay-x.o: blocktype.h
3289 redisplay-x.o: buffer.h 2680 redisplay-x.o: buffer.h
3290 redisplay-x.o: bufslots.h 2681 redisplay-x.o: bufslots.h
3345 regex.o: chartab.h 2736 regex.o: chartab.h
3346 regex.o: config.h 2737 regex.o: config.h
3347 regex.o: dynarr.h 2738 regex.o: dynarr.h
3348 regex.o: regex.h 2739 regex.o: regex.h
3349 regex.o: syntax.h 2740 regex.o: syntax.h
3350 scrollbar-x.o: $(LWLIBSRCDIR)/lwlib.h 2741 scrollbar-x.o: $(LWLIB_SRCDIR)/lwlib.h
3351 scrollbar-x.o: EmacsFrame.h 2742 scrollbar-x.o: EmacsFrame.h
3352 scrollbar-x.o: EmacsManager.h 2743 scrollbar-x.o: EmacsManager.h
3353 scrollbar-x.o: blocktype.h 2744 scrollbar-x.o: blocktype.h
3354 scrollbar-x.o: config.h 2745 scrollbar-x.o: config.h
3355 scrollbar-x.o: conslots.h 2746 scrollbar-x.o: conslots.h
3497 termcap.o: conslots.h 2888 termcap.o: conslots.h
3498 termcap.o: console.h 2889 termcap.o: console.h
3499 termcap.o: device.h 2890 termcap.o: device.h
3500 termcap.o: dynarr.h 2891 termcap.o: dynarr.h
3501 terminfo.o: config.h 2892 terminfo.o: config.h
3502 toolbar-x.o: $(LWLIBSRCDIR)/lwlib.h 2893 toolbar-x.o: $(LWLIB_SRCDIR)/lwlib.h
3503 toolbar-x.o: EmacsFrame.h 2894 toolbar-x.o: EmacsFrame.h
3504 toolbar-x.o: EmacsFrameP.h 2895 toolbar-x.o: EmacsFrameP.h
3505 toolbar-x.o: EmacsManager.h 2896 toolbar-x.o: EmacsManager.h
3506 toolbar-x.o: blocktype.h 2897 toolbar-x.o: blocktype.h
3507 toolbar-x.o: buffer.h 2898 toolbar-x.o: buffer.h