3 # oldcard -- specialized use for debugging only.
4 # owi -- totally unsupported for debugging only.
309 .if ${MACHINE_ARCH} != "powerpc"
315 .if defined(ALL_MODULES)
319 .if !defined(NO_CRYPT) || defined(ALL_MODULES)
320 .if exists(${.CURDIR}/../opencrypto)
322 _cryptodev= cryptodev
324 .if exists(${.CURDIR}/../crypto)
329 .if !defined(NO_IPFILTER) || defined(ALL_MODULES)
333 .if !defined(NO_PF) || defined(ALL_MODULES)
338 .if ${MACHINE_ARCH} == "i386"
339 # XXX some of these can move to the general case when de-i386'ed
340 # XXX some of these can move now, but are untested on other architectures.
342 _3dfx_linux= 3dfx_linux
374 _linprocfs= linprocfs
406 .if ${MACHINE} == "i386"
437 .if !defined(NO_CRYPT) || defined(ALL_MODULES)
438 .if exists(${.CURDIR}/../crypto/via)
447 .elif ${MACHINE} == "pc98"
455 .if ${MACHINE_ARCH} == "alpha"
465 .if ${MACHINE_ARCH} == "amd64"
467 #_acpi= acpi # doesn't work on amd64 yet
507 .if ${MACHINE_ARCH} == "ia64"
508 # Modules not enabled on ia64 (as compared to i386) include:
509 # aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
510 # nsp oltr pecoff s3 sbni stg vesa
511 # acpi is not enabled because it is broken as a module on ia64
513 #_ar= ar not 64-bit clean
537 #_sr= sr not 64bit clean
543 .if ${MACHINE_ARCH} == "powerpc"
547 .if ${MACHINE_ARCH} == "sparc64"
554 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
555 SUBDIR=${MODULES_OVERRIDE}
558 .for reject in ${WITHOUT_MODULES}
559 SUBDIR:= ${SUBDIR:N${reject}}
562 # Calling kldxref(8) for each module is expensive.
563 .if !defined(NO_XREF)
564 .MAKEFLAGS+= -DNO_XREF
566 @if type kldxref >/dev/null 2>&1; then \
567 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
568 kldxref ${DESTDIR}${KMODDIR}; \
572 .include <bsd.subdir.mk>