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