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