xref: /linux/fs/btrfs/Makefile (revision 72b28077a20a6a1f14494602466c219241f45d89)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
2eb60ceacSChris Mason
361f8c86eSSage Weilobj-$(CONFIG_BTRFS_FS) := btrfs.o
42ea2544eSChristoph Hellwig
52ea2544eSChristoph Hellwigbtrfs-y += super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \
6615f996fSDavid Woodhouse	   file-item.o inode-item.o inode-map.o disk-io.o \
7d352ac68SChris Mason	   transaction.o inode.o file.o tree-defrag.o \
8d1310b2eSChris Mason	   extent_map.o sysfs.o struct-funcs.o xattr.o ordered-data.o \
931153d81SYan Zheng	   extent_io.o volumes.o async-thread.o ioctl.o locking.o orphan.o \
105c1aab1dSNick Terrell	   export.o tree-log.o free-space-cache.o zlib.o lzo.o zstd.o \
117414a03fSArne Jansen	   compression.o delayed-ref.o relocation.o delayed-inode.o scrub.o \
1207b30a49SStefan Behrens	   reada.o backref.o ulist.o qgroup.o send.o dev-replace.o raid56.o \
13557ea5ddSQu Wenruo	   uuid-tree.o props.o hash.o free-space-tree.o tree-checker.o
149b89d95aSLi Zefan
159b89d95aSLi Zefanbtrfs-$(CONFIG_BTRFS_FS_POSIX_ACL) += acl.o
16f11e4d7fSStefan Behrensbtrfs-$(CONFIG_BTRFS_FS_CHECK_INTEGRITY) += check-integrity.o
17fd708b81SJosef Bacikbtrfs-$(CONFIG_BTRFS_FS_REF_VERIFY) += ref-verify.o
18dc11dd5dSJosef Bacik
1906ea65a3SJosef Bacikbtrfs-$(CONFIG_BTRFS_FS_RUN_SANITY_TESTS) += tests/free-space-tests.o \
20aaedb55bSJosef Bacik	tests/extent-buffer-tests.o tests/btrfs-tests.o \
217c55ee0cSOmar Sandoval	tests/extent-io-tests.o tests/inode-tests.o tests/qgroup-tests.o \
22*72b28077SLiu Bo	tests/free-space-tree-tests.o tests/extent-map-tests.o
23