1 # $NetBSD: Makefile.rumpvfs,v 1.52 2023/04/22 18:55:59 riastradh Exp $ 2 # 3 4 .include "${RUMPTOP}/Makefile.rump" 5 6 .include <bsd.own.mk> 7 8 LIB= rumpvfs 9 COMMENT=Rump kernel file system faction 10 11 MAN= rump_etfs.3 rumpfs.4 12 13 .PATH: ${RUMPTOP}/librump/rumpvfs ${RUMPTOP}/librump \ 14 ${RUMPTOP}/../kern \ 15 ${RUMPTOP}/../secmodel/extensions \ 16 ${RUMPTOP}/../miscfs/genfs \ 17 ${RUMPTOP}/../miscfs/specfs ${RUMPTOP}/../miscfs/deadfs \ 18 ${RUMPTOP}/../compat/common ${RUMPTOP}/../uvm \ 19 ${RUMPTOP}/../dev ${RUMPTOP}/../ufs/mfs \ 20 ${RUMPTOP}/../dev ${RUMPTOP}/../ufs/ufs 21 22 # 23 # Source modules, first the ones specifically implemented for librump. 24 # 25 SRCS+= rump_vfs.c devnodes.c devnull.c rumpblk.c rumpfs.c vm_vfs.c 26 27 SRCS+= rumpvfs_if_wrappers.c 28 29 SRCS+= rumpvfs_syscalls.c 30 31 # sys/kern I/O 32 SRCS+= kern_physio.c 33 34 # VOP_* 35 SRCS+= vnode_if.c 36 37 # sys/kern vfs 38 SRCS+= vfs_acl.c vfs_bio.c vfs_cache.c vfs_cwd.c vfs_dirhash.c \ 39 vfs_getcwd.c vfs_hooks.c vfs_init.c vfs_lockf.c vfs_lookup.c \ 40 vfs_mount.c vfs_subr.c vfs_syscalls.c vfs_trans.c vfs_vnode.c \ 41 vfs_vnops.c vfs_wapbl.c vfs_xattr.c 42 43 # sys/kern module support 44 SRCS+= kern_module_vfs.c subr_kobj_vfs.c 45 46 # sys/secmodel/extensions 47 SRCS+= secmodel_extensions_vfs.c 48 49 # sys/uvm 50 SRCS+= uvm_vnode.c 51 52 # sys/miscfs/deadfs 53 SRCS+= dead_vfsops.c dead_vnops.c 54 55 # sys/miscfs 56 SRCS+= genfs_io.c genfs_rename.c genfs_vfsops.c genfs_vnops.c spec_vnops.c 57 58 # sys/kern acl 59 SRCS+= subr_acl_nfs4.c subr_acl_posix1e.c 60 61 # sys/kern bufq 62 SRCS+= subr_bufq.c bufq_disksort.c bufq_fcfs.c bufq_priocscan.c \ 63 bufq_readprio.c 64 65 # MFS miniroot support 66 SRCS+= mfs_miniroot.c 67 68 # ktrace vfs part 69 .if ${RUMP_KTRACE} == "yes" 70 SRCS+= kern_ktrace_vfs.c 71 .endif 72 73 #quota2 plists 74 SRCS+= quota1_subr.c vfs_quotactl.c 75 76 # dev 77 # firmload is technically part of rumpdev, but it's pure vfs in nature. 78 SRCS+= firmload.c 79 80 # compat syscalls 81 .if !empty(RUMP_NBCOMPAT:M50) 82 SRCS+= vfs_syscalls_50.c 83 SRCS+= rumpvfs_compat50.c 84 .endif 85 86 SRCS+= rumpvnode_if.c 87 88 .include <bsd.lib.mk> 89 .include <bsd.klinks.mk> 90