]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - fs/xfs/Makefile-linux-2.6
[PATCH] inode-diet: Eliminate i_blksize from the inode structure
[mirror_ubuntu-bionic-kernel.git] / fs / xfs / Makefile-linux-2.6
1 #
2 # Copyright (c) 2000-2005 Silicon Graphics, Inc.
3 # All Rights Reserved.
4 #
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License as
7 # published by the Free Software Foundation.
8 #
9 # This program is distributed in the hope that it would be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program; if not, write the Free Software Foundation,
16 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
17 #
18
19 EXTRA_CFLAGS += -Ifs/xfs -Ifs/xfs/linux-2.6 -funsigned-char
20
21 XFS_LINUX := linux-2.6
22
23 ifeq ($(CONFIG_XFS_DEBUG),y)
24 EXTRA_CFLAGS += -g -DSTATIC="" -DDEBUG
25 EXTRA_CFLAGS += -DXFS_BUF_LOCK_TRACKING
26 endif
27 ifeq ($(CONFIG_XFS_TRACE),y)
28 EXTRA_CFLAGS += -DXFS_ALLOC_TRACE
29 EXTRA_CFLAGS += -DXFS_ATTR_TRACE
30 EXTRA_CFLAGS += -DXFS_BLI_TRACE
31 EXTRA_CFLAGS += -DXFS_BMAP_TRACE
32 EXTRA_CFLAGS += -DXFS_BMBT_TRACE
33 EXTRA_CFLAGS += -DXFS_DIR_TRACE
34 EXTRA_CFLAGS += -DXFS_DIR2_TRACE
35 EXTRA_CFLAGS += -DXFS_DQUOT_TRACE
36 EXTRA_CFLAGS += -DXFS_ILOCK_TRACE
37 EXTRA_CFLAGS += -DXFS_LOG_TRACE
38 EXTRA_CFLAGS += -DXFS_RW_TRACE
39 EXTRA_CFLAGS += -DXFS_BUF_TRACE
40 EXTRA_CFLAGS += -DXFS_VNODE_TRACE
41 endif
42
43 obj-$(CONFIG_XFS_FS) += xfs.o
44
45 xfs-$(CONFIG_XFS_QUOTA) += $(addprefix quota/, \
46 xfs_dquot.o \
47 xfs_dquot_item.o \
48 xfs_trans_dquot.o \
49 xfs_qm_syscalls.o \
50 xfs_qm_bhv.o \
51 xfs_qm.o)
52
53 ifeq ($(CONFIG_XFS_QUOTA),y)
54 xfs-$(CONFIG_PROC_FS) += quota/xfs_qm_stats.o
55 endif
56
57 xfs-$(CONFIG_XFS_RT) += xfs_rtalloc.o
58 xfs-$(CONFIG_XFS_POSIX_ACL) += xfs_acl.o
59 xfs-$(CONFIG_PROC_FS) += $(XFS_LINUX)/xfs_stats.o
60 xfs-$(CONFIG_SYSCTL) += $(XFS_LINUX)/xfs_sysctl.o
61 xfs-$(CONFIG_COMPAT) += $(XFS_LINUX)/xfs_ioctl32.o
62
63
64 xfs-y += xfs_alloc.o \
65 xfs_alloc_btree.o \
66 xfs_attr.o \
67 xfs_attr_leaf.o \
68 xfs_behavior.o \
69 xfs_bit.o \
70 xfs_bmap.o \
71 xfs_bmap_btree.o \
72 xfs_btree.o \
73 xfs_buf_item.o \
74 xfs_da_btree.o \
75 xfs_dir2.o \
76 xfs_dir2_block.o \
77 xfs_dir2_data.o \
78 xfs_dir2_leaf.o \
79 xfs_dir2_node.o \
80 xfs_dir2_sf.o \
81 xfs_error.o \
82 xfs_extfree_item.o \
83 xfs_fsops.o \
84 xfs_ialloc.o \
85 xfs_ialloc_btree.o \
86 xfs_iget.o \
87 xfs_inode.o \
88 xfs_inode_item.o \
89 xfs_iocore.o \
90 xfs_iomap.o \
91 xfs_itable.o \
92 xfs_dfrag.o \
93 xfs_log.o \
94 xfs_log_recover.o \
95 xfs_mount.o \
96 xfs_rename.o \
97 xfs_trans.o \
98 xfs_trans_ail.o \
99 xfs_trans_buf.o \
100 xfs_trans_extfree.o \
101 xfs_trans_inode.o \
102 xfs_trans_item.o \
103 xfs_utils.o \
104 xfs_vfsops.o \
105 xfs_vnodeops.o \
106 xfs_rw.o \
107 xfs_dmops.o \
108 xfs_qmops.o
109
110 xfs-$(CONFIG_XFS_TRACE) += xfs_dir2_trace.o
111
112 # Objects in linux/
113 xfs-y += $(addprefix $(XFS_LINUX)/, \
114 kmem.o \
115 xfs_aops.o \
116 xfs_buf.o \
117 xfs_export.o \
118 xfs_file.o \
119 xfs_fs_subr.o \
120 xfs_globals.o \
121 xfs_ioctl.o \
122 xfs_iops.o \
123 xfs_lrw.o \
124 xfs_super.o \
125 xfs_vfs.o \
126 xfs_vnode.o)
127
128 # Objects in support/
129 xfs-y += $(addprefix support/, \
130 debug.o \
131 move.o \
132 uuid.o)
133
134 xfs-$(CONFIG_XFS_TRACE) += support/ktrace.o
135