Merge branch 'bkl-removal' of git://git.lwn.net/linux-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         buffer_head_io.o        \
16         dcache.o                \
17         dir.o                   \
18         dlmglue.o               \
19         export.o                \
20         extent_map.o            \
21         file.o                  \
22         heartbeat.o             \
23         inode.o                 \
24         ioctl.o                 \
25         journal.o               \
26         localalloc.o            \
27         locks.o                 \
28         mmap.o                  \
29         namei.o                 \
30         resize.o                \
31         slot_map.o              \
32         suballoc.o              \
33         super.o                 \
34         symlink.o               \
35         sysfile.o               \
36         uptodate.o              \
37         ver.o                   \
38         xattr.o
39
40 ocfs2_stackglue-objs := stackglue.o
41 ocfs2_stack_o2cb-objs := stack_o2cb.o
42 ocfs2_stack_user-objs := stack_user.o
43
44 # cluster/ is always needed when OCFS2_FS for masklog support
45 obj-$(CONFIG_OCFS2_FS) += cluster/
46 obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/