diff options
author | obrien <obrien@FreeBSD.org> | 2010-01-04 18:57:22 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2010-01-04 18:57:22 +0000 |
commit | d2744b88e92689da349b5de750666f235ea9a4ce (patch) | |
tree | a3e67a307d511e8bb94e2cef9388c3b1c989d519 /usr.bin/make/dir.h | |
parent | f86eec131ecd8165dffb9b3c544d58e63f18a772 (diff) | |
download | FreeBSD-src-d2744b88e92689da349b5de750666f235ea9a4ce.zip FreeBSD-src-d2744b88e92689da349b5de750666f235ea9a4ce.tar.gz |
Add ability to search up the directory hierarchy for the system directory.
Do by specifying ".../" with '-m' or MAKESYSPATH (new) environment variable.
Reviewed by: <sjg@NetBSD.org>
Obtained from: NetBSD (+ embellishment by me, sent back to NetBSD)
Diffstat (limited to 'usr.bin/make/dir.h')
-rw-r--r-- | usr.bin/make/dir.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/make/dir.h b/usr.bin/make/dir.h index 03481b8..1ae89ae 100644 --- a/usr.bin/make/dir.h +++ b/usr.bin/make/dir.h @@ -56,6 +56,7 @@ TAILQ_HEAD(Path, PathElement); void Dir_Init(void); void Dir_InitDot(void); Boolean Dir_HasWildcards(const char *); +int Dir_FindHereOrAbove(char *, char *, char *, int); int Dir_MTime(struct GNode *); void Dir_PrintDirectories(void); |