Notable upstream pull request merges:
#12766 Fix error propagation from lzc_send_redacted
#12805 Updated the lz4 decompressor
#12851 FreeBSD: Provide correct file generation number
#12857 Verify dRAID empty sectors
#12874 FreeBSD: Update argument types for VOP_READDIR
#12896 Reduce number of arc_prune threads
#12934 FreeBSD: Fix zvol_*_open() locking
#12947 lz4: Cherrypick fix for CVE-2021-3520
#12961 FreeBSD: Fix leaked strings in libspl mnttab
#12964 Fix handling of errors from dmu_write_uio_dbuf() on FreeBSD
#12981 Introduce a flag to skip comparing the local mac when raw sending
#12985 Avoid memory allocations in the ARC eviction thread
Obtained from: OpenZFS
OpenZFS commit: 17b2ae0b24
75 lines
2.1 KiB
Makefile
75 lines
2.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
SHLIBDIR?= /lib
|
|
|
|
.include <src.opts.mk>
|
|
|
|
PACKAGE= runtime
|
|
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
|
|
CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
|
|
CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
|
|
CFLAGS+= -DHAVE_ISSETUGID
|
|
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>
|