Changeset View
Changeset View
Standalone View
Standalone View
sbin/camcontrol/Makefile
# $FreeBSD$ | # $FreeBSD$ | ||||
PACKAGE=runtime | PACKAGE=runtime | ||||
PROG= camcontrol | PROG= camcontrol | ||||
SRCS= camcontrol.c util.c | SRCS= camcontrol.c util.c | ||||
.if !defined(RELEASE_CRUNCH) | .if !defined(RELEASE_CRUNCH) | ||||
SRCS+= attrib.c epc.c fwdownload.c modeedit.c persist.c progress.c timestamp.c zone.c | SRCS+= attrib.c epc.c fwdownload.c modeedit.c persist.c progress.c timestamp.c zone.c | ||||
.else | .else | ||||
CFLAGS+= -DMINIMALISTIC | CFLAGS+= -DMINIMALISTIC | ||||
.endif | .endif | ||||
.PATH: ${SRCTOP}/sbin/nvmecontrol | |||||
CFLAGS+= -I${SRCTOP}/sbin/nvmecontrol | |||||
SRCS+= identify_ext.c nc_util.c | |||||
.PATH: ${SRCTOP}/sys/dev/nvme | |||||
SRCS+= nvme_util.c | |||||
# This is verboten | # This is verboten | ||||
.if ${MACHINE_CPUARCH} == "arm" | .if ${MACHINE_CPUARCH} == "arm" | ||||
WARNS?= 3 | WARNS?= 3 | ||||
.endif | .endif | ||||
LIBADD= cam sbuf util | LIBADD= cam sbuf util | ||||
MAN= camcontrol.8 | MAN= camcontrol.8 | ||||
.include <bsd.prog.mk> | .include <bsd.prog.mk> |