Makefile revision 169240
1169240Sjfv$FreeBSD: head/sys/modules/em/Makefile 169240 2007-05-04 00:00:12Z jfv $ 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 10169240Sjfv# NOTE: this absolute path is somewhat of a hack, but necessary for 11169240Sjfv# the new shared code 12169240SjfvCFLAGS += -I/usr/src/sys/dev/em 13130258Sobrien 14169240Sjfv# DEVICE_POLLING gives you Legacy interrupt handling 15169240Sjfv#CFLAGS += -DDEVICE_POLLING 16130258Sobrien 17169240Sjfvclean: 18169240Sjfv rm -f opt_bdg.h device_if.h bus_if.h pci_if.h setdef* 19169240Sjfv rm -f *.o *.kld *.ko 20169240Sjfv rm -f @ machine 21169240Sjfv rm -f ${CLEANFILES} 22169240Sjfv 2387189Spdeuskar.include <bsd.kmod.mk> 24