1 2SRCS= callout.cc \ 3 case_file.cc \ 4 zfsd_event.cc \ 5 vdev.cc \ 6 vdev_iterator.cc \ 7 zfsd.cc \ 8 zfsd_exception.cc \ 9 zpool_list.cc \ 10 zfsd_main.cc 11 12WARNS?= 2 13 14# Ignore warnings about Solaris specific pragmas. 15IGNORE_PRAGMA= YES 16 17CFLAGS+= -DIN_BASE 18CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 19CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include 20CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 21CFLAGS+= -I${SRCTOP}/sys 22CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 23CFLAGS+= -I${SRCTOP}/cddl/usr.sbin 24 25# use issetugid(2) 26CFLAGS+= -DHAVE_ISSETUGID 27 28LIBADD+= devdctl zfs util geom bsdxml sbuf nvpair avl uutil zutil 29 30cscope: 31 find ${.CURDIR} -type f -a \( -name "*.[ch]" -o -name "*.cc" \) \ 32 > ${.CURDIR}/cscope.files 33 cd ${.CURDIR} && cscope -buq ${INCFLAGS} 34