Makefile revision 176667
132352Seivind# $FreeBSD: head/sys/modules/em/Makefile 176667 2008-02-29 21:50:11Z jfv $ 27194Swollman.PATH: ${.CURDIR}/../../dev/em 37194SwollmanKMOD = if_em 47194SwollmanSRCS = device_if.h bus_if.h pci_if.h opt_bdg.h 532352SeivindSRCS += if_em.c $(SHARED_SRCS) 67194SwollmanSHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c 77194SwollmanSHARED_SRCS += e1000_80003es2lan.c e1000_82542.c e1000_82541.c e1000_82543.c 87194SwollmanSHARED_SRCS += e1000_82540.c e1000_ich8lan.c e1000_82571.c 97194Swollman 107194SwollmanCFLAGS+= -I${.CURDIR}/../../dev/em 117194Swollman 127194Swollman# DEVICE_POLLING gives you Legacy interrupt handling 137194Swollman#CFLAGS += -DDEVICE_POLLING 1432352Seivind 157194Swollmanclean: 167194Swollman rm -f opt_bdg.h device_if.h bus_if.h pci_if.h setdef* 177194Swollman rm -f *.o *.kld *.ko 187194Swollman rm -f @ machine 1932352Seivind rm -f ${CLEANFILES} 2032352Seivind 2132352Seivind.include <bsd.kmod.mk> 227194Swollman