xref: /freebsd/usr.sbin/mpsutil/Makefile (revision 43faedc1339a9624c7acedb7f3e5624e64da5b99)
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