Makefile revision 255932
1219820Sjeff# $FreeBSD: head/sys/modules/mlx4/Makefile 255932 2013-09-29 00:35:03Z alfred $ 2219820Sjeff.PATH: ${.CURDIR}/../../ofed/drivers/net/mlx4 3234183Sjhb 4234183Sjhb.include <bsd.own.mk> 5234183Sjhb 6255932Salfred.PATH: ${.CURDIR}/../../ofed/include/linux 7219820SjeffKMOD = mlx4 8219820SjeffSRCS = device_if.h bus_if.h pci_if.h vnode_if.h 9255932SalfredSRCS+= alloc.c catas.c cmd.c cq.c eq.c fw.c icm.c intf.c main.c mcg.c mr.c linux_compat.c linux_radix.c linux_idr.c 10255932SalfredSRCS+= pd.c port.c profile.c qp.c reset.c sense.c srq.c resource_tracker.c sys_tune.c 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