2013-11-12 19:39:14 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
2015-06-15 15:34:20 +00:00
|
|
|
SHLIBDIR= /lib
|
2014-09-07 22:56:57 +00:00
|
|
|
|
2014-08-05 18:41:27 +00:00
|
|
|
.include <src.opts.mk>
|
|
|
|
|
2013-11-12 19:39:14 +00:00
|
|
|
LIB= nv
|
|
|
|
SHLIB_MAJOR= 0
|
|
|
|
|
2015-03-01 00:34:27 +00:00
|
|
|
.PATH: ${.CURDIR}/../../sys/kern ${.CURDIR}/../../sys/sys
|
|
|
|
CFLAGS+=-I${.CURDIR}/../../sys -I${.CURDIR}
|
|
|
|
|
|
|
|
SRCS= subr_dnvlist.c
|
2013-11-12 19:39:14 +00:00
|
|
|
SRCS+= msgio.c
|
2015-03-01 00:34:27 +00:00
|
|
|
SRCS+= subr_nvlist.c
|
|
|
|
SRCS+= subr_nvpair.c
|
2013-11-12 19:39:14 +00:00
|
|
|
|
|
|
|
INCS= dnv.h
|
|
|
|
INCS+= nv.h
|
|
|
|
|
|
|
|
MAN+= nv.3
|
|
|
|
|
|
|
|
MLINKS+=nv.3 libnv.3 \
|
|
|
|
nv.3 nvlist.3
|
2015-05-01 16:41:46 +00:00
|
|
|
MLINKS+=nv.3 nvlist_add_binary.3 \
|
|
|
|
nv.3 nvlist_add_bool.3 \
|
|
|
|
nv.3 nvlist_add_descriptor.3 \
|
|
|
|
nv.3 nvlist_add_null.3 \
|
|
|
|
nv.3 nvlist_add_number.3 \
|
|
|
|
nv.3 nvlist_add_nvlist.3 \
|
|
|
|
nv.3 nvlist_add_string.3 \
|
|
|
|
nv.3 nvlist_add_stringf.3 \
|
|
|
|
nv.3 nvlist_add_stringv.3 \
|
2013-11-12 19:39:14 +00:00
|
|
|
nv.3 nvlist_clone.3 \
|
2015-05-01 16:41:46 +00:00
|
|
|
nv.3 nvlist_create.3 \
|
|
|
|
nv.3 nvlist_destroy.3 \
|
2013-11-12 19:39:14 +00:00
|
|
|
nv.3 nvlist_dump.3 \
|
2015-05-01 16:41:46 +00:00
|
|
|
nv.3 nvlist_empty.3 \
|
|
|
|
nv.3 nvlist_error.3 \
|
2013-11-12 19:39:14 +00:00
|
|
|
nv.3 nvlist_exists.3 \
|
2015-05-01 16:41:46 +00:00
|
|
|
nv.3 nvlist_exists_binary.3 \
|
2013-11-12 19:39:14 +00:00
|
|
|
nv.3 nvlist_exists_bool.3 \
|
2015-05-01 16:41:46 +00:00
|
|
|
nv.3 nvlist_exists_descriptor.3 \
|
|
|
|
nv.3 nvlist_exists_null.3 \
|
2013-11-12 19:39:14 +00:00
|
|
|
nv.3 nvlist_exists_number.3 \
|
|
|
|
nv.3 nvlist_exists_nvlist.3 \
|
2015-05-01 16:41:46 +00:00
|
|
|
nv.3 nvlist_exists_string.3 \
|
|
|
|
nv.3 nvlist_exists_type.3 \
|
|
|
|
nv.3 nvlist_fdump.3 \
|
2015-05-01 17:50:24 +00:00
|
|
|
nv.3 nvlist_flags.3 \
|
2015-05-01 16:41:46 +00:00
|
|
|
nv.3 nvlist_free.3 \
|
|
|
|
nv.3 nvlist_free_binary.3 \
|
|
|
|
nv.3 nvlist_free_bool.3 \
|
|
|
|
nv.3 nvlist_free_descriptor.3 \
|
|
|
|
nv.3 nvlist_free_null.3 \
|
|
|
|
nv.3 nvlist_free_number.3 \
|
|
|
|
nv.3 nvlist_free_nvlist.3 \
|
|
|
|
nv.3 nvlist_free_string.3 \
|
|
|
|
nv.3 nvlist_free_type.3 \
|
|
|
|
nv.3 nvlist_get_binary.3 \
|
2013-11-12 19:39:14 +00:00
|
|
|
nv.3 nvlist_get_bool.3 \
|
2015-05-01 16:41:46 +00:00
|
|
|
nv.3 nvlist_get_descriptor.3 \
|
2013-11-12 19:39:14 +00:00
|
|
|
nv.3 nvlist_get_number.3 \
|
|
|
|
nv.3 nvlist_get_nvlist.3 \
|
2015-01-30 12:57:35 +00:00
|
|
|
nv.3 nvlist_get_parent.3 \
|
2015-05-01 16:41:46 +00:00
|
|
|
nv.3 nvlist_get_string.3 \
|
|
|
|
nv.3 nvlist_move_binary.3 \
|
|
|
|
nv.3 nvlist_move_descriptor.3 \
|
|
|
|
nv.3 nvlist_move_nvlist.3 \
|
|
|
|
nv.3 nvlist_move_string.3 \
|
|
|
|
nv.3 nvlist_next.3 \
|
|
|
|
nv.3 nvlist_pack.3 \
|
|
|
|
nv.3 nvlist_recv.3 \
|
|
|
|
nv.3 nvlist_send.3 \
|
|
|
|
nv.3 nvlist_set_error.3 \
|
|
|
|
nv.3 nvlist_size.3 \
|
|
|
|
nv.3 nvlist_take_binary.3 \
|
2013-11-12 19:39:14 +00:00
|
|
|
nv.3 nvlist_take_bool.3 \
|
2015-05-01 16:41:46 +00:00
|
|
|
nv.3 nvlist_take_descriptor.3 \
|
2013-11-12 19:39:14 +00:00
|
|
|
nv.3 nvlist_take_number.3 \
|
|
|
|
nv.3 nvlist_take_nvlist.3 \
|
2015-05-01 16:41:46 +00:00
|
|
|
nv.3 nvlist_take_string.3 \
|
|
|
|
nv.3 nvlist_unpack.3 \
|
|
|
|
nv.3 nvlist_xfer.3
|
2013-11-12 19:39:14 +00:00
|
|
|
|
|
|
|
WARNS?= 6
|
|
|
|
|
2014-08-05 18:41:27 +00:00
|
|
|
.if ${MK_TESTS} != "no"
|
|
|
|
SUBDIR+= tests
|
|
|
|
.endif
|
|
|
|
|
2013-11-12 19:39:14 +00:00
|
|
|
.include <bsd.lib.mk>
|