aboutsummaryrefslogtreecommitdiff
path: root/opcodes/Makefile.am
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1998-04-05 20:09:39 +0000
committerIan Lance Taylor <ian@airs.com>1998-04-05 20:09:39 +0000
commit638985a9c9decedd0d966987848a789bc973db62 (patch)
tree5b34620a8441520bc6123552fd92fdbbd32ce58a /opcodes/Makefile.am
parent56231d310ef6755dce4529a6d9867e0c0ef94af5 (diff)
downloadgdb-638985a9c9decedd0d966987848a789bc973db62.zip
gdb-638985a9c9decedd0d966987848a789bc973db62.tar.gz
gdb-638985a9c9decedd0d966987848a789bc973db62.tar.bz2
Sun Apr 5 16:04:39 1998 H.J. Lu <hjl@gnu.org>
* Makefile.am (stamp-lib): Check that .libs/libopcodes.a exists before trying to copy it. * Makefile.in: Rebuild.
Diffstat (limited to 'opcodes/Makefile.am')
-rw-r--r--opcodes/Makefile.am10
1 files changed, 6 insertions, 4 deletions
diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am
index 6c46cd4..20146a7 100644
--- a/opcodes/Makefile.am
+++ b/opcodes/Makefile.am
@@ -136,8 +136,10 @@ libopcodes_la_LDFLAGS = -release $(VERSION)
noinst_LIBRARIES = libopcodes.a
stamp-lib: libopcodes.la
- cp .libs/libopcodes.a libopcodes.tmp
- $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a
+ if [ -f .libs/libopcodes.a ]; then \
+ cp .libs/libopcodes.a libopcodes.tmp; \
+ $(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a; \
+ else true; fi
touch stamp-lib
libopcodes.a: stamp-lib ; @true
@@ -291,9 +293,9 @@ mips-dis.lo: mips-dis.c sysdep.h config.h $(INCDIR)/dis-asm.h \
$(INCDIR)/elf/common.h $(INCDIR)/elf/internal.h $(INCDIR)/elf/external.h \
$(INCDIR)/bfdlink.h $(INCDIR)/elf/mips.h
mips-opc.lo: mips-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
-start-sanitize-r5900
+# start-sanitize-r5900
mips-opc.lo: vu0.h
-end-sanitize-r5900
+# end-sanitize-r5900
mips16-opc.lo: mips16-opc.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mips.h
m10200-dis.lo: m10200-dis.c $(INCDIR)/ansidecl.h $(INCDIR)/opcode/mn10200.h \
$(INCDIR)/dis-asm.h $(BFD_H)