xref: /freebsd/sys/modules/ixl/Makefile (revision 2b8331622f0b212cf3bb4fc4914a501e5321d506)
1#$FreeBSD$
2
3.PATH:  ${SRCTOP}/sys/dev/ixl
4
5KMOD    = if_ixl
6SRCS    = device_if.h bus_if.h pci_if.h ifdi_if.h
7SRCS    += opt_inet.h opt_inet6.h opt_rss.h opt_ixl.h opt_iflib.h
8SRCS    += ixl_pf_main.c ixl_pf_qmgr.c ixl_txrx.c ixl_pf_i2c.c i40e_osdep.c
9SRCS    += if_ixl.c ixl_pf_iflib.c
10SRCS.PCI_IOV += pci_iov_if.h ixl_pf_iov.c
11
12# Shared source
13SRCS    += i40e_common.c i40e_nvm.c i40e_adminq.c i40e_lan_hmc.c i40e_hmc.c i40e_dcb.c
14
15# Debug messages / sysctls
16# CFLAGS += -DIXL_DEBUG
17
18# Enable asserts and other debugging facilities
19# CFLAGS += -DINVARIANTS -DINVARIANTS_SUPPORT -DWITNESS
20
21# Enable iWARP client interface
22# CFLAGS += -DIXL_IW
23# SRCS	+= ixl_iw.c
24
25EXPORT_SYMS=	YES
26
27.include <bsd.kmod.mk>
28