xref: /freebsd/sys/contrib/openzfs/lib/libspl/include/Makefile.am (revision aca928a50a42f00f344df934005b09dbcb4e2f77)
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/backtrace.h \
31	%D%/sys/callb.h \
32	%D%/sys/cmn_err.h \
33	%D%/sys/cred.h \
34	%D%/sys/debug.h \
35	%D%/sys/dkio.h \
36	%D%/sys/dklabel.h \
37	%D%/sys/feature_tests.h \
38	%D%/sys/inttypes.h \
39	%D%/sys/isa_defs.h \
40	%D%/sys/kmem.h \
41	%D%/sys/kstat.h \
42	%D%/sys/list.h \
43	%D%/sys/list_impl.h \
44	%D%/sys/mhd.h \
45	%D%/sys/mkdev.h \
46	%D%/sys/policy.h \
47	%D%/sys/poll.h \
48	%D%/sys/priv.h \
49	%D%/sys/processor.h \
50	%D%/sys/simd.h \
51	%D%/sys/stack.h \
52	%D%/sys/stdtypes.h \
53	%D%/sys/string.h \
54	%D%/sys/sunddi.h \
55	%D%/sys/systeminfo.h \
56	%D%/sys/time.h \
57	%D%/sys/trace_spl.h \
58	%D%/sys/trace_zfs.h \
59	%D%/sys/types.h \
60	%D%/sys/types32.h \
61	%D%/sys/uio.h \
62	%D%/sys/vnode.h \
63	%D%/sys/wmsum.h \
64	%D%/sys/zone.h
65
66libspl_ia32dir = $(libspldir)/sys/ia32
67
68if BUILD_LINUX
69libspl_sys_HEADERS += \
70	%D%/os/linux/sys/byteorder.h \
71	%D%/os/linux/sys/errno.h \
72	%D%/os/linux/sys/mnttab.h \
73	%D%/os/linux/sys/mount.h \
74	%D%/os/linux/sys/param.h \
75	%D%/os/linux/sys/stat.h \
76	%D%/os/linux/sys/sysmacros.h \
77	%D%/os/linux/sys/zfs_context_os.h
78
79libspl_ia32_HEADERS = \
80	%D%/os/linux/sys/ia32/asm_linkage.h
81endif
82
83if BUILD_FREEBSD
84libspl_sys_HEADERS += \
85	%D%/os/freebsd/sys/byteorder.h \
86	%D%/os/freebsd/sys/fcntl.h \
87	%D%/os/freebsd/sys/file.h \
88	%D%/os/freebsd/sys/mnttab.h \
89	%D%/os/freebsd/sys/mount.h \
90	%D%/os/freebsd/sys/param.h \
91	%D%/os/freebsd/sys/stat.h \
92	%D%/os/freebsd/sys/sysmacros.h \
93	%D%/os/freebsd/sys/vfs.h \
94	%D%/os/freebsd/sys/zfs_context_os.h
95
96libspl_ia32_HEADERS = \
97	%D%/os/freebsd/sys/ia32/asm_linkage.h
98endif
99
100
101libspl_sys_dktpdir = $(libspl_sysdir)/dktp
102libspl_sys_dktp_HEADERS = \
103	%D%/sys/dktp/fdisk.h
104
105