1 # $NetBSD: Makefile.rumpvfs,v 1.36 2013/03/15 12:09:59 pooka Exp $ 2 # 3 4 LIB= rumpvfs 5 6 .PATH: ${RUMPTOP}/librump/rumpvfs ${RUMPTOP}/librump \ 7 ${RUMPTOP}/../kern \ 8 ${RUMPTOP}/../miscfs/genfs ${RUMPTOP}/../miscfs/syncfs \ 9 ${RUMPTOP}/../miscfs/specfs ${RUMPTOP}/../miscfs/deadfs \ 10 ${RUMPTOP}/../compat/common ${RUMPTOP}/../uvm \ 11 ${RUMPTOP}/../dev ${RUMPTOP}/../ufs/mfs \ 12 ${RUMPTOP}/../dev ${RUMPTOP}/../ufs/ufs 13 14 # 15 # Source modules, first the ones specifically implemented for librump. 16 # 17 SRCS= rump_vfs.c devnodes.c devnull.c rumpblk.c rumpfs.c vm_vfs.c 18 19 SRCS+= rumpvfs_if_wrappers.c 20 21 # sys/kern I/O 22 SRCS+= kern_physio.c 23 24 # sys/kern vfs 25 SRCS+= vfs_bio.c vfs_cache.c vfs_cwd.c vfs_dirhash.c vfs_getcwd.c \ 26 vfs_hooks.c vfs_init.c vfs_lockf.c vfs_lookup.c vfs_mount.c \ 27 vfs_subr.c vfs_syscalls.c vfs_trans.c vfs_vnode.c vfs_vnops.c \ 28 vfs_wapbl.c vfs_xattr.c 29 30 # sys/kern module support 31 SRCS+= kern_module_vfs.c subr_kobj_vfs.c 32 33 # sys/uvm 34 SRCS+= uvm_vnode.c 35 36 # sys/miscfs/syncfs 37 SRCS+= sync_subr.c sync_vnops.c 38 39 # sys/miscfs/deadfs 40 SRCS+= dead_vnops.c 41 42 # sys/miscfs 43 SRCS+= genfs_io.c genfs_rename.c genfs_vfsops.c genfs_vnops.c spec_vnops.c 44 45 # sys/kern bufq 46 SRCS+= subr_bufq.c bufq_disksort.c bufq_fcfs.c bufq_priocscan.c \ 47 bufq_readprio.c 48 49 # MFS miniroot support 50 SRCS+= mfs_miniroot.c 51 52 #quota2 plists 53 SRCS+= quota1_subr.c vfs_quotactl.c 54 55 # dev 56 # firmload is technically part of rumpdev, but it's pure vfs in nature. 57 SRCS+= firmload.c 58 59 # compat syscalls 60 SRCS+= vfs_syscalls_50.c compat.c 61 62 SRCS+= rumpvnode_if.c 63 64 # no shlib_version because this is automatically in sync with lib/librump 65 SHLIB_MAJOR= 0 66 SHLIB_MINOR= 0 67 68 CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern 69 70 .include "${RUMPTOP}/Makefile.rump" 71 72 .include <bsd.lib.mk> 73 .include <bsd.klinks.mk> 74