]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - include/Makefile
xfsprogs: Release v6.7.0
[thirdparty/xfsprogs-dev.git] / include / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 # Copyright (c) 2000-2006 Silicon Graphics, Inc.
3 # All Rights Reserved.
4 #
5
6 TOPDIR = ..
7 include $(TOPDIR)/include/builddefs
8
9 LIBHFILES = libxfs.h \
10 libxlog.h \
11 libxcmd.h \
12 atomic.h \
13 bitops.h \
14 cache.h \
15 hlist.h \
16 kmem.h \
17 list.h \
18 parent.h \
19 radix-tree.h \
20 xfs_btree_trace.h \
21 xfs_inode.h \
22 xfs_log_recover.h \
23 xfs_metadump.h \
24 xfs_mount.h \
25 xfs_quota_defs.h \
26 xfs_sb.h \
27 xfs_shared.h \
28 xfs_trace.h \
29 xfs_trans.h \
30 command.h \
31 input.h \
32 path.h \
33 project.h \
34 platform_defs.h
35
36 HFILES = handle.h \
37 jdm.h \
38 linux.h \
39 xfs.h \
40 xqm.h \
41 xfs_arch.h
42
43 LSRCFILES = platform_defs.h.in builddefs.in buildmacros buildrules install-sh
44 LSRCFILES += $(DKHFILES) $(LIBHFILES)
45 LDIRT = disk
46 LDIRDIRT = xfs
47
48 default: disk
49
50 disk:
51 @echo " [LN] $@"
52 $(Q)$(LN_S) . $@
53
54 include $(BUILDRULES)
55
56 # set up include/xfs header directory
57 install-headers: $(addsuffix -hdrs, $(DKHFILES) $(HFILES))
58
59 %-hdrs:
60 $(Q)$(LN_S) -f $(CURDIR)/$* xfs/$*
61
62 install: default
63 $(INSTALL) -m 755 -d $(PKG_INC_DIR)
64
65 install-dev: install
66 $(INSTALL) -m 644 $(HFILES) $(PKG_INC_DIR)