2 # Copyright (c) 2000-2006 Silicon Graphics, Inc.
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.
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.
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
19 include $(TOPDIR
)/include/builddefs
21 QAHFILES
= libxfs.h libxlog.h \
22 atomic.h bitops.h cache.h kmem.h list.h hlist.h parent.h radix-tree.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 \
29 xfs_dinode.h xfs_dir2.h xfs_dir2_format.h \
42 xfs_trace.h xfs_trans.h xfs_trans_space.h xfs_dfrag.h
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
53 default
install: xfs disk
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
)
66 install-qa
: install-dev
67 $(INSTALL
) -m
644 $(QAHFILES
) $(PKG_INC_DIR
)