[Top][All Lists]

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

Re: More fun with BUILT_SOURCES

From: Braden McDaniel
Subject: Re: More fun with BUILT_SOURCES
Date: Sat, 25 Nov 2000 21:10:16 -0500 (EST)

On 25 Nov 2000, Tom Tromey wrote:

> >>>>> "Braden" == Braden McDaniel <address@hidden> writes:
> >> > I realize that BUILT_SOURCES is known to be problematic, but I haven't
> >> > found any other solution. Any suggestions?
> >> Add explicit dependencies on it.  There's no other way to ensure it's
> >> generated.  BUILT_SOURCES used to work only with GNU make.
> Braden> Each source file for my library depends on the generated
> Braden> header, directly or indirectly. Is it possible for me to add
> Braden> explicit dependencies *and* keep the libfoo_la_SOURCES
> Braden> variable? I'm trying to hang on to all of automake's benefits
> Braden> that I possibly can.
> You should be able to do that.
> I'd really like to find a better solution for the built files
> problem.  This is currently too hard to do in automake.

I ended up doing this:

  $(libfoo_la_OBJECTS): mybuiltheader.h

Braden N. McDaniel                              e-mail: address@hidden
<>                          Jabber: address@hidden

reply via email to

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