xref: /freebsd/sys/contrib/openzfs/include/os/linux/Makefile.am (revision e63d20b70ee1dbee9b075f29de6f30cdcfe1abe1)
1if CONFIG_KERNEL
2kernel_linuxdir = $(kerneldir)/linux
3kernel_linux_HEADERS = \
4	%D%/kernel/linux/blkdev_compat.h \
5	%D%/kernel/linux/compiler_compat.h \
6	%D%/kernel/linux/dcache_compat.h \
7	%D%/kernel/linux/kmap_compat.h \
8	%D%/kernel/linux/mm_compat.h \
9	%D%/kernel/linux/mod_compat.h \
10	%D%/kernel/linux/page_compat.h \
11	%D%/kernel/linux/percpu_compat.h \
12	%D%/kernel/linux/simd.h \
13	%D%/kernel/linux/simd_aarch64.h \
14	%D%/kernel/linux/simd_arm.h \
15	%D%/kernel/linux/simd_powerpc.h \
16	%D%/kernel/linux/simd_x86.h \
17	%D%/kernel/linux/utsname_compat.h \
18	%D%/kernel/linux/vfs_compat.h \
19	%D%/kernel/linux/xattr_compat.h
20
21kernel_sysdir = $(kerneldir)/sys
22kernel_sys_HEADERS = \
23	%D%/zfs/sys/policy.h \
24	%D%/zfs/sys/trace_acl.h \
25	%D%/zfs/sys/trace_arc.h \
26	%D%/zfs/sys/trace_common.h \
27	%D%/zfs/sys/trace_dbgmsg.h \
28	%D%/zfs/sys/trace_dbuf.h \
29	%D%/zfs/sys/trace_dmu.h \
30	%D%/zfs/sys/trace_dnode.h \
31	%D%/zfs/sys/trace_multilist.h \
32	%D%/zfs/sys/trace_rrwlock.h \
33	%D%/zfs/sys/trace_txg.h \
34	%D%/zfs/sys/trace_vdev.h \
35	%D%/zfs/sys/trace_zfs.h \
36	%D%/zfs/sys/trace_zil.h \
37	%D%/zfs/sys/trace_zio.h \
38	%D%/zfs/sys/trace_zrlock.h \
39	%D%/zfs/sys/zfs_bootenv_os.h \
40	%D%/zfs/sys/zfs_context_os.h \
41	%D%/zfs/sys/zfs_ctldir.h \
42	%D%/zfs/sys/zfs_dir.h \
43	%D%/zfs/sys/zfs_vfsops_os.h \
44	%D%/zfs/sys/zfs_vnops_os.h \
45	%D%/zfs/sys/zfs_znode_impl.h \
46	%D%/zfs/sys/zpl.h
47
48kernel_spl_rpcdir = $(kerneldir)/spl/rpc
49kernel_spl_rpc_HEADERS = \
50	%D%/spl/rpc/types.h \
51	%D%/spl/rpc/xdr.h
52
53kernel_spl_sysdir = $(kerneldir)/spl/sys
54kernel_spl_sys_HEADERS = \
55	%D%/spl/sys/acl.h \
56	%D%/spl/sys/atomic.h \
57	%D%/spl/sys/byteorder.h \
58	%D%/spl/sys/callb.h \
59	%D%/spl/sys/callo.h \
60	%D%/spl/sys/cmn_err.h \
61	%D%/spl/sys/condvar.h \
62	%D%/spl/sys/cred.h \
63	%D%/spl/sys/ctype.h \
64	%D%/spl/sys/debug.h \
65	%D%/spl/sys/disp.h \
66	%D%/spl/sys/errno.h \
67	%D%/spl/sys/fcntl.h \
68	%D%/spl/sys/file.h \
69	%D%/spl/sys/inttypes.h \
70	%D%/spl/sys/isa_defs.h \
71	%D%/spl/sys/kmem.h \
72	%D%/spl/sys/kmem_cache.h \
73	%D%/spl/sys/kstat.h \
74	%D%/spl/sys/list.h \
75	%D%/spl/sys/misc.h \
76	%D%/spl/sys/mod_os.h \
77	%D%/spl/sys/mutex.h \
78	%D%/spl/sys/param.h \
79	%D%/spl/sys/proc.h \
80	%D%/spl/sys/processor.h \
81	%D%/spl/sys/procfs_list.h \
82	%D%/spl/sys/random.h \
83	%D%/spl/sys/rwlock.h \
84	%D%/spl/sys/shrinker.h \
85	%D%/spl/sys/sid.h \
86	%D%/spl/sys/signal.h \
87	%D%/spl/sys/simd.h \
88	%D%/spl/sys/stat.h \
89	%D%/spl/sys/string.h \
90	%D%/spl/sys/sunddi.h \
91	%D%/spl/sys/sysmacros.h \
92	%D%/spl/sys/systeminfo.h \
93	%D%/spl/sys/taskq.h \
94	%D%/spl/sys/thread.h \
95	%D%/spl/sys/time.h \
96	%D%/spl/sys/timer.h \
97	%D%/spl/sys/trace.h \
98	%D%/spl/sys/trace_spl.h \
99	%D%/spl/sys/trace_taskq.h \
100	%D%/spl/sys/tsd.h \
101	%D%/spl/sys/types.h \
102	%D%/spl/sys/types32.h \
103	%D%/spl/sys/uio.h \
104	%D%/spl/sys/user.h \
105	%D%/spl/sys/vfs.h \
106	%D%/spl/sys/vmem.h \
107	%D%/spl/sys/vmsystm.h \
108	%D%/spl/sys/vnode.h \
109	%D%/spl/sys/wait.h \
110	%D%/spl/sys/wmsum.h \
111	%D%/spl/sys/zmod.h \
112	%D%/spl/sys/zone.h
113
114kernel_spl_ia32dir = $(kernel_spl_sysdir)/ia32
115kernel_spl_ia32_HEADERS = \
116	%D%/spl/sys/ia32/asm_linkage.h
117endif
118