Makefile revision 169249
1169249Srwatson# $FreeBSD: head/sys/modules/em/Makefile 169249 2007-05-04 13:34:33Z rwatson $ 2169240Sjfv.PATH: ${.CURDIR}/../../dev/em 3169240SjfvKMOD = if_em 4169240SjfvSRCS = device_if.h bus_if.h pci_if.h opt_bdg.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 8169240SjfvSHARED_SRCS += e1000_82540.c e1000_ich8lan.c e1000_82571.c 987189Spdeuskar 10169243SjfvCFLAGS+= -I${.CURDIR}/../../dev/em 11130258Sobrien 12169240Sjfv# DEVICE_POLLING gives you Legacy interrupt handling 13169240Sjfv#CFLAGS += -DDEVICE_POLLING 14130258Sobrien 15169240Sjfvclean: 16169240Sjfv rm -f opt_bdg.h device_if.h bus_if.h pci_if.h setdef* 17169240Sjfv rm -f *.o *.kld *.ko 18169240Sjfv rm -f @ machine 19169240Sjfv rm -f ${CLEANFILES} 20169240Sjfv 2187189Spdeuskar.include <bsd.kmod.mk> 22