]>
Commit | Line | Data |
---|---|---|
2bd0ea18 | 1 | # |
e80aa729 | 2 | # Copyright (c) 2000-2006 Silicon Graphics, Inc. |
f302e9e4 | 3 | # All Rights Reserved. |
dfc130f3 | 4 | # |
f302e9e4 NS |
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 | |
2bd0ea18 | 7 | # published by the Free Software Foundation. |
dfc130f3 | 8 | # |
2bd0ea18 NS |
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. | |
dfc130f3 | 12 | # |
f302e9e4 NS |
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 | |
2bd0ea18 NS |
16 | # |
17 | ||
18 | TOPDIR = .. | |
19 | include $(TOPDIR)/include/builddefs | |
20 | ||
5e656dbb | 21 | QAHFILES = libxfs.h libxlog.h \ |
c40bdaa2 DC |
22 | atomic.h bitops.h cache.h kmem.h list.h hlist.h parent.h radix-tree.h \ |
23 | swab.h \ | |
2bd0ea18 NS |
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 \ | |
7e280e68 DC |
26 | xfs_btree_trace.h xfs_buf_item.h xfs_cksum.h xfs_da_btree.h \ |
27 | xfs_dinode.h xfs_dir2.h xfs_dir2_format.h \ | |
5e656dbb | 28 | xfs_extfree_item.h xfs_ialloc.h xfs_ialloc_btree.h \ |
5144d787 | 29 | xfs_icreate_item.h xfs_inode.h xfs_inode_item.h xfs_inum.h \ |
cc085d77 DC |
30 | xfs_log_format.h \ |
31 | xfs_log_recover.h \ | |
32 | xfs_metadump.h \ | |
9f76c5b5 DC |
33 | xfs_mount.h xfs_quota.h xfs_rtalloc.h xfs_sb.h xfs_symlink.h \ |
34 | xfs_trace.h xfs_trans.h xfs_trans_space.h xfs_dfrag.h | |
77a20f18 | 35 | |
a2ceac1f | 36 | HFILES = handle.h jdm.h xqm.h xfs.h xfs_fs.h xfs_types.h |
5e656dbb | 37 | HFILES += $(PKG_PLATFORM).h |
3e2497f5 | 38 | PHFILES = darwin.h freebsd.h irix.h linux.h gnukfreebsd.h |
33a12367 | 39 | DKHFILES = volume.h fstyp.h dvh.h |
a5da4d17 | 40 | LSRCFILES = $(shell echo $(PHFILES) | sed -e "s/$(PKG_PLATFORM).h//g") |
07c561fe | 41 | LSRCFILES += platform_defs.h.in builddefs.in buildmacros buildrules install-sh |
91eba724 | 42 | LSRCFILES += $(DKHFILES) command.h input.h path.h project.h |
1d7e80ee | 43 | LDIRT = xfs disk |
2bd0ea18 | 44 | |
31e375e6 ES |
45 | default install: xfs disk |
46 | ||
721ae57d | 47 | xfs disk: |
35714853 DC |
48 | @echo " [LN] $@" |
49 | $(Q)$(LN_S) . $@ | |
721ae57d | 50 | |
2bd0ea18 NS |
51 | include $(BUILDRULES) |
52 | ||
fc49813f NS |
53 | install-dev: default |
54 | $(INSTALL) -m 755 -d $(PKG_INC_DIR) | |
55 | $(INSTALL) -m 644 $(HFILES) $(PKG_INC_DIR) | |
56 | $(INSTALL) -m 644 platform_defs.h $(PKG_INC_DIR) | |
5e656dbb BN |
57 | |
58 | install-qa: install-dev | |
59 | $(INSTALL) -m 644 $(QAHFILES) $(PKG_INC_DIR) |