From c192da272be503d6d70ee09165cbac6de7b0b88a Mon Sep 17 00:00:00 2001 From: Richard Kenner Date: Fri, 29 Oct 1993 07:52:14 -0400 Subject: [PATCH] (gen-protos.o, scan.o, fix-header.o, scan-decls.o): Add rule to compile using $(HOST_CC). Show using hconfig.h. From-SVN: r5928 --- gcc/Makefile.in | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/gcc/Makefile.in b/gcc/Makefile.in index dee27b869e9..69ca8c64117 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1578,8 +1578,11 @@ gen-protos: gen-protos.o scan.o ${HOST_CC} $(HOST_CFLAGS) $(HOST_LDFLAGS) -o gen-protos \ gen-protos.o scan.o -gen-protos.o: gen-protos.c scan.h -scan.o: scan.c scan.h +gen-protos.o: gen-protos.c scan.h hconfig.h + $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/gen-protos.c + +scan.o: scan.c scan.h hconfig.h + $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/scan.c xsys-protos.h: $(GCC_PASSES) $(srcdir)/sys-protos.h deduced.h gen-protos Makefile cat deduced.h $(srcdir)/sys-protos.h > fixtmp.c @@ -1592,8 +1595,11 @@ fix-header: fix-header.o scan-decls.o scan.o xsys-protos.h $(HOST_OBSTACK) $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o fix-header \ fix-header.o scan-decls.o scan.o $(HOST_OBSTACK) -fix-header.o: fix-header.c obstack.h scan.h xsys-protos.h -scan-decls.o: scan-decls.c scan.h +fix-header.o: fix-header.c obstack.h scan.h xsys-protos.h hconfig.h + $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/fix-header.c + +scan-decls.o: scan-decls.c scan.h hconfig.h + $(HOST_CC) -c $(HOST_CFLAGS) $(HOST_CPPFLAGS) $(INCLUDES) $(srcdir)/scan-decls.c # stmp-fixproto depends on this, not on fix-header directly. # The idea is to make sure fix-header gets built,