3 # oldcard -- specialized use for debugging only.
4 # owi -- totally unsupported for debugging only.
262 .if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "powerpc"
266 .if ${MACHINE_ARCH} != "powerpc"
271 .if defined(ALL_MODULES)
275 .if !defined(NO_CRYPT) || defined(ALL_MODULES)
276 .if exists(${.CURDIR}/../opencrypto)
278 _cryptodev= cryptodev
280 .if exists(${.CURDIR}/../crypto)
285 .if !defined(NO_IPFILTER) || defined(ALL_MODULES)
289 .if !defined(NO_PF) || defined(ALL_MODULES)
293 .if ${MACHINE_ARCH} == "i386"
294 # XXX some of these can move to the general case when de-i386'ed
295 # XXX some of these can move now, but are untested on other architectures.
322 _linprocfs= linprocfs
350 .if ${MACHINE} == "i386"
378 .elif ${MACHINE} == "pc98"
386 .if ${MACHINE_ARCH} == "alpha"
390 _linprocfs= linprocfs
397 .if ${MACHINE_ARCH} == "amd64"
399 #_acpi= acpi # doesn't work on amd64 yet
422 .if ${MACHINE_ARCH} == "ia64"
423 # Modules not enabled on ia64 (as compared to i386) include:
424 # aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
425 # nsp oltr pecoff s3 sbni stg vesa
426 # acpi is not enabled because it is broken as a module on ia64
428 #_ar= ar not 64-bit clean
452 #_sr= sr not 64bit clean
458 .if ${MACHINE_ARCH} == "powerpc"
462 .if ${MACHINE_ARCH} == "sparc64"
468 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
469 SUBDIR=${MODULES_OVERRIDE}
472 .for reject in ${WITHOUT_MODULES}
473 SUBDIR:= ${SUBDIR:N${reject}}
476 # Calling kldxref(8) for each module is expensive.
477 .if !defined(NO_XREF)
478 .MAKEFLAGS+= -DNO_XREF
480 @if type kldxref >/dev/null 2>&1; then \
481 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
482 kldxref ${DESTDIR}${KMODDIR}; \
486 .include <bsd.subdir.mk>