]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - cddl/usr.sbin/zfsd/Makefile.common
Skip the vm.pmap.kernel_maps sysctl by default.
[FreeBSD/FreeBSD.git] / cddl / usr.sbin / zfsd / Makefile.common
1 # $FreeBSD$
2
3 SRCS=           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
13 WARNS?=         2
14
15 # Ignore warnings about Solaris specific pragmas.
16 IGNORE_PRAGMA=  YES
17
18 CFLAGS+= -DIN_BASE
19 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
20 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include
21 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
22 CFLAGS+= -I${SRCTOP}/sys
23 CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
24 CFLAGS+= -I${SRCTOP}/cddl/usr.sbin
25
26 # use issetugid(2)
27 CFLAGS+= -D_MACHINE_FLOAT_H_ -DHAVE_ISSETUGID
28
29 LIBADD+=        devdctl zfs zfs_core util geom bsdxml sbuf nvpair avl uutil zutil
30
31 cscope:
32         find ${.CURDIR} -type f -a \( -name "*.[ch]" -o -name "*.cc" \) \
33              > ${.CURDIR}/cscope.files
34         cd ${.CURDIR} && cscope -buq ${INCFLAGS}