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 EXTRA_CFLAGS
+= -I
$(src
) -I
$(src
)/linux-2.6
-funsigned-char
21 XFS_LINUX
:= linux-2.6
23 ifeq ($(CONFIG_XFS_DEBUG
),y
)
27 obj-
$(CONFIG_XFS_FS
) += xfs.o
29 xfs-
$(CONFIG_XFS_QUOTA
) += $(addprefix quota
/, \
36 xfs-
$(CONFIG_XFS_QUOTA
) += linux-2.6
/xfs_quotaops.o
38 ifeq ($(CONFIG_XFS_QUOTA
),y
)
39 xfs-
$(CONFIG_PROC_FS
) += quota
/xfs_qm_stats.o
42 xfs-
$(CONFIG_XFS_RT
) += xfs_rtalloc.o
43 xfs-
$(CONFIG_XFS_POSIX_ACL
) += xfs_acl.o
44 xfs-
$(CONFIG_PROC_FS
) += $(XFS_LINUX
)/xfs_stats.o
45 xfs-
$(CONFIG_SYSCTL
) += $(XFS_LINUX
)/xfs_sysctl.o
46 xfs-
$(CONFIG_COMPAT
) += $(XFS_LINUX
)/xfs_ioctl32.o
49 xfs-y
+= xfs_alloc.o \
94 xfs-
$(CONFIG_XFS_TRACE
) += xfs_btree_trace.o \
98 xfs-y
+= $(addprefix $(XFS_LINUX
)/, \
113 # Objects in support/
114 xfs-y
+= $(addprefix support
/, \
118 xfs-
$(CONFIG_XFS_TRACE
) += support
/ktrace.o