2 # Copyright (c) 2000-2005 Silicon Graphics, Inc.
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.
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.
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
19 ccflags-y += -I$(src) # needed for trace events
21 ccflags-$(CONFIG_XFS_DEBUG) += -g
23 obj-$(CONFIG_XFS_FS) += xfs.o
25 # this one should be compiled first, as the tracing macros can easily blow up
58 # code shared with libxfs
59 xfs-y += xfs_alloc.o \
80 # low-level transaction/log code
92 xfs-$(CONFIG_XFS_QUOTA) += xfs_dquot.o \
99 ifeq ($(CONFIG_XFS_QUOTA),y)
100 xfs-$(CONFIG_PROC_FS) += xfs_qm_stats.o
102 xfs-$(CONFIG_XFS_RT) += xfs_rtalloc.o
103 xfs-$(CONFIG_XFS_POSIX_ACL) += xfs_acl.o
104 xfs-$(CONFIG_PROC_FS) += xfs_stats.o
105 xfs-$(CONFIG_SYSCTL) += xfs_sysctl.o
106 xfs-$(CONFIG_COMPAT) += xfs_ioctl32.o