]>
Commit | Line | Data |
---|---|---|
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. | |
5 | noinst_HEADERS = *.h | |
0c617c9a BB |
6 | noinst_HEADERS += fs/*.h |
7 | noinst_HEADERS += linux/*.h | |
8 | noinst_HEADERS += rpc/*.h | |
9 | noinst_HEADERS += sharefs/*.h | |
10 | noinst_HEADERS += sys/fm/*.h | |
11 | noinst_HEADERS += sys/fs/*.h | |
12 | noinst_HEADERS += sys/sysevent/*.h | |
13 | noinst_HEADERS += sys/*.h | |
14 | noinst_HEADERS += util/*.h | |
15 | noinst_HEADERS += vm/*.h | |
16 | ||
17 | install-data-local: | |
f4f9cd75 BB |
18 | destname=spl-$(SPL_META_VERSION)/$(LINUX_VERSION); \ |
19 | instdest=$(DESTDIR)/${prefix}/src/$$destname; \ | |
0c617c9a BB |
20 | instfiles=`find . -name '*.h'`; \ |
21 | for instfile in $$instfiles; do \ | |
22 | $(INSTALL) -D $$instfile $$instdest/$$instfile; \ | |
23 | done |