Mark Fasheh | ccd979b | 2005-12-15 14:31:24 -0800 | [diff] [blame] | 1 | EXTRA_CFLAGS += -Ifs/ocfs2 |
| 2 | |
| 3 | EXTRA_CFLAGS += -DCATCH_BH_JBD_RACES |
| 4 | |
Joel Becker | b92eccd | 2007-11-28 14:53:30 -0800 | [diff] [blame] | 5 | obj-$(CONFIG_OCFS2_FS) += \ |
| 6 | ocfs2.o \ |
Joel Becker | 9341d22 | 2008-03-04 17:58:56 -0800 | [diff] [blame] | 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 |
Mark Fasheh | ccd979b | 2005-12-15 14:31:24 -0800 | [diff] [blame] | 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 \ |
Herbert Poetzl | ca4d147 | 2006-07-03 17:27:12 -0700 | [diff] [blame] | 24 | ioctl.o \ |
Mark Fasheh | ccd979b | 2005-12-15 14:31:24 -0800 | [diff] [blame] | 25 | journal.o \ |
| 26 | localalloc.o \ |
Mark Fasheh | 53fc622 | 2007-12-20 16:49:04 -0800 | [diff] [blame] | 27 | locks.o \ |
Mark Fasheh | ccd979b | 2005-12-15 14:31:24 -0800 | [diff] [blame] | 28 | mmap.o \ |
| 29 | namei.o \ |
Tao Ma | d659072 | 2007-12-18 15:47:03 +0800 | [diff] [blame] | 30 | resize.o \ |
Mark Fasheh | ccd979b | 2005-12-15 14:31:24 -0800 | [diff] [blame] | 31 | slot_map.o \ |
| 32 | suballoc.o \ |
| 33 | super.o \ |
| 34 | symlink.o \ |
| 35 | sysfile.o \ |
| 36 | uptodate.o \ |
Tao Ma | f56654c | 2008-08-18 17:38:48 +0800 | [diff] [blame] | 37 | ver.o \ |
Mark Fasheh | 99219ae | 2008-10-07 14:52:59 -0700 | [diff] [blame] | 38 | xattr.o |
Mark Fasheh | ccd979b | 2005-12-15 14:31:24 -0800 | [diff] [blame] | 39 | |
Tiger Yang | 929fb01 | 2008-11-14 11:17:04 +0800 | [diff] [blame^] | 40 | ifeq ($(CONFIG_OCFS2_FS_POSIX_ACL),y) |
| 41 | ocfs2-objs += acl.o |
| 42 | endif |
| 43 | |
Joel Becker | 286eaa9 | 2008-02-01 15:03:57 -0800 | [diff] [blame] | 44 | ocfs2_stackglue-objs := stackglue.o |
| 45 | ocfs2_stack_o2cb-objs := stack_o2cb.o |
Joel Becker | b92eccd | 2007-11-28 14:53:30 -0800 | [diff] [blame] | 46 | ocfs2_stack_user-objs := stack_user.o |
Joel Becker | 286eaa9 | 2008-02-01 15:03:57 -0800 | [diff] [blame] | 47 | |
Joel Becker | 9341d22 | 2008-03-04 17:58:56 -0800 | [diff] [blame] | 48 | # cluster/ is always needed when OCFS2_FS for masklog support |
Mark Fasheh | ccd979b | 2005-12-15 14:31:24 -0800 | [diff] [blame] | 49 | obj-$(CONFIG_OCFS2_FS) += cluster/ |
Joel Becker | 9341d22 | 2008-03-04 17:58:56 -0800 | [diff] [blame] | 50 | obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/ |