1 # $NetBSD: Makefile.rumpvfs,v 1.17 2009/10/14 17:29:20 pooka Exp $ 2 # 3 4 .include "${RUMPTOP}/Makefile.rump" 5 6 LIB= rumpvfs 7 8 .PATH: ${RUMPTOP}/librump/rumpvfs \ 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 14 15 # 16 # Source modules, first the ones specifically implemented for librump. 17 # 18 SRCS= rump_vfs.c devnodes.c rumpblk.c rumpfs.c vm_vfs.c 19 20 SRCS+= fstrans_stub.c vfsops_stub.c 21 22 SRCS+= rumpvfs_if_wrappers.c 23 24 # sys/kern I/O 25 SRCS+= kern_physio.c 26 27 # sys/kern vfs 28 SRCS+= vfs_bio.c vfs_cache.c vfs_cwd.c vfs_dirhash.c vfs_getcwd.c \ 29 vfs_hooks.c vfs_init.c vfs_lockf.c vfs_lookup.c vfs_subr.c \ 30 vfs_syscalls.c vfs_vnops.c vfs_wapbl.c vfs_xattr.c 31 32 # sys/uvm 33 SRCS+= uvm_readahead.c uvm_vnode.c 34 35 # sys/miscfs/syncfs 36 SRCS+= sync_subr.c sync_vnops.c 37 38 # sys/miscfs/deadfs 39 SRCS+= dead_vnops.c 40 41 # sys/miscfs 42 SRCS+= genfs_io.c genfs_vfsops.c genfs_vnops.c spec_vnops.c 43 44 # sys/kern bufq 45 SRCS+= subr_bufq.c bufq_disksort.c bufq_fcfs.c bufq_priocscan.c \ 46 bufq_readprio.c 47 48 # dev 49 # firmload is technically part of rumpdev, but it's pure vfs in nature. 50 SRCS+= firmload.c 51 52 # compat syscalls 53 SRCS+= vfs_syscalls_50.c compat.c 54 55 SRCS+= rumpvnode_if.c 56 57 # no shlib_version because this is automatically in sync with lib/librump 58 SHLIB_MAJOR= 0 59 SHLIB_MINOR= 0 60 61 CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern 62 CFLAGS+= -Wno-pointer-sign 63 64 .include <bsd.lib.mk> 65 .include <bsd.klinks.mk> 66