]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
(cpplib.o, fix-header.o): Update dependencies.
authorRichard Kenner <kenner@gcc.gnu.org>
Sat, 10 Jun 1995 12:55:01 +0000 (08:55 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Sat, 10 Jun 1995 12:55:01 +0000 (08:55 -0400)
(cpperror.o, cppexp.o, cpphash.o): New rules, to show .h dependencies.

From-SVN: r9918

gcc/Makefile.in

index b6d5c029a7bf024760898bb1cdcf4baff6deb2fa..b6484655117fda57107a0242b420ac9099d244ad 100644 (file)
@@ -1597,7 +1597,7 @@ cppmain: cppmain.o cpplib.o cpphash.o cppalloc.o cpperror.o cppexp.o \
        $(CC) $(ALL_CFLAGS) $(LDFLAGS) -o $@ cppmain.o cpplib.o cpphash.o \
          cppalloc.o cpperror.o cppexp.o version.o $(LIBS)
 
-cpplib.o: cpplib.c $(CONFIG_H) pcp.h version.c config.status
+cpplib.o: cpplib.c $(CONFIG_H) cpplib.h cpphash.h config.status
        $(CC) $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
          -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
          -DGPLUSPLUS_INCLUDE_DIR=\"$(gxx_include_dir)\" \
@@ -1606,6 +1606,12 @@ cpplib.o: cpplib.c $(CONFIG_H) pcp.h version.c config.status
          -DTOOL_INCLUDE_DIR=\"$(tooldir)/include\" \
          -c `echo $(srcdir)/cpplib.c | sed 's,^\./,,'`
 
+cpperror.o: cpperror.c $(CONFIG_H) cpplib.h
+
+cppexp.o: cppexp.c $(CONFIG_H) cpplib.h
+
+cpphash.o: cpphash.c cpplib.h cpphash.h
+
 # Note for the stamp targets, we run the program `true' instead of
 # having an empty command (nothing following the semicolon).
 
@@ -1785,7 +1791,7 @@ fix-header: fix-header.o scan-decls.o scan.o xsys-protos.h $(HOST_LIBDEPS) \
           scan-decls.o scan.o cpplib.o cpphash.o cppalloc.o version.o \
           cppexp.o $(HOST_LIBS)
 
-fix-header.o: fix-header.c obstack.h scan.h xsys-protos.h $(build_xm_file)
+fix-header.o: fix-header.c obstack.h scan.h $(build_xm_file)
        $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/fix-header.c
 
 scan-decls.o: scan-decls.c scan.h cpplib.h $(build_xm_file)