aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys/sysevent
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/sys/sysevent
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/sys/sysevent')
-rw-r--r--include/sys/sysevent/Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/sys/sysevent/Makefile.am b/include/sys/sysevent/Makefile.am
new file mode 100644
index 000000000..d2247d747
--- /dev/null
+++ b/include/sys/sysevent/Makefile.am
@@ -0,0 +1,13 @@
+COMMON_H =
+
+KERNEL_H = \
+ $(top_srcdir)/include/sys/sysevent/eventdefs.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)/sys/sysevent
+kernel_HEADERS = $(KERNEL_H)
+endif