Add a makefile for building UFS as a module. Since it is of marginal

use it is not built by default, and there are currently bugs that
prevent UFS from being unloaded. Nevertheless it can be useful when
developing UFS code on network-booted machines.
This commit is contained in:
iedowse 2002-06-30 02:23:12 +00:00
parent 2c400f7739
commit c14c1ad0a9

14
sys/modules/ufs/Makefile Normal file
View File

@ -0,0 +1,14 @@
# $FreeBSD$
.PATH: ${.CURDIR}/../../ufs/ufs ${.CURDIR}/../../ufs/ffs
KMOD= ufs
SRCS= opt_ddb.h opt_ffs.h opt_ffs_broken_fixme.h opt_quota.h opt_suiddir.h \
opt_ufs.h vnode_if.h ufs_acl.c ufs_bmap.c ufs_dirhash.c ufs_extattr.c \
ufs_ihash.c ufs_inode.c ufs_lookup.c ufs_quota.c ufs_vfsops.c \
ufs_vnops.c ffs_alloc.c ffs_balloc.c ffs_inode.c ffs_snapshot.c \
ffs_softdep.c ffs_subr.c ffs_tables.c ffs_vfsops.c ffs_vnops.c
CFLAGS+= -DSOFTUPDATES -DUFS_DIRHASH
.include <bsd.kmod.mk>