4 .PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/lockstat
14 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
15 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/
16 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
17 CFLAGS+= -I${SRCTOP}/sys
18 CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
19 CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris
20 CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \
21 -I${SRCTOP}/cddl/compat/opensolaris/include \
22 -I${OPENSOLARIS_USR_DISTDIR}/head \
23 -I${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common \
24 -I${OPENSOLARIS_USR_DISTDIR}/lib/libproc/common \
25 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common \
26 -I${OPENSOLARIS_SYS_DISTDIR}/compat \
28 CFLAGS+= -DHAVE_ISSETUGID
30 .if ${MK_DTRACE_ASAN} != "no"
31 CFLAGS+= -fsanitize=address -fsanitize=undefined
32 LDFLAGS+= -fsanitize=address -fsanitize=undefined
35 CFLAGS+= -DNEED_ERRLOC -g
41 .include <bsd.prog.mk>