]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sbin/camcontrol/Makefile
Rework logpage extensibility.
[FreeBSD/FreeBSD.git] / sbin / camcontrol / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 PACKAGE=runtime
6 PROG=   camcontrol
7 SRCS=   camcontrol.c util.c
8 .if !defined(RELEASE_CRUNCH)
9 SRCS+=  attrib.c epc.c fwdownload.c modeedit.c persist.c progress.c timestamp.c zone.c
10 .else
11 CFLAGS+= -DMINIMALISTIC
12 .endif
13 .if ${MK_NVME} != "no"
14 .PATH:  ${SRCTOP}/sbin/nvmecontrol
15 CFLAGS+= -I${SRCTOP}/sbin/nvmecontrol -DWITH_NVME
16 SRCS+=  identify_ext.c nc_util.c
17 .PATH:  ${SRCTOP}/sys/dev/nvme
18 SRCS+=  nvme_util.c
19 .endif
20 # This is verboten
21 .if ${MACHINE_CPUARCH} == "arm"
22 WARNS?= 3
23 .endif
24 LIBADD= cam sbuf util
25 MAN=    camcontrol.8
26
27 .include <bsd.prog.mk>