3 # oldcard -- specialized use for debugging only.
4 # owi -- totally unsupported for debugging only.
280 .if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "powerpc"
284 .if ${MACHINE_ARCH} != "powerpc"
289 .if defined(ALL_MODULES)
293 .if !defined(NO_CRYPT) || defined(ALL_MODULES)
294 .if exists(${.CURDIR}/../opencrypto)
296 _cryptodev= cryptodev
298 .if exists(${.CURDIR}/../crypto)
303 .if !defined(NO_IPFILTER) || defined(ALL_MODULES)
307 .if !defined(NO_PF) || defined(ALL_MODULES)
311 .if ${MACHINE_ARCH} == "i386"
312 # XXX some of these can move to the general case when de-i386'ed
313 # XXX some of these can move now, but are untested on other architectures.
342 _linprocfs= linprocfs
373 .if ${MACHINE} == "i386"
403 .elif ${MACHINE} == "pc98"
411 .if ${MACHINE_ARCH} == "alpha"
415 _linprocfs= linprocfs
422 .if ${MACHINE_ARCH} == "amd64"
424 #_acpi= acpi # doesn't work on amd64 yet
451 .if ${MACHINE_ARCH} == "ia64"
452 # Modules not enabled on ia64 (as compared to i386) include:
453 # aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
454 # nsp oltr pecoff s3 sbni stg vesa
455 # acpi is not enabled because it is broken as a module on ia64
457 #_ar= ar not 64-bit clean
481 #_sr= sr not 64bit clean
487 .if ${MACHINE_ARCH} == "powerpc"
491 .if ${MACHINE_ARCH} == "sparc64"
497 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
498 SUBDIR=${MODULES_OVERRIDE}
501 .for reject in ${WITHOUT_MODULES}
502 SUBDIR:= ${SUBDIR:N${reject}}
505 # Calling kldxref(8) for each module is expensive.
506 .if !defined(NO_XREF)
507 .MAKEFLAGS+= -DNO_XREF
509 @if type kldxref >/dev/null 2>&1; then \
510 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
511 kldxref ${DESTDIR}${KMODDIR}; \
515 .include <bsd.subdir.mk>