autoconf: single-step includes

Still descend, but only once: we get a lot of mileage out of nodist_

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13316
This commit is contained in:
наб
2022-04-09 14:37:22 +02:00
committed by Brian Behlendorf
parent 5cdca5b1da
commit 09a7ad38a5
27 changed files with 375 additions and 533 deletions
-151
View File
@@ -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
-16
View File
@@ -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
-17
View File
@@ -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
-14
View File
@@ -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
-14
View File
@@ -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
-17
View File
@@ -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
-15
View File
@@ -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
-18
View File
@@ -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