3 # oldcard -- specialized use for debugging only.
4 # owi -- totally unsupported for debugging only.
274 .if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "powerpc"
278 .if ${MACHINE_ARCH} != "powerpc"
283 .if defined(ALL_MODULES)
287 .if !defined(NO_CRYPT) || defined(ALL_MODULES)
288 .if exists(${.CURDIR}/../opencrypto)
290 _cryptodev= cryptodev
292 .if exists(${.CURDIR}/../crypto)
297 .if !defined(NO_IPFILTER) || defined(ALL_MODULES)
301 .if !defined(NO_PF) || defined(ALL_MODULES)
305 .if ${MACHINE_ARCH} == "i386"
306 # XXX some of these can move to the general case when de-i386'ed
307 # XXX some of these can move now, but are untested on other architectures.
335 _linprocfs= linprocfs
363 .if ${MACHINE} == "i386"
393 .elif ${MACHINE} == "pc98"
401 .if ${MACHINE_ARCH} == "alpha"
405 _linprocfs= linprocfs
412 .if ${MACHINE_ARCH} == "amd64"
414 #_acpi= acpi # doesn't work on amd64 yet
440 .if ${MACHINE_ARCH} == "ia64"
441 # Modules not enabled on ia64 (as compared to i386) include:
442 # aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
443 # nsp oltr pecoff s3 sbni stg vesa
444 # acpi is not enabled because it is broken as a module on ia64
446 #_ar= ar not 64-bit clean
471 #_sr= sr not 64bit clean
477 .if ${MACHINE_ARCH} == "powerpc"
481 .if ${MACHINE_ARCH} == "sparc64"
487 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
488 SUBDIR=${MODULES_OVERRIDE}
491 .for reject in ${WITHOUT_MODULES}
492 SUBDIR:= ${SUBDIR:N${reject}}
495 # Calling kldxref(8) for each module is expensive.
496 .if !defined(NO_XREF)
497 .MAKEFLAGS+= -DNO_XREF
499 @if type kldxref >/dev/null 2>&1; then \
500 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
501 kldxref ${DESTDIR}${KMODDIR}; \
505 .include <bsd.subdir.mk>