Deleted Added
full compact
Makefile (302408) Makefile (319119)
1# $FreeBSD: stable/11/usr.sbin/ctladm/Makefile 275054 2014-11-25 16:57:27Z bapt $
1# $FreeBSD: stable/11/usr.sbin/ctladm/Makefile 319119 2017-05-29 10:15:41Z ngie $
2
3PROG= ctladm
4SRCS= ctladm.c util.c ctl_util.c ctl_scsi_all.c
2
3PROG= ctladm
4SRCS= ctladm.c util.c ctl_util.c ctl_scsi_all.c
5.PATH: ${.CURDIR}/../../sys/cam/ctl
6SDIR= ${.CURDIR}/../../sys
5.PATH: ${SRCTOP}/sys/cam/ctl
6SDIR= ${SRCTOP}/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>
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>