aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJan Brittenson <bson@gnu.org>1993-09-27 07:26:19 -0700
committerJan Brittenson <bson@gnu.org>1993-09-27 07:26:19 -0700
commitbd7b47c7d6d14110c7b083c2e2af4085cb64c148 (patch)
tree0664f19cc11a5be400ce5e0a2f7ec60c53211775 /gcc
parentc83eb049b8fcbcde750f040bbb0fe28e64ad3cd9 (diff)
downloadgcc-bd7b47c7d6d14110c7b083c2e2af4085cb64c148.zip
gcc-bd7b47c7d6d14110c7b083c2e2af4085cb64c148.tar.gz
gcc-bd7b47c7d6d14110c7b083c2e2af4085cb64c148.tar.bz2
(bi-arity.h, bc-opcode.h, bc-opname.h): Use move-if-changed.
(stamp-bc-arity, stamp-bc-opcode, stamp-bc-opname): New targets. From-SVN: r5485
Diffstat (limited to 'gcc')
-rw-r--r--gcc/Makefile.in18
1 files changed, 12 insertions, 6 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 461690c..201a6ac 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -1317,17 +1317,23 @@ bi-reverse.o: bi-reverse.c $(srcdir)/bi-defs.h
$(srcdir)/bi-reverse.c
-bc-arity.h: $(srcdir)/bytecode.def bi-arity
+bc-arity.h: stamp-bc-arity ; @true
+stamp-bc-arity : $(srcdir)/bytecode.def bi-arity $(srcdir)/move-if-change
-rm -f bc-arity.h
- ./bi-arity < $(srcdir)/bytecode.def > bc-arity.h
+ ./bi-arity < $(srcdir)/bytecode.def >tmp-bc-arity.h
+ $(srcdir)/move-if-change tmp-bc-arity.h bc-arity.h
-bc-opcode.h: $(srcdir)/bytecode.def bi-opcode
+bc-opcode.h: stamp-bc-opcode ; @true
+stamp-bc-opcode : $(srcdir)/bytecode.def bi-opcode $(srcdir)/move-if-change
-rm -f bc-opcode.h
- ./bi-opcode < $(srcdir)/bytecode.def > bc-opcode.h
+ ./bi-opcode < $(srcdir)/bytecode.def >tmp-bc-opcode.h
+ $(srcdir)/move-if-change tmp-bc-opcode.h bc-opcode.h
-bc-opname.h: $(srcdir)/bytecode.def bi-opname
+bc-opname.h: stamp-bc-opname ; @true
+stamp-bc-opname : $(srcdir)/bytecode.def bi-opname $(srcdir)/move-if-change
-rm -f bc-opname.h
- ./bi-opname < $(srcdir)/bytecode.def > bc-opname.h
+ ./bi-opname < $(srcdir)/bytecode.def >tmp-bc-opname.h
+ $(srcdir)/move-if-change tmp-bc-opname.h bc-opname.h
bytecode.mostlyclean:
-rm -f bc-arity.h bc-opcode.h bc-opname.h