]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/modules/mpr/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / modules / mpr / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../dev/mpr
4
5 KMOD=   mpr
6 SRCS=   mpr_pci.c mpr.c mpr_sas.c mpr_table.c mpr_user.c
7 SRCS+=  mpr_config.c mpr_mapping.c mpr_sas_lsi.c
8 SRCS+=  opt_cam.h opt_compat.h
9 SRCS+=  device_if.h bus_if.h pci_if.h
10
11 #CFLAGS += -DMPR_DEBUG
12
13 .include <bsd.kmod.mk>
14
15 CWARNFLAGS.mpr_sas.c=           ${NO_WUNNEEDED_INTERNAL_DECL}
16 # XXX Work around clang warning, until maintainer approves fix.
17 CWARNFLAGS.mpr_mapping.c=       ${NO_WSOMETIMES_UNINITIALIZED}
18 CWARNFLAGS+=                    ${CWARNFLAGS.${.IMPSRC:T}}