]> git.eshelyaron.com Git - emacs.git/commitdiff
(alloca.o): Use config_h.
authorRichard M. Stallman <rms@gnu.org>
Sat, 23 Apr 1994 05:57:42 +0000 (05:57 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 23 Apr 1994 05:57:42 +0000 (05:57 +0000)
(config_h): Use M_FILE and S_FILE.
(S_FILE, M_FILE): New variables hold names of config files.

src/Makefile.in

index 94c4c50a25f4e850b6e6b71104b6d6726672a4ff..4659b35f0eb6b28d9cb38c1aa4687343dd9767e3 100644 (file)
@@ -40,7 +40,11 @@ shortnamesdir = $(dot)$(dot)/shortnames/
 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 @@ alloca.o : alloca.c
        $(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