Build LKMs for all ``easy'' filesystems. (lfs can be done, but it's more

work; ditto NFS and it's even more work.)
This commit is contained in:
Garrett Wollman 1994-09-21 23:27:16 +00:00
parent 67bfdf835b
commit 4b1e44f14a
26 changed files with 257 additions and 4 deletions

View File

@ -1,5 +1,6 @@
# $Id$
# $Id: Makefile,v 1.1 1994/09/16 20:24:26 wollman Exp $
SUBDIR= ip_mroute_mod
SUBDIR= cd9660 fdesc ip_mroute_mod kernfs mfs msdos nullfs portal \
procfs umapfs union
.include <bsd.subdir.mk>

11
lkm/cd9660/Makefile Normal file
View File

@ -0,0 +1,11 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/isofs/cd9660
KMOD= cd9660_mod
SRCS= cd9660_bmap.c cd9660_lookup.c cd9660_node.c cd9660_rrip.c \
cd9660_util.c cd9660_vfsops.c cd9660_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DCD9660
.include <bsd.kmod.mk>

10
lkm/fdesc/Makefile Normal file
View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/fdesc
KMOD= fdesc_mod
SRCS= fdesc_vfsops.c fdesc_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DFDESC
.include <bsd.kmod.mk>

10
lkm/kernfs/Makefile Normal file
View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/kernfs
KMOD= kernfs_mod
SRCS= kernfs_vfsops.c kernfs_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DKERNFS
.include <bsd.kmod.mk>

10
lkm/mfs/Makefile Normal file
View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/ufs/mfs
KMOD= mfs_mod
SRCS= mfs_vfsops.c mfs_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DFFS -DMFS
.include <bsd.kmod.mk>

11
lkm/msdos/Makefile Normal file
View File

@ -0,0 +1,11 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/msdosfs
KMOD= msdos_mod
SRCS= msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c msdosfs_denode.c \
msdosfs_lookup.c msdosfs_vfsops.c msdosfs_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DMSDOSFS
.include <bsd.kmod.mk>

10
lkm/nullfs/Makefile Normal file
View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/nullfs
KMOD= null_mod
SRCS= null_subr.c null_vfsops.c null_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DNULLFS
.include <bsd.kmod.mk>

10
lkm/portal/Makefile Normal file
View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/portal
KMOD= portal_mod
SRCS= portal_vfsops.c portal_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DPORTAL
.include <bsd.kmod.mk>

13
lkm/procfs/Makefile Normal file
View File

@ -0,0 +1,13 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/procfs \
${.CURDIR}/../../sys/${MACHINE}/${MACHINE}
KMOD= procfs_mod
SRCS= procfs_machdep.c procfs_ctl.c procfs_fpregs.c procfs_mem.c \
procfs_note.c procfs_regs.c procfs_status.c procfs_subr.c \
procfs_vfsops.c procfs_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DPROCFS
.include <bsd.kmod.mk>

10
lkm/umapfs/Makefile Normal file
View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/umapfs
KMOD= umap_mod
SRCS= umap_subr.c umap_vfsops.c umap_vnops.c
NOMAN=
VFS_LKM= yes
CFLAGS+= -DUMAPFS
.include <bsd.kmod.mk>

10
lkm/union/Makefile Normal file
View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/union
KMOD= union_mod
SRCS= union_subr.c union_vfsops.c union_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DUNION
.include <bsd.kmod.mk>

View File

@ -1,5 +1,6 @@
# $Id$
# $Id: Makefile,v 1.1 1994/09/16 20:24:26 wollman Exp $
SUBDIR= ip_mroute_mod
SUBDIR= cd9660 fdesc ip_mroute_mod kernfs mfs msdos nullfs portal \
procfs umapfs union
.include <bsd.subdir.mk>

View File

@ -0,0 +1,11 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/isofs/cd9660
KMOD= cd9660_mod
SRCS= cd9660_bmap.c cd9660_lookup.c cd9660_node.c cd9660_rrip.c \
cd9660_util.c cd9660_vfsops.c cd9660_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DCD9660
.include <bsd.kmod.mk>

View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/fdesc
KMOD= fdesc_mod
SRCS= fdesc_vfsops.c fdesc_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DFDESC
.include <bsd.kmod.mk>

View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/fdesc
KMOD= fdesc_mod
SRCS= fdesc_vfsops.c fdesc_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DFDESC
.include <bsd.kmod.mk>

View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/kernfs
KMOD= kernfs_mod
SRCS= kernfs_vfsops.c kernfs_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DKERNFS
.include <bsd.kmod.mk>

10
sys/modules/mfs/Makefile Normal file
View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/ufs/mfs
KMOD= mfs_mod
SRCS= mfs_vfsops.c mfs_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DFFS -DMFS
.include <bsd.kmod.mk>

View File

@ -0,0 +1,11 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/msdosfs
KMOD= msdos_mod
SRCS= msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c msdosfs_denode.c \
msdosfs_lookup.c msdosfs_vfsops.c msdosfs_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DMSDOSFS
.include <bsd.kmod.mk>

View File

@ -0,0 +1,11 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/msdosfs
KMOD= msdos_mod
SRCS= msdosfs_conv.c msdosfs_denode.c msdosfs_fat.c msdosfs_denode.c \
msdosfs_lookup.c msdosfs_vfsops.c msdosfs_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DMSDOSFS
.include <bsd.kmod.mk>

View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/nullfs
KMOD= null_mod
SRCS= null_subr.c null_vfsops.c null_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DNULLFS
.include <bsd.kmod.mk>

View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/portal
KMOD= portal_mod
SRCS= portal_vfsops.c portal_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DPORTAL
.include <bsd.kmod.mk>

View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/portal
KMOD= portal_mod
SRCS= portal_vfsops.c portal_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DPORTAL
.include <bsd.kmod.mk>

View File

@ -0,0 +1,13 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/procfs \
${.CURDIR}/../../sys/${MACHINE}/${MACHINE}
KMOD= procfs_mod
SRCS= procfs_machdep.c procfs_ctl.c procfs_fpregs.c procfs_mem.c \
procfs_note.c procfs_regs.c procfs_status.c procfs_subr.c \
procfs_vfsops.c procfs_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DPROCFS
.include <bsd.kmod.mk>

View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/umapfs
KMOD= umap_mod
SRCS= umap_subr.c umap_vfsops.c umap_vnops.c
NOMAN=
VFS_LKM= yes
CFLAGS+= -DUMAPFS
.include <bsd.kmod.mk>

View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/union
KMOD= union_mod
SRCS= union_subr.c union_vfsops.c union_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DUNION
.include <bsd.kmod.mk>

View File

@ -0,0 +1,10 @@
# $Id: Makefile,v 1.1 1994/09/16 20:24:28 wollman Exp $
.PATH: ${.CURDIR}/../../sys/miscfs/union
KMOD= union_mod
SRCS= union_subr.c union_vfsops.c union_vnops.c
NOMAN=
VFS_LKM=
CFLAGS+= -DUNION
.include <bsd.kmod.mk>