325 .if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "arm" && \
326 ${MACHINE_ARCH} != "mips"
331 .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
332 # no BUS_SPACE_UNSPECIFIED
339 # No barrier instruction support (specific to this driver)
341 # no uart_cpu_$MACHINE_ARCH
343 # disable_intr() interferes
347 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
348 .if exists(${.CURDIR}/../opencrypto)
350 _cryptodev= cryptodev
352 .if exists(${.CURDIR}/../crypto)
357 .if ${MK_IPFILTER} != "no" || defined(ALL_MODULES)
361 .if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES)
365 .if ${MK_PF} != "no" || defined(ALL_MODULES)
370 .if ${MACHINE_ARCH} == "i386"
371 # XXX some of these can move to the general case when de-i386'ed
372 # XXX some of these can move now, but are untested on other architectures.
374 _3dfx_linux= 3dfx_linux
391 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
396 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
415 _linprocfs= linprocfs
419 .if ${MK_NCP} != "no"
425 .if ${MK_NCP} != "no"
428 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
429 _opensolaris= opensolaris
449 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
452 .if ${MACHINE} == "i386"
455 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
496 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
503 .elif ${MACHINE} == "pc98"
511 .if ${MACHINE_ARCH} == "amd64"
514 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
530 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
535 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
564 _linprocfs= linprocfs
573 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
574 _opensolaris= opensolaris
576 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
597 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
602 .if ${MACHINE_ARCH} == "ia64"
641 .if ${MACHINE_ARCH} == "powerpc"
645 _nvram= powermac_nvram
650 .if ${MACHINE_ARCH} == "sparc64"
656 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
657 _opensolaris= opensolaris
660 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
665 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
666 SUBDIR=${MODULES_OVERRIDE}
669 .for reject in ${WITHOUT_MODULES}
670 SUBDIR:= ${SUBDIR:N${reject}}
673 # Calling kldxref(8) for each module is expensive.
674 .if !defined(NO_XREF)
675 .MAKEFLAGS+= -DNO_XREF
677 @if type kldxref >/dev/null 2>&1; then \
678 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
679 kldxref ${DESTDIR}${KMODDIR}; \
683 .include <bsd.subdir.mk>