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