diff options
| author | tsutsui <tsutsui@NetBSD.org> | 2006-08-28 13:34:18 +0000 |
|---|---|---|
| committer | tsutsui <tsutsui@NetBSD.org> | 2006-08-28 13:34:18 +0000 |
| commit | a3bdccd23adf79bb9db820df160746426d6d3b2e (patch) | |
| tree | e92bebbdd80c1289743957ef97251e7d9b75a2c8 /sys/lib | |
| parent | ad94f1ce01c4e3fa5c425b03ed67e489ece3cbef (diff) | |
Add src/common/include to include header search path so that
standalone programs can be built without installed ${DESTDIR} tree.
Okayed by christos, and should close PR 33431.
Diffstat (limited to 'sys/lib')
| -rw-r--r-- | sys/lib/libkern/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/lib/libkern/Makefile b/sys/lib/libkern/Makefile index 1f0d6cc90e2..68d89ee44ff 100644 --- a/sys/lib/libkern/Makefile +++ b/sys/lib/libkern/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.80 2006/04/27 20:43:09 thorpej Exp $ +# $NetBSD: Makefile,v 1.81 2006/08/28 13:34:18 tsutsui Exp $ LIB= kern NOPIC= # defined @@ -28,6 +28,8 @@ CPPFLAGS= -I$M ${KERNCPPFLAGS} ${KERNMISCCPPFLAGS} .include "${.PARSEDIR}/../../../common/lib/libc/Makefile.inc" .include "${.PARSEDIR}/../../../common/lib/libprop/Makefile.inc" +CPPFLAGS+= -I${KERNDIR}/../../../common/include + .PATH.c: ${KERNDIR} .if exists ($M/Makefile.inc) .PATH.c: $M |
