3 # oldcard -- specialized use for debugging only.
4 # owi -- totally unsupported for debugging only.
266 .if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "powerpc"
270 .if ${MACHINE_ARCH} != "powerpc"
275 .if defined(ALL_MODULES)
279 .if !defined(NO_CRYPT) || defined(ALL_MODULES)
280 .if exists(${.CURDIR}/../opencrypto)
282 _cryptodev= cryptodev
284 .if exists(${.CURDIR}/../crypto)
289 .if !defined(NO_IPFILTER) || defined(ALL_MODULES)
293 .if !defined(NO_PF) || defined(ALL_MODULES)
297 .if ${MACHINE_ARCH} == "i386"
298 # XXX some of these can move to the general case when de-i386'ed
299 # XXX some of these can move now, but are untested on other architectures.
327 _linprocfs= linprocfs
355 .if ${MACHINE} == "i386"
384 .elif ${MACHINE} == "pc98"
392 .if ${MACHINE_ARCH} == "alpha"
396 _linprocfs= linprocfs
403 .if ${MACHINE_ARCH} == "amd64"
405 #_acpi= acpi # doesn't work on amd64 yet
430 .if ${MACHINE_ARCH} == "ia64"
431 # Modules not enabled on ia64 (as compared to i386) include:
432 # aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
433 # nsp oltr pecoff s3 sbni stg vesa
434 # acpi is not enabled because it is broken as a module on ia64
436 #_ar= ar not 64-bit clean
460 #_sr= sr not 64bit clean
466 .if ${MACHINE_ARCH} == "powerpc"
470 .if ${MACHINE_ARCH} == "sparc64"
476 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
477 SUBDIR=${MODULES_OVERRIDE}
480 .for reject in ${WITHOUT_MODULES}
481 SUBDIR:= ${SUBDIR:N${reject}}
484 # Calling kldxref(8) for each module is expensive.
485 .if !defined(NO_XREF)
486 .MAKEFLAGS+= -DNO_XREF
488 @if type kldxref >/dev/null 2>&1; then \
489 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
490 kldxref ${DESTDIR}${KMODDIR}; \
494 .include <bsd.subdir.mk>