From ce3ae5c7e38ae2d9d6e0890e2a49c2ade4bf9438 Mon Sep 17 00:00:00 2001 From: Ian Dowse Date: Mon, 23 Jun 2003 22:01:01 +0000 Subject: [PATCH] Include the ufs module if ALL_MODULES is defined so that it gets built by LINT. Also override a number of knobs for enabling and disabling various modules in the ALL_MODULES case to further increase LINT's module coverage. Submitted by: ru --- sys/modules/Makefile | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/sys/modules/Makefile b/sys/modules/Makefile index 5a27fcd8ddc..e3805d6c417 100644 --- a/sys/modules/Makefile +++ b/sys/modules/Makefile @@ -1,12 +1,14 @@ # $FreeBSD$ -.if exists(${.CURDIR}/../opencrypto) && !defined(NOCRYPT) +.if !defined(NOCRYPT) || defined(ALL_MODULES) +.if exists(${.CURDIR}/../opencrypto) _crypto= crypto _cryptodev= cryptodev .endif -.if exists(${.CURDIR}/../crypto) && !defined(NOCRYPT) +.if exists(${.CURDIR}/../crypto) _random= random .endif +.endif SUBDIR= accf_data \ accf_http \ @@ -145,11 +147,11 @@ SUBDIR= accf_data \ wlan \ xl -.if defined(WANT_EXT2FS_MODULE) +.if defined(WANT_EXT2FS_MODULE) || defined(ALL_MODULES) SUBDIR+=ext2fs .endif -.if !defined(NO_IPFILTER) +.if !defined(NO_IPFILTER) || defined(ALL_MODULES) SUBDIR+=ipfilter .endif @@ -294,6 +296,10 @@ SUBDIR+=gem SUBDIR+=hme .endif +.if defined(ALL_MODULES) +SUBDIR+=ufs +.endif + .if defined(MODULES_OVERRIDE) && !defined(ALL_MODULES) SUBDIR=${MODULES_OVERRIDE} .endif