zfstest: rename to zfsboottest and move to tools

Approved by:	re (kib)
MFC after:	1 week
This commit is contained in:
avg 2011-09-16 08:22:48 +00:00
parent 07841942cc
commit ff769d30aa
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../../sys/boot/zfs ${.CURDIR}/../../../sys/cddl/boot/zfs
PROG= zfsboottest
NO_MAN=
CFLAGS= -O1 \
-I${.CURDIR}/../../../sys/boot/zfs \
-I${.CURDIR}/../../../sys/cddl/boot/zfs \
-I. \
-fdiagnostics-show-option \
-W -Wextra -Wno-sign-compare -Wno-unused-parameter \
-Werror
.if ${MACHINE_CPUARCH} == "amd64"
beforedepend zfsboottest.o: machine
CLEANFILES+= machine
machine:
ln -sf ${.CURDIR}/../../../sys/i386/include machine
.endif
.include <bsd.prog.mk>