cvs commit: src/usr.bin/make main.c var.c var.h

Alfred Perlstein alfred at freebsd.org
Wed May 11 16:33:38 PDT 2005


* Harti Brandt <hartmut.brandt at dlr.de> [050510 23:31] wrote:
> On Tue, 10 May 2005, Alfred Perlstein wrote:
> 
> AP>What about a flag/variable that if set enables "full POSIX mode"?
> 
> Make is expected to be POSIX if the first non-empty line in the Makefile 
> looks like:
> 
> .POSIX:
> 
> , the Makefile is syntactically correct (with regard to the description in 
> Posix, not make(1)) and if it doesn't use any \.[A-Z]+ target names 
> besides those in the standard. So, except for the command line parsing,
> it is possible to get POSIX behaviour (it doesn't work yet though, but 
> we're working on it). With regard to a flag/variable I would like, at some 
> point, to re-start the discussion about making a Posix option available 
> for all Posix-tools in some common way (ls, ...). Make would then be just 
> one of them.

That sounds cool.  One could also have a pmake or something installed
so checking argv[0] would give the behavior desired.

-- 
- Alfred Perlstein
- email: bright at mu.org cell: 408-480-4684


More information about the cvs-src mailing list