Makefile revision 194865
1176667Sjfv#$FreeBSD: head/sys/modules/igb/Makefile 194865 2009-06-24 17:41:29Z jfv $ 2181030Sjfv.PATH: ${.CURDIR}/../../dev/e1000 3176667SjfvKMOD = if_igb 4177671SantoineSRCS = device_if.h bus_if.h pci_if.h opt_inet.h 5176667SjfvSRCS += if_igb.c $(SHARED_SRCS) 6176667SjfvSHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c 7181030SjfvSHARED_SRCS += e1000_80003es2lan.c e1000_82542.c e1000_82541.c e1000_82543.c 8181030SjfvSHARED_SRCS += e1000_82540.c e1000_ich8lan.c e1000_82571.c e1000_osdep.c 9181030SjfvSHARED_SRCS += e1000_82575.c 10176667Sjfv 11181030SjfvCFLAGS += -I${.CURDIR}/../../dev/e1000 -DSMP 12176667Sjfv 13176667Sjfv# DEVICE_POLLING gives you non-interrupt handling 14176667Sjfv# not advisable since MSIX gives better results 15176667Sjfv#CFLAGS += -DDEVICE_POLLING 16176667Sjfv 17176667Sjfvclean: 18177671Santoine rm -f device_if.h bus_if.h pci_if.h setdef* 19176667Sjfv rm -f *.o *.kld *.ko 20176667Sjfv rm -f @ machine 21176667Sjfv rm -f ${CLEANFILES} 22176667Sjfv 23176667Sjfvman: 24176667Sjfv mv /usr/share/man/man4/igb.4.gz /usr/share/man/man4/igbSAVE.4.gz 25176667Sjfv cp igb.4 /usr/share/man/man4/ 26176667Sjfv 27176667Sjfv.include <bsd.kmod.mk> 28