mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2024-11-18 02:20:59 +03:00
8299a1f41e
Lay the initial ground work for a include/linux/ compatibility directory. This was less critical in the past because the bulk of the ZFS code consumes the Solaris API via the SPL. This API was stable and the bulk Linux API differences were handled in the SPL. However, with the addition of a full Posix layer written directly against the Linux APIs we are going to need more compatibility code. It makes sense that all this code should be cleanly located in one place. Subsequent patches should move the existing zvol and vdev_disk compatibility code in to this directory.
33 lines
825 B
Makefile
33 lines
825 B
Makefile
SUBDIRS = linux sys
|
|
|
|
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
|
|
kerneldir = /usr/src/zfs-$(ZFS_META_VERSION)/$(LINUX_VERSION)
|
|
kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
|
|
endif
|