blob: e9ef5d162db18998c84c325d45de5e0907b8c6ef [file] [log] [blame]
Mark Fashehccd979b2005-12-15 14:31:24 -08001EXTRA_CFLAGS += -Ifs/ocfs2
2
3EXTRA_CFLAGS += -DCATCH_BH_JBD_RACES
4
Joel Beckerb92eccd2007-11-28 14:53:30 -08005obj-$(CONFIG_OCFS2_FS) += \
6 ocfs2.o \
Joel Becker9341d222008-03-04 17:58:56 -08007 ocfs2_stackglue.o
8
9obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_stack_o2cb.o
10obj-$(CONFIG_OCFS2_FS_USERSPACE_CLUSTER) += ocfs2_stack_user.o
Mark Fashehccd979b2005-12-15 14:31:24 -080011
12ocfs2-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 \
Herbert Poetzlca4d1472006-07-03 17:27:12 -070024 ioctl.o \
Mark Fashehccd979b2005-12-15 14:31:24 -080025 journal.o \
26 localalloc.o \
Mark Fasheh53fc6222007-12-20 16:49:04 -080027 locks.o \
Mark Fashehccd979b2005-12-15 14:31:24 -080028 mmap.o \
29 namei.o \
Tao Mad6590722007-12-18 15:47:03 +080030 resize.o \
Mark Fashehccd979b2005-12-15 14:31:24 -080031 slot_map.o \
32 suballoc.o \
33 super.o \
34 symlink.o \
35 sysfile.o \
36 uptodate.o \
Tao Maf56654c2008-08-18 17:38:48 +080037 ver.o \
Mark Fasheh99219ae2008-10-07 14:52:59 -070038 xattr.o
Mark Fashehccd979b2005-12-15 14:31:24 -080039
Tiger Yang929fb012008-11-14 11:17:04 +080040ifeq ($(CONFIG_OCFS2_FS_POSIX_ACL),y)
41ocfs2-objs += acl.o
42endif
43
Joel Becker286eaa92008-02-01 15:03:57 -080044ocfs2_stackglue-objs := stackglue.o
45ocfs2_stack_o2cb-objs := stack_o2cb.o
Joel Beckerb92eccd2007-11-28 14:53:30 -080046ocfs2_stack_user-objs := stack_user.o
Joel Becker286eaa92008-02-01 15:03:57 -080047
Joel Becker9341d222008-03-04 17:58:56 -080048# cluster/ is always needed when OCFS2_FS for masklog support
Mark Fashehccd979b2005-12-15 14:31:24 -080049obj-$(CONFIG_OCFS2_FS) += cluster/
Joel Becker9341d222008-03-04 17:58:56 -080050obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/