1# $FreeBSD$ 2 3.include <src.opts.mk> 4 5PACKAGE=nvme-tools 6PROG= nvmecontrol 7SRCS= comnd.c nvmecontrol.c 8SRCS+= devlist.c firmware.c format.c identify.c logpage.c ns.c nsid.c 9SRCS+= perftest.c power.c reset.c resv.c sanitize.c 10SRCS+= passthru.c 11SRCS+= identify_ext.c nvme_util.c nc_util.c 12SRCS+= selftest.c 13MAN= nvmecontrol.8 14LDFLAGS+= -rdynamic 15LIBADD+= util 16SUBDIR= modules 17HAS_TESTS= 18SUBDIR.${MK_TESTS}+= tests 19 20.PATH: ${SRCTOP}/sys/dev/nvme 21 22.include <bsd.prog.mk> 23.include <bsd.subdir.mk> 24