]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: restructure to match kernel layout
authorDave Chinner <dchinner@redhat.com>
Fri, 5 Jun 2015 00:13:30 +0000 (10:13 +1000)
committerDave Chinner <david@fromorbit.com>
Fri, 5 Jun 2015 00:13:30 +0000 (10:13 +1000)
commit2fe8a24dda8a2942a1168c745bf6743ae21991c0
tree9cc37f63b05815faa66d00e9c57177cfd2f9ef04
parentb6daf451ba359a460c7a8db53e85824a440dd48e
libxfs: restructure to match kernel layout

The kernel now has a libxfs directory, so we need to restructure the
userspace libxfs source tree to match the kernel layout. This
involves changing the location of libxfs include files and how they
are linked into include/xfs for all the subdirectories to see them.

This is a bit convoluted as an initial conversion step - we move all
the libxfs headers files from include/ to libxfs/ and then add build
rules to symlink the files directly to include/xfs so everything
still "sees" the same header files. This changes the build
dependencies slightly, as libxfs now must be built after include
(unchanged) but before anything else (new) so that we have a
complete include/xfs directory. This also affects install and
packaging rules, as header install rules are now split across
include and libxfs Makefiles.

Signed-off-by: Dave Chinner <dchinner@redhat.com>
33 files changed:
Makefile
include/Makefile
include/buildrules
libxfs/Makefile
libxfs/xfs_ag.h [moved from include/xfs_ag.h with 100% similarity]
libxfs/xfs_alloc.h [moved from include/xfs_alloc.h with 100% similarity]
libxfs/xfs_alloc_btree.h [moved from include/xfs_alloc_btree.h with 100% similarity]
libxfs/xfs_attr_leaf.h [moved from include/xfs_attr_leaf.h with 100% similarity]
libxfs/xfs_attr_remote.h [moved from include/xfs_attr_remote.h with 100% similarity]
libxfs/xfs_attr_sf.h [moved from include/xfs_attr_sf.h with 100% similarity]
libxfs/xfs_bit.h [moved from include/xfs_bit.h with 100% similarity]
libxfs/xfs_bmap.h [moved from include/xfs_bmap.h with 100% similarity]
libxfs/xfs_bmap_btree.h [moved from include/xfs_bmap_btree.h with 100% similarity]
libxfs/xfs_btree.h [moved from include/xfs_btree.h with 100% similarity]
libxfs/xfs_cksum.h [moved from include/xfs_cksum.h with 100% similarity]
libxfs/xfs_da_btree.h [moved from include/xfs_da_btree.h with 100% similarity]
libxfs/xfs_da_format.h [moved from include/xfs_da_format.h with 100% similarity]
libxfs/xfs_dinode.h [moved from include/xfs_dinode.h with 100% similarity]
libxfs/xfs_dir2.h [moved from include/xfs_dir2.h with 100% similarity]
libxfs/xfs_format.h [moved from include/xfs_format.h with 100% similarity]
libxfs/xfs_fs.h [moved from include/xfs_fs.h with 100% similarity]
libxfs/xfs_ialloc.h [moved from include/xfs_ialloc.h with 100% similarity]
libxfs/xfs_ialloc_btree.h [moved from include/xfs_ialloc_btree.h with 100% similarity]
libxfs/xfs_inode_buf.h [moved from include/xfs_inode_buf.h with 100% similarity]
libxfs/xfs_inode_fork.h [moved from include/xfs_inode_fork.h with 100% similarity]
libxfs/xfs_inum.h [moved from include/xfs_inum.h with 100% similarity]
libxfs/xfs_log_format.h [moved from include/xfs_log_format.h with 100% similarity]
libxfs/xfs_quota_defs.h [moved from include/xfs_quota_defs.h with 100% similarity]
libxfs/xfs_sb.h [moved from include/xfs_sb.h with 100% similarity]
libxfs/xfs_shared.h [moved from include/xfs_shared.h with 100% similarity]
libxfs/xfs_trans_resv.h [moved from include/xfs_trans_resv.h with 100% similarity]
libxfs/xfs_trans_space.h [moved from include/xfs_trans_space.h with 100% similarity]
libxfs/xfs_types.h [moved from include/xfs_types.h with 100% similarity]