]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/blob - include/Makefile
xfs: introduce xfs_quota_defs.h
[thirdparty/xfsprogs-dev.git] / include / Makefile
1 #
2 # Copyright (c) 2000-2006 Silicon Graphics, Inc.
3 # All Rights Reserved.
4 #
5 # This program is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU General Public License as
7 # published by the Free Software Foundation.
8 #
9 # This program is distributed in the hope that it would be useful, but
10 # WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
12 #
13 # You should have received a copy of the GNU General Public License
14 # along with this program; if not, write the Free Software Foundation,
15 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
16 #
17
18 TOPDIR = ..
19 include $(TOPDIR)/include/builddefs
20
21 QAHFILES = libxfs.h libxlog.h \
22 atomic.h bitops.h cache.h kmem.h list.h hlist.h parent.h radix-tree.h \
23 swab.h \
24 xfs_ag.h xfs_alloc.h xfs_alloc_btree.h xfs_arch.h xfs_attr_leaf.h \
25 xfs_attr_sf.h xfs_bit.h xfs_bmap.h xfs_bmap_btree.h xfs_btree.h \
26 xfs_btree_trace.h \
27 xfs_cksum.h \
28 xfs_da_btree.h \
29 xfs_dinode.h xfs_dir2.h xfs_dir2_format.h \
30 xfs_format.h \
31 xfs_ialloc.h \
32 xfs_ialloc_btree.h \
33 xfs_inode.h \
34 xfs_inum.h \
35 xfs_log_format.h \
36 xfs_log_recover.h \
37 xfs_metadump.h \
38 xfs_mount.h \
39 xfs_quota_defs.h \
40 xfs_sb.h \
41 xfs_symlink.h \
42 xfs_trace.h xfs_trans.h xfs_trans_space.h xfs_dfrag.h
43
44 HFILES = handle.h jdm.h xqm.h xfs.h xfs_fs.h xfs_types.h
45 HFILES += $(PKG_PLATFORM).h
46 PHFILES = darwin.h freebsd.h irix.h linux.h gnukfreebsd.h
47 DKHFILES = volume.h fstyp.h dvh.h
48 LSRCFILES = $(shell echo $(PHFILES) | sed -e "s/$(PKG_PLATFORM).h//g")
49 LSRCFILES += platform_defs.h.in builddefs.in buildmacros buildrules install-sh
50 LSRCFILES += $(DKHFILES) command.h input.h path.h project.h
51 LDIRT = xfs disk
52
53 default install: xfs disk
54
55 xfs disk:
56 @echo " [LN] $@"
57 $(Q)$(LN_S) . $@
58
59 include $(BUILDRULES)
60
61 install-dev: default
62 $(INSTALL) -m 755 -d $(PKG_INC_DIR)
63 $(INSTALL) -m 644 $(HFILES) $(PKG_INC_DIR)
64 $(INSTALL) -m 644 platform_defs.h $(PKG_INC_DIR)
65
66 install-qa: install-dev
67 $(INSTALL) -m 644 $(QAHFILES) $(PKG_INC_DIR)