Makefile revision 292100
1278798Shselasky#$FreeBSD: stable/10/sys/modules/ixl/Makefile 292100 2015-12-11 13:08:38Z smh $ 2278798Shselasky 3278798Shselasky.include <bsd.own.mk> 4278798Shselasky 5278798Shselasky.PATH: ${.CURDIR}/../../dev/ixl 6278798Shselasky 7278798ShselaskyKMOD = if_ixl 8278798ShselaskySRCS = device_if.h bus_if.h pci_if.h opt_bdg.h 9278798ShselaskySRCS += opt_inet.h opt_inet6.h 10278798ShselaskySRCS += if_ixl.c ixl_txrx.c i40e_osdep.c 11278798Shselasky 12278798Shselasky# Shared source 13278798ShselaskySRCS += i40e_common.c i40e_nvm.c i40e_adminq.c i40e_lan_hmc.c i40e_hmc.c 14278798Shselasky 15278798ShselaskyCFLAGS += -DSMP -DIXL_DEBUG_SYSCTL 16278798Shselasky 17278798Shselasky# Add Flow Director support 18278798Shselasky# CFLAGS += -DIXL_FDIR 19278798Shselasky# Debug messages / sysctls 20278798Shselasky# CFLAGS += -DIXL_DEBUG 21278798Shselasky 22278798Shselasky.if !defined(KERNBUILDDIR) 23278798Shselasky.if ${MK_INET_SUPPORT} != "no" 24278798Shselaskyopt_inet.h: 25278798Shselasky @echo "#define INET 1" > ${.TARGET} 26278798Shselasky.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