1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/lockstat 4 5PROG= lockstat 6SRCS= lockstat.c sym.c 7BINDIR?= /usr/sbin 8 9WARNS?= 1 10 11CFLAGS+= -DIN_BASE 12CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include 13CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/ 14CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd 15CFLAGS+= -I${SRCTOP}/sys 16CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 17CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris 18CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \ 19 -I${SRCTOP}/cddl/compat/opensolaris/include \ 20 -I${OPENSOLARIS_USR_DISTDIR}/head \ 21 -I${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common \ 22 -I${OPENSOLARIS_USR_DISTDIR}/lib/libproc/common \ 23 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common \ 24 -I${OPENSOLARIS_SYS_DISTDIR}/compat \ 25 -I${SRCTOP}/sys 26CFLAGS+= -DHAVE_ISSETUGID 27 28CFLAGS+= -DNEED_ERRLOC -g 29 30#YFLAGS+= -d 31 32LIBADD= elf dtrace rt 33 34.include <bsd.prog.mk> 35