328 .if ${MACHINE_ARCH} != "powerpc" && ${MACHINE_ARCH} != "arm" && \
329 ${MACHINE_ARCH} != "mips"
334 .if ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "mips"
335 # no BUS_SPACE_UNSPECIFIED
342 # No barrier instruction support (specific to this driver)
344 # no uart_cpu_$MACHINE_ARCH
346 # disable_intr() interferes
350 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
351 .if exists(${.CURDIR}/../opencrypto)
353 _cryptodev= cryptodev
355 .if exists(${.CURDIR}/../crypto)
360 .if ${MK_IPFILTER} != "no" || defined(ALL_MODULES)
364 .if ${MK_NETGRAPH} != "no" || defined(ALL_MODULES)
368 .if ${MK_PF} != "no" || defined(ALL_MODULES)
373 .if ${MACHINE_ARCH} == "i386"
374 # XXX some of these can move to the general case when de-i386'ed
375 # XXX some of these can move now, but are untested on other architectures.
377 _3dfx_linux= 3dfx_linux
394 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
399 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
418 _linprocfs= linprocfs
422 .if ${MK_NCP} != "no"
428 .if ${MK_NCP} != "no"
431 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
432 _opensolaris= opensolaris
452 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
455 .if ${MACHINE} == "i386"
458 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
499 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
506 .elif ${MACHINE} == "pc98"
514 .if ${MACHINE_ARCH} == "amd64"
517 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
533 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
538 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
567 _linprocfs= linprocfs
576 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
577 _opensolaris= opensolaris
579 .if ${MK_CRYPT} != "no" || defined(ALL_MODULES)
600 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
605 .if ${MACHINE_ARCH} == "ia64"
644 .if ${MACHINE_ARCH} == "powerpc"
648 _nvram= powermac_nvram
653 .if ${MACHINE_ARCH} == "sparc64"
659 .if ${MK_CDDL} != "no" || defined(ALL_MODULES)
660 _opensolaris= opensolaris
663 .if ${MK_ZFS} != "no" || defined(ALL_MODULES)
668 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
669 SUBDIR=${MODULES_OVERRIDE}
672 .for reject in ${WITHOUT_MODULES}
673 SUBDIR:= ${SUBDIR:N${reject}}
676 # Calling kldxref(8) for each module is expensive.
677 .if !defined(NO_XREF)
678 .MAKEFLAGS+= -DNO_XREF
680 @if type kldxref >/dev/null 2>&1; then \
681 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
682 kldxref ${DESTDIR}${KMODDIR}; \
686 .include <bsd.subdir.mk>