]> CyberLeo.Net >> Repos - FreeBSD/releng/8.1.git/blob - sys/modules/uart/Makefile
Copy stable/8 to releng/8.1 in preparation for 8.1-RC1.
[FreeBSD/releng/8.1.git] / sys / modules / uart / Makefile
1 # $FreeBSD$
2
3 .PATH: ${.CURDIR}/../../dev/uart
4
5 .if ${MACHINE_ARCH} == "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 ${MACHINE} == "sun4v"
18 SRCS+=  uart_cpu_sparc64.c
19 .else
20 SRCS+=  uart_cpu_${MACHINE}.c
21 .endif
22 SRCS+=  bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} pci_if.h \
23         power_if.h pccarddevs.h serdev_if.h
24
25 MFILES= dev/pccard/card_if.m dev/pccard/power_if.m dev/pci/pci_if.m \
26         dev/ofw/ofw_bus_if.m dev/uart/uart_if.m isa/isa_if.m kern/bus_if.m \
27         kern/device_if.m kern/serdev_if.m
28
29 .include <bsd.kmod.mk>