]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - usr.sbin/ctladm/Makefile
bhyvectl(8): Normalize the man page date
[FreeBSD/FreeBSD.git] / usr.sbin / ctladm / Makefile
1 # $FreeBSD$
2
3 .include <src.opts.mk>
4
5 PROG=           ctladm
6 SRCS=           ctladm.c util.c ctl_util.c ctl_scsi_all.c
7 .PATH:          ${SRCTOP}/sys/cam/ctl
8 SDIR=           ${SRCTOP}/sys
9 CFLAGS+=        -I${SDIR}
10 # This is necessary because of these warnings:
11 # warning: cast increases required alignment of target type
12 # The solution is to either upgrade the compiler (preferred), or do void
13 # pointer gymnastics to get around the warning.  For now, disable the
14 # warning instead of doing the void pointer workaround.
15 .if ${MACHINE_CPUARCH} == "arm"
16 WARNS?= 3
17 .endif
18
19 LIBADD=         cam sbuf bsdxml util nv
20 MAN=            ctladm.8
21
22 .if ${MK_ISCSI} != "no"
23 CFLAGS+=        -DWANT_ISCSI
24 .endif
25
26 .include <bsd.prog.mk>