3 # oldcard -- specialized use for debugging only.
4 # owi -- totally unsupported for debugging only.
276 .if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "powerpc"
280 .if ${MACHINE_ARCH} != "powerpc"
285 .if defined(ALL_MODULES)
289 .if !defined(NO_CRYPT) || defined(ALL_MODULES)
290 .if exists(${.CURDIR}/../opencrypto)
292 _cryptodev= cryptodev
294 .if exists(${.CURDIR}/../crypto)
299 .if !defined(NO_IPFILTER) || defined(ALL_MODULES)
303 .if !defined(NO_PF) || defined(ALL_MODULES)
307 .if ${MACHINE_ARCH} == "i386"
308 # XXX some of these can move to the general case when de-i386'ed
309 # XXX some of these can move now, but are untested on other architectures.
337 _linprocfs= linprocfs
367 .if ${MACHINE} == "i386"
397 .elif ${MACHINE} == "pc98"
405 .if ${MACHINE_ARCH} == "alpha"
409 _linprocfs= linprocfs
416 .if ${MACHINE_ARCH} == "amd64"
418 #_acpi= acpi # doesn't work on amd64 yet
444 .if ${MACHINE_ARCH} == "ia64"
445 # Modules not enabled on ia64 (as compared to i386) include:
446 # aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
447 # nsp oltr pecoff s3 sbni stg vesa
448 # acpi is not enabled because it is broken as a module on ia64
450 #_ar= ar not 64-bit clean
474 #_sr= sr not 64bit clean
480 .if ${MACHINE_ARCH} == "powerpc"
484 .if ${MACHINE_ARCH} == "sparc64"
490 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
491 SUBDIR=${MODULES_OVERRIDE}
494 .for reject in ${WITHOUT_MODULES}
495 SUBDIR:= ${SUBDIR:N${reject}}
498 # Calling kldxref(8) for each module is expensive.
499 .if !defined(NO_XREF)
500 .MAKEFLAGS+= -DNO_XREF
502 @if type kldxref >/dev/null 2>&1; then \
503 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
504 kldxref ${DESTDIR}${KMODDIR}; \
508 .include <bsd.subdir.mk>