2015-08-02 03:52:51 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= mpsutil
|
|
|
|
SRCS= mpsutil.c mps_cmd.c mps_show.c
|
|
|
|
# mpt_flash.c
|
|
|
|
MAN= mpsutil.8
|
|
|
|
|
|
|
|
WARNS?= 3
|
|
|
|
|
|
|
|
LIBADD= cam util
|
2015-10-15 15:19:38 +00:00
|
|
|
LINKS= ${BINDIR}/mpsutil ${BINDIR}/mprutil
|
2015-10-28 11:06:04 +00:00
|
|
|
MLINKS= mpsutil.8 mprutil.8
|
2015-08-02 03:52:51 +00:00
|
|
|
|
2015-08-14 10:17:52 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../sys -I. -DUSE_MPT_IOCTLS -g
|
2015-08-02 03:52:51 +00:00
|
|
|
|
|
|
|
|
|
|
|
# Here be dragons
|
|
|
|
.ifdef DEBUG
|
|
|
|
CFLAGS+= -DDEBUG
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|