1# SPDX-License-Identifier: GPL-2.0 2ccflags-y := -Ifs/ocfs2 3 4obj-$(CONFIG_OCFS2_FS) += \ 5 ocfs2.o \ 6 ocfs2_stackglue.o 7 8obj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_stack_o2cb.o 9obj-$(CONFIG_OCFS2_FS_USERSPACE_CLUSTER) += ocfs2_stack_user.o 10 11ocfs2-objs := \ 12 alloc.o \ 13 aops.o \ 14 blockcheck.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 \ 24 ioctl.o \ 25 journal.o \ 26 localalloc.o \ 27 locks.o \ 28 mmap.o \ 29 namei.o \ 30 refcounttree.o \ 31 reservations.o \ 32 move_extents.o \ 33 resize.o \ 34 slot_map.o \ 35 suballoc.o \ 36 super.o \ 37 symlink.o \ 38 sysfile.o \ 39 uptodate.o \ 40 quota_local.o \ 41 quota_global.o \ 42 xattr.o \ 43 acl.o \ 44 filecheck.o 45 46ocfs2_stackglue-objs := stackglue.o 47ocfs2_stack_o2cb-objs := stack_o2cb.o 48ocfs2_stack_user-objs := stack_user.o 49 50obj-$(CONFIG_OCFS2_FS) += dlmfs/ 51# cluster/ is always needed when OCFS2_FS for masklog support 52obj-$(CONFIG_OCFS2_FS) += cluster/ 53obj-$(CONFIG_OCFS2_FS_O2CB) += dlm/ 54