Makefile revision 169240
1$FreeBSD: head/sys/modules/em/Makefile 169240 2007-05-04 00:00:12Z jfv $ 2.PATH: ${.CURDIR}/../../dev/em 3KMOD = if_em 4SRCS = device_if.h bus_if.h pci_if.h opt_bdg.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 9 10# NOTE: this absolute path is somewhat of a hack, but necessary for 11# the new shared code 12CFLAGS += -I/usr/src/sys/dev/em 13 14# DEVICE_POLLING gives you Legacy interrupt handling 15#CFLAGS += -DDEVICE_POLLING 16 17clean: 18 rm -f opt_bdg.h device_if.h bus_if.h pci_if.h setdef* 19 rm -f *.o *.kld *.ko 20 rm -f @ machine 21 rm -f ${CLEANFILES} 22 23.include <bsd.kmod.mk> 24