xref: /freebsd/sys/modules/ppc/Makefile (revision 05dd86316f86bf18f29eac7cf0397bd53d418c8e)
193ad18ecSKonstantin Belousov# $FreeBSD$
293ad18ecSKonstantin Belousov
393ad18ecSKonstantin Belousov.PATH:	${.CURDIR}/../../dev/ppc
493ad18ecSKonstantin BelousovKMOD=	ppc
593ad18ecSKonstantin BelousovSRCS=	bus_if.h device_if.h ppbus_if.h isa_if.h pci_if.h serdev_if.h \
693ad18ecSKonstantin Belousov	opt_ppc.h opt_isa.h \
705dd8631SMarcel Moolenaar	ppc.c ppc_pci.c ppc_puc.c
893ad18ecSKonstantin Belousov
905dd8631SMarcel Moolenaar.if ${MACHINE_ARCH} == "amd64"
1005dd8631SMarcel MoolenaarSRCS+=	ppc_acpi.c ppc_isa.c
1105dd8631SMarcel Moolenaar.endif
1205dd8631SMarcel Moolenaar
1305dd8631SMarcel Moolenaar.if ${MACHINE_ARCH} == "i386"
14e4251b04SYoshihiro Takahashi.if ${MACHINE} != "pc98"
15e4251b04SYoshihiro TakahashiSRCS+=	ppc_acpi.c
16e4251b04SYoshihiro Takahashi.endif
1705dd8631SMarcel MoolenaarSRCS+=	ppc_isa.c
1805dd8631SMarcel Moolenaar.endif
1905dd8631SMarcel Moolenaar
2005dd8631SMarcel Moolenaar.if ${MACHINE_ARCH} == "ia64"
2105dd8631SMarcel MoolenaarSRCS+=	ppc_acpi.c
2205dd8631SMarcel Moolenaar.endif
23e4251b04SYoshihiro Takahashi
2493ad18ecSKonstantin Belousov.include <bsd.kmod.mk>
25