mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2025-06-25 18:48:00 +03:00

5b9e695
added specific userspace versions of abd_os.h and abd_impl_os.h
for libzpool. However, abd.h and abd_impl.h, which include them, are
packaged with libzfs, so other programs building against libzfs can
fail to build, either because the headers aren't installed, or because
they aren't on any standard include path.
So, move abd_os.h and abd_impl_os.h to libspl, where they we will be
installed alongside abd.h and abd_impl.h in a known path.
Sponsored-by: Klara, Inc.
Sponsored-by: Wasabi Technology, Inc.
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Rob Norris <rob.norris@klarasystems.com>
Closes #16940
Closes #17390
Closes #17394
107 lines
2.1 KiB
Makefile
107 lines
2.1 KiB
Makefile
libspldir = $(includedir)/libspl
|
|
libspl_HEADERS = \
|
|
%D%/assert.h \
|
|
%D%/atomic.h \
|
|
%D%/libgen.h \
|
|
%D%/libshare.h \
|
|
%D%/statcommon.h \
|
|
%D%/stdlib.h \
|
|
%D%/string.h \
|
|
%D%/umem.h \
|
|
%D%/unistd.h \
|
|
%D%/zone.h
|
|
|
|
if BUILD_FREEBSD
|
|
libspl_HEADERS += \
|
|
%D%/os/freebsd/fcntl.h
|
|
endif
|
|
|
|
|
|
libspl_rpcdir = $(libspldir)/rpc
|
|
libspl_rpc_HEADERS = \
|
|
%D%/rpc/xdr.h
|
|
|
|
|
|
libspl_sysdir = $(libspldir)/sys
|
|
libspl_sys_HEADERS = \
|
|
%D%/sys/abd_os.h \
|
|
%D%/sys/abd_impl_os.h \
|
|
%D%/sys/acl.h \
|
|
%D%/sys/acl_impl.h \
|
|
%D%/sys/asm_linkage.h \
|
|
%D%/sys/backtrace.h \
|
|
%D%/sys/callb.h \
|
|
%D%/sys/cmn_err.h \
|
|
%D%/sys/cred.h \
|
|
%D%/sys/debug.h \
|
|
%D%/sys/dkio.h \
|
|
%D%/sys/dklabel.h \
|
|
%D%/sys/feature_tests.h \
|
|
%D%/sys/inttypes.h \
|
|
%D%/sys/isa_defs.h \
|
|
%D%/sys/kmem.h \
|
|
%D%/sys/kstat.h \
|
|
%D%/sys/list.h \
|
|
%D%/sys/list_impl.h \
|
|
%D%/sys/mhd.h \
|
|
%D%/sys/mkdev.h \
|
|
%D%/sys/policy.h \
|
|
%D%/sys/poll.h \
|
|
%D%/sys/priv.h \
|
|
%D%/sys/processor.h \
|
|
%D%/sys/simd.h \
|
|
%D%/sys/stack.h \
|
|
%D%/sys/stdtypes.h \
|
|
%D%/sys/string.h \
|
|
%D%/sys/sunddi.h \
|
|
%D%/sys/systeminfo.h \
|
|
%D%/sys/time.h \
|
|
%D%/sys/trace_spl.h \
|
|
%D%/sys/trace_zfs.h \
|
|
%D%/sys/types.h \
|
|
%D%/sys/types32.h \
|
|
%D%/sys/uio.h \
|
|
%D%/sys/vnode.h \
|
|
%D%/sys/wmsum.h \
|
|
%D%/sys/zone.h
|
|
|
|
libspl_ia32dir = $(libspldir)/sys/ia32
|
|
|
|
if BUILD_LINUX
|
|
libspl_sys_HEADERS += \
|
|
%D%/os/linux/sys/byteorder.h \
|
|
%D%/os/linux/sys/errno.h \
|
|
%D%/os/linux/sys/mnttab.h \
|
|
%D%/os/linux/sys/mount.h \
|
|
%D%/os/linux/sys/param.h \
|
|
%D%/os/linux/sys/stat.h \
|
|
%D%/os/linux/sys/sysmacros.h \
|
|
%D%/os/linux/sys/zfs_context_os.h
|
|
|
|
libspl_ia32_HEADERS = \
|
|
%D%/os/linux/sys/ia32/asm_linkage.h
|
|
endif
|
|
|
|
if BUILD_FREEBSD
|
|
libspl_sys_HEADERS += \
|
|
%D%/os/freebsd/sys/byteorder.h \
|
|
%D%/os/freebsd/sys/fcntl.h \
|
|
%D%/os/freebsd/sys/file.h \
|
|
%D%/os/freebsd/sys/mnttab.h \
|
|
%D%/os/freebsd/sys/mount.h \
|
|
%D%/os/freebsd/sys/param.h \
|
|
%D%/os/freebsd/sys/stat.h \
|
|
%D%/os/freebsd/sys/sysmacros.h \
|
|
%D%/os/freebsd/sys/vfs.h \
|
|
%D%/os/freebsd/sys/zfs_context_os.h
|
|
|
|
libspl_ia32_HEADERS = \
|
|
%D%/os/freebsd/sys/ia32/asm_linkage.h
|
|
endif
|
|
|
|
|
|
libspl_sys_dktpdir = $(libspl_sysdir)/dktp
|
|
libspl_sys_dktp_HEADERS = \
|
|
%D%/sys/dktp/fdisk.h
|
|
|