2009-03-10 20:57:52 +03:00
|
|
|
# All headers are referenced by this top level Makefile.am are
|
|
|
|
# noinst_HEADERS because they are not installed in the usual include
|
|
|
|
# location. We do not want to be using $includedir for this.
|
|
|
|
# Installation is handled by the custom install-data-local rule.
|
2010-09-02 23:12:39 +04:00
|
|
|
noinst_HEADERS = $(top_srcdir)/include/*.h
|
|
|
|
noinst_HEADERS += $(top_srcdir)/include/fs/*.h
|
|
|
|
noinst_HEADERS += $(top_srcdir)/include/linux/*.h
|
|
|
|
noinst_HEADERS += $(top_srcdir)/include/rpc/*.h
|
|
|
|
noinst_HEADERS += $(top_srcdir)/include/sharefs/*.h
|
|
|
|
noinst_HEADERS += $(top_srcdir)/include/sys/fm/*.h
|
|
|
|
noinst_HEADERS += $(top_srcdir)/include/sys/fs/*.h
|
|
|
|
noinst_HEADERS += $(top_srcdir)/include/sys/sysevent/*.h
|
|
|
|
noinst_HEADERS += $(top_srcdir)/include/sys/*.h
|
|
|
|
noinst_HEADERS += $(top_srcdir)/include/util/*.h
|
|
|
|
noinst_HEADERS += $(top_srcdir)/include/vm/*.h
|
2009-03-10 20:57:52 +03:00
|
|
|
|
|
|
|
install-data-local:
|
2012-01-18 04:14:35 +04:00
|
|
|
release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
|
|
|
|
instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
|
2009-03-10 20:57:52 +03:00
|
|
|
instfiles=`find . -name '*.h'`; \
|
|
|
|
for instfile in $$instfiles; do \
|
|
|
|
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
|
|
|
|
done
|
2010-07-29 00:59:18 +04:00
|
|
|
|
|
|
|
uninstall-local:
|
2012-01-18 04:14:35 +04:00
|
|
|
release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
|
|
|
|
instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
|
2010-07-29 00:59:18 +04:00
|
|
|
$(RM) -R $$instdest
|