xref: /freebsd/sys/modules/iscsi/Makefile (revision 3b8f08459569bf0faa21473e5cec2491e95c9349)
1# $FreeBSD$
2
3.PATH:	${.CURDIR}/../../dev/iscsi/
4KMOD=	iscsi
5
6SRCS=	iscsi.c
7.if defined(ICL_RDMA)
8SRCS+=	icl_rdma.c
9.else
10SRCS+=	icl.c
11.endif
12SRCS+=	icl_proxy.c
13SRCS+=	opt_cam.h
14SRCS+=	bus_if.h
15SRCS+=	device_if.h
16
17# Those below are required for RDMA.
18SRCS+=	vnode_if.h
19SRCS+=	opt_inet.h
20SRCS+=	opt_inet6.h
21
22CFLAGS+= -I${.CURDIR}/../../ofed/include
23#CFLAGS+=-DICL_KERNEL_PROXY
24
25.include <bsd.kmod.mk>
26