mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-20 15:26:43 +01:00
5e59bc2138
to the usual naming convention.
29 lines
621 B
Makefile
29 lines
621 B
Makefile
#$FreeBSD$
|
|
|
|
.include <bsd.own.mk>
|
|
|
|
.PATH: ${.CURDIR}/../../dev/ixgbe
|
|
|
|
KMOD = if_ixgbe
|
|
SRCS = device_if.h bus_if.h pci_if.h
|
|
SRCS += opt_inet.h opt_inet6.h
|
|
SRCS += ixgbe.c ixv.c
|
|
# Shared source
|
|
SRCS += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c
|
|
SRCS += ixgbe_82599.c ixgbe_82598.c ixgbe_x540.c
|
|
CFLAGS+= -I${.CURDIR}/../../dev/ixgbe -DSMP -DIXGBE_FDIR
|
|
|
|
.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
|
|
|
|
.include <bsd.kmod.mk>
|