Makefile revision 209616
1#$FreeBSD: head/sys/modules/igb/Makefile 209616 2010-06-30 21:05:51Z jfv $ 2.PATH: ${.CURDIR}/../../dev/e1000 3KMOD = if_igb 4SRCS = device_if.h bus_if.h pci_if.h opt_inet.h 5SRCS += if_igb.c $(SHARED_SRCS) 6SHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c 7SHARED_SRCS += e1000_80003es2lan.c e1000_82542.c e1000_82541.c e1000_82543.c 8SHARED_SRCS += e1000_82540.c e1000_ich8lan.c e1000_82571.c e1000_osdep.c 9SHARED_SRCS += e1000_82575.c e1000_vf.c e1000_mbx.c 10 11CFLAGS += -I${.CURDIR}/../../dev/e1000 -DSMP 12 13# DEVICE_POLLING gives you non-interrupt handling 14# not advisable since MSIX gives better results 15#CFLAGS += -DDEVICE_POLLING 16 17clean: 18 rm -f device_if.h bus_if.h pci_if.h setdef* 19 rm -f *.o *.kld *.ko 20 rm -f @ machine 21 rm -f ${CLEANFILES} 22 23man: 24 mv /usr/share/man/man4/igb.4.gz /usr/share/man/man4/igbSAVE.4.gz 25 cp igb.4 /usr/share/man/man4/ 26 27.include <bsd.kmod.mk> 28