2011-01-18 22:42:25 +03:00
|
|
|
SUBDIRS = linux sys
|
2010-09-05 00:26:23 +04:00
|
|
|
|
|
|
|
COMMON_H = \
|
|
|
|
$(top_srcdir)/include/zfs_comutil.h \
|
|
|
|
$(top_srcdir)/include/zfs_deleg.h \
|
|
|
|
$(top_srcdir)/include/zfs_fletcher.h \
|
|
|
|
$(top_srcdir)/include/zfs_namecheck.h \
|
|
|
|
$(top_srcdir)/include/zfs_prop.h \
|
|
|
|
$(top_srcdir)/include/zpios-ctl.h
|
|
|
|
|
|
|
|
KERNEL_H = \
|
|
|
|
$(top_srcdir)/include/zpios-internal.h
|
|
|
|
|
|
|
|
USER_H = \
|
|
|
|
$(top_srcdir)/include/libnvpair.h \
|
|
|
|
$(top_srcdir)/include/libuutil_common.h \
|
|
|
|
$(top_srcdir)/include/libuutil.h \
|
|
|
|
$(top_srcdir)/include/libuutil_impl.h \
|
|
|
|
$(top_srcdir)/include/libzfs.h \
|
|
|
|
$(top_srcdir)/include/libzfs_impl.h
|
|
|
|
|
|
|
|
EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
|
|
|
|
|
|
|
|
if CONFIG_USER
|
|
|
|
libzfsdir = $(includedir)/libzfs
|
|
|
|
libzfs_HEADERS = $(COMMON_H) $(USER_H)
|
|
|
|
endif
|
|
|
|
|
|
|
|
if CONFIG_KERNEL
|
2012-01-18 04:19:43 +04:00
|
|
|
kerneldir = /usr/src/zfs-$(ZFS_META_VERSION)-$(ZFS_META_RELEASE)/$(LINUX_VERSION)
|
2010-09-05 00:26:23 +04:00
|
|
|
kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
|
|
|
|
endif
|