xref: /freebsd/sbin/camcontrol/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1.include <src.opts.mk>
2
3PACKAGE=runtime
4PROG=	camcontrol
5SRCS=	camcontrol.c
6SRCS+=	attrib.c
7SRCS+=	depop.c
8SRCS+=	epc.c
9SRCS+=	fwdownload.c
10SRCS+=	modeedit.c
11SRCS+=	persist.c
12SRCS+=	progress.c
13SRCS+=	timestamp.c
14SRCS+=	util.c
15SRCS+=	zone.c
16.PATH:	${SRCTOP}/sbin/nvmecontrol
17CFLAGS+= -I${SRCTOP}/sbin/nvmecontrol
18SRCS+=	identify_ext.c
19SRCS+=	nc_util.c
20.PATH:	${SRCTOP}/sys/dev/nvme
21SRCS+=	nvme_util.c
22# This is verboten
23.if ${MACHINE_CPUARCH} == "arm"
24WARNS?= 3
25.endif
26CFLAGS+= -I${SRCTOP}/lib/libnvmf
27LIBADD=	cam nvmf sbuf util
28MAN=	camcontrol.8
29
30.include <bsd.prog.mk>
31