12e635a27SChris Masonifneq ($(KERNELRELEASE),) 22e635a27SChris Mason# kbuild part of makefile 3eb60ceacSChris Mason 42e635a27SChris Masonobj-m := btrfs.o 5e20d96d6SChris Masonbtrfs-y := super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \ 68ef97622SChris Mason hash.o file-item.o inode-item.o inode-map.o disk-io.o \ 7a52d9a80SChris Mason transaction.o bit-radix.o inode.o file.o tree-defrag.o \ 8d1310b2eSChris Mason extent_map.o sysfs.o struct-funcs.o xattr.o ordered-data.o \ 90b86a832SChris Mason extent_io.o volumes.o 10af86d07eSChris Mason 11*95c9eb17SChristoph Hellwigbtrfs-$(CONFIG_FS_POSIX_ACL) += acl.o 122e635a27SChris Masonelse 131261ec42SChris Mason 142e635a27SChris Mason# Normal Makefile 15fec577fbSChris Mason 162e635a27SChris MasonKERNELDIR := /lib/modules/`uname -r`/build 17432eba08SJan Engelhardtall: 1839279cc3SChris Mason $(MAKE) -C $(KERNELDIR) M=`pwd` modules 19432eba08SJan Engelhardtmodules_install: 2084a5d5eeSChris Mason $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install 21432eba08SJan Engelhardtclean: 228578f0f1SJoel Becker $(MAKE) -C $(KERNELDIR) M=`pwd` clean 23432eba08SJan Engelhardt 245f39d397SChris Masontester: 255f39d397SChris Mason $(MAKE) -C $(KERNELDIR) M=`pwd` tree-defrag.o transaction.o sysfs.o super.o root-tree.o inode-map.o inode-item.o inode.o file-item.o file.o extent_map.o disk-io.o ctree.o dir-item.o extent-tree.o 262e635a27SChris Masonendif 27