2000-01-21 18:18:08 -05:00
|
|
|
# $FreeBSD$
|
1999-06-17 20:41:47 -04:00
|
|
|
|
2018-06-13 21:15:19 -04:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
|
2016-02-09 15:19:31 -05:00
|
|
|
PACKAGE=runtime
|
2002-01-24 11:53:08 -05:00
|
|
|
PROG= camcontrol
|
2012-01-29 04:12:34 -05:00
|
|
|
SRCS= camcontrol.c util.c
|
2016-12-01 17:20:27 -05:00
|
|
|
SRCS+= attrib.c epc.c fwdownload.c modeedit.c persist.c progress.c timestamp.c zone.c
|
2018-06-13 21:15:19 -04:00
|
|
|
.if ${MK_NVME} != "no"
|
2018-06-13 18:00:08 -04:00
|
|
|
.PATH: ${SRCTOP}/sbin/nvmecontrol
|
2018-06-13 21:15:19 -04:00
|
|
|
CFLAGS+= -I${SRCTOP}/sbin/nvmecontrol -DWITH_NVME
|
2018-06-13 18:00:08 -04:00
|
|
|
SRCS+= identify_ext.c nc_util.c
|
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/nvme
|
|
|
|
|
SRCS+= nvme_util.c
|
2018-06-13 21:15:19 -04:00
|
|
|
.endif
|
2010-08-23 18:24:11 -04:00
|
|
|
# This is verboten
|
|
|
|
|
.if ${MACHINE_CPUARCH} == "arm"
|
2004-05-14 09:31:21 -04:00
|
|
|
WARNS?= 3
|
|
|
|
|
.endif
|
2014-11-25 06:23:12 -05:00
|
|
|
LIBADD= cam sbuf util
|
2002-01-24 11:53:08 -05:00
|
|
|
MAN= camcontrol.8
|
1998-09-15 02:43:02 -04:00
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|