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.if ${MK_NVME} != "no" 18.PATH: ${SRCTOP}/sbin/nvmecontrol 19CFLAGS+= -I${SRCTOP}/sbin/nvmecontrol -DWITH_NVME 20SRCS+= identify_ext.c 21SRCS+= nc_util.c 22.PATH: ${SRCTOP}/sys/dev/nvme 23SRCS+= nvme_util.c 24.endif 25# This is verboten 26.if ${MACHINE_CPUARCH} == "arm" 27WARNS?= 3 28.endif 29LIBADD= cam sbuf util 30MAN= camcontrol.8 31 32.include <bsd.prog.mk> 33