xref: /freebsd/lib/libnv/Makefile (revision fcb560670601b2a4d87bb31d7531c8dcc37ee71b)
1# $FreeBSD$
2
3SHLIBDIR?= /lib
4
5.include <src.opts.mk>
6
7LIB=	nv
8SHLIB_MAJOR= 0
9
10SRCS=	dnvlist.c
11SRCS+=	msgio.c
12SRCS+=	nvlist.c
13SRCS+=	nvpair.c
14
15INCS=	dnv.h
16INCS+=	nv.h
17
18MAN+=	nv.3
19
20MLINKS+=nv.3 libnv.3 \
21	nv.3 nvlist.3
22MLINKS+=nv.3 nvlist_create.3 \
23	nv.3 nvlist_destroy.3 \
24	nv.3 nvlist_error.3 \
25	nv.3 nvlist_empty.3 \
26	nv.3 nvlist_clone.3 \
27	nv.3 nvlist_dump.3 \
28	nv.3 nvlist_fdump.3 \
29	nv.3 nvlist_size.3 \
30	nv.3 nvlist_pack.3 \
31	nv.3 nvlist_unpack.3 \
32	nv.3 nvlist_send.3 \
33	nv.3 nvlist_recv.3 \
34	nv.3 nvlist_xfer.3 \
35	nv.3 nvlist_next.3 \
36	nv.3 nvlist_exists.3 \
37	nv.3 nvlist_exists_type.3 \
38	nv.3 nvlist_exists_null.3 \
39	nv.3 nvlist_exists_bool.3 \
40	nv.3 nvlist_exists_number.3 \
41	nv.3 nvlist_exists_string.3 \
42	nv.3 nvlist_exists_nvlist.3 \
43	nv.3 nvlist_exists_descriptor.3 \
44	nv.3 nvlist_exists_binary.3 \
45	nv.3 nvlist_add_null.3 \
46	nv.3 nvlist_add_bool.3 \
47	nv.3 nvlist_add_number.3 \
48	nv.3 nvlist_add_string.3 \
49	nv.3 nvlist_add_stringf.3 \
50	nv.3 nvlist_add_stringv.3 \
51	nv.3 nvlist_add_nvlist.3 \
52	nv.3 nvlist_add_descriptor.3 \
53	nv.3 nvlist_add_binary.3 \
54	nv.3 nvlist_move_string.3 \
55	nv.3 nvlist_move_nvlist.3 \
56	nv.3 nvlist_move_descriptor.3 \
57	nv.3 nvlist_move_binary.3 \
58	nv.3 nvlist_get_bool.3 \
59	nv.3 nvlist_get_number.3 \
60	nv.3 nvlist_get_string.3 \
61	nv.3 nvlist_get_nvlist.3 \
62	nv.3 nvlist_get_descriptor.3 \
63	nv.3 nvlist_get_binary.3 \
64	nv.3 nvlist_get_parent.3 \
65	nv.3 nvlist_take_bool.3 \
66	nv.3 nvlist_take_number.3 \
67	nv.3 nvlist_take_string.3 \
68	nv.3 nvlist_take_nvlist.3 \
69	nv.3 nvlist_take_descriptor.3 \
70	nv.3 nvlist_take_binary.3 \
71	nv.3 nvlist_free.3 \
72	nv.3 nvlist_free_type.3 \
73	nv.3 nvlist_free_null.3 \
74	nv.3 nvlist_free_bool.3 \
75	nv.3 nvlist_free_number.3 \
76	nv.3 nvlist_free_string.3 \
77	nv.3 nvlist_free_nvlist.3 \
78	nv.3 nvlist_free_descriptor.3 \
79	nv.3 nvlist_free_binary.3
80MLINKS+=nv.3 nvlist_existsf.3 \
81	nv.3 nvlist_existsf_type.3 \
82	nv.3 nvlist_existsf_null.3 \
83	nv.3 nvlist_existsf_bool.3 \
84	nv.3 nvlist_existsf_number.3 \
85	nv.3 nvlist_existsf_string.3 \
86	nv.3 nvlist_existsf_nvlist.3 \
87	nv.3 nvlist_existsf_descriptor.3 \
88	nv.3 nvlist_existsf_binary.3 \
89	nv.3 nvlist_addf_null.3 \
90	nv.3 nvlist_addf_bool.3 \
91	nv.3 nvlist_addf_number.3 \
92	nv.3 nvlist_addf_string.3 \
93	nv.3 nvlist_addf_nvlist.3 \
94	nv.3 nvlist_addf_descriptor.3 \
95	nv.3 nvlist_addf_binary.3 \
96	nv.3 nvlist_movef_string.3 \
97	nv.3 nvlist_movef_nvlist.3 \
98	nv.3 nvlist_movef_descriptor.3 \
99	nv.3 nvlist_movef_binary.3 \
100	nv.3 nvlist_getf_bool.3 \
101	nv.3 nvlist_getf_number.3 \
102	nv.3 nvlist_getf_string.3 \
103	nv.3 nvlist_getf_nvlist.3 \
104	nv.3 nvlist_getf_descriptor.3 \
105	nv.3 nvlist_getf_binary.3 \
106	nv.3 nvlist_takef_bool.3 \
107	nv.3 nvlist_takef_number.3 \
108	nv.3 nvlist_takef_string.3 \
109	nv.3 nvlist_takef_nvlist.3 \
110	nv.3 nvlist_takef_descriptor.3 \
111	nv.3 nvlist_takef_binary.3 \
112	nv.3 nvlist_freef.3 \
113	nv.3 nvlist_freef_type.3 \
114	nv.3 nvlist_freef_null.3 \
115	nv.3 nvlist_freef_bool.3 \
116	nv.3 nvlist_freef_number.3 \
117	nv.3 nvlist_freef_string.3 \
118	nv.3 nvlist_freef_nvlist.3 \
119	nv.3 nvlist_freef_descriptor.3 \
120	nv.3 nvlist_freef_binary.3
121MLINKS+=nv.3 nvlist_existsv.3 \
122	nv.3 nvlist_existsv_type.3 \
123	nv.3 nvlist_existsv_null.3 \
124	nv.3 nvlist_existsv_bool.3 \
125	nv.3 nvlist_existsv_number.3 \
126	nv.3 nvlist_existsv_string.3 \
127	nv.3 nvlist_existsv_nvlist.3 \
128	nv.3 nvlist_existsv_descriptor.3 \
129	nv.3 nvlist_existsv_binary.3 \
130	nv.3 nvlist_addv_null.3 \
131	nv.3 nvlist_addv_bool.3 \
132	nv.3 nvlist_addv_number.3 \
133	nv.3 nvlist_addv_string.3 \
134	nv.3 nvlist_addv_nvlist.3 \
135	nv.3 nvlist_addv_descriptor.3 \
136	nv.3 nvlist_addv_binary.3 \
137	nv.3 nvlist_movev_string.3 \
138	nv.3 nvlist_movev_nvlist.3 \
139	nv.3 nvlist_movev_descriptor.3 \
140	nv.3 nvlist_movev_binary.3 \
141	nv.3 nvlist_getv_bool.3 \
142	nv.3 nvlist_getv_number.3 \
143	nv.3 nvlist_getv_string.3 \
144	nv.3 nvlist_getv_nvlist.3 \
145	nv.3 nvlist_getv_descriptor.3 \
146	nv.3 nvlist_getv_binary.3 \
147	nv.3 nvlist_takev_bool.3 \
148	nv.3 nvlist_takev_number.3 \
149	nv.3 nvlist_takev_string.3 \
150	nv.3 nvlist_takev_nvlist.3 \
151	nv.3 nvlist_takev_descriptor.3 \
152	nv.3 nvlist_takev_binary.3 \
153	nv.3 nvlist_freev.3 \
154	nv.3 nvlist_freev_type.3 \
155	nv.3 nvlist_freev_null.3 \
156	nv.3 nvlist_freev_bool.3 \
157	nv.3 nvlist_freev_number.3 \
158	nv.3 nvlist_freev_string.3 \
159	nv.3 nvlist_freev_nvlist.3 \
160	nv.3 nvlist_freev_descriptor.3 \
161	nv.3 nvlist_freev_binary.3
162
163WARNS?=	6
164
165.if ${MK_TESTS} != "no"
166SUBDIR+=	tests
167.endif
168
169.include <bsd.lib.mk>
170