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