]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - sys/modules/uart/Makefile
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.2.git] / sys / modules / uart / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../dev/uart
4
5 .if ${MACHINE_CPUARCH} == "sparc64"
6 uart_bus_ebus=  uart_bus_ebus.c
7 ofw_bus_if=     ofw_bus_if.h
8 .endif
9
10 KMOD=   uart
11 SRCS=   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)
18 SRCS+=  uart_cpu_${MACHINE}.c
19 .endif
20 SRCS+=  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
23 MFILES= 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>