diff options
author | Richard Stallman <rms@gnu.org> | 1993-11-21 06:01:04 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-11-21 06:01:04 +0000 |
commit | 700ba19c9c6ebb003db28af327628ff6340de438 (patch) | |
tree | 70c2a5408fb7de0df028bbc56e6506aea02b8d48 | |
parent | 55cd1c090ce849ebe7110c7361d5679e54da5b5e (diff) | |
download | gcc-700ba19c9c6ebb003db28af327628ff6340de438.zip gcc-700ba19c9c6ebb003db28af327628ff6340de438.tar.gz gcc-700ba19c9c6ebb003db28af327628ff6340de438.tar.bz2 |
(stmp-fixproto): Never run fixproto twice.
From-SVN: r6125
-rw-r--r-- | gcc/Makefile.in | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 115eba9..09762ab 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1614,10 +1614,16 @@ fixhdr.ready: fix-header fi # stmp-headers is to make sure fixincludes has already finished. +# The if statement is so that we don't run fixproto a second time +# if it has already been run on the files in `include'. stmp-fixproto: fixhdr.ready fixproto stmp-headers @echo "Various warnings and error messages from fixproto are normal" - CPP="$(GCC_FOR_TARGET) -E"; export CPP; \ - ${srcdir}/fixproto include include $(SYSTEM_HEADER_DIR) + if [ -f include/fixed ] ; then true; \ + else \ + CPP="$(GCC_FOR_TARGET) -E"; export CPP; \ + ${srcdir}/fixproto include include $(SYSTEM_HEADER_DIR); \ + touch include/fixed; \ + fi touch stmp-fixproto # Remake the info files. |