summaryrefslogtreecommitdiff
path: root/usr.bin/make/make.h
diff options
context:
space:
mode:
authorrillig <rillig@NetBSD.org>2020-11-04 13:29:42 +0000
committerrillig <rillig@NetBSD.org>2020-11-04 13:29:42 +0000
commit7ae11e6eeceec8bc0e35e0ce0acfced0f7a186c8 (patch)
tree038710033d9a6fa5e4783f3de848da9e57ae61db /usr.bin/make/make.h
parent0485f461461e06947355f5c0e5b937a9738529f1 (diff)
make(1): move declaration of parseIncPath from main.c to make.h
Diffstat (limited to 'usr.bin/make/make.h')
-rw-r--r--usr.bin/make/make.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/usr.bin/make/make.h b/usr.bin/make/make.h
index e531406ff69..64fdb65c1f1 100644
--- a/usr.bin/make/make.h
+++ b/usr.bin/make/make.h
@@ -1,4 +1,4 @@
-/* $NetBSD: make.h,v 1.185 2020/11/04 13:22:15 rillig Exp $ */
+/* $NetBSD: make.h,v 1.186 2020/11/04 13:29:42 rillig Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -452,8 +452,13 @@ extern time_t now; /* The time at the start of this whole
*/
extern Boolean preserveUndefined;
-extern SearchPath *sysIncPath; /* The system include path. */
-extern SearchPath *defSysIncPath; /* The default system include path. */
+/* Used for .include "...". */
+extern SearchPath *parseIncPath;
+/* Used for .include <...>, for the built-in sys.mk and makefiles from the
+ * command line arguments. */
+extern SearchPath *sysIncPath;
+/* The default for sysIncPath. */
+extern SearchPath *defSysIncPath;
extern char curdir[]; /* Startup directory */
extern char *progname; /* The program name */