1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-18 02:19:39 +00:00
freebsd/lib/libbe/Makefile
Martin Matuska e2df9bb441 zfs: merge openzfs/zfs@b10992582
Notable upstream pull request merges:
 #15892 -multiple Fast Dedup: Introduce the FDT on-disk format and feature flag
 #15893 -multiple Fast Dedup: “flat” DDT entry format
 #15895 -multiple Fast Dedup: FDT-log feature
 #16239 6be8bf555 zpool: Provide GUID to zpool-reguid(8) with -g
 #16277 -multiple Fast Dedup: prune unique entries
 #16316 5807de90a Fix null ptr deref when renaming a zvol with snaps and snapdev=visible
 #16343 77a797a38 Enable L2 cache of all (MRU+MFU) metadata but MFU data only
 #16446 83f359245 FreeBSD: fix build without kernel option MAC
 #16449 963e6c9f3 Fix incorrect error report on vdev attach/replace
 #16505 b10992582 spa_prop_get: require caller to supply output nvlist

Obtained from:	OpenZFS
OpenZFS commit:	b109925820
2024-09-09 18:13:02 +02: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>