aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-07-21 21:43:52 +0000
committerGerd Moellmann1999-07-21 21:43:52 +0000
commit04e209dc56204c774dc08879e54d50138ce48101 (patch)
treeb0b4ef8688f8e8276ff15bec2c7767c6c3ada3b6 /src
parentd3c92eee390fc34b95e9d4e3448f9aa04d114f4d (diff)
downloademacs-04e209dc56204c774dc08879e54d50138ce48101.tar.gz
emacs-04e209dc56204c774dc08879e54d50138ce48101.zip
(ctagsfiles): Split so that files starting
with an `x' are found before files starting with `w32'. (ctagsfiles1): New. (ctagsfiles2): New. (TAGS): Use ctagsfiles[12] instead of ctagsfiles. Add PNG library. (obj): Add sound.o. (LIBW): Use Xaw3d if present. (LIBTIFF): Added. (LIBJPEG): Added. (LIBXPM): If not already defined, define to -lXpm. (LIBX)[HAVE_X11]: Add LIBXPM. (term.o): Add dependency on dispextern.h. (alloc.o): Add dependency to dispextern.h. (window.o): Depends on dispextern.h. (alloc.o): Add dependency dispextern.h. (window.o): Add dependency window.c -> dispextern.h (term.o): term.c depends on dispextern.h
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in54
1 files changed, 50 insertions, 4 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index b7d4cc45ab5..69ae7784957 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -329,8 +329,12 @@ LIBXMENU=
329#ifdef USE_X_TOOLKIT 329#ifdef USE_X_TOOLKIT
330#define @X_TOOLKIT_TYPE@ 330#define @X_TOOLKIT_TYPE@
331#if defined (LUCID) || defined (ATHENA) 331#if defined (LUCID) || defined (ATHENA)
332#if HAVE_XAW3D
333LIBW= -lXaw3d
334#else
332LIBW= -lXaw 335LIBW= -lXaw
333#endif 336#endif
337#endif
334#ifdef MOTIF 338#ifdef MOTIF
335#if defined (HAVE_MOTIF_2_1) && defined (HAVE_LIBXP) 339#if defined (HAVE_MOTIF_2_1) && defined (HAVE_LIBXP)
336#define LIB_MOTIF_EXTRA -lXp 340#define LIB_MOTIF_EXTRA -lXp
@@ -372,11 +376,51 @@ LIBXT= $(LIBW) LIBXMU -lXt $(LIBXTR6) -lXext
372LIBXT= 376LIBXT=
373#endif /* not USE_X_TOOLKIT */ 377#endif /* not USE_X_TOOLKIT */
374 378
379#if HAVE_XPM
380#ifndef LIBXPM
381#define LIBXPM -lXpm
382#endif /* not defined LIBXPM */
383#else /* not HAVE_XPM */
384#define LIBXPM
385#endif /* not HAVE_XPM */
386
387#if HAVE_JPEG
388#ifndef LIBJPEG
389#define LIBJPEG -ljpeg
390#endif /* not defined LIBJPEG */
391#else /* not HAVE_JPEG */
392#define LIBJPEG
393#endif /* not HAVE_JPEG */
394
395#if HAVE_PNG
396#ifndef LIBPNG
397#define LIBPNG -lpng -lz -lm
398#endif /* not defined LIBPNG */
399#else /* not HAVE_PNG */
400#define LIBPNG
401#endif /* not HAVE_PNG */
402
403#if HAVE_TIFF
404#ifndef LIBTIFF
405#define LIBTIFF -ltiff34
406#endif /* not defined LIBTIFF */
407#else /* not HAVE_TIFF */
408#define LIBTIFF
409#endif /* not HAVE_TIFF */
410
411#if HAVE_GIF
412#ifndef LIBGIF
413#define LIBGIF -lungif
414#endif /* not defined LIBGIF */
415#else /* not HAVE_GIF */
416#define LIBGIF
417#endif /* not HAVE_GIF */
418
375#ifdef HAVE_X11 419#ifdef HAVE_X11
376/* LD_SWITCH_X_DEFAULT comes after everything else that specifies 420/* LD_SWITCH_X_DEFAULT comes after everything else that specifies
377 options for where to find X libraries, but before those libraries. */ 421 options for where to find X libraries, but before those libraries. */
378X11_LDFLAGS = LD_SWITCH_X_SITE LD_SWITCH_X_DEFAULT 422X11_LDFLAGS = LD_SWITCH_X_SITE LD_SWITCH_X_DEFAULT
379LIBX= $(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM 423LIBX= $(LIBXMENU) $(X11_LDFLAGS) $(LIBXT) LIB_X11_LIB LIBX11_MACHINE LIBX11_SYSTEM LIBXPM LIBJPEG LIBPNG LIBTIFF LIBGIF
380#else /* not HAVE_X11 */ 424#else /* not HAVE_X11 */
381LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM 425LIBX= $(LIBXMENU) LD_SWITCH_X_SITE -lX10 LIBX10_MACHINE LIBX10_SYSTEM
382#endif /* not HAVE_X11 */ 426#endif /* not HAVE_X11 */
@@ -520,7 +564,7 @@ obj= dispnew.o frame.o scroll.o xdisp.o xmenu.o window.o \
520 eval.o floatfns.o fns.o print.o lread.o \ 564 eval.o floatfns.o fns.o print.o lread.o \
521 abbrev.o syntax.o UNEXEC mocklisp.o bytecode.o \ 565 abbrev.o syntax.o UNEXEC mocklisp.o bytecode.o \
522 process.o callproc.o \ 566 process.o callproc.o \
523 region-cache.o \ 567 region-cache.o sound.o \
524 doprnt.o strftime.o MKTIME_OBJ GETLOADAVG_OBJ MSDOS_OBJ 568 doprnt.o strftime.o MKTIME_OBJ GETLOADAVG_OBJ MSDOS_OBJ
525 569
526/* Object files used on some machine or other. 570/* Object files used on some machine or other.
@@ -1101,6 +1145,7 @@ xselect.o: xselect.c dispextern.h frame.h xterm.h blockinput.h charset.h \
1101 coding.h ccl.h buffer.h $(config_h) 1145 coding.h ccl.h buffer.h $(config_h)
1102xrdb.o: xrdb.c $(config_h) epaths.h 1146xrdb.o: xrdb.c $(config_h) epaths.h
1103hftctl.o: hftctl.c $(config_h) 1147hftctl.o: hftctl.c $(config_h)
1148sound.o: sound.c dispextern.h lisp.h $(config_h)
1104 1149
1105/* The files of Lisp proper */ 1150/* The files of Lisp proper */
1106 1151
@@ -1160,11 +1205,12 @@ relock:
1160 1205
1161/* Arrange to make a tags table TAGS-LISP for ../lisp, 1206/* Arrange to make a tags table TAGS-LISP for ../lisp,
1162 plus TAGS for the C files, which includes ../lisp/TAGS by reference. */ 1207 plus TAGS for the C files, which includes ../lisp/TAGS by reference. */
1163ctagsfiles = [a-zA-Z]*.[hc] 1208ctagsfiles1 = [xyzXYZ]*.[hc]
1209ctagsfiles2 = [a-wA-W]*.[hc]
1164TAGS: $(srcdir)/$(ctagsfiles) 1210TAGS: $(srcdir)/$(ctagsfiles)
1165 ../lib-src/etags --include=TAGS-LISP \ 1211 ../lib-src/etags --include=TAGS-LISP \
1166 --regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \ 1212 --regex='/[ ]*DEFVAR_[A-Z_ (]+"\([^"]+\)"/' \
1167 $(srcdir)/$(ctagsfiles) 1213 $(srcdir)/$(ctagsfiles1) $(srcdir)/$(ctagsfiles2)
1168frc: 1214frc:
1169TAGS-LISP: frc 1215TAGS-LISP: frc
1170 $(MAKE) -f ${lispsource}Makefile TAGS-LISP ETAGS=../lib-src/etags \ 1216 $(MAKE) -f ${lispsource}Makefile TAGS-LISP ETAGS=../lib-src/etags \