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 31 32CFLAGS= -g -DNEED_SOLARIS_BOOLEAN ${INCFLAGS} 33 34DPADD= ${LIBDEVDCTL} ${LIBZFS} ${LIBZFS_CORE} ${LIBUTIL} ${LIBGEOM} \ 35 ${LIBBSDXML} ${LIBSBUF} ${LIBNVPAIR} ${LIBUUTIL} 36LIBADD= devdctl zfs zfs_core util geom bsdxml sbuf nvpair uutil 37 38cscope: 39 find ${.CURDIR} -type f -a \( -name "*.[ch]" -o -name "*.cc" \) \ 40 > ${.CURDIR}/cscope.files 41 cd ${.CURDIR} && cscope -buq ${INCFLAGS} 42