2000-02-27 Eli Zaretskii <eliz@is.elta.co.il>
authorIan Lance Taylor <ian@airs.com>
Sun, 27 Feb 2000 17:08:06 +0000 (17:08 +0000)
committerIan Lance Taylor <ian@airs.com>
Sun, 27 Feb 2000 17:08:06 +0000 (17:08 +0000)
* Makefile.am (stamp-lib): Use $(LIBTOOL) --config to get the
name of the libtool directory.
* Makefile.in: Rebuild.

bfd/ChangeLog
bfd/Makefile.am
bfd/Makefile.in
opcodes/ChangeLog
opcodes/Makefile.am
opcodes/Makefile.in

index 105dac8..fa1adf2 100644 (file)
@@ -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.
+
 Fri Feb 25 18:39:26 2000  Rodney Brown (RodneyBrown@pmsc.com)
 
        * som.c (SOM_HOWTO): Define.
index f014439..aaf5ff7 100644 (file)
@@ -480,8 +480,9 @@ noinst_LIBRARIES = libbfd.a
 libbfd_a_SOURCES =
 
 stamp-lib: libbfd.la
-       if [ -f .libs/libbfd.a ]; then \
-         cp .libs/libbfd.a libbfd.tmp; \
+       libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
+       if [ -f $$libtooldir/libbfd.a ]; then \
+         cp $$libtooldir/libbfd.a libbfd.tmp; \
          $(SHELL) $(srcdir)/../move-if-change libbfd.tmp libbfd.a; \
        else true; fi
        touch stamp-lib
index 59aebe1..e77637d 100644 (file)
@@ -1023,8 +1023,9 @@ stamp-ofiles: Makefile
 ofiles: stamp-ofiles ; @true
 
 stamp-lib: libbfd.la
-       if [ -f .libs/libbfd.a ]; then \
-         cp .libs/libbfd.a libbfd.tmp; \
+       libtooldir=`$(LIBTOOL) --config | sed -n -e 's/^objdir=//p'`; \
+       if [ -f $$libtooldir/libbfd.a ]; then \
+         cp $$libtooldir/libbfd.a libbfd.tmp; \
          $(SHELL) $(srcdir)/../move-if-change libbfd.tmp libbfd.a; \
        else true; fi
        touch stamp-lib
index a435589..f2f9adb 100644 (file)
@@ -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.
index 1ab8d79..f4af1ca 100644 (file)
@@ -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
index 23d4178..b0f1ded 100644 (file)
@@ -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