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