Makefile revision 235964
1#$FreeBSD: head/sys/modules/ixgbe/Makefile 235964 2012-05-25 03:02:56Z bz $
2.PATH:  ${.CURDIR}/../../dev/ixgbe
3KMOD    = ixgbe
4SRCS    = device_if.h bus_if.h pci_if.h
5SRCS	+= opt_inet.h opt_inet6.h
6SRCS    += ixgbe.c ixv.c
7# Shared source
8SRCS    += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c
9SRCS    += ixgbe_82599.c ixgbe_82598.c ixgbe_x540.c
10CFLAGS+= -I${.CURDIR}/../../dev/ixgbe -DSMP -DIXGBE_FDIR
11
12.if !defined(KERNBUILDDIR)
13.if ${MK_INET_SUPPORT} != "no"
14opt_inet.h:
15	@echo "#define INET 1" > ${.TARGET}
16.endif
17
18.if ${MK_INET6_SUPPORT} != "no"
19opt_inet6.h:
20	@echo "#define INET6 1" > ${.TARGET}
21.endif
22.endif
23
24.include <bsd.kmod.mk>
25