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: bug 285/distinguished install targets for ltlibraries


On Tue, Jan 06, 2004 at 11:52:41PM -0800, Harlan Stenn wrote:
> I'm looking for a fast fix to this problem, as it is the current sticking
> point on a bunch of other changes I need to implement for a project.
>
> I don't know if I'll have the time to implement the potential fixes
> described in the bug report at this time, so I'm wondering if there may be
> another way to do it for now.
>
> Instead of:
>
>  subdir/Makefile.am:
>   if FOO
>   lib_LTLIBRARIES = libfoo.la
>   else
>   bootlib_LTLIBRARIES = libfoo.la
>   endif

I would expect the following to work.

if FOO
  foodir = $(libdir)
else
  foodir = $(bootlibdir)
endif
foo_LTLIBRARIES = libfoo.la



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