aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-07-18 13:02:29 +0000
committerGerd Moellmann2000-07-18 13:02:29 +0000
commit00edcd1d2304102c70c3223fc6563d0caa8f6640 (patch)
tree169e482ef5fbf0a0562fb6a2a1c7349a96bce74a /src
parentcc6c8443612ddedae81e6d6ad5e26ec377475983 (diff)
downloademacs-00edcd1d2304102c70c3223fc6563d0caa8f6640.tar.gz
emacs-00edcd1d2304102c70c3223fc6563d0caa8f6640.zip
Add dependencies on dispextern.h.
(alloca.o): Don't define malloc and define EMACS_FREE instead of `free'; both can conflict with system header files.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.in37
1 files changed, 20 insertions, 17 deletions
diff --git a/src/Makefile.in b/src/Makefile.in
index 7c86c63aa38..4a79f5f843e 100644
--- a/src/Makefile.in
+++ b/src/Makefile.in
@@ -953,7 +953,7 @@ stamp-oldxmenu:
953 whenever emacs was #defined, but that's not appropriate for all 953 whenever emacs was #defined, but that's not appropriate for all
954 users of alloca in Emacs. Check out ../lib-src/getopt.c. */ 954 users of alloca in Emacs. Check out ../lib-src/getopt.c. */
955alloca.o : alloca.c 955alloca.o : alloca.c
956 $(CC) -c $(CPPFLAGS) -Dfree=xfree -Dmalloc=xmalloc \ 956 $(CC) -c $(CPPFLAGS) -DEMACS_FREE=xfree \
957 $(ALL_CFLAGS) ${srcdir}/alloca.c 957 $(ALL_CFLAGS) ${srcdir}/alloca.c
958#else 958#else
959#ifndef HAVE_ALLOCA 959#ifndef HAVE_ALLOCA
@@ -982,11 +982,12 @@ alloca.o : alloca.s $(config_h)
982 it is so often changed in ways that do not require any recompilation 982 it is so often changed in ways that do not require any recompilation
983 and so rarely changed in ways that do require any. */ 983 and so rarely changed in ways that do require any. */
984 984
985abbrev.o: abbrev.c buffer.h window.h commands.h charset.h $(config_h) 985abbrev.o: abbrev.c buffer.h window.h dispextern.h commands.h charset.h \
986 $(config_h)
986buffer.o: buffer.c buffer.h region-cache.h commands.h window.h \ 987buffer.o: buffer.c buffer.h region-cache.h commands.h window.h \
987 $(INTERVAL_SRC) blockinput.h charset.h $(config_h) 988 dispextern.h $(INTERVAL_SRC) blockinput.h charset.h $(config_h)
988callint.o: callint.c window.h commands.h buffer.h mocklisp.h \ 989callint.o: callint.c window.h commands.h buffer.h mocklisp.h \
989 keyboard.h $(config_h) 990 keyboard.h dispextern.h $(config_h)
990callproc.o: callproc.c epaths.h buffer.h commands.h $(config_h) \ 991callproc.o: callproc.c epaths.h buffer.h commands.h $(config_h) \
991 process.h systty.h syssignal.h charset.h coding.h ccl.h msdos.h \ 992 process.h systty.h syssignal.h charset.h coding.h ccl.h msdos.h \
992 composite.h 993 composite.h
@@ -998,7 +999,7 @@ charset.o: charset.c charset.h buffer.h coding.h disptab.h $(config_h)
998coding.o: coding.c coding.h ccl.h buffer.h charset.h $(config_h) 999coding.o: coding.c coding.h ccl.h buffer.h charset.h $(config_h)
999cm.o: cm.c cm.h termhooks.h $(config_h) 1000cm.o: cm.c cm.h termhooks.h $(config_h)
1000cmds.o: cmds.c syntax.h buffer.h charset.h commands.h window.h $(config_h) \ 1001cmds.o: cmds.c syntax.h buffer.h charset.h commands.h window.h $(config_h) \
1001 msdos.h 1002 msdos.h dispextern.h
1002pre-crt0.o: pre-crt0.c 1003pre-crt0.o: pre-crt0.c
1003ecrt0.o: ecrt0.c $(config_h) 1004ecrt0.o: ecrt0.c $(config_h)
1004 CRT0_COMPILE ${srcdir}/ecrt0.c 1005 CRT0_COMPILE ${srcdir}/ecrt0.c
@@ -1011,21 +1012,21 @@ doc.o: doc.c $(config_h) epaths.h buffer.h keyboard.h charset.h
1011doprnt.o: doprnt.c charset.h $(config_h) 1012doprnt.o: doprnt.c charset.h $(config_h)
1012dosfns.o: buffer.h termchar.h termhooks.h frame.h msdos.h dosfns.h $(config_h) 1013dosfns.o: buffer.h termchar.h termhooks.h frame.h msdos.h dosfns.h $(config_h)
1013editfns.o: editfns.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \ 1014editfns.o: editfns.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \
1014 coding.h $(config_h) 1015 coding.h dispextern.h $(config_h)
1015emacs.o: emacs.c commands.h systty.h syssignal.h blockinput.h process.h \ 1016emacs.o: emacs.c commands.h systty.h syssignal.h blockinput.h process.h \
1016 termhooks.h buffer.h $(INTERVAL_SRC) $(config_h) 1017 termhooks.h buffer.h $(INTERVAL_SRC) $(config_h)
1017fileio.o: fileio.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \ 1018fileio.o: fileio.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \
1018 coding.h ccl.h msdos.h $(config_h) 1019 coding.h ccl.h msdos.h dispextern.h $(config_h)
1019filelock.o: filelock.c buffer.h systime.h epaths.h $(config_h) 1020filelock.o: filelock.c buffer.h systime.h epaths.h $(config_h)
1020filemode.o: filemode.c $(config_h) 1021filemode.o: filemode.c $(config_h)
1021frame.o: frame.c xterm.h window.h frame.h termhooks.h commands.h keyboard.h \ 1022frame.o: frame.c xterm.h window.h frame.h termhooks.h commands.h keyboard.h \
1022 buffer.h charset.h fontset.h msdos.h dosfns.h $(config_h) 1023 buffer.h charset.h fontset.h msdos.h dosfns.h dispextern.h $(config_h)
1023fontset.o: dispextern.h fontset.h fontset.c ccl.h charset.h frame.h $(config_h) 1024fontset.o: dispextern.h fontset.h fontset.c ccl.h charset.h frame.h $(config_h)
1024getloadavg.o: getloadavg.c $(config_h) 1025getloadavg.o: getloadavg.c $(config_h)
1025indent.o: indent.c frame.h window.h indent.h buffer.h $(config_h) termchar.h \ 1026indent.o: indent.c frame.h window.h indent.h buffer.h $(config_h) termchar.h \
1026 termopts.h disptab.h region-cache.h charset.h composite.h 1027 termopts.h disptab.h region-cache.h charset.h composite.h dispextern.h
1027insdel.o: insdel.c window.h buffer.h $(INTERVAL_SRC) blockinput.h charset.h\ 1028insdel.o: insdel.c window.h buffer.h $(INTERVAL_SRC) blockinput.h charset.h\
1028 $(config_h) 1029 dispextern.h $(config_h)
1029keyboard.o: keyboard.c termchar.h termhooks.h termopts.h buffer.h charset.h \ 1030keyboard.o: keyboard.c termchar.h termhooks.h termopts.h buffer.h charset.h \
1030 commands.h frame.h window.h macros.h disptab.h keyboard.h syssignal.h \ 1031 commands.h frame.h window.h macros.h disptab.h keyboard.h syssignal.h \
1031 systty.h systime.h dispextern.h syntax.h $(INTERVAL_SRC) blockinput.h \ 1032 systty.h systime.h dispextern.h syntax.h $(INTERVAL_SRC) blockinput.h \
@@ -1033,7 +1034,8 @@ keyboard.o: keyboard.c termchar.h termhooks.h termopts.h buffer.h charset.h \
1033keymap.o: keymap.c buffer.h commands.h keyboard.h termhooks.h blockinput.h \ 1034keymap.o: keymap.c buffer.h commands.h keyboard.h termhooks.h blockinput.h \
1034 puresize.h charset.h intervals.h $(config_h) 1035 puresize.h charset.h intervals.h $(config_h)
1035lastfile.o: lastfile.c $(config_h) 1036lastfile.o: lastfile.c $(config_h)
1036macros.o: macros.c window.h buffer.h commands.h macros.h keyboard.h $(config_h) 1037macros.o: macros.c window.h buffer.h commands.h macros.h keyboard.h \
1038 dispextern.h $(config_h)
1037malloc.o: malloc.c $(config_h) 1039malloc.o: malloc.c $(config_h)
1038gmalloc.o: gmalloc.c $(config_h) 1040gmalloc.o: gmalloc.c $(config_h)
1039ralloc.o: ralloc.c $(config_h) 1041ralloc.o: ralloc.c $(config_h)
@@ -1046,7 +1048,7 @@ mocklisp.o: mocklisp.c buffer.h $(config_h)
1046msdos.o: msdos.c msdos.h dosfns.h systime.h termhooks.h dispextern.h frame.h \ 1048msdos.o: msdos.c msdos.h dosfns.h systime.h termhooks.h dispextern.h frame.h \
1047 termopts.h termchar.h charset.h coding.h ccl.h disptab.h window.h $(config_h) 1049 termopts.h termchar.h charset.h coding.h ccl.h disptab.h window.h $(config_h)
1048process.o: process.c process.h buffer.h window.h termhooks.h termopts.h \ 1050process.o: process.c process.h buffer.h window.h termhooks.h termopts.h \
1049 commands.h syssignal.h systime.h systty.h syswait.h frame.h \ 1051 commands.h syssignal.h systime.h systty.h syswait.h frame.h dispextern.h \
1050 blockinput.h charset.h coding.h ccl.h msdos.h composite.h $(config_h) 1052 blockinput.h charset.h coding.h ccl.h msdos.h composite.h $(config_h)
1051regex.o: regex.c syntax.h buffer.h $(config_h) regex.h category.h charset.h 1053regex.o: regex.c syntax.h buffer.h $(config_h) regex.h category.h charset.h
1052region-cache.o: region-cache.c buffer.h region-cache.h 1054region-cache.o: region-cache.c buffer.h region-cache.h
@@ -1081,7 +1083,7 @@ xdisp.o: xdisp.c macros.h commands.h indent.h buffer.h dispextern.h coding.h \
1081 msdos.h composite.h fontset.h 1083 msdos.h composite.h fontset.h
1082xfaces.o: xfaces.c dispextern.h frame.h xterm.h buffer.h blockinput.h \ 1084xfaces.o: xfaces.c dispextern.h frame.h xterm.h buffer.h blockinput.h \
1083 window.h charset.h msdos.h dosfns.h composite.h $(config_h) 1085 window.h charset.h msdos.h dosfns.h composite.h $(config_h)
1084xfns.o: xfns.c buffer.h frame.h window.h keyboard.h xterm.h\ 1086xfns.o: xfns.c buffer.h frame.h window.h keyboard.h xterm.h dispextern.h \
1085 $(srcdir)/../lwlib/lwlib.h blockinput.h epaths.h charset.h $(config_h) 1087 $(srcdir)/../lwlib/lwlib.h blockinput.h epaths.h charset.h $(config_h)
1086xmenu.o: xmenu.c xterm.h termhooks.h window.h dispextern.h frame.h keyboard.h \ 1088xmenu.o: xmenu.c xterm.h termhooks.h window.h dispextern.h frame.h keyboard.h \
1087 $(srcdir)/../lwlib/lwlib.h blockinput.h msdos.h $(config_h) 1089 $(srcdir)/../lwlib/lwlib.h blockinput.h msdos.h $(config_h)
@@ -1099,20 +1101,21 @@ atimer.o: atimer.c atimer.h systime.h $(config_h)
1099/* The files of Lisp proper */ 1101/* The files of Lisp proper */
1100 1102
1101alloc.o: alloc.c frame.h window.h buffer.h puresize.h syssignal.h keyboard.h \ 1103alloc.o: alloc.c frame.h window.h buffer.h puresize.h syssignal.h keyboard.h \
1102 blockinput.h charset.h $(config_h) $(INTERVAL_SRC) 1104 blockinput.h charset.h dispextern.h $(config_h) $(INTERVAL_SRC)
1103bytecode.o: bytecode.c buffer.h syntax.h charset.h $(config_h) 1105bytecode.o: bytecode.c buffer.h syntax.h charset.h $(config_h)
1104data.o: data.c buffer.h puresize.h charset.h syssignal.h keyboard.h $(config_h) 1106data.o: data.c buffer.h puresize.h charset.h syssignal.h keyboard.h $(config_h)
1105eval.o: eval.c commands.h keyboard.h blockinput.h $(config_h) 1107eval.o: eval.c commands.h keyboard.h blockinput.h $(config_h)
1106floatfns.o: floatfns.c $(config_h) 1108floatfns.o: floatfns.c $(config_h)
1107fns.o: fns.c commands.h $(config_h) frame.h buffer.h charset.h keyboard.h \ 1109fns.o: fns.c commands.h $(config_h) frame.h buffer.h charset.h keyboard.h \
1108 frame.h window.h $(INTERVAL_SRC) 1110 frame.h window.h dispextern.h $(INTERVAL_SRC)
1109print.o: print.c process.h frame.h window.h buffer.h keyboard.h charset.h\ 1111print.o: print.c process.h frame.h window.h buffer.h keyboard.h charset.h\
1110 $(config_h) dispextern.h msdos.h composite.h 1112 $(config_h) dispextern.h msdos.h composite.h
1111lread.o: lread.c commands.h keyboard.h buffer.h epaths.h charset.h $(config_h) \ 1113lread.o: lread.c commands.h keyboard.h buffer.h epaths.h charset.h $(config_h) \
1112 termhooks.h msdos.h 1114 termhooks.h msdos.h
1113 1115
1114/* Text properties support */ 1116/* Text properties support */
1115textprop.o: textprop.c buffer.h window.h $(INTERVAL_SRC) $(config_h) 1117textprop.o: textprop.c buffer.h window.h dispextern.h $(INTERVAL_SRC) \
1118 $(config_h)
1116intervals.o: intervals.c buffer.h $(INTERVAL_SRC) keyboard.h puresize.h $(config_h) 1119intervals.o: intervals.c buffer.h $(INTERVAL_SRC) keyboard.h puresize.h $(config_h)
1117composite.o: composite.c buffer.h charset.h $(INTERVAL_SRC) $(config_h) 1120composite.o: composite.c buffer.h charset.h $(INTERVAL_SRC) $(config_h)
1118 1121
@@ -1123,7 +1126,7 @@ atimer.h: systime.h
1123 OTHER_FILES and OBJECTS_MACHINE 1126 OTHER_FILES and OBJECTS_MACHINE
1124 select which of these should be compiled. */ 1127 select which of these should be compiled. */
1125 1128
1126sunfns.o: sunfns.c buffer.h window.h $(config_h) 1129sunfns.o: sunfns.c buffer.h window.h dispextern.h $(config_h)
1127 1130
1128${libsrc}emacstool: ${libsrc}emacstool.c 1131${libsrc}emacstool: ${libsrc}emacstool.c
1129 cd ${libsrc}; ${MAKE} ${MFLAGS} emacstool 1132 cd ${libsrc}; ${MAKE} ${MFLAGS} emacstool