1# $FreeBSD: stable/12/lib/libbe/Makefile 367682 2020-11-14 15:21:20Z kevans $ 2 3SHLIBDIR?= /lib 4 5.include <src.opts.mk> 6 7PACKAGE= lib${LIB} 8LIB= be 9SHLIB_MAJOR= 1 10SHLIB_MINOR= 0 11 12SRCS= be.c be_access.c be_error.c be_info.c 13INCS= be.h 14MAN= libbe.3 15MLINKS+= libbe.3 be_activate.3 16MLINKS+= libbe.3 be_active_name.3 17MLINKS+= libbe.3 be_active_path.3 18MLINKS+= libbe.3 be_create_depth.3 19MLINKS+= libbe.3 be_create_from_existing_snap.3 20MLINKS+= libbe.3 be_create_from_existing.3 21MLINKS+= libbe.3 be_create.3 22MLINKS+= libbe.3 be_deactivate.3 23MLINKS+= libbe.3 be_destroy.3 24MLINKS+= libbe.3 be_exists.3 25MLINKS+= libbe.3 be_export.3 26MLINKS+= libbe.3 be_get_bootenv_props.3 27MLINKS+= libbe.3 be_get_dataset_props.3 28MLINKS+= libbe.3 be_get_dataset_snapshots.3 29MLINKS+= libbe.3 be_import.3 30MLINKS+= libbe.3 be_is_auto_snapshot_name.3 31MLINKS+= libbe.3 be_mount.3 32MLINKS+= libbe.3 be_mounted_at.3 33MLINKS+= libbe.3 be_nextboot_name.3 34MLINKS+= libbe.3 be_nextboot_path.3 35MLINKS+= libbe.3 be_nicenum.3 36MLINKS+= libbe.3 be_prop_list_alloc.3 37MLINKS+= libbe.3 be_prop_list_free.3 38MLINKS+= libbe.3 be_rename.3 39MLINKS+= libbe.3 be_root_concat.3 40MLINKS+= libbe.3 be_root_path.3 41MLINKS+= libbe.3 be_snapshot.3 42MLINKS+= libbe.3 be_unmount.3 43MLINKS+= libbe.3 be_validate_name.3 44MLINKS+= libbe.3 be_validate_snap.3 45MLINKS+= libbe.3 libbe_close.3 46MLINKS+= libbe.3 libbe_errno.3 47MLINKS+= libbe.3 libbe_error_description.3 48MLINKS+= libbe.3 libbe_init.3 49MLINKS+= libbe.3 libbe_print_on_error.3 50 51WARNS?= 2 52IGNORE_PRAGMA= yes 53 54LIBADD+= zfs 55LIBADD+= nvpair 56 57CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common 58CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris 59CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include 60CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem 61CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common 62CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs 63CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs 64CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common 65CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head 66 67CFLAGS+= -DNEED_SOLARIS_BOOLEAN 68 69HAS_TESTS= YES 70SUBDIR.${MK_TESTS}+= tests 71 72.include <bsd.lib.mk> 73