Makefile revision 209637
1114018Sharti# $FreeBSD: head/sys/modules/em/Makefile 209637 2010-07-01 21:03:30Z jfv $ 2114018Sharti.PATH: ${.CURDIR}/../../dev/e1000 3114018ShartiKMOD = if_em 4114018ShartiSRCS = device_if.h bus_if.h pci_if.h opt_inet.h 5114018ShartiSRCS += $(CORE_SRC) $(LEGACY_SRC) 6114018ShartiSRCS += $(COMMON_SHARED) $(LEGACY_SHARED) $(PCIE_SHARED) 7114018ShartiCORE_SRC = if_em.c e1000_osdep.c 8114018Sharti# This is the Legacy, pre-PCIE source, it can be 9114018Sharti# undefined when using modular driver if not needed 10114018ShartiLEGACY_SRC += if_lem.c 11114018ShartiCOMMON_SHARED = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c \ 12114018Sharti e1000_manage.c e1000_vf.c e1000_mbx.c 13114018ShartiPCIE_SHARED = e1000_80003es2lan.c e1000_ich8lan.c e1000_82571.c e1000_82575.c 14114018ShartiLEGACY_SHARED = e1000_82540.c e1000_82542.c e1000_82541.c e1000_82543.c 15114018Sharti 16114018ShartiCFLAGS += -I${.CURDIR}/../../dev/e1000 17114018Sharti 18114018Sharti# DEVICE_POLLING for a non-interrupt-driven method 19114018Sharti#CFLAGS += -DDEVICE_POLLING 20114018Sharti 21clean: 22 rm -f device_if.h bus_if.h pci_if.h setdef* 23 rm -f *.o *.kld *.ko 24 rm -f @ machine 25 rm -f ${CLEANFILES} 26 27.include <bsd.kmod.mk> 28