Makefile revision 280615
1# $FreeBSD: stable/10/sys/modules/sfxge/Makefile 280615 2015-03-25 14:10:20Z 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 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_ev.c efx_intr.c efx_mac.c efx_mcdi.c efx_nic.c 20SRCS+= efx_nvram.c efx_phy.c efx_port.c efx_rx.c efx_sram.c efx_tx.c 21SRCS+= efx_vpd.c efx_wol.c 22SRCS+= efsys.h 23SRCS+= efx.h efx_impl.h efx_mcdi.h efx_regs.h efx_regs_ef10.h 24SRCS+= efx_regs_mcdi.h efx_regs_pci.h efx_types.h 25 26SRCS+= siena_mac.c siena_nic.c siena_nvram.c siena_phy.c 27SRCS+= siena_sram.c siena_vpd.c 28SRCS+= siena_flash.h siena_impl.h 29 30DEBUG_FLAGS= -DDEBUG=1 31 32.if !defined(KERNBUILDDIR) 33.if ${MK_INET_SUPPORT} != "no" 34opt_inet.h: 35 @echo "#define INET 1" > ${.TARGET} 36.endif 37 38.if ${MK_INET6_SUPPORT} != "no" 39opt_inet6.h: 40 @echo "#define INET6 1" > ${.TARGET} 41.endif 42.endif 43 44.include <bsd.kmod.mk> 45