Makefile 913 字节
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 15 16 17 18 19 20 21 22 23

ocfs2-objs := \
	alloc.o 		\
	aops.o 			\
	buffer_head_io.o	\
	dcache.o 		\
	dir.o 			\
	dlmglue.o 		\
	export.o 		\
	extent_map.o 		\
	file.o 			\
	heartbeat.o 		\
	inode.o 		\
H
Herbert Poetzl 已提交
24
	ioctl.o 		\
25 26
	journal.o 		\
	localalloc.o 		\
27
	locks.o			\
28 29
	mmap.o 			\
	namei.o 		\
30
	resize.o		\
31 32 33 34 35 36
	slot_map.o 		\
	suballoc.o 		\
	super.o 		\
	symlink.o 		\
	sysfile.o 		\
	uptodate.o		\
37 38
	ver.o			\
	xattr.o			\
T
Tiger Yang 已提交
39 40
	xattr_user.o		\
	xattr_trusted.o
41

42 43
ocfs2_stackglue-objs := stackglue.o
ocfs2_stack_o2cb-objs := stack_o2cb.o
44
ocfs2_stack_user-objs := stack_user.o
45

46
# cluster/ is always needed when OCFS2_FS for masklog support
47
obj-$(CONFIG_OCFS2_FS) += cluster/
48
obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/