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+= -I${SRCTOP}/sys/cddl/compat/opensolaris \ 12 -I${SRCTOP}/cddl/compat/opensolaris/include \ 13 -I${OPENSOLARIS_USR_DISTDIR}/head \ 14 -I${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common \ 15 -I${OPENSOLARIS_USR_DISTDIR}/lib/libproc/common \ 16 -I${OPENSOLARIS_SYS_DISTDIR}/uts/common \ 17 -I${OPENSOLARIS_SYS_DISTDIR}/compat \ 18 -I${SRCTOP}/sys 19 20CFLAGS+= -DNEED_ERRLOC -g 21 22#YFLAGS+= -d 23 24LIBADD= elf dtrace rt 25 26.include <bsd.prog.mk> 27