Makefile revision 251964
11590Srgrimes#$FreeBSD: head/sys/modules/ixgbe/Makefile 251964 2013-06-18 21:28:19Z jfv $ 21590Srgrimes 31590Srgrimes.include <bsd.own.mk> 41590Srgrimes 51590Srgrimes.PATH: ${.CURDIR}/../../dev/ixgbe 61590Srgrimes 71590SrgrimesKMOD = if_ixgbe 81590SrgrimesSRCS = device_if.h bus_if.h pci_if.h 91590SrgrimesSRCS += opt_inet.h opt_inet6.h 101590SrgrimesSRCS += ixgbe.c ixv.c 111590Srgrimes# Shared source 121590SrgrimesSRCS += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c 131590SrgrimesSRCS += ixgbe_dcb.c ixgbe_dcb_82598.c ixgbe_dcb_82599.c 141590SrgrimesSRCS += ixgbe_82599.c ixgbe_82598.c ixgbe_x540.c 151590SrgrimesCFLAGS+= -I${.CURDIR}/../../dev/ixgbe -DSMP -DIXGBE_FDIR 161590Srgrimes 171590Srgrimes.if !defined(KERNBUILDDIR) 181590Srgrimes.if ${MK_INET_SUPPORT} != "no" 191590Srgrimesopt_inet.h: 201590Srgrimes @echo "#define INET 1" > ${.TARGET} 211590Srgrimes.endif 221590Srgrimes 231590Srgrimes.if ${MK_INET6_SUPPORT} != "no" 241590Srgrimesopt_inet6.h: 251590Srgrimes @echo "#define INET6 1" > ${.TARGET} 261590Srgrimes.endif 271590Srgrimes.endif 281590Srgrimes 291590Srgrimes.include <bsd.kmod.mk> 30128231Sbde