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