summaryrefslogtreecommitdiffstats
path: root/cddl/usr.sbin/zfsd/Makefile.common
blob: 3b1430cea97896e5196582fedeee8b805e839ce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# $FreeBSD$

SRCS=		callout.cc		\
		case_file.cc		\
		zfsd_event.cc		\
		vdev.cc			\
		vdev_iterator.cc	\
		zfsd.cc			\
		zfsd_exception.cc	\
		zpool_list.cc		\
		zfsd_main.cc

WARNS?=		3

# Ignore warnings about Solaris specific pragmas.
IGNORE_PRAGMA=  YES

INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common
INCFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
INCFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem
INCFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris
INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head
INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libuutil/common
INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libumem/common
INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs_core/common
INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common
INCFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libnvpair
INCFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs
INCFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common
INCFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
INCFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/sys

CFLAGS= -g -DNEED_SOLARIS_BOOLEAN ${INCFLAGS}

DPADD=  ${LIBDEVDCTL} ${LIBZFS} ${LIBZFS_CORE} ${LIBUTIL} ${LIBGEOM} \
	${LIBBSDXML} ${LIBSBUF} ${LIBNVPAIR} ${LIBUUTIL}
LIBADD=  devdctl zfs zfs_core util geom bsdxml sbuf nvpair uutil

cscope:
	find ${.CURDIR} -type f -a \( -name "*.[ch]" -o -name "*.cc" \) \
	     > ${.CURDIR}/cscope.files
	cd ${.CURDIR} && cscope -buq ${INCFLAGS}
OpenPOWER on IntegriCloud