Merge branch 'vendor/FILE'
[dragonfly.git] / sys / dev / netif / ixgbe / Makefile
1 #$FreeBSD: src/sys/modules/ixgbe/Makefile,v 1.12 2012/05/30 13:55:43 uqs Exp $
2
3 .include <bsd.own.mk>
4
5 KMOD    = if_ixgbe
6 SRCS    = device_if.h bus_if.h pci_if.h
7 SRCS    += opt_inet.h opt_inet6.h
8 SRCS    += ixgbe.c #ixv.c
9 # Shared source
10 SRCS    += ixgbe_common.c ixgbe_api.c ixgbe_phy.c ixgbe_mbx.c ixgbe_vf.c
11 SRCS    += ixgbe_82599.c ixgbe_82598.c ixgbe_x540.c
12 CFLAGS+= -DSMP #-DIXGBE_FDIR
13
14 .if !defined(BUILDING_WITH_KERNEL)
15 opt_inet.h:
16         @echo "#define INET 1" > ${.TARGET}
17
18 opt_inet6.h:
19         @echo "#define INET6 1" > ${.TARGET}
20 .endif
21
22 .include <bsd.kmod.mk>