aafd1cf423
Use tools/build/Makefile to install the headers into ${WORLDTMP}/legacy instead. Compared to r336026 this has the minor advantage that it avoids unncessary header installation when building the non-bootstrap libnv. Reviewed By: bdrewery, kevans Approved By: brooks (mentor) Differential Revision: https://reviews.freebsd.org/D16187
24 lines
329 B
Makefile
24 lines
329 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE=lib${LIB}
|
|
SHLIBDIR?= /lib
|
|
|
|
.include <src.opts.mk>
|
|
|
|
LIB= nv
|
|
SHLIB_MAJOR= 0
|
|
|
|
.PATH: ${SRCTOP}/sys/contrib/libnv ${SRCTOP}/sys/sys
|
|
CFLAGS+=-I${SRCTOP}/sys -I${.CURDIR}
|
|
|
|
SRCS= cnvlist.c
|
|
SRCS+= dnvlist.c
|
|
SRCS+= msgio.c
|
|
SRCS+= nvlist.c
|
|
SRCS+= nvpair.c
|
|
|
|
HAS_TESTS=
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.include <bsd.lib.mk>
|