2 # Copyright (c) 2000-2006 Silicon Graphics, Inc. All Rights Reserved.
6 include $(TOPDIR
)/include/builddefs
14 CFILES
= cache.c init.c kmem.c logitem.c rdwr.c trans.c util.c \
15 xfs_alloc.c xfs_ialloc.c xfs_inode.c xfs_btree.c xfs_alloc_btree.c \
16 xfs_ialloc_btree.c xfs_bmap_btree.c xfs_da_btree.c \
17 xfs_dir2.c xfs_dir2_leaf.c xfs_attr_leaf.c xfs_dir2_block.c \
18 xfs_dir2_node.c xfs_dir2_data.c xfs_dir2_sf.c xfs_bmap.c \
19 xfs_mount.c xfs_rtalloc.c xfs_trans.c xfs_attr.c
21 CFILES
+= $(PKG_PLATFORM
).c
22 PCFILES
= darwin.c freebsd.c irix.c linux.c
23 LSRCFILES
= $(shell echo
$(PCFILES
) | sed
-e
"s/$(PKG_PLATFORM).c//g")
27 # -DIO_DEBUG reads and writes of buffers
28 # -DMEM_DEBUG all zone memory use
29 # -DLI_DEBUG log item (ino/buf) manipulation
30 # -DXACT_DEBUG transaction state changes
36 LTLIBS
= $(LIBPTHREAD
) $(LIBRT
)
38 # don't try linking xfs_repair with a debug libxfs.
41 default
: ltdepend
$(LTLIBRARY
)