1 2.PATH: ${.CURDIR:H} 3 4SRCS= zfs_defs.c 5OBJS= zfs_defs.o 6WARNS?= 1 7 8 9CFLAGS+= -DIN_BASE -D__KERNEL__ -D_KERNEL -I. -I${.CURDIR} 10CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 11CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl 12CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/ 13CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/zfs 14CFLAGS+= -I${SRCTOP}/sys/contrib/ck/include 15 16CFLAGS+= -I${SRCTOP}/sys -I. -I.. 17CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/module/icp/include 18CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 19CFLAGS+= -DHAVE_ISSETUGID -D_SYS_VMEM_H_ -UKLD_TIED -DKLD_MODULE 20 21CFLAGS+= -fno-builtin -nostdlib 22 23all: ${OBJS} 24CLEANFILES= ${OBJS} 25 26.include <bsd.lib.mk> 27