2 # Copyright (c) 2000-2002 Silicon Graphics, Inc. All Rights Reserved.
6 include $(TOPDIR
)/include/builddefs
10 LTCOMMAND
= xfs_repair
12 HFILES
= agheader.h attr_repair.h avl.h avl64.h bmap.h btree.h \
13 da_util.h dinode.h dir2.h err_protos.h globals.h incore.h protos.h \
14 rt.h progress.h scan.h versions.h prefetch.h threads.h
16 CFILES
= agheader.c attr_repair.c avl.c avl64.c bmap.c btree.c \
17 da_util.c dino_chunks.c dinode.c dir2.c globals.c incore.c \
18 incore_bmc.c init.c incore_ext.c incore_ino.c phase1.c \
19 phase2.c phase3.c phase4.c phase5.c phase6.c phase7.c \
20 progress.c prefetch.c rt.c sb.c scan.c threads.c \
21 versions.c xfs_repair.c
23 LLDLIBS
= $(LIBXFS
) $(LIBXLOG
) $(LIBUUID
) $(LIBRT
) $(LIBPTHREAD
)
24 LTDEPENDENCIES
= $(LIBXFS
) $(LIBXLOG
)
25 LLDFLAGS
= -static-libtool-libs
27 default
: depend
$(LTCOMMAND
)
35 # -DXR_INODE_TRACE inode processing
36 # -DXR_DIR_TRACE directory processing
37 # -DXR_DUP_TRACE duplicate extent processing
38 # -DXR_BCNT_TRACE incore bcnt freespace btree building
39 # -DXR_BLD_FREE_TRACE building on-disk freespace (bcnt/bno) btrees
40 # -DXR_BLD_INO_TRACE building on-disk inode allocation btrees
41 # -DXR_BLD_ADD_EXTENT track phase 5 block extent creation
42 # -DXR_BCKPTR_DBG parent list debugging info
43 # -DXR_PF_TRACE prefetch trace
48 $(INSTALL
) -m
755 -d
$(PKG_ROOT_SBIN_DIR
)
49 $(LTINSTALL
) -m
755 $(LTCOMMAND
) $(PKG_ROOT_SBIN_DIR
)