]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - lib/libbe/Makefile
MFC r366820-r366821: libbe(3) documentation improvements
[FreeBSD/FreeBSD.git] / lib / libbe / Makefile
1 # $FreeBSD$
2
3 SHLIBDIR?=      /lib
4
5 .include <src.opts.mk>
6
7 PACKAGE=        lib${LIB}
8 LIB=            be
9 SHLIB_MAJOR=    1
10 SHLIB_MINOR=    0
11
12 SRCS=           be.c be_access.c be_error.c be_info.c
13 INCS=           be.h
14 MAN=            libbe.3
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
50
51 WARNS?= 2
52 IGNORE_PRAGMA=  yes
53
54 LIBADD+= zfs
55 LIBADD+= nvpair
56
57 CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzfs/common
58 CFLAGS+= -I${SRCTOP}/sys/cddl/compat/opensolaris
59 CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/include
60 CFLAGS+= -I${SRCTOP}/cddl/compat/opensolaris/lib/libumem
61 CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/lib/libzpool/common
62 CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/common/zfs
63 CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common/fs/zfs
64 CFLAGS+= -I${SRCTOP}/sys/cddl/contrib/opensolaris/uts/common
65 CFLAGS+= -I${SRCTOP}/cddl/contrib/opensolaris/head
66
67 CFLAGS+= -DNEED_SOLARIS_BOOLEAN
68
69 HAS_TESTS=      YES
70 SUBDIR.${MK_TESTS}+= tests
71
72 .include <bsd.lib.mk>