Deleted Added
full compact
Makefile (133735) Makefile (137819)
1# $FreeBSD: head/sys/modules/uart/Makefile 133735 2004-08-14 23:54:27Z marius $
1# $FreeBSD: head/sys/modules/uart/Makefile 137819 2004-11-17 14:44:10Z marius $
2
3.PATH: ${.CURDIR}/../../dev/uart
4
5.if ${MACHINE_ARCH} == "sparc64"
6uart_bus_ebus= uart_bus_ebus.c
7ofw_bus_if= ofw_bus_if.h
2
3.PATH: ${.CURDIR}/../../dev/uart
4
5.if ${MACHINE_ARCH} == "sparc64"
6uart_bus_ebus= uart_bus_ebus.c
7ofw_bus_if= ofw_bus_if.h
8ofw_pci_if= ofw_pci_if.h
9opt_isa= opt_isa.h
10.endif
11
12KMOD= uart
13SRCS= uart_bus_acpi.c ${uart_bus_ebus} uart_bus_isa.c uart_bus_pccard.c \
14 uart_bus_pci.c uart_bus_puc.c uart_core.c uart_cpu_${MACHINE}.c \
15 uart_dbg.c uart_dev_i8251.c uart_dev_ns8250.c uart_dev_sab82532.c \
16 uart_dev_z8530.c uart_if.c uart_subr.c uart_tty.c
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_core.c uart_cpu_${MACHINE}.c \
13 uart_dbg.c uart_dev_i8251.c uart_dev_ns8250.c uart_dev_sab82532.c \
14 uart_dev_z8530.c uart_if.c uart_subr.c uart_tty.c
17SRCS+= bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} ${ofw_pci_if} \
18 ${opt_isa} pci_if.h power_if.h uart_if.h pccarddevs.h
15SRCS+= bus_if.h card_if.h device_if.h isa_if.h ${ofw_bus_if} pci_if.h \
16 power_if.h uart_if.h pccarddevs.h
19
17
20opt_isa.h:
21 echo "#define DEV_ISA 1" > ${.TARGET}
22
23.include <bsd.kmod.mk>
18.include <bsd.kmod.mk>