Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones

This implifies pathing in make/displayed output

MFC after:    3 weeks
Sponsored by: Dell EMC Isilon
This commit is contained in:
ngie 2017-01-20 04:40:55 +00:00
parent 080a17b50b
commit 140cd1184c

View File

@ -8,8 +8,8 @@ SHLIBDIR?= /lib
LIB= nv
SHLIB_MAJOR= 0
.PATH: ${.CURDIR}/../../sys/contrib/libnv ${.CURDIR}/../../sys/sys
CFLAGS+=-I${.CURDIR}/../../sys -I${.CURDIR}
.PATH: ${SRCTOP}/sys/contrib/libnv ${SRCTOP}/sys/sys
CFLAGS+=-I${SRCTOP}/sys -I${.CURDIR}
SRCS= cnvlist.c
SRCS+= dnvlist.c