22 lines
410 B
Makefile
22 lines
410 B
Makefile
|
|
PROG= mpsutil
|
|
SRCS= mps_cmd.c mps_debug.c mps_flash.c mps_set.c mps_show.c mps_slot.c mpsutil.c
|
|
MAN= mpsutil.8
|
|
|
|
WARNS?= 3
|
|
|
|
#LIBADD= cam util
|
|
LINKS= ${BINDIR}/mpsutil ${BINDIR}/mprutil
|
|
MLINKS= mpsutil.8 mprutil.8
|
|
|
|
CFLAGS+= -I${SRCTOP}/sys -I. -DUSE_MPT_IOCTLS
|
|
# Avoid dirdep dependency on libutil
|
|
CFLAGS+= -I${SRCTOP}/lib/libutil
|
|
|
|
# Here be dragons
|
|
.ifdef DEBUG
|
|
CFLAGS+= -DDEBUG
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|