changeset 7045:6ea4737a3db7

(alloca.o): Use config_h. (config_h): Use M_FILE and S_FILE. (S_FILE, M_FILE): New variables hold names of config files.
author Richard M. Stallman <rms@gnu.org>
date Sat, 23 Apr 1994 05:57:42 +0000
parents 7032d07f5ad9
children b416d80f578e
files src/Makefile.in
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.in	Sat Apr 23 05:18:09 1994 +0000
+++ b/src/Makefile.in	Sat Apr 23 05:57:42 1994 +0000
@@ -40,7 +40,11 @@
 cppdir = $(dot)$(dot)/cpp/
 oldXMenudir = $(dot)$(dot)/oldXMenu/
 lwlibdir = $(dot)$(dot)/lwlib/
-config_h = config.h
+
+/* Configuration files for .o files to depend on.  */
+M_FILE = ${srcdir}/@machfile@
+S_FILE = ${srcdir}/@opsysfile@
+config_h = config.h $(M_FILE) $(S_FILE)
 
 CPPFLAGS=
 LDFLAGS=
@@ -704,7 +708,7 @@
 	$(ALL_CFLAGS) ${srcdir}/alloca.c
 #else
 #ifndef HAVE_ALLOCA
-alloca.o : alloca.s config.h
+alloca.o : alloca.s $(config_h)
 /* $(CPP) is cc -E, which may get confused by filenames
    that do not end in .c.  So copy file to a safe name.  */
 	cp ${srcdir}/alloca.s allocatem.c