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