]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
libxfs: restructure to match kernel layout
authorDave Chinner <dchinner@redhat.com>
Thu, 7 May 2015 02:00:53 +0000 (12:00 +1000)
committerDave Chinner <david@fromorbit.com>
Thu, 7 May 2015 02:00:53 +0000 (12:00 +1000)
commitdf2f9f4a1cbe852064fb878e2d2c7ede6c990b28
tree13e0bbb10fb99ead549609eccea95fe2dda30f68
parent0aeb911224986aab8febaa129228e9d81c0969e1
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]