327 .if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "arm" && \
328 ${MACHINE_ARCH} != "mips"
333 .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
334 # no BUS_SPACE_UNSPECIFIED
341 # No barrier instruction support (specific to this driver)
343 # no uart_cpu_$MACHINE_ARCH
345 # disable_intr() interferes
349 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
350 .if exists(${.CURDIR}/../opencrypto)
352 _cryptodev= cryptodev
354 .if exists(${.CURDIR}/../crypto)
359 .if ${MK_IPFILTER} != "no" || defined(ALL_MODULES)
363 .if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES)
367 .if ${MK_PF} != "no" || defined(ALL_MODULES)
372 .if ${MACHINE_ARCH} == "i386"
373 # XXX some of these can move to the general case when de-i386'ed
374 # XXX some of these can move now, but are untested on other architectures.
376 _3dfx_linux= 3dfx_linux
393 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
398 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
417 _linprocfs= linprocfs
421 .if ${MK_NCP} != "no"
427 .if ${MK_NCP} != "no"
430 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
431 _opensolaris= opensolaris
451 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
454 .if ${MACHINE} == "i386"
457 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
498 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
505 .elif ${MACHINE} == "pc98"
513 .if ${MACHINE_ARCH} == "amd64"
516 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
532 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
537 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
566 _linprocfs= linprocfs
575 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
576 _opensolaris= opensolaris
578 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
599 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
604 .if ${MACHINE_ARCH} == "ia64"
643 .if ${MACHINE_ARCH} == "powerpc"
647 _nvram= powermac_nvram
652 .if ${MACHINE_ARCH} == "sparc64"
658 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
659 _opensolaris= opensolaris
662 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
667 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
668 SUBDIR=${MODULES_OVERRIDE}
671 .for reject in ${WITHOUT_MODULES}
672 SUBDIR:= ${SUBDIR:N${reject}}
675 # Calling kldxref(8) for each module is expensive.
676 .if !defined(NO_XREF)
677 .MAKEFLAGS+= -DNO_XREF
679 @if type kldxref >/dev/null 2>&1; then \
680 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
681 kldxref ${DESTDIR}${KMODDIR}; \
685 .include <bsd.subdir.mk>