Do not create $(bfdlibdir) and $(bfdincludedir) if !INSTALL_LIBBFD.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 27 Aug 2009 05:24:43 +0000 (05:24 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Thu, 27 Aug 2009 05:24:43 +0000 (05:24 +0000)
commit573e8a1cd233066d864f0c0597df9e9cb689fae4
tree862108a7be6dad9f1a7be8eca8030a5d8ffe894e
parent2efab443eb62bbb0fb1e6a4ed0449460199c321a
Do not create $(bfdlibdir) and $(bfdincludedir) if !INSTALL_LIBBFD.

opcodes/:
* Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
[INSTALL_LIBBFD]: ... here, ...
[INSTALL_LIBBFD]: ... and empty overrides here.
[!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
[!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
* Makefile.in: Regenerate.
* configure: Regenerate.

bfd/:
* acinclude.m4 (AM_INSTALL_LIBBFD): Call AM_SUBST_NOTMAKE for
bfdlibdir and bfdincludedir.
* Makefile.am (bfdlibdir, bfdincludedir): Move definition ...
[INSTALL_LIBBFD]: ... here, ...
[INSTALL_LIBBFD]: ... and empty overrides here.
[!INSTALL_LIBBFD]: (rpath_bfdlibdir): New variable.
[!INSTALL_LIBBFD] (libbfd_la_LDFLAGS): Use it.
* Makefile.in: Regenerate.
* configure: Regenerate.

bfd/doc/:
* Makefile.in: Regenerate.
bfd/ChangeLog
bfd/Makefile.am
bfd/Makefile.in
bfd/acinclude.m4
bfd/configure
bfd/doc/ChangeLog
bfd/doc/Makefile.in
opcodes/ChangeLog
opcodes/Makefile.am
opcodes/Makefile.in
opcodes/configure