1# $FreeBSD$
2
3.include <src.opts.mk>
4
5PACKAGE=runtime
6PROG=	camcontrol
7SRCS=	camcontrol.c util.c
8SRCS+=	attrib.c epc.c fwdownload.c modeedit.c persist.c progress.c timestamp.c zone.c
9.if ${MK_NVME} != "no"
10.PATH:	${SRCTOP}/sbin/nvmecontrol
11CFLAGS+= -I${SRCTOP}/sbin/nvmecontrol -DWITH_NVME
12SRCS+=	identify_ext.c nc_util.c
13.PATH:	${SRCTOP}/sys/dev/nvme
14SRCS+=	nvme_util.c
15.endif
16# This is verboten
17.if ${MACHINE_CPUARCH} == "arm"
18WARNS?= 3
19.endif
20LIBADD=	cam sbuf util
21MAN=	camcontrol.8
22
23.include <bsd.prog.mk>
24