Makefile revision 260495
1# $FreeBSD: stable/10/sys/modules/mlxen/Makefile 260495 2014-01-09 22:40:51Z dim $ 2.PATH: ${.CURDIR}/../../ofed/drivers/net/mlx4 3 4.include <bsd.own.mk> 5 6KMOD = mlxen 7SRCS = device_if.h bus_if.h pci_if.h vnode_if.h 8SRCS += en_cq.c en_frag.c en_main.c en_netdev.c en_port.c en_resources.c 9SRCS += en_rx.c en_tx.c 10SRCS += opt_inet.h opt_inet6.h 11CFLAGS+= -I${.CURDIR}/../../ofed/drivers/net/mlx4 12CFLAGS+= -I${.CURDIR}/../../ofed/include/ 13 14.if !defined(KERNBUILDDIR) 15.if ${MK_INET_SUPPORT} != "no" 16opt_inet.h: 17 @echo "#define INET 1" > ${.TARGET} 18.endif 19 20.if ${MK_INET6_SUPPORT} != "no" 21opt_inet6.h: 22 @echo "#define INET6 1" > ${.TARGET} 23.endif 24.endif 25 26.include <bsd.kmod.mk> 27 28CFLAGS+= -Wno-cast-qual -Wno-pointer-arith ${GCC_MS_EXTENSIONS} 29