freebsd-src/sbin/camcontrol/Makefile
Warner Losh 69ae43a1e6 camcontrol: One file per line in Makefile
We have enough files now that moving to one file per line makes sense.

Sponsored by:		Netflix
2023-12-07 13:21:57 -07:00

33 lines
575 B
Makefile

.include <src.opts.mk>
PACKAGE=runtime
PROG= camcontrol
SRCS= camcontrol.c
SRCS+= attrib.c
SRCS+= depop.c
SRCS+= epc.c
SRCS+= fwdownload.c
SRCS+= modeedit.c
SRCS+= persist.c
SRCS+= progress.c
SRCS+= timestamp.c
SRCS+= util.c
SRCS+= zone.c
.if ${MK_NVME} != "no"
.PATH: ${SRCTOP}/sbin/nvmecontrol
CFLAGS+= -I${SRCTOP}/sbin/nvmecontrol -DWITH_NVME
SRCS+= identify_ext.c
SRCS+= nc_util.c
.PATH: ${SRCTOP}/sys/dev/nvme
SRCS+= nvme_util.c
.endif
# This is verboten
.if ${MACHINE_CPUARCH} == "arm"
WARNS?= 3
.endif
LIBADD= cam sbuf util
MAN= camcontrol.8
.include <bsd.prog.mk>