2010-08-21 13:54:33 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2017-03-04 11:30:04 +00:00
|
|
|
.PATH: ${SRCTOP}/cddl/contrib/opensolaris/cmd/plockstat
|
2010-08-21 13:54:33 +00:00
|
|
|
|
|
|
|
PROG= plockstat
|
2017-03-04 11:30:04 +00:00
|
|
|
SRCS= plockstat.c
|
2010-08-21 13:54:33 +00:00
|
|
|
BINDIR?= /usr/sbin
|
|
|
|
|
|
|
|
WARNS?= 1
|
|
|
|
|
2017-03-04 11:30:04 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris \
|
|
|
|
-I${SRCTOP}/cddl/compat/opensolaris/include \
|
2010-08-21 13:54:33 +00:00
|
|
|
-I${OPENSOLARIS_USR_DISTDIR}/head \
|
|
|
|
-I${OPENSOLARIS_USR_DISTDIR}/lib/libdtrace/common \
|
|
|
|
-I${OPENSOLARIS_USR_DISTDIR}/lib/libproc/common \
|
|
|
|
-I${OPENSOLARIS_SYS_DISTDIR}/uts/common \
|
|
|
|
-I${OPENSOLARIS_SYS_DISTDIR}/compat \
|
2017-03-04 11:30:04 +00:00
|
|
|
-I${SRCTOP}/cddl/lib/libdtrace \
|
|
|
|
-I${SRCTOP}/sys
|
2010-08-21 13:54:33 +00:00
|
|
|
|
2015-05-19 22:29:11 +00:00
|
|
|
LIBADD= dtrace proc
|
2010-08-21 13:54:33 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|