2006-06-16 11:44:55 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
.PATH: ${.CURDIR}/../../dev/ppc
|
|
|
|
KMOD= ppc
|
|
|
|
SRCS= bus_if.h device_if.h ppbus_if.h isa_if.h pci_if.h serdev_if.h \
|
|
|
|
opt_ppc.h opt_isa.h \
|
2006-06-18 05:04:42 +00:00
|
|
|
ppc.c ppc_pci.c ppc_puc.c
|
|
|
|
|
2010-08-23 06:13:29 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "amd64"
|
2006-06-18 05:04:42 +00:00
|
|
|
SRCS+= ppc_acpi.c ppc_isa.c
|
|
|
|
.endif
|
2006-06-16 11:44:55 +00:00
|
|
|
|
2010-08-23 06:13:29 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "i386"
|
2006-06-16 12:51:53 +00:00
|
|
|
.if ${MACHINE} != "pc98"
|
|
|
|
SRCS+= ppc_acpi.c
|
|
|
|
.endif
|
2006-06-18 05:04:42 +00:00
|
|
|
SRCS+= ppc_isa.c
|
|
|
|
.endif
|
|
|
|
|
2010-08-23 06:13:29 +00:00
|
|
|
.if ${MACHINE_CPUARCH} == "ia64"
|
2006-06-18 05:04:42 +00:00
|
|
|
SRCS+= ppc_acpi.c
|
|
|
|
.endif
|
2006-06-16 12:51:53 +00:00
|
|
|
|
2006-06-16 11:44:55 +00:00
|
|
|
.include <bsd.kmod.mk>
|