Standardize on SRCTOP instead of .CURDIR-relative paths

MFC after:	3 days
This commit is contained in:
Enji Cooper 2017-08-01 05:23:49 +00:00
parent 88abac8f06
commit 405873f16d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=321845

View File

@ -1,6 +1,6 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../../sys/boot/zfs ${.CURDIR}/../../../sys/cddl/boot/zfs
.PATH: ${SRCTOP}/sys/boot/zfs ${SRCTOP}/sys/cddl/boot/zfs
BINDIR?= /usr/bin
SCRIPTSDIR?= /usr/bin
@ -11,8 +11,8 @@ SCRIPTSNAME= zfsboottest.sh
MAN=
CFLAGS= -O1 \
-I${.CURDIR}/../../../sys/boot/zfs \
-I${.CURDIR}/../../../sys/cddl/boot/zfs \
-I${SRCTOP}/sys/boot/zfs \
-I${SRCTOP}/sys/cddl/boot/zfs \
-I. \
-fdiagnostics-show-option \
-W -Wextra -Wno-sign-compare -Wno-unused-parameter
@ -23,7 +23,7 @@ LIBADD+= md
beforedepend zfsboottest.o: machine
CLEANFILES+= machine
machine:
ln -sf ${.CURDIR}/../../../sys/i386/include machine
ln -sf ${SRCTOP}/sys/i386/include machine
.endif
.include <bsd.prog.mk>