Merge git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6
[wrt350n-kernel.git] / fs / xfs / Makefile
blobcb25e143e1a60ad2fbcede4db708532493706f77
1 <<<<<<< HEAD:fs/xfs/Makefile
2 include $(TOPDIR)/fs/xfs/Makefile-linux-$(VERSION).$(PATCHLEVEL)
3 =======
5 # Copyright (c) 2000-2005 Silicon Graphics, Inc.
6 # All Rights Reserved.
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation.
12 # This program is distributed in the hope that it would be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
17 # You should have received a copy of the GNU General Public License
18 # along with this program; if not, write the Free Software Foundation,
19 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 EXTRA_CFLAGS += -I$(src) -I$(src)/linux-2.6 -funsigned-char
24 XFS_LINUX := linux-2.6
26 ifeq ($(CONFIG_XFS_DEBUG),y)
27 EXTRA_CFLAGS += -g
28 endif
30 obj-$(CONFIG_XFS_FS) += xfs.o
32 xfs-$(CONFIG_XFS_QUOTA) += $(addprefix quota/, \
33 xfs_dquot.o \
34 xfs_dquot_item.o \
35 xfs_trans_dquot.o \
36 xfs_qm_syscalls.o \
37 xfs_qm_bhv.o \
38 xfs_qm.o)
40 ifeq ($(CONFIG_XFS_QUOTA),y)
41 xfs-$(CONFIG_PROC_FS) += quota/xfs_qm_stats.o
42 endif
44 xfs-$(CONFIG_XFS_RT) += xfs_rtalloc.o
45 xfs-$(CONFIG_XFS_POSIX_ACL) += xfs_acl.o
46 xfs-$(CONFIG_PROC_FS) += $(XFS_LINUX)/xfs_stats.o
47 xfs-$(CONFIG_SYSCTL) += $(XFS_LINUX)/xfs_sysctl.o
48 xfs-$(CONFIG_COMPAT) += $(XFS_LINUX)/xfs_ioctl32.o
51 xfs-y += xfs_alloc.o \
52 xfs_alloc_btree.o \
53 xfs_attr.o \
54 xfs_attr_leaf.o \
55 xfs_bit.o \
56 xfs_bmap.o \
57 xfs_bmap_btree.o \
58 xfs_btree.o \
59 xfs_buf_item.o \
60 xfs_da_btree.o \
61 xfs_dir2.o \
62 xfs_dir2_block.o \
63 xfs_dir2_data.o \
64 xfs_dir2_leaf.o \
65 xfs_dir2_node.o \
66 xfs_dir2_sf.o \
67 xfs_error.o \
68 xfs_extfree_item.o \
69 xfs_filestream.o \
70 xfs_fsops.o \
71 xfs_ialloc.o \
72 xfs_ialloc_btree.o \
73 xfs_iget.o \
74 xfs_inode.o \
75 xfs_inode_item.o \
76 xfs_iomap.o \
77 xfs_itable.o \
78 xfs_dfrag.o \
79 xfs_log.o \
80 xfs_log_recover.o \
81 xfs_mount.o \
82 xfs_mru_cache.o \
83 xfs_rename.o \
84 xfs_trans.o \
85 xfs_trans_ail.o \
86 xfs_trans_buf.o \
87 xfs_trans_extfree.o \
88 xfs_trans_inode.o \
89 xfs_trans_item.o \
90 xfs_utils.o \
91 xfs_vfsops.o \
92 xfs_vnodeops.o \
93 xfs_rw.o \
94 xfs_dmops.o \
95 xfs_qmops.o
97 xfs-$(CONFIG_XFS_TRACE) += xfs_dir2_trace.o
99 # Objects in linux/
100 xfs-y += $(addprefix $(XFS_LINUX)/, \
101 kmem.o \
102 xfs_aops.o \
103 xfs_buf.o \
104 xfs_export.o \
105 xfs_file.o \
106 xfs_fs_subr.o \
107 xfs_globals.o \
108 xfs_ioctl.o \
109 xfs_iops.o \
110 xfs_lrw.o \
111 xfs_super.o \
112 xfs_vnode.o)
114 # Objects in support/
115 xfs-y += $(addprefix support/, \
116 debug.o \
117 uuid.o)
119 xfs-$(CONFIG_XFS_TRACE) += support/ktrace.o
121 >>>>>>> 264e3e889d86e552b4191d69bb60f4f3b383135a:fs/xfs/Makefile