2007-09-04 02:31:35 +00:00
|
|
|
#$FreeBSD$
|
2012-05-30 13:55:43 +00:00
|
|
|
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
|
2007-09-04 02:31:35 +00:00
|
|
|
.PATH: ${.CURDIR}/../../dev/ixgbe
|
2012-05-30 13:55:43 +00:00
|
|
|
|
2007-09-04 02:31:35 +00:00
|
|
|
KMOD = ixgbe
|
2008-03-27 20:38:03 +00:00
|
|
|
SRCS = device_if.h bus_if.h pci_if.h
|
2012-05-25 03:02:56 +00:00
|
|
|
SRCS += opt_inet.h opt_inet6.h
|
2010-11-26 22:46:32 +00:00
|
|
|
SRCS += ixgbe.c ixv.c
|
2007-09-04 02:31:35 +00:00
|
|
|
# Shared source
|
2010-11-26 22:46:32 +00:00
|
|
|
SRCS += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c
|
2012-01-30 16:42:02 +00:00
|
|
|
SRCS += ixgbe_82599.c ixgbe_82598.c ixgbe_x540.c
|
2010-03-27 00:21:40 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../dev/ixgbe -DSMP -DIXGBE_FDIR
|
2007-09-04 02:31:35 +00:00
|
|
|
|
2012-05-25 03:02:56 +00:00
|
|
|
.if !defined(KERNBUILDDIR)
|
|
|
|
.if ${MK_INET_SUPPORT} != "no"
|
|
|
|
opt_inet.h:
|
|
|
|
@echo "#define INET 1" > ${.TARGET}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${MK_INET6_SUPPORT} != "no"
|
|
|
|
opt_inet6.h:
|
|
|
|
@echo "#define INET6 1" > ${.TARGET}
|
|
|
|
.endif
|
|
|
|
.endif
|
|
|
|
|
2007-09-04 02:31:35 +00:00
|
|
|
.include <bsd.kmod.mk>
|