]> git.proxmox.com Git - mirror_zfs.git/blame - include/Makefile.am
Illumos #2619 and #2747
[mirror_zfs.git] / include / Makefile.am
CommitLineData
8299a1f4 1SUBDIRS = linux sys
6283f55e
BB
2
3COMMON_H = \
9ae529ec 4 $(top_srcdir)/include/zfeature_common.h \
6283f55e
BB
5 $(top_srcdir)/include/zfs_comutil.h \
6 $(top_srcdir)/include/zfs_deleg.h \
7 $(top_srcdir)/include/zfs_fletcher.h \
8 $(top_srcdir)/include/zfs_namecheck.h \
9 $(top_srcdir)/include/zfs_prop.h \
10 $(top_srcdir)/include/zpios-ctl.h
11
12KERNEL_H = \
13 $(top_srcdir)/include/zpios-internal.h
14
15USER_H = \
16 $(top_srcdir)/include/libnvpair.h \
17 $(top_srcdir)/include/libuutil_common.h \
18 $(top_srcdir)/include/libuutil.h \
19 $(top_srcdir)/include/libuutil_impl.h \
20 $(top_srcdir)/include/libzfs.h \
21 $(top_srcdir)/include/libzfs_impl.h
22
23EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
24
25if CONFIG_USER
26libzfsdir = $(includedir)/libzfs
27libzfs_HEADERS = $(COMMON_H) $(USER_H)
28endif
29
30if CONFIG_KERNEL
b40a77ae 31kerneldir = /usr/src/zfs-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE)/$(LINUX_VERSION)
6283f55e
BB
32kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
33endif