This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bfd.h installation location


On May 17, 2002, Alan Modra <amodra@bigpond.net.au> wrote:

> Oh woe!  This all works ok when make is run in bfd/ and opcodes/,
> but the toplevel Makefile passes $libdir and $includedir down
> to subdirs.

Ouch!  I had missed the fact that you were tweaking libdir and
includedir :-(

> "override VAR = VALUE" isn't sufficiently portable, is it?  I
> suppose that means hacking the toplevel Makefile.

Better set and AC_SUBST bfdlibdir and bfdincludedir in
AM_INSTALL_LIBBFD, then change include_HEADERS (if used at all) and
lib_LTLIBRARIES to bfdinclude_HEADERS and bfdlib_LTLIBRARIES.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]