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