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