Makefile 862 字节
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		\
M
Mark Fasheh 已提交
37
	ver.o
38

39 40
ocfs2_stackglue-objs := stackglue.o
ocfs2_stack_o2cb-objs := stack_o2cb.o
41
ocfs2_stack_user-objs := stack_user.o
42

43
# cluster/ is always needed when OCFS2_FS for masklog support
44
obj-$(CONFIG_OCFS2_FS) += cluster/
45
obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/