Makefile revision 292100
1270631Sjfv#$FreeBSD: stable/10/sys/modules/ixlv/Makefile 292100 2015-12-11 13:08:38Z smh $ 2270631Sjfv 3270631Sjfv.include <bsd.own.mk> 4270631Sjfv 5270631Sjfv.PATH: ${.CURDIR}/../../dev/ixl 6270631Sjfv 7270631SjfvKMOD = if_ixlv 8270631SjfvSRCS = device_if.h bus_if.h pci_if.h opt_bdg.h 9270631SjfvSRCS += opt_inet.h opt_inet6.h 10270631SjfvSRCS += if_ixlv.c ixlvc.c ixl_txrx.c i40e_osdep.c 11270631Sjfv 12270631Sjfv# Shared source 13292100SsmhSRCS += i40e_common.c i40e_nvm.c i40e_adminq.c 14270631Sjfv 15270631SjfvCFLAGS += -DSMP 16270631Sjfv 17270631Sjfv# Add Flow Director support 18270631Sjfv# CFLAGS += -DIXL_FDIR 19270631Sjfv# Debug messages / sysctls 20270631Sjfv# CFLAGS += -DIXL_DEBUG 21270631Sjfv 22270631Sjfv.if !defined(KERNBUILDDIR) 23270631Sjfv.if ${MK_INET_SUPPORT} != "no" 24270631Sjfvopt_inet.h: 25270631Sjfv @echo "#define INET 1" > ${.TARGET} 26270631Sjfv.endif 27270631Sjfv 28270631Sjfv.if ${MK_INET6_SUPPORT} != "no" 29270631Sjfvopt_inet6.h: 30270631Sjfv @echo "#define INET6 1" > ${.TARGET} 31270631Sjfv.endif 32270631Sjfv.endif 33270631Sjfv 34270631Sjfv.include <bsd.kmod.mk> 35