zfstest: rename to zfsboottest and move to tools

Approved by:	re (kib)
MFC after:	1 week
This commit is contained in:
Andriy Gapon 2011-09-16 08:22:48 +00:00
parent a17e51c108
commit d560f3523c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=225608
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>