From 7b41f81532af0bc59a4121a057ee4a81f54b0eae Mon Sep 17 00:00:00 2001 From: Richard Stallman Date: Tue, 26 Oct 1993 19:11:25 +0000 Subject: [PATCH] (fix-header.o): Depend on fix-header.c. (scan-decls.o): New target. (gen-protos.o, scan.o): New targets. (deduced.h): Pass GCC source dir to scan-types.sh. From-SVN: r5900 --- gcc/Makefile.in | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index ed562732d72..06eab5b00d4 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1571,12 +1571,15 @@ objc-headers: stmp-fixinc deduced.h: $(GCC_PASSES) $(srcdir)/scan-types.sh stmp-int-hdrs CC="$(GCC_FOR_TARGET) $(GCC_CFLAGS) $(ALL_CPPFLAGS) -Iinclude -I${SYSTEM_HEADER_DIR}"; \ export CC; \ - $(srcdir)/scan-types.sh >tmp-deduced.h + $(srcdir)/scan-types.sh "$(srcdir)" >tmp-deduced.h mv tmp-deduced.h deduced.h gen-protos: gen-protos.o scan.o ${HOST_CC} -o gen-protos gen-protos.o scan.o +gen-protos.o: gen-protos.c scan.h +scan.o: scan.c scan.h + xsys-protos.h: $(GCC_PASSES) $(srcdir)/sys-protos.h deduced.h gen-protos Makefile cat deduced.h $(srcdir)/sys-protos.h > fixtmp.c $(GCC_FOR_TARGET) fixtmp.c -E \ @@ -1587,7 +1590,8 @@ xsys-protos.h: $(GCC_PASSES) $(srcdir)/sys-protos.h deduced.h gen-protos Makefil fix-header: fix-header.o scan-decls.o scan.o xsys-protos.h $(HOST_OBSTACK) $(HOST_CC) -o fix-header fix-header.o scan-decls.o scan.o $(HOST_OBSTACK) -fix-header.o: xsys-protos.h +fix-header.o: fix-header.c obstack.h scan.h xsys-protos.h +scan-decls.o: scan-decls.c scan.h # stmp-fixproto depends on this, not on fix-header directly. # The idea is to make sure fix-header gets built, -- 2.30.2