1libspldir = $(includedir)/libspl 2libspl_HEADERS = \ 3 %D%/assert.h \ 4 %D%/atomic.h \ 5 %D%/libdevinfo.h \ 6 %D%/libgen.h \ 7 %D%/libshare.h \ 8 %D%/limits.h \ 9 %D%/locale.h \ 10 %D%/statcommon.h \ 11 %D%/stdlib.h \ 12 %D%/string.h \ 13 %D%/stropts.h \ 14 %D%/thread.h \ 15 %D%/tzfile.h \ 16 %D%/ucred.h \ 17 %D%/umem.h \ 18 %D%/unistd.h \ 19 %D%/zone.h 20 21if BUILD_FREEBSD 22libspl_HEADERS += \ 23 %D%/os/freebsd/fcntl.h 24endif 25 26 27libspl_rpcdir = $(libspldir)/rpc 28libspl_rpc_HEADERS = \ 29 %D%/rpc/xdr.h 30 31 32libspl_sysdir = $(libspldir)/sys 33libspl_sys_HEADERS = \ 34 %D%/sys/acl.h \ 35 %D%/sys/acl_impl.h \ 36 %D%/sys/callb.h \ 37 %D%/sys/cmn_err.h \ 38 %D%/sys/cred.h \ 39 %D%/sys/debug.h \ 40 %D%/sys/dkio.h \ 41 %D%/sys/dklabel.h \ 42 %D%/sys/feature_tests.h \ 43 %D%/sys/int_limits.h \ 44 %D%/sys/int_types.h \ 45 %D%/sys/inttypes.h \ 46 %D%/sys/isa_defs.h \ 47 %D%/sys/kmem.h \ 48 %D%/sys/kstat.h \ 49 %D%/sys/list.h \ 50 %D%/sys/list_impl.h \ 51 %D%/sys/mhd.h \ 52 %D%/sys/mkdev.h \ 53 %D%/sys/policy.h \ 54 %D%/sys/poll.h \ 55 %D%/sys/priv.h \ 56 %D%/sys/processor.h \ 57 %D%/sys/sha2.h \ 58 %D%/sys/simd.h \ 59 %D%/sys/stack.h \ 60 %D%/sys/stdtypes.h \ 61 %D%/sys/string.h \ 62 %D%/sys/stropts.h \ 63 %D%/sys/sunddi.h \ 64 %D%/sys/systeminfo.h \ 65 %D%/sys/time.h \ 66 %D%/sys/trace_spl.h \ 67 %D%/sys/trace_zfs.h \ 68 %D%/sys/types.h \ 69 %D%/sys/types32.h \ 70 %D%/sys/tzfile.h \ 71 %D%/sys/uio.h \ 72 %D%/sys/va_list.h \ 73 %D%/sys/varargs.h \ 74 %D%/sys/vnode.h \ 75 %D%/sys/wmsum.h \ 76 %D%/sys/zone.h 77 78if BUILD_LINUX 79libspl_sys_HEADERS += \ 80 %D%/os/linux/sys/byteorder.h \ 81 %D%/os/linux/sys/errno.h \ 82 %D%/os/linux/sys/mnttab.h \ 83 %D%/os/linux/sys/mount.h \ 84 %D%/os/linux/sys/param.h \ 85 %D%/os/linux/sys/stat.h \ 86 %D%/os/linux/sys/sysmacros.h \ 87 %D%/os/linux/sys/zfs_context_os.h 88endif 89 90if BUILD_FREEBSD 91libspl_sys_HEADERS += \ 92 %D%/os/freebsd/sys/byteorder.h \ 93 %D%/os/freebsd/sys/fcntl.h \ 94 %D%/os/freebsd/sys/file.h \ 95 %D%/os/freebsd/sys/mnttab.h \ 96 %D%/os/freebsd/sys/mount.h \ 97 %D%/os/freebsd/sys/param.h \ 98 %D%/os/freebsd/sys/stat.h \ 99 %D%/os/freebsd/sys/sysmacros.h \ 100 %D%/os/freebsd/sys/vfs.h \ 101 %D%/os/freebsd/sys/zfs_context_os.h 102endif 103 104 105libspl_sys_dktpdir = $(libspl_sysdir)/dktp 106libspl_sys_dktp_HEADERS = \ 107 %D%/sys/dktp/fdisk.h 108