1# $FreeBSD$ 2 3.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/plockstat 4 5PROG= plockstat 6SRCS= plockstat.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 \ 18 -I${SRCTOP}/cddl/compat/opensolaris/include \ 19 -I${OPENSOLARIS_USR_DISTDIR}/head \ 20 -I${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common \ 21 -I${OPENSOLARIS_USR_DISTDIR}/lib/libproc/common \ 22 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common \ 23 -I${OPENSOLARIS_SYS_DISTDIR}/compat \ 24 -I${SRCTOP}/cddl/lib/libdtrace \ 25 -I${SRCTOP}/sys 26CFLAGS+= -DHAVE_ISSETUGID 27 28LIBADD= dtrace proc 29 30.include <bsd.prog.mk> 31