3 # oldcard -- specialized use for debugging only.
4 # owi -- totally unsupported for debugging only.
265 .if ${MACHINE_ARCH} != "sparc64" && ${MACHINE_ARCH} != "powerpc"
269 .if ${MACHINE_ARCH} != "powerpc"
274 .if defined(ALL_MODULES)
278 .if !defined(NO_CRYPT) || defined(ALL_MODULES)
279 .if exists(${.CURDIR}/../opencrypto)
281 _cryptodev= cryptodev
283 .if exists(${.CURDIR}/../crypto)
288 .if !defined(NO_IPFILTER) || defined(ALL_MODULES)
292 .if !defined(NO_PF) || defined(ALL_MODULES)
296 .if ${MACHINE_ARCH} == "i386"
297 # XXX some of these can move to the general case when de-i386'ed
298 # XXX some of these can move now, but are untested on other architectures.
326 _linprocfs= linprocfs
354 .if ${MACHINE} == "i386"
382 .elif ${MACHINE} == "pc98"
390 .if ${MACHINE_ARCH} == "alpha"
394 _linprocfs= linprocfs
401 .if ${MACHINE_ARCH} == "amd64"
403 #_acpi= acpi # doesn't work on amd64 yet
427 .if ${MACHINE_ARCH} == "ia64"
428 # Modules not enabled on ia64 (as compared to i386) include:
429 # aac acpi aout apm atspeaker drm ibcs2 linprocfs linux ncv
430 # nsp oltr pecoff s3 sbni stg vesa
431 # acpi is not enabled because it is broken as a module on ia64
433 #_ar= ar not 64-bit clean
457 #_sr= sr not 64bit clean
463 .if ${MACHINE_ARCH} == "powerpc"
467 .if ${MACHINE_ARCH} == "sparc64"
473 .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES)
474 SUBDIR=${MODULES_OVERRIDE}
477 .for reject in ${WITHOUT_MODULES}
478 SUBDIR:= ${SUBDIR:N${reject}}
481 # Calling kldxref(8) for each module is expensive.
482 .if !defined(NO_XREF)
483 .MAKEFLAGS+= -DNO_XREF
485 @if type kldxref >/dev/null 2>&1; then \
486 ${ECHO} kldxref ${DESTDIR}${KMODDIR}; \
487 kldxref ${DESTDIR}${KMODDIR}; \
491 .include <bsd.subdir.mk>