freebsd-nq/usr.sbin/mpsutil/Makefile
Scott Long b3995bb872 Add a new 'debug' command tree and 'dump_reqs' command to grab and parse
command and chain frames of in-flight I/O from the driver.

Sponsored by:	Netflix
2018-03-12 05:03:32 +00:00

23 lines
401 B
Makefile

# $FreeBSD$
PROG= mpsutil
SRCS= mps_cmd.c mps_debug.c mps_flash.c mps_show.c mpsutil.c
MAN= mpsutil.8
WARNS?= 3
#LIBADD= cam util
LINKS= ${BINDIR}/mpsutil ${BINDIR}/mprutil
MLINKS= mpsutil.8 mprutil.8
CFLAGS+= -I${SRCTOP}/sys -I. -DUSE_MPT_IOCTLS
# Avoid dirdep dependency on libutil
CFLAGS+= -I${SRCTOP}/lib/libutil
# Here be dragons
.ifdef DEBUG
CFLAGS+= -DDEBUG
.endif
.include <bsd.prog.mk>