xref: /linux/fs/ocfs2/Makefile (revision f56654c435c06f2b2bd5751889b1a08a3add7d6c)
1ccd979bdSMark FashehEXTRA_CFLAGS += -Ifs/ocfs2
2ccd979bdSMark Fasheh
3ccd979bdSMark FashehEXTRA_CFLAGS += -DCATCH_BH_JBD_RACES
4ccd979bdSMark Fasheh
5b92eccddSJoel Beckerobj-$(CONFIG_OCFS2_FS) += 	\
6b92eccddSJoel Becker	ocfs2.o			\
79341d229SJoel Becker	ocfs2_stackglue.o
89341d229SJoel Becker
99341d229SJoel Beckerobj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_stack_o2cb.o
109341d229SJoel Beckerobj-$(CONFIG_OCFS2_FS_USERSPACE_CLUSTER) += ocfs2_stack_user.o
11ccd979bdSMark Fasheh
12ccd979bdSMark Fashehocfs2-objs := \
13ccd979bdSMark Fasheh	alloc.o 		\
14ccd979bdSMark Fasheh	aops.o 			\
15ccd979bdSMark Fasheh	buffer_head_io.o	\
16ccd979bdSMark Fasheh	dcache.o 		\
17ccd979bdSMark Fasheh	dir.o 			\
18ccd979bdSMark Fasheh	dlmglue.o 		\
19ccd979bdSMark Fasheh	export.o 		\
20ccd979bdSMark Fasheh	extent_map.o 		\
21ccd979bdSMark Fasheh	file.o 			\
22ccd979bdSMark Fasheh	heartbeat.o 		\
23ccd979bdSMark Fasheh	inode.o 		\
24ca4d147eSHerbert Poetzl	ioctl.o 		\
25ccd979bdSMark Fasheh	journal.o 		\
26ccd979bdSMark Fasheh	localalloc.o 		\
2753fc622bSMark Fasheh	locks.o			\
28ccd979bdSMark Fasheh	mmap.o 			\
29ccd979bdSMark Fasheh	namei.o 		\
30d659072fSTao Ma	resize.o		\
31ccd979bdSMark Fasheh	slot_map.o 		\
32ccd979bdSMark Fasheh	suballoc.o 		\
33ccd979bdSMark Fasheh	super.o 		\
34ccd979bdSMark Fasheh	symlink.o 		\
35ccd979bdSMark Fasheh	sysfile.o 		\
36ccd979bdSMark Fasheh	uptodate.o		\
37*f56654c4STao Ma	ver.o			\
38*f56654c4STao Ma	xattr.o			\
39ccd979bdSMark Fasheh
40286eaa95SJoel Beckerocfs2_stackglue-objs := stackglue.o
41286eaa95SJoel Beckerocfs2_stack_o2cb-objs := stack_o2cb.o
42b92eccddSJoel Beckerocfs2_stack_user-objs := stack_user.o
43286eaa95SJoel Becker
449341d229SJoel Becker# cluster/ is always needed when OCFS2_FS for masklog support
45ccd979bdSMark Fashehobj-$(CONFIG_OCFS2_FS) += cluster/
469341d229SJoel Beckerobj-$(CONFIG_OCFS2_FS_O2CB) += dlm/
47