]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - fs/xfs/Makefile
Merge branch 'kvm-updates/2.6.31' of git://git.kernel.org/pub/scm/virt/kvm/kvm
[mirror_ubuntu-bionic-kernel.git] / fs / xfs / Makefile
CommitLineData
58b7983d
AK
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
794f744b 19EXTRA_CFLAGS += -I$(src) -I$(src)/linux-2.6 -funsigned-char
58b7983d
AK
20
21XFS_LINUX := linux-2.6
22
23ifeq ($(CONFIG_XFS_DEBUG),y)
24 EXTRA_CFLAGS += -g
25endif
26
27obj-$(CONFIG_XFS_FS) += xfs.o
269cdfaf
LM
28
29xfs-$(CONFIG_XFS_QUOTA) += $(addprefix quota/, \
30 xfs_dquot.o \
31 xfs_dquot_item.o \
32 xfs_trans_dquot.o \
33 xfs_qm_syscalls.o \
34 xfs_qm_bhv.o \
35 xfs_qm.o)
fcafb71b 36xfs-$(CONFIG_XFS_QUOTA) += linux-2.6/xfs_quotaops.o
269cdfaf
LM
37
38ifeq ($(CONFIG_XFS_QUOTA),y)
39xfs-$(CONFIG_PROC_FS) += quota/xfs_qm_stats.o
40endif
58b7983d
AK
41
42xfs-$(CONFIG_XFS_RT) += xfs_rtalloc.o
ef14f0c1 43xfs-$(CONFIG_XFS_POSIX_ACL) += $(XFS_LINUX)/xfs_acl.o
58b7983d
AK
44xfs-$(CONFIG_PROC_FS) += $(XFS_LINUX)/xfs_stats.o
45xfs-$(CONFIG_SYSCTL) += $(XFS_LINUX)/xfs_sysctl.o
46xfs-$(CONFIG_COMPAT) += $(XFS_LINUX)/xfs_ioctl32.o
47
48
49xfs-y += xfs_alloc.o \
50 xfs_alloc_btree.o \
51 xfs_attr.o \
52 xfs_attr_leaf.o \
53 xfs_bit.o \
54 xfs_bmap.o \
55 xfs_bmap_btree.o \
56 xfs_btree.o \
57 xfs_buf_item.o \
58 xfs_da_btree.o \
59 xfs_dir2.o \
60 xfs_dir2_block.o \
61 xfs_dir2_data.o \
62 xfs_dir2_leaf.o \
63 xfs_dir2_node.o \
64 xfs_dir2_sf.o \
65 xfs_error.o \
66 xfs_extfree_item.o \
67 xfs_filestream.o \
68 xfs_fsops.o \
69 xfs_ialloc.o \
70 xfs_ialloc_btree.o \
71 xfs_iget.o \
72 xfs_inode.o \
73 xfs_inode_item.o \
74 xfs_iomap.o \
75 xfs_itable.o \
76 xfs_dfrag.o \
77 xfs_log.o \
78 xfs_log_recover.o \
79 xfs_mount.o \
80 xfs_mru_cache.o \
81 xfs_rename.o \
82 xfs_trans.o \
83 xfs_trans_ail.o \
84 xfs_trans_buf.o \
85 xfs_trans_extfree.o \
86 xfs_trans_inode.o \
87 xfs_trans_item.o \
88 xfs_utils.o \
58b7983d
AK
89 xfs_vnodeops.o \
90 xfs_rw.o \
7d095257 91 xfs_dmops.o
58b7983d 92
8c4ed633
CH
93xfs-$(CONFIG_XFS_TRACE) += xfs_btree_trace.o \
94 xfs_dir2_trace.o
58b7983d
AK
95
96# Objects in linux/
97xfs-y += $(addprefix $(XFS_LINUX)/, \
98 kmem.o \
99 xfs_aops.o \
100 xfs_buf.o \
101 xfs_export.o \
102 xfs_file.o \
103 xfs_fs_subr.o \
104 xfs_globals.o \
105 xfs_ioctl.o \
106 xfs_iops.o \
107 xfs_lrw.o \
108 xfs_super.o \
fe4fa4b8 109 xfs_sync.o \
0ec58516 110 xfs_xattr.o)
58b7983d
AK
111
112# Objects in support/
113xfs-y += $(addprefix support/, \
114 debug.o \
115 uuid.o)
116
117xfs-$(CONFIG_XFS_TRACE) += support/ktrace.o
118