From e56f75e906b0bce15223b64f4b30c96a954d3a47 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 27 Feb 2000 17:08:06 +0000 Subject: 2000-02-27 Eli Zaretskii * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the name of the libtool directory. * Makefile.in: Rebuild. --- opcodes/ChangeLog | 6 ++++++ opcodes/Makefile.am | 5 +++-- opcodes/Makefile.in | 5 +++-- 3 files changed, 12 insertions(+), 4 deletions(-) (limited to 'opcodes') diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index a435589..f2f9adb 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,3 +1,9 @@ +2000-02-27 Eli Zaretskii + + * Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the + name of the libtool directory. + * Makefile.in: Rebuild. + 2000-02-24 Nick Clifton * cgen-opc.c (cgen_set_signed_overflow_ok): New function. diff --git a/opcodes/Makefile.am b/opcodes/Makefile.am index 1ab8d79..f4af1ca 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 23d4178..b0f1ded 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 -- cgit v1.1