Support custom build directories and move includes
[zfs.git] / include / sys / fm / Makefile.am
1 SUBDIRS = fs
2
3 COMMON_H = \
4         $(top_srcdir)/include/sys/fm/protocol.h \
5         $(top_srcdir)/include/sys/fm/util.h
6
7 KERNEL_H =
8
9 USER_H =
10
11 EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
12
13 if CONFIG_USER
14 libzfsdir = $(includedir)/libzfs/sys/fm
15 libzfs_HEADERS = $(COMMON_H) $(USER_H)
16 endif
17
18 if CONFIG_KERNEL
19 kerneldir = /usr/src/zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION)/sys/fm
20 kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
21 endif