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