2025-12-20 16:45:07 +11:00
|
|
|
# SPDX-License-Identifier: CDDL-1.0
|
2010-09-04 13:26:23 -07:00
|
|
|
libspldir = $(includedir)/libspl
|
|
|
|
|
libspl_HEADERS = \
|
2022-04-08 01:07:08 +02:00
|
|
|
%D%/assert.h \
|
|
|
|
|
%D%/atomic.h \
|
|
|
|
|
%D%/libgen.h \
|
2025-10-24 22:32:31 +11:00
|
|
|
%D%/libspl.h \
|
2022-04-08 01:07:08 +02:00
|
|
|
%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/acl.h \
|
|
|
|
|
%D%/sys/acl_impl.h \
|
2023-01-18 04:09:19 +09:00
|
|
|
%D%/sys/asm_linkage.h \
|
2024-05-10 11:26:11 +10:00
|
|
|
%D%/sys/backtrace.h \
|
2022-04-08 01:07:08 +02:00
|
|
|
%D%/sys/callb.h \
|
|
|
|
|
%D%/sys/cmn_err.h \
|
2025-08-09 09:51:43 +10:00
|
|
|
%D%/sys/condvar.h \
|
2022-04-08 01:07:08 +02:00
|
|
|
%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 \
|
2025-10-24 23:39:20 +11:00
|
|
|
%D%/sys/misc.h \
|
2022-04-08 01:07:08 +02:00
|
|
|
%D%/sys/mhd.h \
|
|
|
|
|
%D%/sys/mkdev.h \
|
2025-07-12 09:28:36 +10:00
|
|
|
%D%/sys/mod.h \
|
2025-08-09 09:51:43 +10:00
|
|
|
%D%/sys/mutex.h \
|
2022-04-08 01:07:08 +02:00
|
|
|
%D%/sys/policy.h \
|
|
|
|
|
%D%/sys/poll.h \
|
|
|
|
|
%D%/sys/priv.h \
|
|
|
|
|
%D%/sys/processor.h \
|
2025-10-16 13:12:30 +11:00
|
|
|
%D%/sys/procfs_list.h \
|
2025-10-18 23:39:19 +11:00
|
|
|
%D%/sys/random.h \
|
2025-08-09 09:51:43 +10:00
|
|
|
%D%/sys/rwlock.h \
|
2025-10-19 12:13:32 +11:00
|
|
|
%D%/sys/sid.h \
|
2022-04-08 01:07:08 +02:00
|
|
|
%D%/sys/simd.h \
|
|
|
|
|
%D%/sys/stack.h \
|
|
|
|
|
%D%/sys/stdtypes.h \
|
|
|
|
|
%D%/sys/string.h \
|
|
|
|
|
%D%/sys/sunddi.h \
|
2025-10-19 13:57:19 +11:00
|
|
|
%D%/sys/sysmacros.h \
|
2022-04-08 01:07:08 +02:00
|
|
|
%D%/sys/systeminfo.h \
|
2025-10-24 23:19:53 +11:00
|
|
|
%D%/sys/systm.h \
|
2025-08-25 21:45:35 +10:00
|
|
|
%D%/sys/thread.h \
|
2025-08-16 20:23:25 +10:00
|
|
|
%D%/sys/taskq.h \
|
2022-04-08 01:07:08 +02:00
|
|
|
%D%/sys/time.h \
|
2025-10-16 13:52:57 +11:00
|
|
|
%D%/sys/timer.h \
|
2025-10-19 13:42:49 +11:00
|
|
|
%D%/sys/trace.h \
|
2025-10-15 17:31:31 +11:00
|
|
|
%D%/sys/tsd.h \
|
2025-07-12 11:31:17 +10:00
|
|
|
%D%/sys/tunables.h \
|
2022-04-08 01:07:08 +02:00
|
|
|
%D%/sys/types.h \
|
|
|
|
|
%D%/sys/types32.h \
|
|
|
|
|
%D%/sys/uio.h \
|
|
|
|
|
%D%/sys/vnode.h \
|
|
|
|
|
%D%/sys/wmsum.h \
|
|
|
|
|
%D%/sys/zone.h
|
|
|
|
|
|
2023-01-18 04:09:19 +09:00
|
|
|
libspl_ia32dir = $(libspldir)/sys/ia32
|
|
|
|
|
|
2022-04-08 01:07:08 +02:00
|
|
|
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 \
|
2025-10-19 13:57:19 +11:00
|
|
|
%D%/os/linux/sys/vfs.h
|
2023-01-18 04:09:19 +09:00
|
|
|
|
|
|
|
|
libspl_ia32_HEADERS = \
|
|
|
|
|
%D%/os/linux/sys/ia32/asm_linkage.h
|
2022-04-08 01:07:08 +02:00
|
|
|
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 \
|
2025-07-06 12:16:54 +10:00
|
|
|
%D%/os/freebsd/sys/vfs.h
|
2023-01-18 04:09:19 +09:00
|
|
|
|
|
|
|
|
libspl_ia32_HEADERS = \
|
|
|
|
|
%D%/os/freebsd/sys/ia32/asm_linkage.h
|
2022-04-08 01:07:08 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libspl_sys_dktpdir = $(libspl_sysdir)/dktp
|
|
|
|
|
libspl_sys_dktp_HEADERS = \
|
|
|
|
|
%D%/sys/dktp/fdisk.h
|
2023-01-18 04:09:19 +09:00
|
|
|
|