xref: /freebsd/usr.sbin/mpsutil/Makefile (revision 907b59d76938e654f0d040a888e8dfca3de1e222)
1# $FreeBSD$
2
3PROG=	mpsutil
4SRCS=	mps_cmd.c mps_flash.c mps_show.c mpsutil.c
5MAN=	mpsutil.8
6
7WARNS?= 3
8
9#LIBADD=	cam util
10LINKS=	${BINDIR}/mpsutil ${BINDIR}/mprutil
11MLINKS=	mpsutil.8 mprutil.8
12
13CFLAGS+= -I${.CURDIR}/../../sys -I. -DUSE_MPT_IOCTLS
14# Avoid dirdep dependency on libutil
15CFLAGS+= -I${SRCTOP}/lib/libutil
16
17# Here be dragons
18.ifdef DEBUG
19CFLAGS+= -DDEBUG
20.endif
21
22.include <bsd.prog.mk>
23