xref: /freebsd/sys/modules/mpr/Makefile (revision 991554f2c46fdbc7e9acbf87fc8da089618c3a19)
1*991554f2SKenneth D. Merry# $FreeBSD$
2*991554f2SKenneth D. Merry
3*991554f2SKenneth D. Merry.PATH: ${.CURDIR}/../../dev/mpr
4*991554f2SKenneth D. Merry
5*991554f2SKenneth D. MerryKMOD=	mpr
6*991554f2SKenneth D. MerrySRCS=	mpr_pci.c mpr.c mpr_sas.c mpr_table.c mpr_user.c
7*991554f2SKenneth D. MerrySRCS+=	mpr_config.c mpr_mapping.c mpr_sas_lsi.c
8*991554f2SKenneth D. MerrySRCS+=	opt_cam.h opt_compat.h
9*991554f2SKenneth D. MerrySRCS+=	device_if.h bus_if.h pci_if.h
10*991554f2SKenneth D. Merry
11*991554f2SKenneth D. Merry#CFLAGS += -DMPR_DEBUG
12*991554f2SKenneth D. Merry
13*991554f2SKenneth D. Merry.include <bsd.kmod.mk>
14*991554f2SKenneth D. Merry
15*991554f2SKenneth D. MerryCWARNFLAGS.mpr_sas.c=		${NO_WUNNEEDED_INTERNAL_DECL}
16*991554f2SKenneth D. Merry# XXX Work around clang warning, until maintainer approves fix.
17*991554f2SKenneth D. MerryCWARNFLAGS.mpr_mapping.c=	${NO_WSOMETIMES_UNINITIALIZED}
18*991554f2SKenneth D. MerryCWARNFLAGS+=			${CWARNFLAGS.${.IMPSRC:T}}
19