]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blame - include/Makefile
xfsprogs: introduce liburcu support
[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 \
b626fb59 19 xfs_inode.h \
cc085d77
DC
20 xfs_log_recover.h \
21 xfs_metadump.h \
b626fb59 22 xfs_mount.h \
4a32b9e9
DC
23 xfs_quota_defs.h \
24 xfs_sb.h \
25 xfs_shared.h \
b626fb59 26 xfs_trace.h \
77d98709
CH
27 xfs_trans.h \
28 command.h \
29 input.h \
4a32b9e9 30 platform_defs.h
77a20f18 31
cebd3912
DC
32HFILES = handle.h \
33 jdm.h \
bf64c900 34 linux.h \
cebd3912 35 xfs.h \
5711848a 36 xqm.h \
918664ad 37 xfs_fs_compat.h \
5711848a 38 xfs_arch.h
cebd3912 39
bf64c900 40LSRCFILES = platform_defs.h.in builddefs.in buildmacros buildrules install-sh
636b4d91
DC
41LSRCFILES += $(DKHFILES) $(LIBHFILES)
42LDIRT = disk
43LDIRDIRT = xfs
2bd0ea18 44
b08338d7 45default: disk
31e375e6 46
636b4d91 47disk:
35714853
DC
48 @echo " [LN] $@"
49 $(Q)$(LN_S) . $@
721ae57d 50
b08338d7
DC
51include $(BUILDRULES)
52
636b4d91 53# set up include/xfs header directory
bf64c900 54install-headers: $(addsuffix -hdrs, $(DKHFILES) $(HFILES))
636b4d91 55
7af0c6c3 56%-hdrs:
f4a2ea00 57 $(Q)$(LN_S) -f $(CURDIR)/$* xfs/$*
636b4d91 58
b08338d7 59install: default
fc49813f 60 $(INSTALL) -m 755 -d $(PKG_INC_DIR)
b08338d7
DC
61
62install-dev: install
fc49813f 63 $(INSTALL) -m 644 $(HFILES) $(PKG_INC_DIR)