1 # $NetBSD: Makefile.rumpvfs,v 1.14 2009/10/04 13:29:36 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 # 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_vnops.c vfs_wapbl.c vfs_xattr.c 29 30 # sys/uvm 31 SRCS+= uvm_vnode.c 32 33 # sys/miscfs/syncfs 34 SRCS+= sync_subr.c sync_vnops.c 35 36 # sys/miscfs/deadfs 37 SRCS+= dead_vnops.c 38 39 # sys/miscfs 40 SRCS+= genfs_io.c genfs_vfsops.c genfs_vnops.c spec_vnops.c 41 42 # sys/kern bufq 43 SRCS+= subr_bufq.c bufq_disksort.c bufq_fcfs.c bufq_priocscan.c \ 44 bufq_readprio.c 45 46 # dev 47 # firmload is technically part of rumpdev, but it's pure vfs in nature. 48 SRCS+= firmload.c 49 50 # compat syscalls 51 SRCS+= vfs_syscalls_50.c compat.c 52 53 SRCS+= rumpvnode_if.c 54 55 # no shlib_version because this is automatically in sync with lib/librump 56 SHLIB_MAJOR= 0 57 SHLIB_MINOR= 0 58 59 CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern 60 CFLAGS+= -Wno-pointer-sign 61 62 .include <bsd.lib.mk> 63 .include <bsd.klinks.mk> 64