blob: cc9b32b9db7cf6da37fa8db7807490c00304b2cf [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001# SPDX-License-Identifier: GPL-2.0
Larry Chen9e6aea22018-12-28 00:32:46 -08002ccflags-y := -I$(src)
Mark Fashehccd979b2005-12-15 14:31:24 -08003
Joel Beckerb92eccd2007-11-28 14:53:30 -08004obj-$(CONFIG_OCFS2_FS) += \
5 ocfs2.o \
Joel Becker9341d222008-03-04 17:58:56 -08006 ocfs2_stackglue.o
7
8obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_stack_o2cb.o
9obj-$(CONFIG_OCFS2_FS_USERSPACE_CLUSTER) += ocfs2_stack_user.o
Mark Fashehccd979b2005-12-15 14:31:24 -080010
11ocfs2-objs := \
12 alloc.o \
13 aops.o \
Joel Becker70ad1ba2008-10-16 17:54:25 -070014 blockcheck.o \
Mark Fashehccd979b2005-12-15 14:31:24 -080015 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 Maf2c870e2009-08-18 11:19:26 +080030 refcounttree.o \
Mark Fashehd02f00c2009-12-07 13:10:48 -080031 reservations.o \
Tristan Ye028ba5df2011-05-24 16:42:09 +080032 move_extents.o \
Tao Mad6590722007-12-18 15:47:03 +080033 resize.o \
Mark Fashehccd979b2005-12-15 14:31:24 -080034 slot_map.o \
35 suballoc.o \
36 super.o \
37 symlink.o \
38 sysfile.o \
39 uptodate.o \
Jan Kara9e33d692008-08-25 19:56:50 +020040 quota_local.o \
41 quota_global.o \
Jan Karae6aabe02009-10-15 14:54:03 +020042 xattr.o \
Gang Hea860f6e2016-03-22 14:24:24 -070043 acl.o \
44 filecheck.o
Tiger Yang929fb012008-11-14 11:17:04 +080045
Joel Becker286eaa92008-02-01 15:03:57 -080046ocfs2_stackglue-objs := stackglue.o
47ocfs2_stack_o2cb-objs := stack_o2cb.o
Joel Beckerb92eccd2007-11-28 14:53:30 -080048ocfs2_stack_user-objs := stack_user.o
Joel Becker286eaa92008-02-01 15:03:57 -080049
Joel Becker34a9dd72010-01-28 15:00:49 -080050obj-$(CONFIG_OCFS2_FS) += dlmfs/
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/