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