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