]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/blob - sys/modules/cxgb/iw_cxgb/Makefile
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
[FreeBSD/stable/10.git] / sys / modules / cxgb / iw_cxgb / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 CXGB = ${.CURDIR}/../../../dev/cxgb
6 .PATH: ${CXGB}/ulp/iw_cxgb
7
8 KMOD=   iw_cxgb
9 SRCS=   iw_cxgb.c iw_cxgb_cm.c iw_cxgb_hal.c 
10 SRCS+=  iw_cxgb_provider.c iw_cxgb_qp.c iw_cxgb_resource.c
11 SRCS+=  iw_cxgb_ev.c iw_cxgb_mem.c iw_cxgb_dbg.c iw_cxgb_cq.c
12 SRCS+=  bus_if.h device_if.h opt_sched.h pci_if.h pcib_if.h opt_ktr.h
13 SRCS+=  opt_inet.h opt_ofed.h vnode_if.h
14 CFLAGS+= -I${CXGB} -I${.CURDIR}/../../../ofed/include -DLINUX_TYPES_DEFINED
15
16 .if !defined(KERNBUILDDIR)
17 .if ${MK_INET_SUPPORT} != "no"
18 opt_inet.h:
19         echo "#define INET 1" > ${.TARGET}
20         echo "#define TCP_OFFLOAD 1" >> ${.TARGET}
21 .endif
22 .endif
23
24 .include <bsd.kmod.mk>