-#
+# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2000-2006 Silicon Graphics, Inc.
# All Rights Reserved.
#
-# This program is free software; you can redistribute it and/or
-# modify it under the terms of the GNU General Public License as
-# published by the Free Software Foundation.
-#
-# This program is distributed in the hope that it would be useful, but
-# WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write the Free Software Foundation,
-# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-#
TOPDIR = ..
include $(TOPDIR)/include/builddefs
-QAHFILES = libxfs.h \
+LIBHFILES = libxfs.h \
libxlog.h \
+ libxcmd.h \
atomic.h \
bitops.h \
cache.h \
kmem.h \
list.h \
parent.h \
- radix-tree.h \
- swab.h \
- xfs_arch.h \
xfs_btree_trace.h \
xfs_inode.h \
xfs_log_recover.h \
xfs_metadump.h \
xfs_mount.h \
+ xfs_quota_defs.h \
+ xfs_sb.h \
+ xfs_shared.h \
xfs_trace.h \
- xfs_trans.h
+ xfs_trans.h \
+ command.h \
+ input.h \
+ platform_defs.h
HFILES = handle.h \
jdm.h \
- $(PKG_PLATFORM).h \
- platform_defs.h \
+ linux.h \
xfs.h \
- xqm.h
+ xqm.h \
+ xfs_arch.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 = platform_defs.h.in builddefs.in buildmacros buildrules install-sh
LSRCFILES += $(DKHFILES) $(LIBHFILES)
LDIRT = disk
LDIRDIRT = xfs
include $(BUILDRULES)
# set up include/xfs header directory
-install-headers: $(addsuffix -hdrs, $(HFILES) $(QAHFILES) $(PHFILES) $(DKHFILES) $(LIBHFILES))
+install-headers: $(addsuffix -hdrs, $(DKHFILES) $(HFILES))
-%-hdrs: xfs
- $(Q)$(LN_S) -f $(PWD)/include/$* xfs/$*
-
-xfs:
- @mkdir -p xfs
+%-hdrs:
+ $(Q)$(LN_S) -f $(CURDIR)/$* xfs/$*
install: default
$(INSTALL) -m 755 -d $(PKG_INC_DIR)
install-dev: install
$(INSTALL) -m 644 $(HFILES) $(PKG_INC_DIR)
-
-install-qa: install-dev
- $(INSTALL) -m 644 $(QAHFILES) $(PKG_INC_DIR)
-