]> CyberLeo.Net >> Repos - FreeBSD/releng/10.2.git/blob - sys/modules/sfxge/Makefile
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1
[FreeBSD/releng/10.2.git] / sys / modules / sfxge / Makefile
1 # $FreeBSD$
2
3 .include <bsd.own.mk>
4
5 KMOD=   sfxge
6
7 SFXGE= ${.CURDIR}/../../dev/sfxge
8
9 SRCS=   device_if.h bus_if.h pci_if.h
10 SRCS+=  opt_inet.h opt_inet6.h opt_sched.h
11
12 .PATH: ${.CURDIR}/../../dev/sfxge
13 SRCS+=  sfxge.c sfxge_dma.c sfxge_ev.c
14 SRCS+=  sfxge_intr.c sfxge_mcdi.c sfxge_nvram.c
15 SRCS+=  sfxge_port.c sfxge_rx.c sfxge_tx.c
16 SRCS+=  sfxge.h sfxge_rx.h sfxge_tx.h sfxge_version.h
17
18 .PATH: ${.CURDIR}/../../dev/sfxge/common
19 SRCS+=  efx_bootcfg.c efx_crc32.c efx_ev.c efx_intr.c efx_mac.c
20 SRCS+=  efx_mcdi.c efx_mon.c efx_nic.c
21 SRCS+=  efx_nvram.c efx_phy.c efx_port.c efx_rx.c efx_sram.c efx_tx.c
22 SRCS+=  efx_vpd.c efx_wol.c efx_filter.c efx_hash.c
23 SRCS+=  efsys.h
24 SRCS+=  efx.h efx_check.h efx_impl.h efx_mcdi.h efx_regs.h efx_regs_ef10.h
25 SRCS+=  efx_regs_mcdi.h efx_regs_pci.h efx_types.h efx_phy_ids.h
26 SRCS+=  ef10_tlv_layout.h
27
28 SRCS+=  mcdi_mon.c mcdi_mon.h
29
30 SRCS+=  siena_mac.c siena_mcdi.c siena_nic.c siena_nvram.c siena_phy.c
31 SRCS+=  siena_sram.c siena_vpd.c
32 SRCS+=  siena_flash.h siena_impl.h
33
34 SRCS+=  hunt_ev.c hunt_intr.c hunt_mac.c hunt_mcdi.c hunt_nic.c
35 SRCS+=  hunt_nvram.c hunt_rx.c hunt_phy.c hunt_sram.c hunt_tx.c hunt_vpd.c
36 SRCS+=  hunt_filter.c
37 SRCS+=  hunt_impl.h
38
39 # Extra debug checks
40 #CFLAGS += -DDEBUG=1
41
42 .if !defined(KERNBUILDDIR)
43 .if ${MK_INET_SUPPORT} != "no"
44 opt_inet.h:
45         @echo "#define INET 1" > ${.TARGET}
46 .endif
47
48 .if ${MK_INET6_SUPPORT} != "no"
49 opt_inet6.h:
50         @echo "#define INET6 1" > ${.TARGET}
51 .endif
52 .endif
53
54 .include <bsd.kmod.mk>