xref: /freebsd/lib/libnv/Makefile (revision bd1da0a002e9a43cfb5220835c7a42804d90dc56)
1# $FreeBSD$
2
3SHLIBDIR?= /lib
4
5.include <src.opts.mk>
6
7LIB=	nv
8SHLIB_MAJOR= 0
9
10.PATH: ${.CURDIR}/../../sys/kern ${.CURDIR}/../../sys/sys
11CFLAGS+=-I${.CURDIR}/../../sys -I${.CURDIR}
12
13SRCS=	subr_dnvlist.c
14SRCS+=	msgio.c
15SRCS+=	subr_nvlist.c
16SRCS+=	subr_nvpair.c
17
18INCS=	dnv.h
19INCS+=	nv.h
20
21MAN+=	nv.3
22
23MLINKS+=nv.3 libnv.3 \
24	nv.3 nvlist.3
25MLINKS+=nv.3 nvlist_add_binary.3 \
26	nv.3 nvlist_add_bool.3 \
27	nv.3 nvlist_add_descriptor.3 \
28	nv.3 nvlist_add_null.3 \
29	nv.3 nvlist_add_number.3 \
30	nv.3 nvlist_add_nvlist.3 \
31	nv.3 nvlist_add_string.3 \
32	nv.3 nvlist_add_stringf.3 \
33	nv.3 nvlist_add_stringv.3 \
34	nv.3 nvlist_clone.3 \
35	nv.3 nvlist_create.3 \
36	nv.3 nvlist_destroy.3 \
37	nv.3 nvlist_dump.3 \
38	nv.3 nvlist_empty.3 \
39	nv.3 nvlist_error.3 \
40	nv.3 nvlist_exists.3 \
41	nv.3 nvlist_exists_binary.3 \
42	nv.3 nvlist_exists_bool.3 \
43	nv.3 nvlist_exists_descriptor.3 \
44	nv.3 nvlist_exists_null.3 \
45	nv.3 nvlist_exists_number.3 \
46	nv.3 nvlist_exists_nvlist.3 \
47	nv.3 nvlist_exists_string.3 \
48	nv.3 nvlist_exists_type.3 \
49	nv.3 nvlist_fdump.3 \
50	nv.3 nvlist_flags.3 \
51	nv.3 nvlist_free.3 \
52	nv.3 nvlist_free_binary.3 \
53	nv.3 nvlist_free_bool.3 \
54	nv.3 nvlist_free_descriptor.3 \
55	nv.3 nvlist_free_null.3 \
56	nv.3 nvlist_free_number.3 \
57	nv.3 nvlist_free_nvlist.3 \
58	nv.3 nvlist_free_string.3 \
59	nv.3 nvlist_free_type.3 \
60	nv.3 nvlist_get_binary.3 \
61	nv.3 nvlist_get_bool.3 \
62	nv.3 nvlist_get_descriptor.3 \
63	nv.3 nvlist_get_number.3 \
64	nv.3 nvlist_get_nvlist.3 \
65	nv.3 nvlist_get_parent.3 \
66	nv.3 nvlist_get_string.3 \
67	nv.3 nvlist_move_binary.3 \
68	nv.3 nvlist_move_descriptor.3 \
69	nv.3 nvlist_move_nvlist.3 \
70	nv.3 nvlist_move_string.3 \
71	nv.3 nvlist_next.3 \
72	nv.3 nvlist_pack.3 \
73	nv.3 nvlist_recv.3 \
74	nv.3 nvlist_send.3 \
75	nv.3 nvlist_set_error.3 \
76	nv.3 nvlist_size.3 \
77	nv.3 nvlist_take_binary.3 \
78	nv.3 nvlist_take_bool.3 \
79	nv.3 nvlist_take_descriptor.3 \
80	nv.3 nvlist_take_number.3 \
81	nv.3 nvlist_take_nvlist.3 \
82	nv.3 nvlist_take_string.3 \
83	nv.3 nvlist_unpack.3 \
84	nv.3 nvlist_xfer.3
85
86WARNS?=	6
87
88.if ${MK_TESTS} != "no"
89SUBDIR+=	tests
90.endif
91
92.include <bsd.lib.mk>
93