opnsense-src/lib/libbe/Makefile
Martin Matuska 2ec8b69480 zfs: merge openzfs/zfs@e269af1b3 (zfs-2.2-release) into stable/14
OpenZFS release 2.2.7

Notable upstream pull request merges:
 #15457 022bf8637 Increase L2ARC write rate and headroom
 #15527 1ba5b2ef8 freebsd: remove __FBSDID macro use
 #15792 9e7af55e8 Add custom debug printing for your asserts
 #15793 a1ea40af8 libzfs: use zfs_strerror() in place of strerror()
 #16181 -multiple zdb/ztest: improve and harmonise crash output
 #16208 e5e4957a5 Allow block cloning to be interrupted by a signal
 #16210 ba4e582a6 FreeBSD: Add const qualifier to members of struct
                  opensolaris_utsname
 #16225 a6198f34b Simplify issig()
 #16335 25ec9a903 zdb: fix BRT dump
 #16364 cf80a803d zvol: ensure device minors are properly cleaned up
 #16404 384b53be8 FreeBSD: Add missing memory reclamation accounting
 #16492 -multiple Split "shared" userspace & kernel code into separate files
 #16496 f1694496a zfs_file: rename zfs_file_fallocate to zfs_file_deallocate
 #16511 bc0d89bfc Fix an uninitialized data access
 #16529 2dc8529d9 Fix handling of DNS names with '-' in them for sharenfs
 #16539 30ea44296 zfs_log: add flex array fields to log record structs
 #16546 098789216 Evicting too many bytes from MFU metadata
 #16551 54278533a Reduce and handle EAGAIN errors on AIO label reads
 #16554 84ad1d536 FreeBSD: restore zfs_znode_update_vfs()
 #16565 21c40e6d9 FreeBSD: Sync taskq_cancel_id() returns with Linux
 #16567 48482bb2f Properly release key in spa_keystore_dsl_key_hold_dd()
 #16584 e8f4592a1 Avoid computing strlen() inside loops
 #16605 acc8a3186 ARC: Cache arc_c value during arc_evict()
 #16650 fc60e0c6e freebsd: Use compiler.h from FreeBSD's base's linuxkpi
 #16667 b32b35cea zdb: show bp in uberblock dump
 #16684 1f5e1b919 Pack dmu_buf_impl_t by 16 bytes
 #16688 73b3e8ace Fix gcc uninitialized warning in FreeBSD zio_crypt.c
 #16690 727506c94 On the first vdev open ignore impossible ashift hints
 #16692 d83cd5307 zdb: add extra -T flag to show histograms of BRT refcounts
 #16693 82ab837a0 Fix gcc unused value warning in FreeBSD simd.h
 #16740 2bba6e3c5 BRT: Don't call brt_pending_remove() on holes/embedded
 #16801 299da6ace Fix race in libzfs_run_process_impl

Obtained from:	OpenZFS
OpenZFS commit: e269af1b3c
OpenZFS tag:	zfs-2.2.7
2024-12-12 13:22:56 +01:00

74 lines
2.2 KiB
Makefile

SHLIBDIR?= /lib
.include <src.opts.mk>
PACKAGE= zfs
LIB= be
SHLIB_MAJOR= 1
SHLIB_MINOR= 0
SRCS= be.c be_access.c be_error.c be_info.c
INCS= be.h
MAN= libbe.3
MLINKS+= libbe.3 be_activate.3
MLINKS+= libbe.3 be_active_name.3
MLINKS+= libbe.3 be_active_path.3
MLINKS+= libbe.3 be_create_depth.3
MLINKS+= libbe.3 be_create_from_existing_snap.3
MLINKS+= libbe.3 be_create_from_existing.3
MLINKS+= libbe.3 be_create.3
MLINKS+= libbe.3 be_deactivate.3
MLINKS+= libbe.3 be_destroy.3
MLINKS+= libbe.3 be_exists.3
MLINKS+= libbe.3 be_export.3
MLINKS+= libbe.3 be_get_bootenv_props.3
MLINKS+= libbe.3 be_get_dataset_props.3
MLINKS+= libbe.3 be_get_dataset_snapshots.3
MLINKS+= libbe.3 be_import.3
MLINKS+= libbe.3 be_is_auto_snapshot_name.3
MLINKS+= libbe.3 be_mount.3
MLINKS+= libbe.3 be_mounted_at.3
MLINKS+= libbe.3 be_nextboot_name.3
MLINKS+= libbe.3 be_nextboot_path.3
MLINKS+= libbe.3 be_nicenum.3
MLINKS+= libbe.3 be_prop_list_alloc.3
MLINKS+= libbe.3 be_prop_list_free.3
MLINKS+= libbe.3 be_rename.3
MLINKS+= libbe.3 be_root_concat.3
MLINKS+= libbe.3 be_root_path.3
MLINKS+= libbe.3 be_snapshot.3
MLINKS+= libbe.3 be_unmount.3
MLINKS+= libbe.3 be_validate_name.3
MLINKS+= libbe.3 be_validate_snap.3
MLINKS+= libbe.3 libbe_close.3
MLINKS+= libbe.3 libbe_errno.3
MLINKS+= libbe.3 libbe_error_description.3
MLINKS+= libbe.3 libbe_init.3
MLINKS+= libbe.3 libbe_print_on_error.3
LIBADD+= zfs
LIBADD+= nvpair
LIBADD+= spl
LIBADD+= zfsbootenv
CFLAGS+= -DIN_BASE -DHAVE_RPC_TYPES
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libzfs
CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libzpool/include
CFLAGS+= -I${SRCTOP}/sys
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
CFLAGS+= -DHAVE_ISSETUGID -DHAVE_STRLCAT -DHAVE_STRLCPY
CFLAGS.be.c= -Wno-cast-qual
CFLAGS.be_access.c= -Wno-cast-qual
CFLAGS.be_error.c= -Wno-cast-qual
CFLAGS.be_info.c= -Wno-cast-qual
HAS_TESTS= YES
SUBDIR.${MK_TESTS}+= tests
.include <bsd.lib.mk>