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 27CFLAGS+= -I${SRCTOP}/lib/libnvmf 28LIBADD= cam nvmf sbuf util 29MAN= camcontrol.8 30 31.include <bsd.prog.mk> 32