#!smake

include ${ROOT}/usr/include/make/commondefs

XFSCMDS = ../../..

CHFILES = platform_defs.h xqm.h
LHFILES = libxfs.h libxlog.h irix.h xfs.h \
	xfs_ag.h xfs_dir_sf.h xfs_alloc.h xfs_extfree_item.h \
	xfs_alloc_btree.h xfs_fs.h xfs_arch.h xfs_attr_leaf.h \
	xfs_ialloc.h xfs_attr_sf.h xfs_ialloc_btree.h xfs_bit.h \
	xfs_imap.h xfs_bmap.h xfs_inode.h xfs_bmap_btree.h \
	xfs_inode_item.h xfs_btree.h xfs_inum.h xfs_buf_item.h \
	xfs_log.h xfs_da_btree.h xfs_log_priv.h xfs_dfrag.h \
	xfs_log_recover.h xfs_dinode.h xfs_mount.h xfs_quota.h \
	xfs_dir.h xfs_rtalloc.h xfs_dir2.h xfs_sb.h xfs_dir2_block.h \
	xfs_trans.h xfs_dir2_data.h xfs_trans_space.h xfs_dir2_leaf.h \
	xfs_types.h xfs_dir2_node.h xfs_dir2_sf.h xfs_dir_leaf.h
LHFILES += cache.h command.h handle.h input.h list.h \
	jdm.h parent.h path.h project.h

LDIRT = $(LHFILES)

default install $(COMMONTARGS): $(LHFILES)

include $(COMMONRULES)

$(LHFILES):
	@rm -f $@; ln -s $(XFSCMDS)/xfsprogs/include/$@ $@

