Makefile revision 177671
1#$FreeBSD: head/sys/modules/igb/Makefile 177671 2008-03-27 20:38:03Z antoine $
2.PATH:  ${.CURDIR}/../../dev/igb
3KMOD    = if_igb
4SRCS    = device_if.h bus_if.h pci_if.h
5SRCS    += if_igb.c $(SHARED_SRCS)
6SHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c
7SHARED_SRCS += e1000_82575.c
8
9CFLAGS += -I${.CURDIR}/../../dev/igb
10
11# DEVICE_POLLING gives you non-interrupt handling
12# not advisable since MSIX gives better results
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
21man:
22	mv /usr/share/man/man4/igb.4.gz /usr/share/man/man4/igbSAVE.4.gz
23	cp igb.4 /usr/share/man/man4/
24
25.include <bsd.kmod.mk>
26