xref: /freebsd/sbin/camcontrol/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1f0f8a1afSWarner Losh.include <src.opts.mk>
2f0f8a1afSWarner Losh
3406d87b1SGlen BarberPACKAGE=runtime
4525689f1SJustin T. GibbsPROG=	camcontrol
569ae43a1SWarner LoshSRCS=	camcontrol.c
669ae43a1SWarner LoshSRCS+=	attrib.c
769ae43a1SWarner LoshSRCS+=	depop.c
869ae43a1SWarner LoshSRCS+=	epc.c
969ae43a1SWarner LoshSRCS+=	fwdownload.c
1069ae43a1SWarner LoshSRCS+=	modeedit.c
1169ae43a1SWarner LoshSRCS+=	persist.c
1269ae43a1SWarner LoshSRCS+=	progress.c
1369ae43a1SWarner LoshSRCS+=	timestamp.c
1469ae43a1SWarner LoshSRCS+=	util.c
1569ae43a1SWarner LoshSRCS+=	zone.c
166ee13c54SWarner Losh.PATH:	${SRCTOP}/sbin/nvmecontrol
172b676a66SJohn BaldwinCFLAGS+= -I${SRCTOP}/sbin/nvmecontrol
1869ae43a1SWarner LoshSRCS+=	identify_ext.c
1969ae43a1SWarner LoshSRCS+=	nc_util.c
206ee13c54SWarner Losh.PATH:	${SRCTOP}/sys/dev/nvme
216ee13c54SWarner LoshSRCS+=	nvme_util.c
2225faff34SWarner Losh# This is verboten
2325faff34SWarner Losh.if ${MACHINE_CPUARCH} == "arm"
24c1b2de5aSOlivier HouchardWARNS?= 3
25c1b2de5aSOlivier Houchard.endif
26*07c6a62bSJohn BaldwinCFLAGS+= -I${SRCTOP}/lib/libnvmf
27*07c6a62bSJohn BaldwinLIBADD=	cam nvmf sbuf util
28485318d4SRuslan ErmilovMAN=	camcontrol.8
29525689f1SJustin T. Gibbs
30525689f1SJustin T. Gibbs.include <bsd.prog.mk>
31