Mercurial > emacs
comparison src/Makefile.in @ 30288:8766468f819e
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.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Tue, 18 Jul 2000 13:02:29 +0000 |
parents | 91a927c58efc |
children | 6fd1ba16482c |
comparison
equal
deleted
inserted
replaced
30287:237a66bc6cea | 30288:8766468f819e |
---|---|
951 #ifdef C_ALLOCA | 951 #ifdef C_ALLOCA |
952 /* We could put something in alloca.c to #define free and malloc | 952 /* We could put something in alloca.c to #define free and malloc |
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. */ |
955 alloca.o : alloca.c | 955 alloca.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 |
960 alloca.o : alloca.s $(config_h) | 960 alloca.o : alloca.s $(config_h) |
961 /* $(CPP) is cc -E, which may get confused by filenames | 961 /* $(CPP) is cc -E, which may get confused by filenames |
980 /* Nearly all the following files depend on lisp.h, | 980 /* Nearly all the following files depend on lisp.h, |
981 but it is not included as a dependency because | 981 but it is not included as a dependency because |
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 |
985 abbrev.o: abbrev.c buffer.h window.h commands.h charset.h $(config_h) | 985 abbrev.o: abbrev.c buffer.h window.h dispextern.h commands.h charset.h \ |
986 $(config_h) | |
986 buffer.o: buffer.c buffer.h region-cache.h commands.h window.h \ | 987 buffer.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) |
988 callint.o: callint.c window.h commands.h buffer.h mocklisp.h \ | 989 callint.o: callint.c window.h commands.h buffer.h mocklisp.h \ |
989 keyboard.h $(config_h) | 990 keyboard.h dispextern.h $(config_h) |
990 callproc.o: callproc.c epaths.h buffer.h commands.h $(config_h) \ | 991 callproc.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 |
993 casefiddle.o: casefiddle.c syntax.h commands.h buffer.h composite.h $(config_h) | 994 casefiddle.o: casefiddle.c syntax.h commands.h buffer.h composite.h $(config_h) |
994 casetab.o: casetab.c buffer.h $(config_h) | 995 casetab.o: casetab.c buffer.h $(config_h) |
996 ccl.o: ccl.c ccl.h charset.h coding.h $(config_h) | 997 ccl.o: ccl.c ccl.h charset.h coding.h $(config_h) |
997 charset.o: charset.c charset.h buffer.h coding.h disptab.h $(config_h) | 998 charset.o: charset.c charset.h buffer.h coding.h disptab.h $(config_h) |
998 coding.o: coding.c coding.h ccl.h buffer.h charset.h $(config_h) | 999 coding.o: coding.c coding.h ccl.h buffer.h charset.h $(config_h) |
999 cm.o: cm.c cm.h termhooks.h $(config_h) | 1000 cm.o: cm.c cm.h termhooks.h $(config_h) |
1000 cmds.o: cmds.c syntax.h buffer.h charset.h commands.h window.h $(config_h) \ | 1001 cmds.o: cmds.c syntax.h buffer.h charset.h commands.h window.h $(config_h) \ |
1001 msdos.h | 1002 msdos.h dispextern.h |
1002 pre-crt0.o: pre-crt0.c | 1003 pre-crt0.o: pre-crt0.c |
1003 ecrt0.o: ecrt0.c $(config_h) | 1004 ecrt0.o: ecrt0.c $(config_h) |
1004 CRT0_COMPILE ${srcdir}/ecrt0.c | 1005 CRT0_COMPILE ${srcdir}/ecrt0.c |
1005 dired.o: dired.c commands.h buffer.h $(config_h) charset.h coding.h regex.h \ | 1006 dired.o: dired.c commands.h buffer.h $(config_h) charset.h coding.h regex.h \ |
1006 systime.h | 1007 systime.h |
1009 xterm.h blockinput.h charset.h msdos.h composite.h $(config_h) | 1010 xterm.h blockinput.h charset.h msdos.h composite.h $(config_h) |
1010 doc.o: doc.c $(config_h) epaths.h buffer.h keyboard.h charset.h | 1011 doc.o: doc.c $(config_h) epaths.h buffer.h keyboard.h charset.h |
1011 doprnt.o: doprnt.c charset.h $(config_h) | 1012 doprnt.o: doprnt.c charset.h $(config_h) |
1012 dosfns.o: buffer.h termchar.h termhooks.h frame.h msdos.h dosfns.h $(config_h) | 1013 dosfns.o: buffer.h termchar.h termhooks.h frame.h msdos.h dosfns.h $(config_h) |
1013 editfns.o: editfns.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \ | 1014 editfns.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) |
1015 emacs.o: emacs.c commands.h systty.h syssignal.h blockinput.h process.h \ | 1016 emacs.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) |
1017 fileio.o: fileio.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \ | 1018 fileio.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) |
1019 filelock.o: filelock.c buffer.h systime.h epaths.h $(config_h) | 1020 filelock.o: filelock.c buffer.h systime.h epaths.h $(config_h) |
1020 filemode.o: filemode.c $(config_h) | 1021 filemode.o: filemode.c $(config_h) |
1021 frame.o: frame.c xterm.h window.h frame.h termhooks.h commands.h keyboard.h \ | 1022 frame.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) |
1023 fontset.o: dispextern.h fontset.h fontset.c ccl.h charset.h frame.h $(config_h) | 1024 fontset.o: dispextern.h fontset.h fontset.c ccl.h charset.h frame.h $(config_h) |
1024 getloadavg.o: getloadavg.c $(config_h) | 1025 getloadavg.o: getloadavg.c $(config_h) |
1025 indent.o: indent.c frame.h window.h indent.h buffer.h $(config_h) termchar.h \ | 1026 indent.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 |
1027 insdel.o: insdel.c window.h buffer.h $(INTERVAL_SRC) blockinput.h charset.h\ | 1028 insdel.o: insdel.c window.h buffer.h $(INTERVAL_SRC) blockinput.h charset.h\ |
1028 $(config_h) | 1029 dispextern.h $(config_h) |
1029 keyboard.o: keyboard.c termchar.h termhooks.h termopts.h buffer.h charset.h \ | 1030 keyboard.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 \ |
1032 xterm.h puresize.h msdos.h $(config_h) | 1033 xterm.h puresize.h msdos.h $(config_h) |
1033 keymap.o: keymap.c buffer.h commands.h keyboard.h termhooks.h blockinput.h \ | 1034 keymap.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) |
1035 lastfile.o: lastfile.c $(config_h) | 1036 lastfile.o: lastfile.c $(config_h) |
1036 macros.o: macros.c window.h buffer.h commands.h macros.h keyboard.h $(config_h) | 1037 macros.o: macros.c window.h buffer.h commands.h macros.h keyboard.h \ |
1038 dispextern.h $(config_h) | |
1037 malloc.o: malloc.c $(config_h) | 1039 malloc.o: malloc.c $(config_h) |
1038 gmalloc.o: gmalloc.c $(config_h) | 1040 gmalloc.o: gmalloc.c $(config_h) |
1039 ralloc.o: ralloc.c $(config_h) | 1041 ralloc.o: ralloc.c $(config_h) |
1040 vm-limit.o: vm-limit.c mem-limits.h $(config_h) | 1042 vm-limit.o: vm-limit.c mem-limits.h $(config_h) |
1041 marker.o: marker.c buffer.h charset.h $(config_h) | 1043 marker.o: marker.c buffer.h charset.h $(config_h) |
1044 mktime.o: mktime.c $(config_h) | 1046 mktime.o: mktime.c $(config_h) |
1045 mocklisp.o: mocklisp.c buffer.h $(config_h) | 1047 mocklisp.o: mocklisp.c buffer.h $(config_h) |
1046 msdos.o: msdos.c msdos.h dosfns.h systime.h termhooks.h dispextern.h frame.h \ | 1048 msdos.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) |
1048 process.o: process.c process.h buffer.h window.h termhooks.h termopts.h \ | 1050 process.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) |
1051 regex.o: regex.c syntax.h buffer.h $(config_h) regex.h category.h charset.h | 1053 regex.o: regex.c syntax.h buffer.h $(config_h) regex.h category.h charset.h |
1052 region-cache.o: region-cache.c buffer.h region-cache.h | 1054 region-cache.o: region-cache.c buffer.h region-cache.h |
1053 scroll.o: scroll.c termchar.h dispextern.h frame.h msdos.h $(config_h) | 1055 scroll.o: scroll.c termchar.h dispextern.h frame.h msdos.h $(config_h) |
1054 search.o: search.c regex.h commands.h buffer.h region-cache.h syntax.h \ | 1056 search.o: search.c regex.h commands.h buffer.h region-cache.h syntax.h \ |
1079 xdisp.o: xdisp.c macros.h commands.h indent.h buffer.h dispextern.h coding.h \ | 1081 xdisp.o: xdisp.c macros.h commands.h indent.h buffer.h dispextern.h coding.h \ |
1080 termchar.h frame.h window.h disptab.h termhooks.h charset.h $(config_h) \ | 1082 termchar.h frame.h window.h disptab.h termhooks.h charset.h $(config_h) \ |
1081 msdos.h composite.h fontset.h | 1083 msdos.h composite.h fontset.h |
1082 xfaces.o: xfaces.c dispextern.h frame.h xterm.h buffer.h blockinput.h \ | 1084 xfaces.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) |
1084 xfns.o: xfns.c buffer.h frame.h window.h keyboard.h xterm.h\ | 1086 xfns.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) |
1086 xmenu.o: xmenu.c xterm.h termhooks.h window.h dispextern.h frame.h keyboard.h \ | 1088 xmenu.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) |
1088 xterm.o: xterm.c xterm.h termhooks.h termopts.h termchar.h window.h \ | 1090 xterm.o: xterm.c xterm.h termhooks.h termopts.h termchar.h window.h \ |
1089 dispextern.h frame.h disptab.h blockinput.h systime.h syssignal.h \ | 1091 dispextern.h frame.h disptab.h blockinput.h systime.h syssignal.h \ |
1097 atimer.o: atimer.c atimer.h systime.h $(config_h) | 1099 atimer.o: atimer.c atimer.h systime.h $(config_h) |
1098 | 1100 |
1099 /* The files of Lisp proper */ | 1101 /* The files of Lisp proper */ |
1100 | 1102 |
1101 alloc.o: alloc.c frame.h window.h buffer.h puresize.h syssignal.h keyboard.h \ | 1103 alloc.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) |
1103 bytecode.o: bytecode.c buffer.h syntax.h charset.h $(config_h) | 1105 bytecode.o: bytecode.c buffer.h syntax.h charset.h $(config_h) |
1104 data.o: data.c buffer.h puresize.h charset.h syssignal.h keyboard.h $(config_h) | 1106 data.o: data.c buffer.h puresize.h charset.h syssignal.h keyboard.h $(config_h) |
1105 eval.o: eval.c commands.h keyboard.h blockinput.h $(config_h) | 1107 eval.o: eval.c commands.h keyboard.h blockinput.h $(config_h) |
1106 floatfns.o: floatfns.c $(config_h) | 1108 floatfns.o: floatfns.c $(config_h) |
1107 fns.o: fns.c commands.h $(config_h) frame.h buffer.h charset.h keyboard.h \ | 1109 fns.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) |
1109 print.o: print.c process.h frame.h window.h buffer.h keyboard.h charset.h\ | 1111 print.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 |
1111 lread.o: lread.c commands.h keyboard.h buffer.h epaths.h charset.h $(config_h) \ | 1113 lread.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 */ |
1115 textprop.o: textprop.c buffer.h window.h $(INTERVAL_SRC) $(config_h) | 1117 textprop.o: textprop.c buffer.h window.h dispextern.h $(INTERVAL_SRC) \ |
1118 $(config_h) | |
1116 intervals.o: intervals.c buffer.h $(INTERVAL_SRC) keyboard.h puresize.h $(config_h) | 1119 intervals.o: intervals.c buffer.h $(INTERVAL_SRC) keyboard.h puresize.h $(config_h) |
1117 composite.o: composite.c buffer.h charset.h $(INTERVAL_SRC) $(config_h) | 1120 composite.o: composite.c buffer.h charset.h $(INTERVAL_SRC) $(config_h) |
1118 | 1121 |
1119 blockinput.h: atimer.h | 1122 blockinput.h: atimer.h |
1120 atimer.h: systime.h | 1123 atimer.h: systime.h |
1121 | 1124 |
1122 /* System-specific programs to be made. | 1125 /* System-specific programs to be made. |
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 |
1126 sunfns.o: sunfns.c buffer.h window.h $(config_h) | 1129 sunfns.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 |
1130 mostlyclean: | 1133 mostlyclean: |
1131 rm -f temacs prefix-args core *.core \#* *.o libXMenu11.a liblw.a | 1134 rm -f temacs prefix-args core *.core \#* *.o libXMenu11.a liblw.a |