]> 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 spinlock.h \
20 xfs_inode.h \
21 xfs_log_recover.h \
22 xfs_metadump.h \
23 xfs_mount.h \
24 xfs_quota_defs.h \
25 xfs_sb.h \
26 xfs_shared.h \
27 xfs_trace.h \
28 xfs_trans.h \
29 command.h \
30 input.h \
31 platform_defs.h
32
33 HFILES = handle.h \
34 jdm.h \
35 linux.h \
36 xfs.h \
37 xqm.h \
38 xfs_fs_compat.h \
39 xfs_arch.h
40
41 LSRCFILES = platform_defs.h.in builddefs.in buildmacros buildrules install-sh
42 LSRCFILES += $(DKHFILES) $(LIBHFILES)
43 LDIRT = disk
44 LDIRDIRT = xfs
45
46 default: disk
47
48 disk:
49 @echo " [LN] $@"
50 $(Q)$(LN_S) . $@
51
52 include $(BUILDRULES)
53
54 # set up include/xfs header directory
55 install-headers: $(addsuffix -hdrs, $(DKHFILES) $(HFILES))
56
57 %-hdrs:
58 $(Q)$(LN_S) -f $(CURDIR)/$* xfs/$*
59
60 install: default
61 $(INSTALL) -m 755 -d $(PKG_INC_DIR)
62
63 install-dev: install
64 $(INSTALL) -m 644 $(HFILES) $(PKG_INC_DIR)