1.PATH: ${.CURDIR:H} 2 3SRCS= zfs_defs.c 4OBJS= zfs_defs.o 5WARNS?= 1 6 7FORTIFY_SOURCE= 0 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