xref: /freebsd/sys/contrib/openzfs/include/Makefile.am (revision 9f23cbd6cae82fd77edfad7173432fa8dccd0a95)
1if BUILD_LINUX
2include $(srcdir)/%D%/os/linux/Makefile.am
3endif
4if BUILD_FREEBSD
5include $(srcdir)/%D%/os/freebsd/Makefile.am
6endif
7
8
9COMMON_H = \
10	cityhash.h \
11	zfeature_common.h \
12	zfs_comutil.h \
13	zfs_deleg.h \
14	zfs_fletcher.h \
15	zfs_namecheck.h \
16	zfs_prop.h \
17	\
18	sys/abd.h \
19	sys/abd_impl.h \
20	sys/aggsum.h \
21	sys/arc.h \
22	sys/arc_impl.h \
23	sys/asm_linkage.h \
24	sys/avl.h \
25	sys/avl_impl.h \
26	sys/bitmap.h \
27	sys/bitops.h \
28	sys/blake3.h \
29	sys/blkptr.h \
30	sys/bplist.h \
31	sys/bpobj.h \
32	sys/bptree.h \
33	sys/bqueue.h \
34	sys/btree.h \
35	sys/brt.h \
36	sys/dataset_kstats.h \
37	sys/dbuf.h \
38	sys/ddt.h \
39	sys/dmu.h \
40	sys/dmu_impl.h \
41	sys/dmu_objset.h \
42	sys/dmu_recv.h \
43	sys/dmu_redact.h \
44	sys/dmu_send.h \
45	sys/dmu_traverse.h \
46	sys/dmu_tx.h \
47	sys/dmu_zfetch.h \
48	sys/dnode.h \
49	sys/dsl_bookmark.h \
50	sys/dsl_crypt.h \
51	sys/dsl_dataset.h \
52	sys/dsl_deadlist.h \
53	sys/dsl_deleg.h \
54	sys/dsl_destroy.h \
55	sys/dsl_dir.h \
56	sys/dsl_pool.h \
57	sys/dsl_prop.h \
58	sys/dsl_scan.h \
59	sys/dsl_synctask.h \
60	sys/dsl_userhold.h \
61	sys/edonr.h \
62	sys/efi_partition.h \
63	sys/frame.h \
64	sys/hkdf.h \
65	sys/metaslab.h \
66	sys/metaslab_impl.h \
67	sys/mmp.h \
68	sys/mntent.h \
69	sys/mod.h \
70	sys/multilist.h \
71	sys/nvpair.h \
72	sys/nvpair_impl.h \
73	sys/objlist.h \
74	sys/pathname.h \
75	sys/qat.h \
76	sys/range_tree.h \
77	sys/rrwlock.h \
78	sys/sa.h \
79	sys/sa_impl.h \
80	sys/sha2.h \
81	sys/skein.h \
82	sys/spa.h \
83	sys/spa_checkpoint.h \
84	sys/spa_checksum.h \
85	sys/spa_impl.h \
86	sys/spa_log_spacemap.h \
87	sys/space_map.h \
88	sys/space_reftree.h \
89	sys/sysevent.h \
90	sys/txg.h \
91	sys/txg_impl.h \
92	sys/u8_textprep.h \
93	sys/u8_textprep_data.h \
94	sys/uberblock.h \
95	sys/uberblock_impl.h \
96	sys/uio_impl.h \
97	sys/unique.h \
98	sys/uuid.h \
99	sys/vdev.h \
100	sys/vdev_disk.h \
101	sys/vdev_draid.h \
102	sys/vdev_file.h \
103	sys/vdev_impl.h \
104	sys/vdev_indirect_births.h \
105	sys/vdev_indirect_mapping.h \
106	sys/vdev_initialize.h \
107	sys/vdev_raidz.h \
108	sys/vdev_raidz_impl.h \
109	sys/vdev_rebuild.h \
110	sys/vdev_removal.h \
111	sys/vdev_trim.h \
112	sys/xvattr.h \
113	sys/zap.h \
114	sys/zap_impl.h \
115	sys/zap_leaf.h \
116	sys/zcp.h \
117	sys/zcp_global.h \
118	sys/zcp_iter.h \
119	sys/zcp_prop.h \
120	sys/zcp_set.h \
121	sys/zfeature.h \
122	sys/zfs_acl.h \
123	sys/zfs_bootenv.h \
124	sys/zfs_chksum.h \
125	sys/zfs_context.h \
126	sys/zfs_debug.h \
127	sys/zfs_delay.h \
128	sys/zfs_file.h \
129	sys/zfs_fuid.h \
130	sys/zfs_impl.h \
131	sys/zfs_project.h \
132	sys/zfs_quota.h \
133	sys/zfs_racct.h \
134	sys/zfs_ratelimit.h \
135	sys/zfs_refcount.h \
136	sys/zfs_rlock.h \
137	sys/zfs_sa.h \
138	sys/zfs_stat.h \
139	sys/zfs_sysfs.h \
140	sys/zfs_vfsops.h \
141	sys/zfs_vnops.h \
142	sys/zfs_znode.h \
143	sys/zil.h \
144	sys/zil_impl.h \
145	sys/zio.h \
146	sys/zio_checksum.h \
147	sys/zio_compress.h \
148	sys/zio_crypt.h \
149	sys/zio_impl.h \
150	sys/zio_priority.h \
151	sys/zrlock.h \
152	sys/zthr.h \
153	\
154	sys/crypto/api.h \
155	sys/crypto/common.h \
156	sys/crypto/icp.h \
157	\
158	sys/fm/protocol.h \
159	sys/fm/util.h \
160	sys/fm/fs/zfs.h \
161	\
162	sys/fs/zfs.h \
163	\
164	sys/lua/lauxlib.h \
165	sys/lua/lua.h \
166	sys/lua/luaconf.h \
167	sys/lua/lualib.h \
168	\
169	sys/sysevent/dev.h \
170	sys/sysevent/eventdefs.h \
171	\
172	sys/zstd/zstd.h
173
174
175KERNEL_H = \
176	sys/zfs_ioctl.h \
177	sys/zfs_ioctl_impl.h \
178	sys/zfs_onexit.h \
179	sys/zvol.h \
180	sys/zvol_impl.h
181
182
183USER_H = \
184	libnvpair.h \
185	libuutil.h \
186	libuutil_common.h \
187	libuutil_impl.h \
188	libzfs.h \
189	libzfs_core.h \
190	libzfsbootenv.h \
191	libzutil.h \
192	thread_pool.h
193
194
195if CONFIG_USER
196libzfsdir = $(includedir)/libzfs
197nobase_libzfs_HEADERS = $(COMMON_H) $(USER_H)
198endif
199
200kerneldir = $(prefix)/src/zfs-$(VERSION)/include
201if CONFIG_KERNEL
202if BUILD_LINUX
203nobase_kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
204endif
205endif
206