libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: libtool wants to install LIBRARY.lai, but it doesn't exist


From: Ralf Wildenhues
Subject: Re: libtool wants to install LIBRARY.lai, but it doesn't exist
Date: Sun, 3 Apr 2005 08:26:56 +0200
User-agent: Mutt/1.4.1i

Hi Marc,

* Marc Singer wrote on Sat, Apr 02, 2005 at 12:02:01AM CEST:
> I think there is more to this override story.  Perhaps this is why
> I've not found the makefile command line override very helful.
> 
> It looks like when we have a make invocation within make, the
> overrides do not propagate.

Yes.  This one can be helped though, too.

> #Makefile.1
> PREFIX=/usr/local
> all:
>       make -f Makefile.2

You need to use $(MAKE) here.  Not just for command line override, this
is also important for parallel make (I think), or for systems with a
very broken make, but GNU make installed as `gmake'.
(Yes, ATM we do have such a broken `make' invocation in one of our
Makefile's in CVS HEAD.  We are working on it.)

> #Makefile.2
> PREFIX=/usr/local 
> 
>   > make PREFIX=/usr -f Makefile.1
> 
> During Makefile.1, the PREFIX is /usr.  In Makefile.2, it is
> /usr/local.

Yes.  Additionally to above, if you do not use automake, you need
  @SET_MAKE@
in Makefile.in, plus
  AC_PROG_MAKE_SET
in configure.ac.  Read more in 
  info Autoconf Output
for details.

Regards,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]