aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-10-26 19:11:25 +0000
committerRichard Stallman <rms@gnu.org>1993-10-26 19:11:25 +0000
commit7b41f81532af0bc59a4121a057ee4a81f54b0eae (patch)
tree78c30668f3f304783f1852b3b72c4ad7ba3ff72d /gcc
parent829407e190ab929329b95cd68d0ece43157b65ab (diff)
downloadgcc-7b41f81532af0bc59a4121a057ee4a81f54b0eae.zip
gcc-7b41f81532af0bc59a4121a057ee4a81f54b0eae.tar.gz
gcc-7b41f81532af0bc59a4121a057ee4a81f54b0eae.tar.bz2
(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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index ed56273..06eab5b 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,