]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - usr.sbin/ctladm/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / usr.sbin / ctladm / Makefile
1 # $FreeBSD$
2
3 PROG=           ctladm
4 SRCS=           ctladm.c util.c ctl_util.c ctl_scsi_all.c
5 .PATH:          ${.CURDIR}/../../sys/cam/ctl 
6 SDIR=           ${.CURDIR}/../../sys
7 CFLAGS+=        -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"
14 WARNS?= 3
15 .endif
16
17 DPADD=          ${LIBCAM} ${LIBSBUF} ${LIBBSDXML} ${LIBUTIL}
18 LDADD=          -lcam -lsbuf -lbsdxml -lutil
19 MAN=            ctladm.8
20
21 .include <bsd.prog.mk>