Makefile revision 266423
1#$FreeBSD: head/sys/modules/i40e/Makefile 266423 2014-05-19 01:21:02Z jfv $ 2 3.include <src.opts.mk> 4 5.PATH: ${.CURDIR}/../../dev/i40e 6 7KMOD = if_i40e 8SRCS = device_if.h bus_if.h pci_if.h opt_bdg.h 9SRCS += if_i40e.c i40e_txrx.c i40e_osdep.c 10 11# Shared source 12SRCS += i40e_common.c i40e_nvm.c i40e_adminq.c i40e_lan_hmc.c i40e_hmc.c 13 14CFLAGS += -DSMP -DFORTVILLE_HW 15 16# Add Flow Director support 17# CFLAGS += -DI40E_FDIR 18# A0 hardware support 19# CFLAGS += -DFORTVILLE_A0_SUPPORT 20# Debug messages / sysctls 21# CFLAGS += -DI40E_DEBUG 22 23.if !defined(KERNBUILDDIR) 24.if ${MK_INET_SUPPORT} != "no" 25opt_inet.h: 26 @echo "#define INET 1" > ${.TARGET} 27.endif 28 29.if ${MK_INET6_SUPPORT} != "no" 30opt_inet6.h: 31 @echo "#define INET6 1" > ${.TARGET} 32.endif 33.endif 34 35.include <bsd.kmod.mk> 36