diff options
Diffstat (limited to 'usr.bin/make/parse.c')
-rw-r--r-- | usr.bin/make/parse.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/usr.bin/make/parse.c b/usr.bin/make/parse.c index 14ffe18..3e8cb93 100644 --- a/usr.bin/make/parse.c +++ b/usr.bin/make/parse.c @@ -168,6 +168,7 @@ typedef enum { ExPath, /* .PATH */ Phony, /* .PHONY */ Posix, /* .POSIX */ + MakefileDeps, /* .MAKEFILEDEPS */ Precious, /* .PRECIOUS */ ExShell, /* .SHELL */ Silent, /* .SILENT */ @@ -213,6 +214,7 @@ static const struct keyword { { ".LIBS", Libs, 0 }, { ".MAIN", Main, 0 }, { ".MAKE", Attribute, OP_MAKE }, + { ".MAKEFILEDEPS", MakefileDeps, 0 }, { ".MAKEFLAGS", MFlags, 0 }, { ".MFLAGS", MFlags, 0 }, { ".NOTMAIN", Attribute, OP_NOTMAIN }, @@ -1069,6 +1071,9 @@ ParseDoDependency(char *line) LST_FOREACH(ln, &paths) Path_Clear(Lst_Datum(ln)); break; + case MakefileDeps: + mfAutoDeps = TRUE; + break; case Posix: is_posix = TRUE; Var_Set("%POSIX", "1003.2", VAR_GLOBAL); |