31f25ce32c977442b108b5be22db50cd2fcca094
[linux-2.6.git] / fs / ocfs2 / Makefile
1 EXTRA_CFLAGS += -Ifs/ocfs2
2
3 EXTRA_CFLAGS += -DCATCH_BH_JBD_RACES
4
5 obj-$(CONFIG_OCFS2_FS) +=       \
6         ocfs2.o                 \
7         ocfs2_stackglue.o
8
9 obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_stack_o2cb.o
10 obj-$(CONFIG_OCFS2_FS_USERSPACE_CLUSTER) += ocfs2_stack_user.o
11
12 ocfs2-objs := \
13         alloc.o                 \
14         aops.o                  \
15         blockcheck.o            \
16         buffer_head_io.o        \
17         dcache.o                \
18         dir.o                   \
19         dlmglue.o               \
20         export.o                \
21         extent_map.o            \
22         file.o                  \
23         heartbeat.o             \
24         inode.o                 \
25         ioctl.o                 \
26         journal.o               \
27         localalloc.o            \
28         locks.o                 \
29         mmap.o                  \
30         namei.o                 \
31         refcounttree.o          \
32         resize.o                \
33         slot_map.o              \
34         suballoc.o              \
35         super.o                 \
36         symlink.o               \
37         sysfile.o               \
38         uptodate.o              \
39         ver.o                   \
40         quota_local.o           \
41         quota_global.o          \
42         xattr.o
43
44 ifeq ($(CONFIG_OCFS2_FS_POSIX_ACL),y)
45 ocfs2-objs += acl.o
46 endif
47
48 ocfs2_stackglue-objs := stackglue.o
49 ocfs2_stack_o2cb-objs := stack_o2cb.o
50 ocfs2_stack_user-objs := stack_user.o
51
52 # cluster/ is always needed when OCFS2_FS for masklog support
53 obj-$(CONFIG_OCFS2_FS) += cluster/
54 obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/