xref: /freebsd/usr.sbin/mpsutil/Makefile (revision 8657387683946d0c03e09fe77029edfe309eeb20)
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${SRCTOP}/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