blob: 64d9fa29e006d1931f405bf03e8b356b67c256c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# 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.
noinst_HEADERS = *.h
noinst_HEADERS += fs/*.h
noinst_HEADERS += linux/*.h
noinst_HEADERS += rpc/*.h
noinst_HEADERS += sharefs/*.h
noinst_HEADERS += sys/fm/*.h
noinst_HEADERS += sys/fs/*.h
noinst_HEADERS += sys/sysevent/*.h
noinst_HEADERS += sys/*.h
noinst_HEADERS += util/*.h
noinst_HEADERS += vm/*.h
install-data-local:
destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
instdest=$(DESTDIR)/usr/src/$$destname; \
instfiles=`find . -name '*.h'`; \
for instfile in $$instfiles; do \
$(INSTALL) -D $$instfile $$instdest/$$instfile; \
done
uninstall-local:
destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \
instdest=$(DESTDIR)/usr/src/$$destname; \
$(RM) -R $$instdest
|