Makefile revision 181029
1169249Srwatson# $FreeBSD: head/sys/modules/em/Makefile 181029 2008-07-30 22:05:06Z jfv $ 2181029Sjfv.PATH: ${.CURDIR}/../../dev/e1000 3169240SjfvKMOD = if_em 4177671SantoineSRCS = device_if.h bus_if.h pci_if.h 5169240SjfvSRCS += if_em.c $(SHARED_SRCS) 6169240SjfvSHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c 7169240SjfvSHARED_SRCS += e1000_80003es2lan.c e1000_82542.c e1000_82541.c e1000_82543.c 8177867SjfvSHARED_SRCS += e1000_82540.c e1000_ich8lan.c e1000_82571.c e1000_osdep.c 9181029SjfvSHARED_SRCS += e1000_82575.c 1087189Spdeuskar 11181029SjfvCFLAGS+= -I${.CURDIR}/../../dev/e1000 12130258Sobrien 13181029Sjfv# DEVICE_POLLING gives you Legacy interrupt handling 14169240Sjfv#CFLAGS += -DDEVICE_POLLING 15130258Sobrien 16169240Sjfvclean: 17177671Santoine rm -f device_if.h bus_if.h pci_if.h setdef* 18169240Sjfv rm -f *.o *.kld *.ko 19169240Sjfv rm -f @ machine 20169240Sjfv rm -f ${CLEANFILES} 21169240Sjfv 2287189Spdeuskar.include <bsd.kmod.mk> 23