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