Subject: Re: new feature for src/usr.bin/make: read-only variables
To: None <tech-pkg@netbsd.org>
From: Christos Zoulas <christos@astron.com>
List: tech-pkg
Date: 09/03/2005 06:55:09
In article <dfanf0$14j$1@sea.gmane.org>,
Valeriy E. Ushakov <uwe@ptc.spbu.ru> wrote:
>In gmane.os.netbsd.devel.userlevel Roland Illig <rillig@netbsd.org> wrote:
>
>> intended usage is:
>>
>> .BEGIN_READONLY:
>> CFLAGS.NetBSD= -Wall
>> CFLAGS.SunOS= -O
>> CFLAGS.IRIX= -v
>> .END_READONLY:
>
>FWIW, this feels very, very icky... Mixing targets and assignments
>this way is just chemically pure semantic evil.
>
>Your effort is appreciated, but this is a bad syntax to introduce.
I don't like it either. Maybe
.READONLY: CFLAGS.NetBSD CFLAGS.SunOS CFLAGS.IRIX
christos