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