]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sys/modules/igb/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / sys / modules / igb / Makefile
1 #$FreeBSD$
2 .PATH:  ${.CURDIR}/../../dev/e1000
3 KMOD    = if_igb
4 SRCS    = device_if.h bus_if.h pci_if.h opt_inet.h
5 SRCS    += if_igb.c $(SHARED_SRCS)
6 SHARED_SRCS = e1000_api.c e1000_phy.c e1000_nvm.c e1000_mac.c e1000_manage.c
7 SHARED_SRCS += e1000_80003es2lan.c e1000_82542.c e1000_82541.c e1000_82543.c
8 SHARED_SRCS += e1000_82540.c e1000_ich8lan.c e1000_82571.c e1000_osdep.c
9 SHARED_SRCS += e1000_82575.c
10
11 CFLAGS += -I${.CURDIR}/../../dev/e1000 -DSMP
12
13 # DEVICE_POLLING gives you non-interrupt handling
14 # not advisable since MSIX gives better results
15 #CFLAGS  += -DDEVICE_POLLING
16
17 clean:
18         rm -f device_if.h bus_if.h pci_if.h setdef*
19         rm -f *.o *.kld *.ko
20         rm -f @ machine
21         rm -f ${CLEANFILES}
22
23 man:
24         mv /usr/share/man/man4/igb.4.gz /usr/share/man/man4/igbSAVE.4.gz
25         cp igb.4 /usr/share/man/man4/
26
27 .include <bsd.kmod.mk>