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 29CFLAGS+= -I${SRCTOP}/lib/libnvmf 30MAN= nvmecontrol.8 31LDFLAGS+= -rdynamic 32LIBADD+= nvmf util 33SUBDIR= modules 34HAS_TESTS= 35SUBDIR.${MK_TESTS}+= tests 36 37.PATH: ${SRCTOP}/sys/dev/nvme 38 39.include <bsd.prog.mk> 40.include <bsd.subdir.mk> 41