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