Makefile revision 284421
1104862Sru# $FreeBSD: head/lib/libnv/Makefile 284421 2015-06-15 19:28:07Z bapt $
2104862Sru
3104862SruSHLIBDIR?= /lib
4104862Sru
5104862Sru.include <src.opts.mk>
6104862Sru
7104862SruLIB=	nv
8104862SruSHLIB_MAJOR= 0
9104862Sru
10104862Sru.PATH: ${.CURDIR}/../../sys/kern ${.CURDIR}/../../sys/sys
11104862SruCFLAGS+=-I${.CURDIR}/../../sys -I${.CURDIR}
12104862Sru
13104862SruSRCS=	subr_dnvlist.c
14104862SruSRCS+=	msgio.c
15104862SruSRCS+=	subr_nvlist.c
16104862SruSRCS+=	subr_nvpair.c
17104862Sru
18104862SruINCS=	dnv.h
19151497SruINCS+=	nv.h
20104862Sru
21104862SruMAN+=	nv.3
22104862Sru
23104862SruMLINKS+=nv.3 libnv.3 \
24104862Sru	nv.3 nvlist.3
25104862SruMLINKS+=nv.3 nvlist_add_binary.3 \
26104862Sru	nv.3 nvlist_add_bool.3 \
27104862Sru	nv.3 nvlist_add_descriptor.3 \
28104862Sru	nv.3 nvlist_add_null.3 \
29104862Sru	nv.3 nvlist_add_number.3 \
30104862Sru	nv.3 nvlist_add_nvlist.3 \
31104862Sru	nv.3 nvlist_add_string.3 \
32104862Sru	nv.3 nvlist_add_stringf.3 \
33104862Sru	nv.3 nvlist_add_stringv.3 \
34104862Sru	nv.3 nvlist_clone.3 \
35104862Sru	nv.3 nvlist_create.3 \
36104862Sru	nv.3 nvlist_destroy.3 \
37104862Sru	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