1.include <src.opts.mk> 2 3PACKAGE=nvme-tools 4PROG= nvmecontrol 5SRCS+= comnd.c 6SRCS+= connect.c 7SRCS+= devlist.c 8SRCS+= disconnect.c 9SRCS+= discover.c 10SRCS+= fabrics.c 11SRCS+= firmware.c 12SRCS+= format.c 13SRCS+= identify.c 14SRCS+= identify_ext.c 15SRCS+= logpage.c 16SRCS+= nc_util.c 17SRCS+= ns.c 18SRCS+= nsid.c 19SRCS+= nvme_util.c 20SRCS+= nvmecontrol.c 21SRCS+= passthru.c 22SRCS+= perftest.c 23SRCS+= power.c 24SRCS+= reconnect.c 25SRCS+= reset.c 26SRCS+= resv.c 27SRCS+= sanitize.c 28SRCS+= selftest.c 29SRCS+= telemetry.c 30CFLAGS+= -I${SRCTOP}/lib/libnvmf 31MAN= nvmecontrol.8 32LDFLAGS+= -rdynamic 33LIBADD+= nvmf util 34SUBDIR= modules 35HAS_TESTS= 36SUBDIR.${MK_TESTS}+= tests 37 38.PATH: ${SRCTOP}/sys/dev/nvme 39 40.include <bsd.prog.mk> 41.include <bsd.subdir.mk> 42