aboutsummaryrefslogtreecommitdiffstats
path: root/include/vm/Makefile.am
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2013-02-13 14:01:00 -0800
committerBrian Behlendorf <[email protected]>2013-03-01 16:55:06 -0800
commitd1142fbffe720cd5f82691d7a00816ce72f4e2b2 (patch)
treefc19d2bf74f9c11029e3b4222f333426913cccb3 /include/vm/Makefile.am
parent0298f3d67ff4971513ff848d640ca431a983de43 (diff)
Remove custom install-data-local for headers
Rather than use a custom install target it is cleaner to define a 'kerneldir' and set 'kernel_HEADERS' appropriately. This allows us to leverage the standing configure install support. Additionally, I took this opertunity add the missing make files to the include subdirectories. Signed-off-by: Brian Behlendorf <[email protected]>
Diffstat (limited to 'include/vm/Makefile.am')
-rw-r--r--include/vm/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/vm/Makefile.am b/include/vm/Makefile.am
new file mode 100644
index 000000000..9b09929db
--- /dev/null
+++ b/include/vm/Makefile.am
@@ -0,0 +1,15 @@
+COMMON_H =
+
+KERNEL_H = \
+ $(top_srcdir)/include/vm/anon.h \
+ $(top_srcdir)/include/vm/pvn.h \
+ $(top_srcdir)/include/vm/seg_kmem.h
+
+USER_H =
+
+EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
+
+if CONFIG_KERNEL
+kerneldir = /usr/src/spl-$(SPL_META_VERSION)-$(SPL_META_RELEASE)/$(LINUX_VERSION)/vm
+kernel_HEADERS = $(KERNEL_H)
+endif