aboutsummaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorнаб <[email protected]>2022-04-09 14:37:22 +0200
committerBrian Behlendorf <[email protected]>2022-05-10 10:18:51 -0700
commit09a7ad38a5407b5ac6c2a75f679504367655e471 (patch)
tree398e209fac8e195d1e559227fd841f7f90416759 /include/sys
parent5cdca5b1da7884c54260db473f892354bc79951b (diff)
autoconf: single-step includes
Still descend, but only once: we get a lot of mileage out of nodist_ Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ahelenia Ziemiańska <[email protected]> Closes #13316
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/Makefile.am151
-rw-r--r--include/sys/crypto/Makefile.am16
-rw-r--r--include/sys/fm/Makefile.am17
-rw-r--r--include/sys/fm/fs/Makefile.am14
-rw-r--r--include/sys/fs/Makefile.am14
-rw-r--r--include/sys/lua/Makefile.am17
-rw-r--r--include/sys/sysevent/Makefile.am15
-rw-r--r--include/sys/zstd/Makefile.am18
8 files changed, 0 insertions, 262 deletions
diff --git a/include/sys/Makefile.am b/include/sys/Makefile.am
deleted file mode 100644
index 54573fbe1..000000000
--- a/include/sys/Makefile.am
+++ /dev/null
@@ -1,151 +0,0 @@
-SUBDIRS = fm fs crypto lua sysevent zstd
-
-COMMON_H = \
- abd.h \
- abd_impl.h \
- aggsum.h \
- arc.h \
- arc_impl.h \
- avl.h \
- avl_impl.h \
- bitops.h \
- blkptr.h \
- bplist.h \
- bpobj.h \
- bptree.h \
- btree.h \
- bqueue.h \
- dataset_kstats.h \
- dbuf.h \
- ddt.h \
- dmu.h \
- dmu_impl.h \
- dmu_objset.h \
- dmu_recv.h \
- dmu_redact.h \
- dmu_send.h \
- dmu_traverse.h \
- dmu_tx.h \
- dmu_zfetch.h \
- dnode.h \
- dsl_bookmark.h \
- dsl_dataset.h \
- dsl_deadlist.h \
- dsl_deleg.h \
- dsl_destroy.h \
- dsl_dir.h \
- dsl_crypt.h \
- dsl_pool.h \
- dsl_prop.h \
- dsl_scan.h \
- dsl_synctask.h \
- dsl_userhold.h \
- edonr.h \
- efi_partition.h \
- frame.h \
- hkdf.h \
- metaslab.h \
- metaslab_impl.h \
- mmp.h \
- mntent.h \
- mod.h \
- multilist.h \
- nvpair.h \
- nvpair_impl.h \
- objlist.h \
- pathname.h \
- qat.h \
- range_tree.h \
- rrwlock.h \
- sa.h \
- sa_impl.h \
- skein.h \
- spa_boot.h \
- spa_checkpoint.h \
- spa_log_spacemap.h \
- space_map.h \
- space_reftree.h \
- spa.h \
- spa_impl.h \
- spa_checksum.h \
- sysevent.h \
- txg.h \
- txg_impl.h \
- u8_textprep_data.h \
- u8_textprep.h \
- uberblock.h \
- uberblock_impl.h \
- uio_impl.h \
- unique.h \
- uuid.h \
- vdev_disk.h \
- vdev_file.h \
- vdev.h \
- vdev_draid.h \
- vdev_impl.h \
- vdev_indirect_births.h \
- vdev_indirect_mapping.h \
- vdev_initialize.h \
- vdev_raidz.h \
- vdev_raidz_impl.h \
- vdev_rebuild.h \
- vdev_removal.h \
- vdev_trim.h \
- xvattr.h \
- zap.h \
- zap_impl.h \
- zap_leaf.h \
- zcp.h \
- zcp_global.h \
- zcp_iter.h \
- zcp_prop.h \
- zcp_set.h \
- zfeature.h \
- zfs_acl.h \
- zfs_bootenv.h \
- zfs_context.h \
- zfs_debug.h \
- zfs_delay.h \
- zfs_file.h \
- zfs_fuid.h \
- zfs_project.h \
- zfs_quota.h \
- zfs_racct.h \
- zfs_ratelimit.h \
- zfs_refcount.h \
- zfs_rlock.h \
- zfs_sa.h \
- zfs_stat.h \
- zfs_sysfs.h \
- zfs_vfsops.h \
- zfs_vnops.h \
- zfs_znode.h \
- zil.h \
- zil_impl.h \
- zio_checksum.h \
- zio_compress.h \
- zio_crypt.h \
- zio.h \
- zio_impl.h \
- zio_priority.h \
- zrlock.h \
- zthr.h
-
-KERNEL_H = \
- zfs_ioctl.h \
- zfs_ioctl_impl.h \
- zfs_onexit.h \
- zvol.h \
- zvol_impl.h
-
-if CONFIG_USER
-libzfsdir = $(includedir)/libzfs/sys
-libzfs_HEADERS = $(COMMON_H)
-endif
-
-if CONFIG_KERNEL
-if BUILD_LINUX
-kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys
-kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
-endif
-endif
diff --git a/include/sys/crypto/Makefile.am b/include/sys/crypto/Makefile.am
deleted file mode 100644
index eb31f6a45..000000000
--- a/include/sys/crypto/Makefile.am
+++ /dev/null
@@ -1,16 +0,0 @@
-COMMON_H = \
- api.h \
- common.h \
- icp.h
-
-if CONFIG_USER
-libzfsdir = $(includedir)/libzfs/sys/crypto
-libzfs_HEADERS = $(COMMON_H)
-endif
-
-if CONFIG_KERNEL
-if BUILD_LINUX
-kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/crypto
-kernel_HEADERS = $(COMMON_H)
-endif
-endif
diff --git a/include/sys/fm/Makefile.am b/include/sys/fm/Makefile.am
deleted file mode 100644
index 7c6c3d49b..000000000
--- a/include/sys/fm/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-SUBDIRS = fs
-
-COMMON_H = \
- protocol.h \
- util.h
-
-if CONFIG_USER
-libzfsdir = $(includedir)/libzfs/sys/fm
-libzfs_HEADERS = $(COMMON_H)
-endif
-
-if CONFIG_KERNEL
-if BUILD_LINUX
-kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/fm
-kernel_HEADERS = $(COMMON_H)
-endif
-endif
diff --git a/include/sys/fm/fs/Makefile.am b/include/sys/fm/fs/Makefile.am
deleted file mode 100644
index a662753a9..000000000
--- a/include/sys/fm/fs/Makefile.am
+++ /dev/null
@@ -1,14 +0,0 @@
-COMMON_H = \
- zfs.h
-
-if CONFIG_USER
-libzfsdir = $(includedir)/libzfs/sys/fm/fs
-libzfs_HEADERS = $(COMMON_H)
-endif
-
-if CONFIG_KERNEL
-if BUILD_LINUX
-kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/fm/fs
-kernel_HEADERS = $(COMMON_H)
-endif
-endif
diff --git a/include/sys/fs/Makefile.am b/include/sys/fs/Makefile.am
deleted file mode 100644
index 6a93053c8..000000000
--- a/include/sys/fs/Makefile.am
+++ /dev/null
@@ -1,14 +0,0 @@
-COMMON_H = \
- zfs.h
-
-if CONFIG_USER
-libzfsdir = $(includedir)/libzfs/sys/fs
-libzfs_HEADERS = $(COMMON_H)
-endif
-
-if CONFIG_KERNEL
-if BUILD_LINUX
-kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/fs
-kernel_HEADERS = $(COMMON_H)
-endif
-endif
diff --git a/include/sys/lua/Makefile.am b/include/sys/lua/Makefile.am
deleted file mode 100644
index 8b4dafaa8..000000000
--- a/include/sys/lua/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-COMMON_H = \
- lua.h \
- luaconf.h \
- lualib.h \
- lauxlib.h
-
-if CONFIG_USER
-libzfsdir = $(includedir)/libzfs/sys/lua
-libzfs_HEADERS = $(COMMON_H)
-endif
-
-if CONFIG_KERNEL
-if BUILD_LINUX
-kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/lua
-kernel_HEADERS = $(COMMON_H)
-endif
-endif
diff --git a/include/sys/sysevent/Makefile.am b/include/sys/sysevent/Makefile.am
deleted file mode 100644
index 64e537639..000000000
--- a/include/sys/sysevent/Makefile.am
+++ /dev/null
@@ -1,15 +0,0 @@
-COMMON_H = \
- eventdefs.h \
- dev.h
-
-if CONFIG_USER
-libzfsdir = $(includedir)/libzfs/sys/sysevent
-libzfs_HEADERS = $(COMMON_H)
-endif
-
-if CONFIG_KERNEL
-if BUILD_LINUX
-kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/sysevent
-kernel_HEADERS = $(COMMON_H)
-endif
-endif
diff --git a/include/sys/zstd/Makefile.am b/include/sys/zstd/Makefile.am
deleted file mode 100644
index 16666fe63..000000000
--- a/include/sys/zstd/Makefile.am
+++ /dev/null
@@ -1,18 +0,0 @@
-COMMON_H = \
- $(top_srcdir)/include/sys/zstd/zstd.h
-
-KERNEL_H =
-
-USER_H =
-
-EXTRA_DIST = $(COMMON_H) $(KERNEL_H) $(USER_H)
-
-if CONFIG_USER
-libzfsdir = $(includedir)/libzfs/sys/zstd
-libzfs_HEADERS = $(COMMON_H) $(USER_H)
-endif
-
-if CONFIG_KERNEL
-kerneldir = @prefix@/src/zfs-$(VERSION)/include/sys/zstd
-kernel_HEADERS = $(COMMON_H) $(KERNEL_H)
-endif