1 # $NetBSD: Makefile.rumpvfs,v 1.12 2009/08/07 18:52:56 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 14 # 15 # Source modules, first the ones specifically implemented for librump. 16 # 17 SRCS= rump_vfs.c rumpblk.c rumpfs.c vm_vfs.c 18 19 SRCS+= fstrans_stub.c vfsops_stub.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_subr.c \ 27 vfs_syscalls.c vfs_vnops.c vfs_wapbl.c vfs_xattr.c 28 29 # sys/uvm 30 SRCS+= uvm_vnode.c 31 32 # sys/miscfs/syncfs 33 SRCS+= sync_subr.c sync_vnops.c 34 35 # sys/miscfs/deadfs 36 SRCS+= dead_vnops.c 37 38 # sys/miscfs 39 SRCS+= genfs_io.c genfs_vfsops.c genfs_vnops.c spec_vnops.c 40 41 # sys/kern bufq 42 SRCS+= subr_bufq.c bufq_disksort.c bufq_fcfs.c bufq_priocscan.c \ 43 bufq_readprio.c 44 45 # compat syscalls 46 SRCS+= vfs_syscalls_50.c compat.c 47 48 SRCS+= rumpvnode_if.c 49 50 # no shlib_version because this is automatically in sync with lib/librump 51 SHLIB_MAJOR= 0 52 SHLIB_MINOR= 0 53 54 CPPFLAGS+= -I${RUMPTOP}/librump/rumpkern 55 CFLAGS+= -Wno-pointer-sign 56 57 .include <bsd.lib.mk> 58 .include <bsd.klinks.mk> 59