automake
[Top][All Lists]
Advanced

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

Re: Warn: non-POSIX variable name


From: Steven Woody
Subject: Re: Warn: non-POSIX variable name
Date: Thu, 21 Aug 2008 14:11:30 +0800

Thanks!

On Thu, Aug 21, 2008 at 1:42 PM, Ralf Wildenhues <address@hidden> wrote:
> * Peter Johansson wrote on Wed, Aug 20, 2008 at 05:23:10AM CEST:
>> Steven Woody wrote:
>>> 2. What's the difference between @varname@ and $(varname) in a
>>> Makefile.am? I noted you use many @xxxx@
>>>
>> I think the difference is that for example @builddir@ is substituted to
>> '.' when the Makefile is created from Makefile.in, so for instance:
> [...]
>
> Correct.
>
>> but since $(builddir) is set to `.', I dont think it matters if having
>> @xxx@ or $(xxx) in this case.
>
> It doesn't matter for the contents of this rule, as 'make' sees it.
> However, in general, @substitutions@ cannot be interpreted by automake,
> while $(macros) typically can.  Most of the time you want automake to
> see as much of it as possible, so as a guide line, prefer $(macros) in
> Makefile.am.
>
> Cheers,
> Ralf
>




reply via email to

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