e1000 - Make igb driver compile on DragonFly
[dragonfly.git] / sys / dev / netif / e1000 / igb / Makefile
blobecab78565fee04a21843cd37781e28ab6025028f
1 .PATH: ${.CURDIR}/../../../../dev/netif/e1000
3 KMOD= if_igb
4 SRCS= if_igb.c
5 SRCS+= e1000_80003es2lan.c e1000_82540.c e1000_82541.c e1000_82542.c e1000_82543.c
6 SRCS+= e1000_82571.c e1000_82575.c e1000_api.c e1000_ich8lan.c e1000_mac.c
7 SRCS+= e1000_manage.c e1000_nvm.c e1000_osdep.c e1000_phy.c
8 SRCS+= device_if.h bus_if.h pci_if.h
9 SRCS+= opt_polling.h opt_ktr.h
11 .ifndef BUILDING_WITH_KERNEL
12 opt_polling.h:
13 echo '#define DEVICE_POLLING 1' > ${.OBJDIR}/${.TARGET}
14 .endif
16 .include <bsd.kmod.mk>