Makefile 1011 字节
Newer Older
1 2 3 4
EXTRA_CFLAGS += -Ifs/ocfs2

EXTRA_CFLAGS += -DCATCH_BH_JBD_RACES

5 6
obj-$(CONFIG_OCFS2_FS) += 	\
	ocfs2.o			\
7 8 9 10
	ocfs2_stackglue.o

obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_stack_o2cb.o
obj-$(CONFIG_OCFS2_FS_USERSPACE_CLUSTER) += ocfs2_stack_user.o
11 12 13 14

ocfs2-objs := \
	alloc.o 		\
	aops.o 			\
15
	blockcheck.o		\
16 17 18 19 20 21 22 23 24
	buffer_head_io.o	\
	dcache.o 		\
	dir.o 			\
	dlmglue.o 		\
	export.o 		\
	extent_map.o 		\
	file.o 			\
	heartbeat.o 		\
	inode.o 		\
H
Herbert Poetzl 已提交
25
	ioctl.o 		\
26 27
	journal.o 		\
	localalloc.o 		\
28
	locks.o			\
29 30
	mmap.o 			\
	namei.o 		\
T
Tao Ma 已提交
31
	refcounttree.o		\
M
Mark Fasheh 已提交
32
	reservations.o		\
33
	resize.o		\
34 35 36 37 38 39
	slot_map.o 		\
	suballoc.o 		\
	super.o 		\
	symlink.o 		\
	sysfile.o 		\
	uptodate.o		\
40
	ver.o			\
41 42
	quota_local.o		\
	quota_global.o		\
J
Jan Kara 已提交
43 44
	xattr.o			\
	acl.o
T
Tiger Yang 已提交
45

46 47
ocfs2_stackglue-objs := stackglue.o
ocfs2_stack_o2cb-objs := stack_o2cb.o
48
ocfs2_stack_user-objs := stack_user.o
49

50
obj-$(CONFIG_OCFS2_FS) += dlmfs/
51
# cluster/ is always needed when OCFS2_FS for masklog support
52
obj-$(CONFIG_OCFS2_FS) += cluster/
53
obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/