This is the mail archive of the automake@gnu.org mailing list for the automake 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: Conditionally build a shared or convenience library


I should have looked right away, sorry.

* Ralf Wildenhues wrote on Thu, May 12, 2005 at 09:35:35AM CEST:
> * Mike Heffner wrote on Wed, May 11, 2005 at 10:39:13PM CEST:
> > 
> >         if FOO_STANDALONE
> >         lib_LTLIBRARIES+=libfoo.la
> >         else
> >         noinst_LTLIBRARIES+=libfoo.la
> >         endif
> 
> Hmm, this works over here.

Quoting automake/NEWS:
| New in 1.9:
| [...]
| * Change to Libtool support:
| [...]
|   - Automake is now able to handle setups where a libtool library is
|     conditionally installed in different directories, as in
| 
|       if COND
|         lib_LTLIBRARIES = liba.la
|       else
|         pkglib_LTLIBRARIES = liba.la
|       endif
|       liba_la_SOURCES = ...

So please consider using Automake 1.9.x.

Regards,
Ralf



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