]> git.proxmox.com Git - mirror_spl.git/blame - include/Makefile.am
Add KMODDIR to install target
[mirror_spl.git] / include / Makefile.am
CommitLineData
0c617c9a
BB
1# All headers are referenced by this top level Makefile.am are
2# noinst_HEADERS because they are not installed in the usual include
3# location. We do not want to be using $includedir for this.
4# Installation is handled by the custom install-data-local rule.
a7958f7e
BB
5noinst_HEADERS = $(top_srcdir)/include/*.h
6noinst_HEADERS += $(top_srcdir)/include/fs/*.h
7noinst_HEADERS += $(top_srcdir)/include/linux/*.h
8noinst_HEADERS += $(top_srcdir)/include/rpc/*.h
9noinst_HEADERS += $(top_srcdir)/include/sharefs/*.h
10noinst_HEADERS += $(top_srcdir)/include/sys/fm/*.h
11noinst_HEADERS += $(top_srcdir)/include/sys/fs/*.h
12noinst_HEADERS += $(top_srcdir)/include/sys/sysevent/*.h
13noinst_HEADERS += $(top_srcdir)/include/sys/*.h
14noinst_HEADERS += $(top_srcdir)/include/util/*.h
15noinst_HEADERS += $(top_srcdir)/include/vm/*.h
0c617c9a
BB
16
17install-data-local:
a2eda2ff
BB
18 release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
19 instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
0c617c9a
BB
20 instfiles=`find . -name '*.h'`; \
21 for instfile in $$instfiles; do \
fea77534 22 $(INSTALL) -m 644 -D $$instfile $$instdest/$$instfile; \
0c617c9a 23 done
099dc9c2
BB
24
25uninstall-local:
a2eda2ff
BB
26 release=$(SPL_META_VERSION)-$(SPL_META_RELEASE); \
27 instdest=$(DESTDIR)/usr/src/spl-$$release/$(LINUX_VERSION); \
099dc9c2 28 $(RM) -R $$instdest