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