diff options
| author | Kenichi Handa | 2003-09-08 11:56:09 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2003-09-08 11:56:09 +0000 |
| commit | 463f5630a5e7cbe7f042bc1175d1fa1c4e98860f (patch) | |
| tree | 3287d0c628fea2249abf4635b3a4f45bedd6f8c4 /src/Makefile.in | |
| parent | 4256310de631bd57c78b88b5131caa073315b3d7 (diff) | |
| download | emacs-463f5630a5e7cbe7f042bc1175d1fa1c4e98860f.tar.gz emacs-463f5630a5e7cbe7f042bc1175d1fa1c4e98860f.zip | |
New directory
Diffstat (limited to 'src/Makefile.in')
| -rw-r--r-- | src/Makefile.in | 57 |
1 files changed, 44 insertions, 13 deletions
diff --git a/src/Makefile.in b/src/Makefile.in index 1af4fa22155..1961dfcdb13 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -944,6 +944,11 @@ prefix-args${EXEEXT}: prefix-args.c $(config_h) | |||
| 944 | #define OLDXMENU_OPTIONS | 944 | #define OLDXMENU_OPTIONS |
| 945 | #endif | 945 | #endif |
| 946 | 946 | ||
| 947 | /* Don't lose if this was not defined. */ | ||
| 948 | #ifndef LWLIB_OPTIONS | ||
| 949 | #define LWLIB_OPTIONS | ||
| 950 | #endif | ||
| 951 | |||
| 947 | #if defined (HAVE_X_WINDOWS) && defined (HAVE_X11) && defined (HAVE_MENUS) | 952 | #if defined (HAVE_X_WINDOWS) && defined (HAVE_X11) && defined (HAVE_MENUS) |
| 948 | 953 | ||
| 949 | /* We use stamp-xmenu with these two deps | 954 | /* We use stamp-xmenu with these two deps |
| @@ -967,7 +972,7 @@ C_SWITCH_X_SITE_1 = C_SWITCH_X_SITE | |||
| 967 | C_SWITCH_X_MACHINE_1 = C_SWITCH_X_MACHINE | 972 | C_SWITCH_X_MACHINE_1 = C_SWITCH_X_MACHINE |
| 968 | C_SWITCH_X_SYSTEM_1 = C_SWITCH_X_SYSTEM | 973 | C_SWITCH_X_SYSTEM_1 = C_SWITCH_X_SYSTEM |
| 969 | really-lwlib: | 974 | really-lwlib: |
| 970 | cd ${lwlibdir}; ${MAKE} ${MFLAGS} \ | 975 | cd ${lwlibdir}; ${MAKE} ${MFLAGS} LWLIB_OPTIONS \ |
| 971 | CC='${CC}' CFLAGS='${CFLAGS}' MAKE='${MAKE}' \ | 976 | CC='${CC}' CFLAGS='${CFLAGS}' MAKE='${MAKE}' \ |
| 972 | "C_SWITCH_X_SITE=$(C_SWITCH_X_SITE_1)" \ | 977 | "C_SWITCH_X_SITE=$(C_SWITCH_X_SITE_1)" \ |
| 973 | "C_SWITCH_X_MACHINE=$(C_SWITCH_X_MACHINE_1)" \ | 978 | "C_SWITCH_X_MACHINE=$(C_SWITCH_X_MACHINE_1)" \ |
| @@ -1018,10 +1023,40 @@ stamp-oldxmenu: | |||
| 1018 | exit 1 | 1023 | exit 1 |
| 1019 | 1024 | ||
| 1020 | /* Some machines have alloca built-in. | 1025 | /* Some machines have alloca built-in. |
| 1021 | They should define HAVE_ALLOCA. | 1026 | They should define HAVE_ALLOCA, or may just let alloca.s |
| 1027 | be used but generate no code. | ||
| 1028 | Some have it written in assembler in alloca.s. | ||
| 1022 | Some use the C version in alloca.c (these define C_ALLOCA in config.h). | 1029 | Some use the C version in alloca.c (these define C_ALLOCA in config.h). |
| 1023 | */ | 1030 | */ |
| 1024 | alloca.o: alloca.c blockinput.h atimer.h | 1031 | |
| 1032 | #ifdef C_ALLOCA | ||
| 1033 | /* We could put something in alloca.c to #define free and malloc | ||
| 1034 | whenever emacs was #defined, but that's not appropriate for all | ||
| 1035 | users of alloca in Emacs. Check out ../lib-src/getopt.c. */ | ||
| 1036 | alloca.o : alloca.c | ||
| 1037 | $(CC) -c $(CPPFLAGS) -DEMACS_FREE=xfree -DDO_BLOCK_INPUT \ | ||
| 1038 | $(ALL_CFLAGS) ${srcdir}/alloca.c | ||
| 1039 | #else | ||
| 1040 | #ifndef HAVE_ALLOCA | ||
| 1041 | alloca.o : alloca.s $(config_h) | ||
| 1042 | /* $(CPP) is cc -E, which may get confused by filenames | ||
| 1043 | that do not end in .c. So copy file to a safe name. */ | ||
| 1044 | -rm -f allocatem.c | ||
| 1045 | cp ${srcdir}/alloca.s allocatem.c | ||
| 1046 | /* Remove any ^L, blank lines, and preprocessor comments, | ||
| 1047 | since some assemblers barf on them. Use a different basename for the | ||
| 1048 | output file, since some stupid compilers (Green Hill's) use that | ||
| 1049 | name for the intermediate assembler file. */ | ||
| 1050 | $(CPP) $(CPPFLAGS) $(ALL_CFLAGS) allocatem.c | \ | ||
| 1051 | sed -e 's///' -e 's/^#.*//' | \ | ||
| 1052 | sed -n -e '/^..*$$/p' > allocax.s | ||
| 1053 | -rm -f alloca.o | ||
| 1054 | /* Xenix, in particular, needs to run assembler via cc. */ | ||
| 1055 | $(CC) -c allocax.s | ||
| 1056 | mv allocax.o alloca.o | ||
| 1057 | -rm -f allocax.s allocatem.c | ||
| 1058 | #endif /* HAVE_ALLOCA */ | ||
| 1059 | #endif /* ! defined (C_ALLOCA) */ | ||
| 1025 | 1060 | ||
| 1026 | /* Nearly all the following files depend on lisp.h, | 1061 | /* Nearly all the following files depend on lisp.h, |
| 1027 | but it is not included as a dependency because | 1062 | but it is not included as a dependency because |
| @@ -1044,7 +1079,7 @@ category.o: category.c category.h buffer.h charset.h $(config_h) | |||
| 1044 | ccl.o: ccl.c ccl.h charset.h coding.h $(config_h) | 1079 | ccl.o: ccl.c ccl.h charset.h coding.h $(config_h) |
| 1045 | charset.o: charset.c charset.h buffer.h coding.h composite.h disptab.h \ | 1080 | charset.o: charset.c charset.h buffer.h coding.h composite.h disptab.h \ |
| 1046 | $(config_h) | 1081 | $(config_h) |
| 1047 | coding.o: coding.c coding.h ccl.h buffer.h charset.h intervals.h composite.h window.h $(config_h) | 1082 | coding.o: coding.c coding.h ccl.h buffer.h charset.h $(config_h) |
| 1048 | cm.o: cm.c cm.h termhooks.h $(config_h) | 1083 | cm.o: cm.c cm.h termhooks.h $(config_h) |
| 1049 | cmds.o: cmds.c syntax.h buffer.h charset.h commands.h window.h $(config_h) \ | 1084 | cmds.o: cmds.c syntax.h buffer.h charset.h commands.h window.h $(config_h) \ |
| 1050 | msdos.h dispextern.h | 1085 | msdos.h dispextern.h |
| @@ -1064,8 +1099,7 @@ dosfns.o: buffer.h termchar.h termhooks.h frame.h msdos.h dosfns.h $(config_h) | |||
| 1064 | editfns.o: editfns.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \ | 1099 | editfns.o: editfns.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \ |
| 1065 | coding.h dispextern.h $(config_h) | 1100 | coding.h dispextern.h $(config_h) |
| 1066 | emacs.o: emacs.c commands.h systty.h syssignal.h blockinput.h process.h \ | 1101 | emacs.o: emacs.c commands.h systty.h syssignal.h blockinput.h process.h \ |
| 1067 | termhooks.h buffer.h atimer.h systime.h $(INTERVAL_SRC) $(config_h) \ | 1102 | termhooks.h buffer.h atimer.h systime.h $(INTERVAL_SRC) $(config_h) |
| 1068 | window.h keyboard.h keymap.h | ||
| 1069 | fileio.o: fileio.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \ | 1103 | fileio.o: fileio.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \ |
| 1070 | coding.h ccl.h msdos.h dispextern.h $(config_h) | 1104 | coding.h ccl.h msdos.h dispextern.h $(config_h) |
| 1071 | filelock.o: filelock.c buffer.h systime.h epaths.h $(config_h) | 1105 | filelock.o: filelock.c buffer.h systime.h epaths.h $(config_h) |
| @@ -1101,7 +1135,7 @@ minibuf.o: minibuf.c syntax.h dispextern.h frame.h window.h keyboard.h \ | |||
| 1101 | mktime.o: mktime.c $(config_h) | 1135 | mktime.o: mktime.c $(config_h) |
| 1102 | msdos.o: msdos.c msdos.h dosfns.h systime.h termhooks.h dispextern.h frame.h \ | 1136 | msdos.o: msdos.c msdos.h dosfns.h systime.h termhooks.h dispextern.h frame.h \ |
| 1103 | termopts.h termchar.h charset.h coding.h ccl.h disptab.h window.h \ | 1137 | termopts.h termchar.h charset.h coding.h ccl.h disptab.h window.h \ |
| 1104 | keyboard.h intervals.h $(config_h) | 1138 | keyboard.h $(config_h) |
| 1105 | process.o: process.c process.h buffer.h window.h termhooks.h termopts.h \ | 1139 | process.o: process.c process.h buffer.h window.h termhooks.h termopts.h \ |
| 1106 | commands.h syssignal.h systime.h systty.h syswait.h frame.h dispextern.h \ | 1140 | commands.h syssignal.h systime.h systty.h syswait.h frame.h dispextern.h \ |
| 1107 | blockinput.h atimer.h charset.h coding.h ccl.h msdos.h composite.h \ | 1141 | blockinput.h atimer.h charset.h coding.h ccl.h msdos.h composite.h \ |
| @@ -1153,10 +1187,9 @@ xterm.o: xterm.c xterm.h termhooks.h termopts.h termchar.h window.h buffer.h \ | |||
| 1153 | xselect.o: xselect.c process.h dispextern.h frame.h xterm.h blockinput.h \ | 1187 | xselect.o: xselect.c process.h dispextern.h frame.h xterm.h blockinput.h \ |
| 1154 | buffer.h atimer.h systime.h $(config_h) | 1188 | buffer.h atimer.h systime.h $(config_h) |
| 1155 | xrdb.o: xrdb.c $(config_h) epaths.h | 1189 | xrdb.o: xrdb.c $(config_h) epaths.h |
| 1156 | xsmfns.o: xsmfns.c $(config_h) systime.h sysselect.h termhooks.h xterm.h \ | 1190 | xsmfns.o: xsmfns.c $(config_h) systime.h sysselect.h termhooks.h |
| 1157 | lisp.h termopts.h | ||
| 1158 | gtkutil.o: gtkutil.c gtkutil.h xterm.h lisp.h frame.h $(config_h) \ | 1191 | gtkutil.o: gtkutil.c gtkutil.h xterm.h lisp.h frame.h $(config_h) \ |
| 1159 | blockinput.h window.h atimer.h termhooks.h keyboard.h charset.h coding.h | 1192 | blockinput.h window.h atimer.h termhooks.h |
| 1160 | 1193 | ||
| 1161 | hftctl.o: hftctl.c $(config_h) | 1194 | hftctl.o: hftctl.c $(config_h) |
| 1162 | sound.o: sound.c dispextern.h $(config_h) | 1195 | sound.o: sound.c dispextern.h $(config_h) |
| @@ -1166,7 +1199,7 @@ atimer.o: atimer.c atimer.h systime.h $(config_h) | |||
| 1166 | 1199 | ||
| 1167 | alloc.o: alloc.c process.h frame.h window.h buffer.h puresize.h syssignal.h keyboard.h \ | 1200 | alloc.o: alloc.c process.h frame.h window.h buffer.h puresize.h syssignal.h keyboard.h \ |
| 1168 | blockinput.h atimer.h systime.h charset.h dispextern.h $(config_h) $(INTERVAL_SRC) | 1201 | blockinput.h atimer.h systime.h charset.h dispextern.h $(config_h) $(INTERVAL_SRC) |
| 1169 | bytecode.o: bytecode.c buffer.h syntax.h charset.h window.h $(config_h) | 1202 | bytecode.o: bytecode.c buffer.h syntax.h charset.h $(config_h) |
| 1170 | data.o: data.c buffer.h puresize.h charset.h syssignal.h keyboard.h $(config_h) | 1203 | data.o: data.c buffer.h puresize.h charset.h syssignal.h keyboard.h $(config_h) |
| 1171 | eval.o: eval.c commands.h keyboard.h blockinput.h atimer.h systime.h \ | 1204 | eval.o: eval.c commands.h keyboard.h blockinput.h atimer.h systime.h \ |
| 1172 | $(config_h) | 1205 | $(config_h) |
| @@ -1313,5 +1346,3 @@ bootstrap-emacs${EXEEXT}: temacs${EXEEXT} | |||
| 1313 | mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT} | 1346 | mv -f emacs${EXEEXT} bootstrap-emacs${EXEEXT} |
| 1314 | #endif /* ! defined (CANNOT_DUMP) */ | 1347 | #endif /* ! defined (CANNOT_DUMP) */ |
| 1315 | 1348 | ||
| 1316 | /* arch-tag: 8e915ae5-d15d-4617-8c41-c5c267a23b00 | ||
| 1317 | (do not change this comment) */ | ||