1 2.PATH: ${SRCTOP}/stand/zfs ${SRCTOP}/sys/cddl/boot/zfs 3 4BINDIR?= /usr/bin 5SCRIPTSDIR?= /usr/bin 6 7PROG= zfsboottest 8SCRIPTS= zfsboottest.sh 9SCRIPTSNAME= zfsboottest.sh 10MAN= 11 12CFLAGS= -O1 \ 13 -I${SRCTOP}/stand/zfs \ 14 -I${SRCTOP}/sys/cddl/boot/zfs \ 15 -I. \ 16 -fdiagnostics-show-option \ 17 -W -Wextra -Wno-sign-compare -Wno-unused-parameter 18CFLAGS+=-m32 19LIBADD+= md 20 21.if ${MACHINE_CPUARCH} == "amd64" 22beforedepend zfsboottest.o: machine 23CLEANFILES+= machine 24machine: 25 ln -sf ${SRCTOP}/sys/i386/include machine 26.endif 27 28.include <bsd.prog.mk> 29