1 # $NetBSD: Makefile.rumpvfs,v 1.27 2010/04/12 22:19:17 pooka Exp $ 2 # 3 4 .include "${RUMPTOP}/Makefile.rump" 5 6 LIB= rumpvfs 7 8 .PATH: ${RUMPTOP}/librump/rumpvfs ${RUMPTOP}/librump \ 9 ${RUMPTOP}/../kern \ 10 ${RUMPTOP}/../miscfs/genfs ${RUMPTOP}/../miscfs/syncfs \ 11 ${RUMPTOP}/../miscfs/specfs ${RUMPTOP}/../miscfs/deadfs \ 12 ${RUMPTOP}/../compat/common ${RUMPTOP}/../uvm \ 13 ${RUMPTOP}/../dev ${RUMPTOP}/../ufs/mfs 14 15 # 16 # Source modules, first the ones specifically implemented for librump. 17 # 18 SRCS= rump_vfs.c devnodes.c devnull.c rumpblk.c rumpfs.c vm_vfs.c 19 20 SRCS+= rumpvfs_if_wrappers.c 21 22 # sys/kern I/O 23 SRCS+= kern_physio.c 24 25 # sys/kern vfs 26 SRCS+= vfs_bio.c vfs_cache.c vfs_cwd.c vfs_dirhash.c vfs_getcwd.c \ 27 vfs_hooks.c vfs_init.c vfs_lockf.c vfs_lookup.c vfs_subr.c \ 28 vfs_syscalls.c vfs_trans.c vfs_vnops.c vfs_wapbl.c vfs_xattr.c 29 30 # sys/kern module (and syscall) 31 SRCS+= kern_module_vfs.c subr_kobj_vfs.c sys_module.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_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 # dev 53 # firmload is technically part of rumpdev, but it's pure vfs in nature. 54 SRCS+= firmload.c 55 56 # compat syscalls 57 SRCS+= vfs_syscalls_50.c compat.c 58 59 SRCS+= rumpvnode_if.c 60 61 # no shlib_version because this is automatically in sync with lib/librump 62 SHLIB_MAJOR= 0 63 SHLIB_MINOR= 0 64 65 CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern 66 67 .include <bsd.lib.mk> 68 .include <bsd.klinks.mk> 69