]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/modules/mps/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / modules / mps / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../dev/mps
4
5 KMOD=   mps
6 SRCS=   mps_pci.c mps.c mps_sas.c mps_table.c mps_user.c
7 SRCS+=  mps_config.c mps_mapping.c mps_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 += -DMPS_DEBUG
12
13 .include <bsd.kmod.mk>
14
15 CWARNFLAGS.mps_sas.c=           ${NO_WUNNEEDED_INTERNAL_DECL}
16 # XXX Work around clang warning, until maintainer approves fix.
17 CWARNFLAGS.mps_mapping.c=       ${NO_WSOMETIMES_UNINITIALIZED}
18 CWARNFLAGS+=                    ${CWARNFLAGS.${.IMPSRC:T}}