diff options
author | Mark Mitchell <mark@codesourcery.com> | 2001-05-13 19:37:13 +0000 |
---|---|---|
committer | Mark Mitchell <mmitchel@gcc.gnu.org> | 2001-05-13 19:37:13 +0000 |
commit | d9835ae8a332ddf7ea558b42bb0465cb8535ead5 (patch) | |
tree | 8e25ff575a9283cf732c748a28db2feece429035 /gcc/fixinc | |
parent | 64f0ba0a3ed11b35b819fe92b7d9e835d20ea3f3 (diff) | |
download | gcc-d9835ae8a332ddf7ea558b42bb0465cb8535ead5.zip gcc-d9835ae8a332ddf7ea558b42bb0465cb8535ead5.tar.gz gcc-d9835ae8a332ddf7ea558b42bb0465cb8535ead5.tar.bz2 |
Makefile.in (STAMP): New macro.
* Makefile.in (STAMP): New macro.
Replace all uses of `touch' with $(STAMP).
* fixinc/Makefile.in: Likewise.
* Make-lang.in: Replace all uses of `touch' with $(STAMP).
* Makefile.in.in (STAMP): New macro.
Replace all uses of `touch' with $(STAMP).
From-SVN: r42041
Diffstat (limited to 'gcc/fixinc')
-rw-r--r-- | gcc/fixinc/Makefile.in | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/fixinc/Makefile.in b/gcc/fixinc/Makefile.in index 40406da..eb0fc20 100644 --- a/gcc/fixinc/Makefile.in +++ b/gcc/fixinc/Makefile.in @@ -1,6 +1,6 @@ # Makefile for GNU compilers. # -# Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. +# Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. #This file is part of GNU CC. @@ -24,6 +24,11 @@ SHELL=/bin/sh +# Some versions of `touch' (such as the version on Solaris 2.8) +# do not correctly set the timestamp due to buggy versions of `utime' +# in the kernel. So, we use `echo' instead. +STAMP = echo timestamp > + FL_LIST = $(CFLAGS) $(CPPFLAGS) $(WARN_CFLAGS) FIXINC_DEFS = -DIN_GCC -DHAVE_CONFIG_H $(FL_LIST) $(INCLUDES) @@ -80,11 +85,11 @@ twoprocess : test-stamp $(AF) full-stamp : $(ALLOBJ) $(LIBERTY) $(CC) $(FIXINC_DEFS) $(LDFLAGS) -o $(FI) $(ALLOBJ) $(LIBERTY) - touch $@ + $(STAMP) $@ test-stamp : $(TESTOBJ) $(LIBERTY) $(CC) $(FIXINC_DEFS) $(LDFLAGS) -o $(FI) $(TESTOBJ) $(LIBERTY) - touch $@ + $(STAMP) $@ $(AF): $(FIXOBJ) $(LIBERTY) $(CC) $(FIXINC_DEFS) $(LDFLAGS) -o $@ $(FIXOBJ) $(LIBERTY) |