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 \ 858176a96SJosef Bacik extent_map.o sysfs.o 9af86d07eSChris Mason 102e635a27SChris Mason#btrfs-y := ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o \ 112e635a27SChris Mason# root-tree.o dir-item.o hash.o file-item.o inode-item.o \ 122e635a27SChris Mason# inode-map.o \ 13eb60ceacSChris Mason 142e635a27SChris Masonelse 151261ec42SChris Mason 162e635a27SChris Mason# Normal Makefile 17fec577fbSChris Mason 182e635a27SChris MasonKERNELDIR := /lib/modules/`uname -r`/build 19432eba08SJan Engelhardtall: 2039279cc3SChris Mason $(MAKE) -C $(KERNELDIR) M=`pwd` modules 21432eba08SJan Engelhardtmodules_install: 2284a5d5eeSChris Mason $(MAKE) -C $(KERNELDIR) M=`pwd` modules_install 23432eba08SJan Engelhardtclean: 248578f0f1SJoel Becker $(MAKE) -C $(KERNELDIR) M=`pwd` clean 25432eba08SJan Engelhardt 26*5f39d397SChris Masontester: 27*5f39d397SChris 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 282e635a27SChris Masonendif 29