]> git.proxmox.com Git - mirror_spl.git/blame - include/Makefile.am
Install spl-devel products in /usr/src/spl-SPL_VERSION/LINUX_VERSION/
[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.
5noinst_HEADERS = *.h
6noinst_HEADERS += asm/*.h
7noinst_HEADERS += fs/*.h
8noinst_HEADERS += linux/*.h
9noinst_HEADERS += rpc/*.h
10noinst_HEADERS += sharefs/*.h
11noinst_HEADERS += sys/fm/*.h
12noinst_HEADERS += sys/fs/*.h
13noinst_HEADERS += sys/sysevent/*.h
14noinst_HEADERS += sys/*.h
15noinst_HEADERS += util/*.h
16noinst_HEADERS += vm/*.h
17
18install-data-local:
f4f9cd75
BB
19 destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
20 instdest=$(DESTDIR)/${prefix}/src/$$destname; \
0c617c9a
BB
21 instfiles=`find . -name '*.h'`; \
22 for instfile in $$instfiles; do \
23 $(INSTALL) -D $$instfile $$instdest/$$instfile; \
24 done