1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../../cddl/contrib/opensolaris/cmd/plockstat 4 5PROG= plockstat 6SRCS= plockstat.c 7BINDIR?= /usr/sbin 8 9WARNS?= 1 10 11CFLAGS+= -I${.CURDIR}/../../../sys/cddl/compat/opensolaris \ 12 -I${.CURDIR}/../../../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${.CURDIR}/../../../cddl/lib/libdtrace \ 19 -I${.CURDIR}/../../../sys 20 21DPADD= ${LIBPTHREAD} ${LIBDTRACE} ${LIBY} ${LIBL} ${LIBPROC} ${LIBCTF}\ 22 ${LIBELF} ${LIBZ} ${LIBRT} ${LIBRTLD_DB} ${LIBUTIL} 23LDADD= -lpthread -ldtrace -ly -ll -lproc -lctf -lelf -lz -lrt \ 24 -lrtld_db -lutil 25 26.include <bsd.prog.mk> 27