]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - include/Makefile
libfrog: move workqueue.h to libfrog/
[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 xfs_btree_trace.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_arch.h
39
40 LSRCFILES = platform_defs.h.in builddefs.in buildmacros buildrules install-sh
41 LSRCFILES += $(DKHFILES) $(LIBHFILES)
42 LDIRT = disk
43 LDIRDIRT = xfs
44
45 default: disk
46
47 disk:
48 @echo " [LN] $@"
49 $(Q)$(LN_S) . $@
50
51 include $(BUILDRULES)
52
53 # set up include/xfs header directory
54 install-headers: $(addsuffix -hdrs, $(DKHFILES) $(HFILES))
55
56 %-hdrs:
57 $(Q)$(LN_S) -f $(CURDIR)/$* xfs/$*
58
59 install: default
60 $(INSTALL) -m 755 -d $(PKG_INC_DIR)
61
62 install-dev: install
63 $(INSTALL) -m 644 $(HFILES) $(PKG_INC_DIR)