1SRCS= callout.cc \ 2 case_file.cc \ 3 zfsd_event.cc \ 4 vdev.cc \ 5 vdev_iterator.cc \ 6 zfsd.cc \ 7 zfsd_exception.cc \ 8 zpool_list.cc \ 9 zfsd_main.cc 10 11WARNS?= 2 12 13# Ignore warnings about Solaris specific pragmas. 14IGNORE_PRAGMA= YES 15 16CFLAGS+= -DIN_BASE 17CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 18CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include 19CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 20CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libzpool/include 21CFLAGS+= -I${SRCTOP}/sys 22CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 23CFLAGS+= -I${SRCTOP}/cddl/usr.sbin 24 25CFLAGS+= -DHAVE_ISSETUGID 26CFLAGS+= -DHAVE_EXECVPE 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