Makefile revision 177671
1114018Sharti# $FreeBSD: head/sys/modules/em/Makefile 177671 2008-03-27 20:38:03Z antoine $ 2114018Sharti.PATH: ${.CURDIR}/../../dev/em 3114018ShartiKMOD = if_em 4114018ShartiSRCS = device_if.h bus_if.h pci_if.h 5114018ShartiSRCS += if_em.c $(SHARED_SRCS) 6114018ShartiSHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c 7114018ShartiSHARED_SRCS += e1000_80003es2lan.c e1000_82542.c e1000_82541.c e1000_82543.c 8114018ShartiSHARED_SRCS += e1000_82540.c e1000_ich8lan.c e1000_82571.c 9114018Sharti 10114018ShartiCFLAGS+= -I${.CURDIR}/../../dev/em 11114018Sharti 12114018Sharti# DEVICE_POLLING gives you Legacy interrupt handling 13114018Sharti#CFLAGS += -DDEVICE_POLLING 14114018Sharti 15114018Sharticlean: 16114018Sharti rm -f device_if.h bus_if.h pci_if.h setdef* 17114018Sharti rm -f *.o *.kld *.ko 18114018Sharti rm -f @ machine 19114018Sharti rm -f ${CLEANFILES} 20114018Sharti 21.include <bsd.kmod.mk> 22