freebsd-dev/sys/modules/le/Makefile
Marius Strobl 07f35f4b9a Don't build unused SBus front-ends for sun4v, don't build EBus front-ends
which are also likely to be irrelevant for sun4v (there's no SBus on sun4v
and only some EBus devices). While at it fix some style bugs according to
style.Makefile(5) where appropriate.

MFC after:	3 days
2008-05-04 14:59:25 +00:00

27 lines
565 B
Makefile

# $FreeBSD$
.PATH: ${.CURDIR}/../../dev/le
KMOD= if_le
SRCS= am7990.c am79900.c ${if_le_cbus} ${if_le_isa} ${if_le_lebuffer}
SRCS+= ${if_le_ledma} if_le_pci.c lance.c ${lebuffer_sbus}
SRCS+= bus_if.h device_if.h ${isa_if} ${ofw_bus_if} pci_if.h
.if ${MACHINE_ARCH} == "i386"
.if ${MACHINE} == "pc98"
if_le_cbus= if_le_cbus.c
.else
if_le_isa= if_le_isa.c
.endif
isa_if= isa_if.h
.endif
.if ${MACHINE} == "sparc64"
if_le_lebuffer= if_le_lebuffer.c
if_le_ledma= if_le_ledma.c
lebuffer_sbus= lebuffer_sbus.c
ofw_bus_if= ofw_bus_if.h
.endif
.include <bsd.kmod.mk>