Makefile revision 169240
1245803Stheraven$FreeBSD: head/sys/modules/em/Makefile 169240 2007-05-04 00:00:12Z jfv $ 2245803Stheraven.PATH: ${.CURDIR}/../../dev/em 3245803StheravenKMOD = if_em 4245803StheravenSRCS = device_if.h bus_if.h pci_if.h opt_bdg.h 5245803StheravenSRCS += if_em.c $(SHARED_SRCS) 6245803StheravenSHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c 7245803StheravenSHARED_SRCS += e1000_80003es2lan.c e1000_82542.c e1000_82541.c e1000_82543.c 8245803StheravenSHARED_SRCS += e1000_82540.c e1000_ich8lan.c e1000_82571.c 9245803Stheraven 10245803Stheraven# NOTE: this absolute path is somewhat of a hack, but necessary for 11245803Stheraven# the new shared code 12245803StheravenCFLAGS += -I/usr/src/sys/dev/em 13245803Stheraven 14245803Stheraven# DEVICE_POLLING gives you Legacy interrupt handling 15245803Stheraven#CFLAGS += -DDEVICE_POLLING 16245803Stheraven 17245803Stheravenclean: 18245803Stheraven rm -f opt_bdg.h device_if.h bus_if.h pci_if.h setdef* 19245803Stheraven rm -f *.o *.kld *.ko 20245803Stheraven rm -f @ machine 21245803Stheraven rm -f ${CLEANFILES} 22245803Stheraven 23245803Stheraven.include <bsd.kmod.mk> 24245803Stheraven