2012-09-17 21:26:55 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2020-04-07 20:26:42 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2016-02-09 20:19:31 +00:00
|
|
|
PACKAGE=runtime
|
2012-09-17 21:26:55 +00:00
|
|
|
PROG= nvmecontrol
|
2019-07-16 17:24:03 +00:00
|
|
|
SRCS= comnd.c nvmecontrol.c
|
2019-08-01 21:44:07 +00:00
|
|
|
SRCS+= devlist.c firmware.c format.c identify.c logpage.c ns.c nsid.c
|
2019-08-05 17:36:00 +00:00
|
|
|
SRCS+= perftest.c power.c reset.c resv.c sanitize.c
|
2019-08-06 18:15:26 +00:00
|
|
|
SRCS+= passthru.c
|
2019-07-16 17:24:03 +00:00
|
|
|
SRCS+= identify_ext.c nvme_util.c nc_util.c
|
2012-09-17 21:26:55 +00:00
|
|
|
MAN= nvmecontrol.8
|
2018-12-06 22:58:26 +00:00
|
|
|
LDFLAGS+= -rdynamic
|
2019-07-16 17:24:03 +00:00
|
|
|
LIBADD+= util
|
2018-12-06 22:58:55 +00:00
|
|
|
SUBDIR= modules
|
2020-04-07 20:26:42 +00:00
|
|
|
HAS_TESTS=
|
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
2012-09-17 21:26:55 +00:00
|
|
|
|
2017-03-04 11:33:01 +00:00
|
|
|
.PATH: ${SRCTOP}/sys/dev/nvme
|
2013-07-19 21:40:57 +00:00
|
|
|
|
2012-09-17 21:26:55 +00:00
|
|
|
.include <bsd.prog.mk>
|
2018-12-06 22:58:55 +00:00
|
|
|
.include <bsd.subdir.mk>
|