Makefile-linux-2.6 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. #
  2. # Copyright (c) 2000-2003,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. EXTRA_CFLAGS += -I $(TOPDIR)/fs/xfs -I $(TOPDIR)/fs/xfs/linux-2.6
  19. ifeq ($(CONFIG_XFS_DEBUG),y)
  20. EXTRA_CFLAGS += -g -DDEBUG
  21. #EXTRA_CFLAGS += -DQUOTADEBUG
  22. endif
  23. ifeq ($(CONFIG_XFS_TRACE),y)
  24. EXTRA_CFLAGS += -DXFS_DQUOT_TRACE
  25. EXTRA_CFLAGS += -DXFS_VNODE_TRACE
  26. endif
  27. xfs-$(CONFIG_XFS_QUOTA) += xfs_dquot.o \
  28. xfs_dquot_item.o \
  29. xfs_trans_dquot.o \
  30. xfs_qm_syscalls.o \
  31. xfs_qm_bhv.o \
  32. xfs_qm.o
  33. ifeq ($(CONFIG_XFS_QUOTA),y)
  34. xfs-$(CONFIG_PROC_FS) += xfs_qm_stats.o
  35. endif