1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64
|
# SPDX-License-Identifier: GPL-2.0
# Copyright (c) 2000-2006 Silicon Graphics, Inc.
# All Rights Reserved.
#
TOPDIR = ..
include $(TOPDIR)/include/builddefs
LIBHFILES = libxfs.h \
libxlog.h \
libxcmd.h \
atomic.h \
bitops.h \
cache.h \
hlist.h \
kmem.h \
list.h \
parent.h \
spinlock.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 \
command.h \
input.h \
platform_defs.h
HFILES = handle.h \
jdm.h \
linux.h \
xfs.h \
xqm.h \
xfs_fs_compat.h \
xfs_arch.h
LSRCFILES = platform_defs.h.in builddefs.in buildmacros buildrules install-sh
LSRCFILES += $(DKHFILES) $(LIBHFILES)
LDIRT = disk
LDIRDIRT = xfs
default: disk
disk:
@echo " [LN] $@"
$(Q)$(LN_S) . $@
include $(BUILDRULES)
# set up include/xfs header directory
install-headers: $(addsuffix -hdrs, $(DKHFILES) $(HFILES))
%-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)
|