Makefile revision 176667
1#$FreeBSD: head/sys/modules/igb/Makefile 176667 2008-02-29 21:50:11Z jfv $
2.PATH:  ${.CURDIR}/../../dev/igb
3KMOD    = if_igb
4SRCS    = device_if.h bus_if.h pci_if.h opt_bdg.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 opt_bdg.h 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