summaryrefslogtreecommitdiff
path: root/opcodes
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2000-02-27 17:08:06 +0000
committerIan Lance Taylor <ian@airs.com>2000-02-27 17:08:06 +0000
commit16db05a31d6beebfc7c42ac900f081b7408297ef (patch)
tree939a286e6a0ee0f8b13af07506340bd31651fb76 /opcodes
parent1919e982e6d132c9b6c95fbd8c19a894805cbb5e (diff)
downloadgdb-16db05a31d6beebfc7c42ac900f081b7408297ef.tar.gz
2000-02-27 Eli Zaretskii <eliz@is.elta.co.il>
* Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the name of the libtool directory. * Makefile.in: Rebuild.
Diffstat (limited to 'opcodes')
-rw-r--r--opcodes/ChangeLog6
-rw-r--r--opcodes/Makefile.am5
-rw-r--r--opcodes/Makefile.in5
3 files changed, 12 insertions, 4 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index a4355894171..f2f9adbe522 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,9 @@
+2000-02-27 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
+ name of the libtool directory.
+ * Makefile.in: Rebuild.
+
2000-02-24 Nick Clifton <nickc@cygnus.com>
* cgen-opc.c (cgen_set_signed_overflow_ok): New function.
diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am
index 1ab8d797a59..f4af1cac6fa 100644
--- a/opcodes/Makefile.am
+++ b/opcodes/Makefile.am
@@ -169,8 +169,9 @@ libopcodes_la_LDFLAGS = -release $(VERSION) @WIN32LDFLAGS@
noinst_LIBRARIES = libopcodes.a
stamp-lib: libopcodes.la
- if [ -f .libs/libopcodes.a ]; then \
- cp .libs/libopcodes.a libopcodes.tmp; \
+ libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
+ if [ -f $$libtooldir/libopcodes.a ]; then \
+ cp $$libtooldir/libopcodes.a libopcodes.tmp; \
$(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a; \
else true; fi
touch stamp-lib
diff --git a/opcodes/Makefile.in b/opcodes/Makefile.in
index 23d4178147c..b0f1ded1628 100644
--- a/opcodes/Makefile.in
+++ b/opcodes/Makefile.in
@@ -676,8 +676,9 @@ disassemble.lo: disassemble.c $(INCDIR)/dis-asm.h
$(LIBTOOL) --mode=compile $(COMPILE) -c @archdefs@ $(srcdir)/disassemble.c
stamp-lib: libopcodes.la
- if [ -f .libs/libopcodes.a ]; then \
- cp .libs/libopcodes.a libopcodes.tmp; \
+ libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
+ if [ -f $$libtooldir/libopcodes.a ]; then \
+ cp $$libtooldir/libopcodes.a libopcodes.tmp; \
$(SHELL) $(srcdir)/../move-if-change libopcodes.tmp libopcodes.a; \
else true; fi
touch stamp-lib