xref: /freebsd/usr.sbin/ctladm/Makefile (revision 5b9c547c)
1# $FreeBSD$
2
3PROG=		ctladm
4SRCS=		ctladm.c util.c ctl_util.c ctl_scsi_all.c
5.PATH:		${.CURDIR}/../../sys/cam/ctl
6SDIR=		${.CURDIR}/../../sys
7CFLAGS+=	-I${SDIR}
8# This is necessary because of these warnings:
9# warning: cast increases required alignment of target type
10# The solution is to either upgrade the compiler (preferred), or do void
11# pointer gymnastics to get around the warning.  For now, disable the
12# warning instead of doing the void pointer workaround.
13.if ${MACHINE_CPUARCH} == "arm"
14WARNS?= 3
15.endif
16
17LIBADD=		cam sbuf bsdxml util
18MAN=		ctladm.8
19
20.include <bsd.prog.mk>
21