summaryrefslogtreecommitdiffstats
path: root/lib/libnv/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libnv/Makefile')
-rw-r--r--lib/libnv/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libnv/Makefile b/lib/libnv/Makefile
index 710c295..e9371bc 100644
--- a/lib/libnv/Makefile
+++ b/lib/libnv/Makefile
@@ -1,7 +1,10 @@
# $FreeBSD$
-LIB= nv
SHLIBDIR?= /lib
+
+.include <src.opts.mk>
+
+LIB= nv
SHLIB_MAJOR= 0
SRCS= dnvlist.c
@@ -146,7 +149,7 @@ MLINKS+=nv.3 nvlist_existsv.3 \
nv.3 nvlist_takev_nvlist.3 \
nv.3 nvlist_takev_descriptor.3 \
nv.3 nvlist_takev_binary.3 \
- nv.3 nvlist_freef.3 \
+ nv.3 nvlist_freev.3 \
nv.3 nvlist_freev_type.3 \
nv.3 nvlist_freev_null.3 \
nv.3 nvlist_freev_bool.3 \
@@ -158,4 +161,8 @@ MLINKS+=nv.3 nvlist_existsv.3 \
WARNS?= 6
+.if ${MK_TESTS} != "no"
+SUBDIR+= tests
+.endif
+
.include <bsd.lib.mk>
OpenPOWER on IntegriCloud