X-Git-Url: http://ftp.safe.ca/?a=blobdiff_plain;f=fs%2Fbtrfs%2FMakefile;h=a35eb36b32fdc954351e22055a9a5e179d07e0a1;hb=105a048a4f35f7a74c7cc20b36dd83658b6ec232;hp=ea3e1493baa93e24bbd2e6edfe6ff94db4d7cef3;hpb=1d4f6404de26df49eb8452f8fdf7672b59f407fc;p=safe%2Fjmp%2Flinux-2.6 diff --git a/fs/btrfs/Makefile b/fs/btrfs/Makefile index ea3e149..a35eb36 100644 --- a/fs/btrfs/Makefile +++ b/fs/btrfs/Makefile @@ -1,35 +1,10 @@ -CC=gcc -CFLAGS = -g -Wall -headers = radix-tree.h ctree.h disk-io.h kerncompat.h print-tree.h list.h -objects = ctree.o disk-io.o radix-tree.o mkfs.o extent-tree.o print-tree.o \ - root-tree.o dir-item.o hash.o - -# if you don't have sparse installed, use ls instead -CHECKFLAGS=-D__linux__ -Dlinux -D__STDC__ -Dunix -D__unix__ -Wbitwise \ - -Wcontext -Wcast-truncate -Wuninitialized -Wshadow -Wundef -check=sparse $(CHECKFLAGS) -#check=ls - -.c.o: - $(check) $< - $(CC) $(CFLAGS) -c $< - -all: tester debug-tree quick-test dir-test - -debug-tree: $(objects) debug-tree.o - gcc $(CFLAGS) -o debug-tree $(objects) debug-tree.o - -tester: $(objects) random-test.o - gcc $(CFLAGS) -o tester $(objects) random-test.o - -dir-test: $(objects) dir-test.o - gcc $(CFLAGS) -o dir-test $(objects) dir-test.o -quick-test: $(objects) quick-test.o - gcc $(CFLAGS) -o quick-test $(objects) quick-test.o - -$(objects): $(headers) - -clean : - rm debug-tree tester *.o +obj-$(CONFIG_BTRFS_FS) := btrfs.o +btrfs-y += super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \ + file-item.o inode-item.o inode-map.o disk-io.o \ + transaction.o inode.o file.o tree-defrag.o \ + extent_map.o sysfs.o struct-funcs.o xattr.o ordered-data.o \ + extent_io.o volumes.o async-thread.o ioctl.o locking.o orphan.o \ + export.o tree-log.o acl.o free-space-cache.o zlib.o \ + compression.o delayed-ref.o relocation.o