TOPDIR = ..
include $(TOPDIR)/include/builddefs
-QAHFILES = libxfs.h \
+QAHFILES = xfs_arch.h
+
+LIBHFILES = libxfs.h \
libxlog.h \
atomic.h \
bitops.h \
list.h \
parent.h \
radix-tree.h \
- xfs_arch.h \
xfs_btree_trace.h \
xfs_inode.h \
xfs_log_recover.h \
xfs_metadump.h \
xfs_mount.h \
xfs_trace.h \
- xfs_trans.h
+ xfs_trans.h \
+ command.h \
+ input.h \
+ path.h \
+ project.h
HFILES = handle.h \
jdm.h \
PHFILES = darwin.h freebsd.h irix.h linux.h gnukfreebsd.h
DKHFILES = volume.h fstyp.h dvh.h
-LIBHFILES = command.h input.h path.h project.h
LSRCFILES = $(shell echo $(PHFILES) | sed -e "s/$(PKG_PLATFORM).h//g")
LSRCFILES += platform_defs.h.in builddefs.in buildmacros buildrules install-sh
LSRCFILES += $(DKHFILES) $(LIBHFILES)
PKGHFILES = xfs_fs.h \
xfs_types.h
-# headers with build dependencies
-HFILES = init.h \
- crc32defs.h \
- crc32table.h \
- libxfs_priv.h \
- xfs_dir2_priv.h \
-
# headers installed in QA targets
-QAHFILES = xfs_alloc.h \
+QAHFILES = \
+ xfs_da_format.h \
+ xfs_format.h \
+ xfs_log_format.h
+
+LIBHFILES = \
+ xfs_alloc.h \
xfs_alloc_btree.h \
xfs_attr_leaf.h \
xfs_attr_sf.h \
xfs_attr_remote.h \
xfs_cksum.h \
xfs_da_btree.h \
- xfs_da_format.h \
xfs_dir2.h \
- xfs_format.h \
xfs_ialloc.h \
xfs_ialloc_btree.h \
xfs_inode_buf.h \
xfs_inode_fork.h \
- xfs_log_format.h \
xfs_quota_defs.h \
xfs_sb.h \
xfs_shared.h \
libxfs_io.h \
libxfs_api_defs.h
+
+# headers with build dependencies
+HFILES = init.h \
+ crc32defs.h \
+ crc32table.h \
+ libxfs_priv.h \
+ xfs_dir2_priv.h
+
CFILES = cache.c \
crc32.c \
init.c \
CFILES += $(PKG_PLATFORM).c
PCFILES = darwin.c freebsd.c irix.c linux.c
LSRCFILES = $(shell echo $(PCFILES) | sed -e "s/$(PKG_PLATFORM).c//g")
+LSRCFILES += $(LIBHFILES)
LSRCFILES += gen_crc32table.c
#
install: default
$(INSTALL) -m 755 -d $(PKG_INC_DIR)
-install-headers: $(addsuffix -hdrs, $(PKGHFILES) $(QAHFILES))
+install-headers: $(addsuffix -hdrs, $(PKGHFILES) $(LIBHFILES) $(QAHFILES))
%-hdrs:
$(Q)$(LN_S) -f $(PWD)/libxfs/$* $(TOPDIR)/include/xfs/$*