1# $FreeBSD: stable/10/sys/modules/sfxge/Makefile 311500 2017-01-06 07:38:12Z arybchik $ 2 3.include <bsd.own.mk> 4 5KMOD= sfxge 6 7SFXGE= ${.CURDIR}/../../dev/sfxge 8 9SRCS= device_if.h bus_if.h pci_if.h 10SRCS+= opt_inet.h opt_inet6.h opt_sched.h 11 12.PATH: ${.CURDIR}/../../dev/sfxge 13SRCS+= sfxge.c sfxge_dma.c sfxge_ev.c 14SRCS+= sfxge_intr.c sfxge_mcdi.c sfxge_nvram.c 15SRCS+= sfxge_port.c sfxge_rx.c sfxge_tx.c 16SRCS+= sfxge.h sfxge_rx.h sfxge_tx.h sfxge_version.h 17 18.PATH: ${.CURDIR}/../../dev/sfxge/common 19SRCS+= efx_bootcfg.c efx_crc32.c efx_ev.c efx_intr.c efx_lic.c efx_mac.c 20SRCS+= efx_mcdi.c efx_mon.c efx_nic.c 21SRCS+= efx_nvram.c efx_phy.c efx_port.c efx_rx.c efx_sram.c efx_tx.c 22SRCS+= efx_vpd.c efx_filter.c efx_hash.c 23SRCS+= efsys.h 24SRCS+= efx.h efx_check.h efx_impl.h efx_mcdi.h efx_regs.h efx_regs_ef10.h 25SRCS+= efx_regs_mcdi.h efx_regs_pci.h efx_types.h efx_phy_ids.h 26SRCS+= ef10_tlv_layout.h 27 28SRCS+= mcdi_mon.c mcdi_mon.h 29 30SRCS+= siena_mac.c siena_mcdi.c siena_nic.c siena_nvram.c siena_phy.c 31SRCS+= siena_sram.c siena_vpd.c 32SRCS+= siena_flash.h siena_impl.h 33 34SRCS+= ef10_ev.c ef10_filter.c ef10_intr.c ef10_mac.c ef10_mcdi.c ef10_nic.c 35SRCS+= ef10_nvram.c ef10_phy.c ef10_rx.c ef10_tx.c ef10_vpd.c 36SRCS+= ef10_impl.h 37 38SRCS+= hunt_nic.c 39SRCS+= hunt_impl.h 40 41SRCS+= medford_nic.c 42SRCS+= medford_impl.h 43 44# Extra debug checks 45#CFLAGS += -DDEBUG=1 46 47.if !defined(KERNBUILDDIR) 48.if ${MK_INET_SUPPORT} != "no" 49opt_inet.h: 50 @echo "#define INET 1" > ${.TARGET} 51.endif 52 53.if ${MK_INET6_SUPPORT} != "no" 54opt_inet6.h: 55 @echo "#define INET6 1" > ${.TARGET} 56.endif 57.endif 58 59.include <bsd.kmod.mk> 60