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