Makefile revision 234183
1219820Sjeff# $FreeBSD: head/sys/modules/mlx4/Makefile 234183 2012-04-12 14:01:06Z jhb $ 2219820Sjeff.PATH: ${.CURDIR}/../../ofed/drivers/net/mlx4 3234183Sjhb 4234183Sjhb.include <bsd.own.mk> 5234183Sjhb 6219820SjeffKMOD = mlx4 7219820SjeffSRCS = device_if.h bus_if.h pci_if.h vnode_if.h 8219820SjeffSRCS+= alloc.c catas.c cmd.c cq.c eq.c fw.c icm.c intf.c main.c mcg.c mr.c 9219820SjeffSRCS+= pd.c port.c profile.c qp.c reset.c sense.c srq.c xrcd.c 10234183SjhbSRCS+= opt_inet.h opt_inet6.h 11219820Sjeff 12219820SjeffCFLAGS+= -I${.CURDIR}/../../ofed/drivers/net/mlx4 13219820SjeffCFLAGS+= -I${.CURDIR}/../../ofed/include/ 14219820Sjeff 15234183Sjhb.if !defined(KERNBUILDDIR) 16234183Sjhb.if ${MK_INET_SUPPORT} != "no" 17234183Sjhbopt_inet.h: 18234183Sjhb @echo "#define INET 1" > ${.TARGET} 19234183Sjhb.endif 20234183Sjhb 21234183Sjhb.if ${MK_INET6_SUPPORT} != "no" 22234183Sjhbopt_inet6.h: 23234183Sjhb @echo "#define INET6 1" > ${.TARGET} 24234183Sjhb.endif 25234183Sjhb.endif 26234183Sjhb 27219820Sjeff.include <bsd.kmod.mk> 28219820Sjeff 29219820SjeffCFLAGS+= -Wno-cast-qual -Wno-pointer-arith -fms-extensions 30