Makefile revision 177671
1# $FreeBSD: head/sys/modules/em/Makefile 177671 2008-03-27 20:38:03Z antoine $
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 
9
10CFLAGS+= -I${.CURDIR}/../../dev/em
11
12# DEVICE_POLLING gives you Legacy interrupt handling
13#CFLAGS  += -DDEVICE_POLLING
14
15clean:
16	rm -f device_if.h bus_if.h pci_if.h setdef*
17	rm -f *.o *.kld *.ko
18	rm -f @ machine
19	rm -f ${CLEANFILES}
20
21.include <bsd.kmod.mk>
22