1# $FreeBSD$ 2 3.PATH: ${.CURDIR}/../../dev/uart 4 5.if ${MACHINE_CPUARCH} == "sparc64" 6uart_bus_ebus= uart_bus_ebus.c 7ofw_bus_if= ofw_bus_if.h 8.endif 9 10KMOD= uart 11SRCS= uart_bus_acpi.c ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \ 12 uart_bus_pci.c uart_bus_puc.c uart_bus_scc.c \ 13 uart_core.c uart_dbg.c \ 14 uart_dev_ns8250.c uart_dev_quicc.c uart_dev_sab82532.c \ 15 uart_dev_z8530.c \ 16 uart_if.c uart_if.h uart_subr.c uart_tty.c 17.if exists(${.CURDIR}/../../dev/uart/uart_cpu_${MACHINE}.c) 18SRCS+= uart_cpu_${MACHINE}.c 19.endif 20SRCS+= bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} pci_if.h \ 21 power_if.h pccarddevs.h serdev_if.h 22 23MFILES= dev/pccard/card_if.m dev/pccard/power_if.m dev/pci/pci_if.m \ 24 dev/ofw/ofw_bus_if.m dev/uart/uart_if.m isa/isa_if.m kern/bus_if.m \ 25 kern/device_if.m kern/serdev_if.m 26 27.include <bsd.kmod.mk> 28