]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - sys/modules/ixgbe/Makefile
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / sys / modules / ixgbe / Makefile
1 #$FreeBSD$
2
3 .include <bsd.own.mk>
4
5 .PATH:  ${.CURDIR}/../../dev/ixgbe
6
7 KMOD    = if_ixgbe
8 SRCS    = device_if.h bus_if.h pci_if.h
9 SRCS    += opt_inet.h opt_inet6.h
10 SRCS    += ixgbe.c ixv.c
11 # Shared source
12 SRCS    += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c
13 SRCS    += ixgbe_dcb.c ixgbe_dcb_82598.c ixgbe_dcb_82599.c
14 SRCS    += ixgbe_82599.c ixgbe_82598.c ixgbe_x540.c
15 CFLAGS+= -I${.CURDIR}/../../dev/ixgbe -DSMP -DIXGBE_FDIR
16
17 .if !defined(KERNBUILDDIR)
18 .if ${MK_INET_SUPPORT} != "no"
19 opt_inet.h:
20         @echo "#define INET 1" > ${.TARGET}
21 .endif
22
23 .if ${MK_INET6_SUPPORT} != "no"
24 opt_inet6.h:
25         @echo "#define INET6 1" > ${.TARGET}
26 .endif
27 .endif
28
29 .include <bsd.kmod.mk>