12 SRCS= be.c be_access.c be_error.c be_info.c
15 MLINKS+= libbe.3 be_activate.3
16 MLINKS+= libbe.3 be_active_name.3
17 MLINKS+= libbe.3 be_active_path.3
18 MLINKS+= libbe.3 be_create_depth.3
19 MLINKS+= libbe.3 be_create_from_existing_snap.3
20 MLINKS+= libbe.3 be_create_from_existing.3
21 MLINKS+= libbe.3 be_create.3
22 MLINKS+= libbe.3 be_deactivate.3
23 MLINKS+= libbe.3 be_destroy.3
24 MLINKS+= libbe.3 be_exists.3
25 MLINKS+= libbe.3 be_export.3
26 MLINKS+= libbe.3 be_get_bootenv_props.3
27 MLINKS+= libbe.3 be_get_dataset_props.3
28 MLINKS+= libbe.3 be_get_dataset_snapshots.3
29 MLINKS+= libbe.3 be_import.3
30 MLINKS+= libbe.3 be_is_auto_snapshot_name.3
31 MLINKS+= libbe.3 be_mount.3
32 MLINKS+= libbe.3 be_mounted_at.3
33 MLINKS+= libbe.3 be_nextboot_name.3
34 MLINKS+= libbe.3 be_nextboot_path.3
35 MLINKS+= libbe.3 be_nicenum.3
36 MLINKS+= libbe.3 be_prop_list_alloc.3
37 MLINKS+= libbe.3 be_prop_list_free.3
38 MLINKS+= libbe.3 be_rename.3
39 MLINKS+= libbe.3 be_root_concat.3
40 MLINKS+= libbe.3 be_root_path.3
41 MLINKS+= libbe.3 be_snapshot.3
42 MLINKS+= libbe.3 be_unmount.3
43 MLINKS+= libbe.3 be_validate_name.3
44 MLINKS+= libbe.3 be_validate_snap.3
45 MLINKS+= libbe.3 libbe_close.3
46 MLINKS+= libbe.3 libbe_errno.3
47 MLINKS+= libbe.3 libbe_error_description.3
48 MLINKS+= libbe.3 libbe_init.3
49 MLINKS+= libbe.3 libbe_print_on_error.3
56 CFLAGS+= -DIN_BASE -DHAVE_RPC_TYPES
57 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include
58 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/include/os/freebsd
59 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include
60 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libspl/include/os/freebsd
61 CFLAGS+= -I${SRCTOP}/sys/contrib/openzfs/lib/libzfs
62 CFLAGS+= -I${SRCTOP}/sys
63 CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
64 CFLAGS+= -include ${SRCTOP}/sys/contrib/openzfs/include/os/freebsd/spl/sys/ccompile.h
65 CFLAGS+= -DHAVE_ISSETUGID
66 CFLAGS.be.c= -Wno-cast-qual
67 CFLAGS.be_access.c= -Wno-cast-qual
68 CFLAGS.be_error.c= -Wno-cast-qual
69 CFLAGS.be_info.c= -Wno-cast-qual
72 SUBDIR.${MK_TESTS}+= tests