ocfs2: Add kbuild for ocfs2_stack_user.ko
[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         ocfs2_stack_o2cb.o      \
9         ocfs2_stack_user.o
10
11 ocfs2-objs := \
12         alloc.o                 \
13         aops.o                  \
14         buffer_head_io.o        \
15         dcache.o                \
16         dir.o                   \
17         dlmglue.o               \
18         export.o                \
19         extent_map.o            \
20         file.o                  \
21         heartbeat.o             \
22         inode.o                 \
23         ioctl.o                 \
24         journal.o               \
25         localalloc.o            \
26         locks.o                 \
27         mmap.o                  \
28         namei.o                 \
29         resize.o                \
30         slot_map.o              \
31         suballoc.o              \
32         super.o                 \
33         symlink.o               \
34         sysfile.o               \
35         uptodate.o              \
36         ver.o
37
38 ocfs2_stackglue-objs := stackglue.o
39 ocfs2_stack_o2cb-objs := stack_o2cb.o
40 ocfs2_stack_user-objs := stack_user.o
41
42 obj-$(CONFIG_OCFS2_FS) += cluster/
43 obj-$(CONFIG_OCFS2_FS) += dlm/