xref: /freebsd/sys/modules/mpr/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1193d9e76SEnji Cooper.PATH: ${SRCTOP}/sys/dev/mpr
2991554f2SKenneth D. Merry
3991554f2SKenneth D. MerryKMOD=	mpr
4991554f2SKenneth D. MerrySRCS=	mpr_pci.c mpr.c mpr_sas.c mpr_table.c mpr_user.c
5991554f2SKenneth D. MerrySRCS+=	mpr_config.c mpr_mapping.c mpr_sas_lsi.c
6*6469bdcdSBrooks DavisSRCS+=	opt_cam.h
7991554f2SKenneth D. MerrySRCS+=	device_if.h bus_if.h pci_if.h
8991554f2SKenneth D. Merry
9991554f2SKenneth D. Merry#CFLAGS += -DMPR_DEBUG
10991554f2SKenneth D. Merry
11991554f2SKenneth D. Merry.include <bsd.kmod.mk>
12991554f2SKenneth D. Merry
13991554f2SKenneth D. MerryCWARNFLAGS.mpr_sas.c=		${NO_WUNNEEDED_INTERNAL_DECL}
14991554f2SKenneth D. Merry# XXX Work around clang warning, until maintainer approves fix.
15991554f2SKenneth D. MerryCWARNFLAGS.mpr_mapping.c=	${NO_WSOMETIMES_UNINITIALIZED}
16