blob: 01596079dd631022281eca93b34574cb8f4659ed [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 Mad6590722007-12-18 15:47:03 +080031 resize.o \
Mark Fashehccd979b2005-12-15 14:31:24 -080032 slot_map.o \
33 suballoc.o \
34 super.o \
35 symlink.o \
36 sysfile.o \
37 uptodate.o \
Tao Maf56654c2008-08-18 17:38:48 +080038 ver.o \
Jan Kara9e33d692008-08-25 19:56:50 +020039 quota_local.o \
40 quota_global.o \
Mark Fasheh99219ae2008-10-07 14:52:59 -070041 xattr.o
Mark Fashehccd979b2005-12-15 14:31:24 -080042
Tiger Yang929fb012008-11-14 11:17:04 +080043ifeq ($(CONFIG_OCFS2_FS_POSIX_ACL),y)
44ocfs2-objs += acl.o
45endif
46
Joel Becker286eaa92008-02-01 15:03:57 -080047ocfs2_stackglue-objs := stackglue.o
48ocfs2_stack_o2cb-objs := stack_o2cb.o
Joel Beckerb92eccd2007-11-28 14:53:30 -080049ocfs2_stack_user-objs := stack_user.o
Joel Becker286eaa92008-02-01 15:03:57 -080050
Joel Becker9341d222008-03-04 17:58:56 -080051# cluster/ is always needed when OCFS2_FS for masklog support
Mark Fashehccd979b2005-12-15 14:31:24 -080052obj-$(CONFIG_OCFS2_FS) += cluster/
Joel Becker9341d222008-03-04 17:58:56 -080053obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/