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 21CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h 22CFLAGS+= -I${SRCTOP}/cddl/usr.sbin 23 24CFLAGS+= -DHAVE_ISSETUGID 25CFLAGS+= -DHAVE_EXECVPE 26 27LIBADD+= devdctl zfs util geom bsdxml sbuf nvpair avl uutil zutil 28 29cscope: 30 find ${.CURDIR} -type f -a \( -name "*.[ch]" -o -name "*.cc" \) \ 31 > ${.CURDIR}/cscope.files 32 cd ${.CURDIR} && cscope -buq ${INCFLAGS} 33