Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc-2.6
[linux-2.6] / 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         resize.o                \
32         slot_map.o              \
33         suballoc.o              \
34         super.o                 \
35         symlink.o               \
36         sysfile.o               \
37         uptodate.o              \
38         ver.o                   \
39         quota_local.o           \
40         quota_global.o          \
41         xattr.o
42
43 ifeq ($(CONFIG_OCFS2_FS_POSIX_ACL),y)
44 ocfs2-objs += acl.o
45 endif
46
47 ocfs2_stackglue-objs := stackglue.o
48 ocfs2_stack_o2cb-objs := stack_o2cb.o
49 ocfs2_stack_user-objs := stack_user.o
50
51 # cluster/ is always needed when OCFS2_FS for masklog support
52 obj-$(CONFIG_OCFS2_FS) += cluster/
53 obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/