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