Makefile revision 269198
1#$FreeBSD: head/sys/modules/i40e/Makefile 269198 2014-07-28 21:57:09Z 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
15
16# Add Flow Director support
17# CFLAGS += -DI40E_FDIR
18# Debug messages / sysctls
19# CFLAGS += -DI40E_DEBUG
20
21.if !defined(KERNBUILDDIR)
22.if ${MK_INET_SUPPORT} != "no"
23opt_inet.h:
24	@echo "#define INET 1" > ${.TARGET}
25.endif
26
27.if ${MK_INET6_SUPPORT} != "no"
28opt_inet6.h:
29	@echo "#define INET6 1" > ${.TARGET}
30.endif
31.endif
32
33.include <bsd.kmod.mk>
34