]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - include/Makefile
xfs: use shifting and masking when converting rt extents, if possible
[thirdparty/xfsprogs-dev.git] / include / Makefile
CommitLineData
959ef981 1# SPDX-License-Identifier: GPL-2.0
e80aa729 2# Copyright (c) 2000-2006 Silicon Graphics, Inc.
f302e9e4 3# All Rights Reserved.
dfc130f3 4#
2bd0ea18
NS
5
6TOPDIR = ..
7include $(TOPDIR)/include/builddefs
8
77d98709 9LIBHFILES = libxfs.h \
cebd3912 10 libxlog.h \
82c3a179 11 libxcmd.h \
cebd3912
DC
12 atomic.h \
13 bitops.h \
14 cache.h \
15 hlist.h \
16 kmem.h \
17 list.h \
18 parent.h \
686bddf9 19 spinlock.h \
b626fb59 20 xfs_inode.h \
cc085d77
DC
21 xfs_log_recover.h \
22 xfs_metadump.h \
b626fb59 23 xfs_mount.h \
4a32b9e9
DC
24 xfs_quota_defs.h \
25 xfs_sb.h \
26 xfs_shared.h \
b626fb59 27 xfs_trace.h \
77d98709
CH
28 xfs_trans.h \
29 command.h \
30 input.h \
4a32b9e9 31 platform_defs.h
77a20f18 32
cebd3912
DC
33HFILES = handle.h \
34 jdm.h \
bf64c900 35 linux.h \
cebd3912 36 xfs.h \
5711848a 37 xqm.h \
918664ad 38 xfs_fs_compat.h \
5711848a 39 xfs_arch.h
cebd3912 40
bf64c900 41LSRCFILES = platform_defs.h.in builddefs.in buildmacros buildrules install-sh
636b4d91
DC
42LSRCFILES += $(DKHFILES) $(LIBHFILES)
43LDIRT = disk
44LDIRDIRT = xfs
2bd0ea18 45
b08338d7 46default: disk
31e375e6 47
636b4d91 48disk:
35714853
DC
49 @echo " [LN] $@"
50 $(Q)$(LN_S) . $@
721ae57d 51
b08338d7
DC
52include $(BUILDRULES)
53
636b4d91 54# set up include/xfs header directory
bf64c900 55install-headers: $(addsuffix -hdrs, $(DKHFILES) $(HFILES))
636b4d91 56
7af0c6c3 57%-hdrs:
f4a2ea00 58 $(Q)$(LN_S) -f $(CURDIR)/$* xfs/$*
636b4d91 59
b08338d7 60install: default
fc49813f 61 $(INSTALL) -m 755 -d $(PKG_INC_DIR)
b08338d7
DC
62
63install-dev: install
fc49813f 64 $(INSTALL) -m 644 $(HFILES) $(PKG_INC_DIR)