Re: export directive in make

2015-11-12 Thread Marc Espie
Okay, I've had a bit of time to look (again) at gmake. This patch won't make it in its current form. It does only implement a very partial subset of what gmake does, namely the export VAR=VALUE syntax. I'll have to check gmake's code more closely, because the other export forms DO expand the

Re: export directive in make

2015-11-10 Thread Ted Unangst
Carlin Bingham wrote: > GNU make and NetBSD's bmake (which is also used by FreeBSD) > support this. > > This is based on the implementation from bmake. Do you have a makefile that needs this? I think adding features that exist elsewhere, but not adding all of GNU compat (which we're clearly not

Re: export directive in make

2015-11-10 Thread Carlin Bingham
On Wed, 11 Nov 2015, at 12:55 PM, Ted Unangst wrote: > Carlin Bingham wrote: > > GNU make and NetBSD's bmake (which is also used by FreeBSD) > > support this. > > > > This is based on the implementation from bmake. > > Do you have a makefile that needs this? I think adding features that > exist

export directive in make

2015-11-08 Thread Carlin Bingham
GNU make and NetBSD's bmake (which is also used by FreeBSD) support this. This is based on the implementation from bmake. Index: usr.bin/make/config.h === RCS file: /cvs/src/usr.bin/make/config.h,v retrieving revision 1.20 diff -u