diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 1996-11-06 09:39:45 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 1996-11-06 09:39:45 +0000 |
| commit | 97fd70d6855cf2d8eb3a795b6f834ef40de58b89 (patch) | |
| tree | a9501922eb9692f3a6f1db7485be69f9a73d9999 /usr.bin/make | |
| parent | baae2b6f3c855efde46d9325e9e944c6f6dd76cf (diff) | |
Notes
Diffstat (limited to 'usr.bin/make')
| -rw-r--r-- | usr.bin/make/parse.c | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 07631a56241c..21e8a1efd293 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -35,7 +35,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: parse.c,v 1.14 1996/10/08 04:06:05 steve Exp $ */ #ifndef lint @@ -166,6 +166,9 @@ typedef enum { Parallel, /* .PARALLEL */ ExPath, /* .PATH */ Phony, /* .PHONY */ +#ifdef POSIX + Posix, /* .POSIX */ +#endif Precious, /* .PRECIOUS */ ExShell, /* .SHELL */ Silent, /* .SILENT */ @@ -219,6 +222,9 @@ static struct { { ".PARALLEL", Parallel, 0 }, { ".PATH", ExPath, 0 }, { ".PHONY", Phony, OP_PHONY }, +#ifdef POSIX +{ ".POSIX", Posix, 0 }, +#endif { ".PRECIOUS", Precious, OP_PRECIOUS }, { ".RECURSIVE", Attribute, OP_MAKE }, { ".SHELL", ExShell, 0 }, @@ -1049,6 +1055,11 @@ ParseDoDependency (line) case ExPath: Lst_ForEach(paths, ParseClearPath, (ClientData)NULL); break; +#ifdef POSIX + case Posix: + Var_Set("%POSIX", "1003.2", VAR_GLOBAL); + break; +#endif default: break; } |
