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 LIBHFILES
= libxfs.h \
55 PHFILES
= darwin.h freebsd.h linux.h gnukfreebsd.h
56 LSRCFILES
= $(shell echo
$(PHFILES
) | sed
-e
"s/$(PKG_PLATFORM).h//g")
57 LSRCFILES
+= platform_defs.h.in builddefs.in buildmacros buildrules install-sh
58 LSRCFILES
+= $(DKHFILES
) $(LIBHFILES
)
70 # set up include/xfs header directory
71 install-headers
: $(addsuffix -hdrs
, $(PHFILES
) $(DKHFILES
) $(HFILES
))
74 $(Q
)$(LN_S
) -f
$(CURDIR
)/$* xfs
/$*
77 $(INSTALL
) -m
755 -d
$(PKG_INC_DIR
)
80 $(INSTALL
) -m
644 $(HFILES
) $(PKG_INC_DIR
)