blob: 31f25ce32c977442b108b5be22db50cd2fcca094 [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 \
Joel Becker70ad1ba2008-10-16 17:54:25 -070015 blockcheck.o \
Mark Fashehccd979b2005-12-15 14:31:24 -080016 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 \
Herbert Poetzlca4d1472006-07-03 17:27:12 -070025 ioctl.o \
Mark Fashehccd979b2005-12-15 14:31:24 -080026 journal.o \
27 localalloc.o \
Mark Fasheh53fc6222007-12-20 16:49:04 -080028 locks.o \
Mark Fashehccd979b2005-12-15 14:31:24 -080029 mmap.o \
30 namei.o \
Tao Maf2c870e2009-08-18 11:19:26 +080031 refcounttree.o \
Tao Mad6590722007-12-18 15:47:03 +080032 resize.o \
Mark Fashehccd979b2005-12-15 14:31:24 -080033 slot_map.o \
34 suballoc.o \
35 super.o \
36 symlink.o \
37 sysfile.o \
38 uptodate.o \
Tao Maf56654c2008-08-18 17:38:48 +080039 ver.o \
Jan Kara9e33d692008-08-25 19:56:50 +020040 quota_local.o \
41 quota_global.o \
Mark Fasheh99219ae2008-10-07 14:52:59 -070042 xattr.o
Mark Fashehccd979b2005-12-15 14:31:24 -080043
Tiger Yang929fb012008-11-14 11:17:04 +080044ifeq ($(CONFIG_OCFS2_FS_POSIX_ACL),y)
45ocfs2-objs += acl.o
46endif
47
Joel Becker286eaa92008-02-01 15:03:57 -080048ocfs2_stackglue-objs := stackglue.o
49ocfs2_stack_o2cb-objs := stack_o2cb.o
Joel Beckerb92eccd2007-11-28 14:53:30 -080050ocfs2_stack_user-objs := stack_user.o
Joel Becker286eaa92008-02-01 15:03:57 -080051
Joel Becker9341d222008-03-04 17:58:56 -080052# cluster/ is always needed when OCFS2_FS for masklog support
Mark Fashehccd979b2005-12-15 14:31:24 -080053obj-$(CONFIG_OCFS2_FS) += cluster/
Joel Becker9341d222008-03-04 17:58:56 -080054obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/