diff options
author | sjg <sjg@FreeBSD.org> | 2015-06-11 14:25:53 +0000 |
---|---|---|
committer | sjg <sjg@FreeBSD.org> | 2015-06-11 14:25:53 +0000 |
commit | f9107fd0701393d4b202f32407a4d84e647c8218 (patch) | |
tree | 381288d2e8b27fc98d2fde47d8a0cebdd43f64e1 | |
parent | 9b79279d8a3385bc84c84c0a1c489d101fc43fe8 (diff) | |
download | FreeBSD-src-f9107fd0701393d4b202f32407a4d84e647c8218.zip FreeBSD-src-f9107fd0701393d4b202f32407a4d84e647c8218.tar.gz |
Use INCLUDEDIR rather than hard coded /usr/include
Differential Revision: D2748
Reviewed by: brooks imp
-rw-r--r-- | usr.bin/kdump/Makefile | 6 | ||||
-rw-r--r-- | usr.bin/truss/Makefile | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/kdump/Makefile b/usr.bin/kdump/Makefile index 78a1763..3dbab6b2 100644 --- a/usr.bin/kdump/Makefile +++ b/usr.bin/kdump/Makefile @@ -32,14 +32,14 @@ CLEANFILES+= linux32_syscalls.c ioctl.c: mkioctls env MACHINE=${MACHINE} CPP="${CPP}" \ - sh ${.CURDIR}/mkioctls print ${DESTDIR}/usr/include > ${.TARGET} + sh ${.CURDIR}/mkioctls print ${DESTDIR}${INCLUDEDIR} > ${.TARGET} kdump_subr.h: mksubr - sh ${.CURDIR}/mksubr ${DESTDIR}/usr/include | \ + sh ${.CURDIR}/mksubr ${DESTDIR}${INCLUDEDIR} | \ sed -n 's/^\([a-z].*)\)$$/void \1;/p' >${.TARGET} kdump_subr.c: mksubr kdump_subr.h - sh ${.CURDIR}/mksubr ${DESTDIR}/usr/include >${.TARGET} + sh ${.CURDIR}/mksubr ${DESTDIR}${INCLUDEDIR} >${.TARGET} .if (${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "i386") sh ${.CURDIR}/../../sys/kern/makesyscalls.sh \ ${.CURDIR}/../../sys/${MACHINE_ARCH}/linux/syscalls.master ${.CURDIR}/linux_syscalls.conf diff --git a/usr.bin/truss/Makefile b/usr.bin/truss/Makefile index a5eff14..34a6ef4 100644 --- a/usr.bin/truss/Makefile +++ b/usr.bin/truss/Makefile @@ -24,7 +24,7 @@ syscalls.h: syscalls.master ioctl.c: ${.CURDIR}/../kdump/mkioctls env MACHINE=${MACHINE} CPP="${CPP}" \ - /bin/sh ${.CURDIR}/../kdump/mkioctls return ${DESTDIR}/usr/include > ${.TARGET} + /bin/sh ${.CURDIR}/../kdump/mkioctls return ${DESTDIR}${INCLUDEDIR} > ${.TARGET} .if ${MACHINE_CPUARCH} == "i386" SRCS+= i386-linux.c linux_syscalls.h |