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:
Ian Dowse 2002-06-30 02:23:12 +00:00
parent bea3953649
commit c21c16a492
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=99100

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>