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 \ 6615f996fSDavid Woodhouse 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 \ 931153d81SYan Zheng extent_io.o volumes.o async-thread.o ioctl.o locking.o orphan.o \ 100f9dd46cSJosef Bacik ref-cache.o export.o tree-log.o acl.o free-space-cache.o 112e635a27SChris Masonelse 121261ec42SChris Mason 132e635a27SChris Mason# Normal Makefile 14fec577fbSChris Mason 152e635a27SChris MasonKERNELDIR := /lib/modules/`uname -r`/build 16*b4f6c45dSChris Masonall: 1739279cc3SChris Mason $(MAKE) -C $(KERNELDIR) M=`pwd` modules 18b3c3da71SChris Mason 19432eba08SJan Engelhardtmodules_install: 2084a5d5eeSChris Mason $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install 21432eba08SJan Engelhardtclean: 228578f0f1SJoel Becker $(MAKE) -C $(KERNELDIR) M=`pwd` clean 23432eba08SJan Engelhardt 242e635a27SChris Masonendif 25