544cc9b1b6
will automatically issue the 16 byte verison of read capacity if the device in question is larger than 2TB. There are also a number of output options here (last block, number of blocks, human readable) that should meet most needs, and also aid in scripting. Approved by: re (bmah) MFC after: 1 week
20 lines
310 B
Makefile
20 lines
310 B
Makefile
# $FreeBSD$
|
|
|
|
PROG= camcontrol
|
|
SRCS= camcontrol.c util.c
|
|
.if !defined(RELEASE_CRUNCH)
|
|
SRCS+= modeedit.c
|
|
.else
|
|
CFLAGS+= -DMINIMALISTIC
|
|
.endif
|
|
.if ${MACHINE_ARCH} == "arm"
|
|
WARNS?= 3
|
|
.else
|
|
WARNS?= 6
|
|
.endif
|
|
DPADD= ${LIBCAM} ${LIBSBUF} ${LIBUTIL}
|
|
LDADD= -lcam -lsbuf -lutil
|
|
MAN= camcontrol.8
|
|
|
|
.include <bsd.prog.mk>
|