2000-01-21 23:18:08 +00:00
|
|
|
# $FreeBSD$
|
1999-06-18 00:41:47 +00:00
|
|
|
|
2018-06-14 01:15:19 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2016-02-09 20:19:31 +00:00
|
|
|
PACKAGE=runtime
|
2002-01-24 16:53:08 +00:00
|
|
|
PROG= camcontrol
|
2012-01-29 09:12:34 +00:00
|
|
|
SRCS= camcontrol.c util.c
|
2016-12-01 22:20:27 +00:00
|
|
|
SRCS+= attrib.c epc.c fwdownload.c modeedit.c persist.c progress.c timestamp.c zone.c
|
2018-06-14 01:15:19 +00:00
|
|
|
.if ${MK_NVME} != "no"
|
2018-06-13 22:00:08 +00:00
|
|
|
.PATH: ${SRCTOP}/sbin/nvmecontrol
|
2018-06-14 01:15:19 +00:00
|
|
|
CFLAGS+= -I${SRCTOP}/sbin/nvmecontrol -DWITH_NVME
|
2018-06-13 22:00:08 +00:00
|
|
|
SRCS+= identify_ext.c nc_util.c
|
|
|
|
.PATH: ${SRCTOP}/sys/dev/nvme
|
|
|
|
SRCS+= nvme_util.c
|
2018-06-14 01:15:19 +00:00
|
|
|
.endif
|
2010-08-23 22:24:11 +00:00
|
|
|
# This is verboten
|
|
|
|
.if ${MACHINE_CPUARCH} == "arm"
|
2004-05-14 13:31:21 +00:00
|
|
|
WARNS?= 3
|
|
|
|
.endif
|
2014-11-25 11:23:12 +00:00
|
|
|
LIBADD= cam sbuf util
|
2002-01-24 16:53:08 +00:00
|
|
|
MAN= camcontrol.8
|
1998-09-15 06:43:02 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|