2015-08-02 03:52:51 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PROG= mpsutil
|
2015-11-17 20:42:59 +00:00
|
|
|
SRCS= mps_cmd.c mps_flash.c mps_show.c mpsutil.c
|
2015-08-02 03:52:51 +00:00
|
|
|
MAN= mpsutil.8
|
|
|
|
|
|
|
|
WARNS?= 3
|
|
|
|
|
2015-10-28 11:20:55 +00:00
|
|
|
#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-10-28 11:18:43 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../sys -I. -DUSE_MPT_IOCTLS
|
2015-10-28 16:31:04 +00:00
|
|
|
# Avoid dirdep dependency on libutil
|
|
|
|
CFLAGS+= -I${SRCTOP}/lib/libutil
|
2015-08-02 03:52:51 +00:00
|
|
|
|
|
|
|
# Here be dragons
|
|
|
|
.ifdef DEBUG
|
|
|
|
CFLAGS+= -DDEBUG
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|