1# $FreeBSD$ 2 3PACKAGE=runtime 4PROG= camcontrol 5SRCS= camcontrol.c util.c 6.if !defined(RELEASE_CRUNCH) 7SRCS+= attrib.c epc.c fwdownload.c modeedit.c persist.c progress.c timestamp.c zone.c 8.else 9CFLAGS+= -DMINIMALISTIC 10.endif 11.PATH: ${SRCTOP}/sbin/nvmecontrol 12CFLAGS+= -I${SRCTOP}/sbin/nvmecontrol 13SRCS+= identify_ext.c nc_util.c 14.PATH: ${SRCTOP}/sys/dev/nvme 15SRCS+= nvme_util.c 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