1# $FreeBSD$ 2.PATH: ${.CURDIR}/../../dev/em 3KMOD = if_em 4SRCS = device_if.h bus_if.h pci_if.h 5SRCS += if_em.c $(SHARED_SRCS) 6SHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c 7SHARED_SRCS += e1000_80003es2lan.c e1000_82542.c e1000_82541.c e1000_82543.c 8SHARED_SRCS += e1000_82540.c e1000_ich8lan.c e1000_82571.c e1000_osdep.c 9 10CFLAGS+= -DNO_82575_SUPPORT -I${.CURDIR}/../../dev/em 11 12# Uncomment this to disable Fast interrupt handling. 13# and enable legacy interrupt handling 14#CFLAGS += -DEM_LEGACY_IRQ 15 16# This option enables IEEE 1588 Precision Time Protocol 17#CFLAGS += -DEM_TIMESYNC 18 19# DEVICE_POLLING for a non-interrupt-driven method 20#CFLAGS += -DDEVICE_POLLING 21 22clean: 23 rm -f device_if.h bus_if.h pci_if.h setdef* 24 rm -f *.o *.kld *.ko 25 rm -f @ machine 26 rm -f ${CLEANFILES} 27 28.include <bsd.kmod.mk> 29