1#$FreeBSD: releng/10.3/sys/modules/ixlv/Makefile 292100 2015-12-11 13:08:38Z smh $ 2 3.include <bsd.own.mk> 4 5.PATH: ${.CURDIR}/../../dev/ixl 6 7KMOD = if_ixlv 8SRCS = device_if.h bus_if.h pci_if.h opt_bdg.h 9SRCS += opt_inet.h opt_inet6.h 10SRCS += if_ixlv.c ixlvc.c ixl_txrx.c i40e_osdep.c 11 12# Shared source 13SRCS += i40e_common.c i40e_nvm.c i40e_adminq.c 14 15CFLAGS += -DSMP 16 17# Add Flow Director support 18# CFLAGS += -DIXL_FDIR 19# Debug messages / sysctls 20# CFLAGS += -DIXL_DEBUG 21 22.if !defined(KERNBUILDDIR) 23.if ${MK_INET_SUPPORT} != "no" 24opt_inet.h: 25 @echo "#define INET 1" > ${.TARGET} 26.endif 27 28.if ${MK_INET6_SUPPORT} != "no" 29opt_inet6.h: 30 @echo "#define INET6 1" > ${.TARGET} 31.endif 32.endif 33 34.include <bsd.kmod.mk> 35