1# $FreeBSD$ 2 3SRCS= callout.cc \ 4 case_file.cc \ 5 zfsd_event.cc \ 6 vdev.cc \ 7 vdev_iterator.cc \ 8 zfsd.cc \ 9 zfsd_exception.cc \ 10 zpool_list.cc \ 11 zfsd_main.cc 12 13WARNS?= 3 14 15# Ignore warnings about Solaris specific pragmas. 16IGNORE_PRAGMA= YES 17 18INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common 19INCFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 20INCFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem 21INCFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris 22INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head 23INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libuutil/common 24INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libumem/common 25INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common 26INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common 27INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair 28INCFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs 29INCFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common 30INCFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 31INCFLAGS+= -I${SRCTOP}/cddl/usr.sbin 32 33CFLAGS+= -DNEED_SOLARIS_BOOLEAN ${INCFLAGS} 34 35LIBADD+= devdctl zfs zfs_core util geom bsdxml sbuf nvpair uutil 36 37cscope: 38 find ${.CURDIR} -type f -a \( -name "*.[ch]" -o -name "*.cc" \) \ 39 > ${.CURDIR}/cscope.files 40 cd ${.CURDIR} && cscope -buq ${INCFLAGS} 41