]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/modules/uart/Makefile
Update libc++ to 3.7.0 release.
[FreeBSD/FreeBSD.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 .endif
8
9 .if ${MACHINE_CPUARCH} == "arm"
10 uart_dev_lpc=   uart_dev_lpc.c
11 .endif
12
13 .if ${MACHINE_CPUARCH} == "arm" || ${MACHINE_CPUARCH} == "sparc64" || \
14     ${MACHINE_CPUARCH} == "powerpc"
15 ofw_bus_if=     ofw_bus_if.h
16 .endif
17
18 .if ${MACHINE} == "i386" || ${MACHINE} == "amd64"
19 _uart_cpu=uart_cpu_x86.c
20 .else
21 _uart_cpu=uart_cpu_${MACHINE}.c
22 .endif
23 .if exists(${.CURDIR:H:H}/dev/uart/${_uart_cpu})
24 uart_cpu_machine= ${_uart_cpu}
25 .endif
26
27 KMOD=   uart
28 SRCS=   uart_bus_acpi.c ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \
29         uart_bus_pci.c uart_bus_puc.c uart_bus_scc.c \
30         uart_core.c ${uart_cpu_machine} uart_dbg.c \
31         ${uart_dev_lpc} uart_dev_ns8250.c uart_dev_quicc.c uart_dev_sab82532.c \
32         uart_dev_z8530.c \
33         uart_if.c uart_if.h uart_subr.c uart_tty.c
34
35 SRCS+=  bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} pci_if.h \
36         power_if.h pccarddevs.h serdev_if.h
37 SRCS+=  opt_platform.h
38
39 .include <bsd.kmod.mk>